CPackage::AttachHandle

The CPackage::AttachHandle function attaches a handle to an object.

VOID AttachHandle(
HPACKAGE hPackage, // handle to package file
);

Parameters

hPackage
[in] Handle to an open package file.

Return Values

None.

Remarks

This function is used if a handle has been generated by direct use of the library, outside of the object.

Requirements

Windows NT/2000/XP: Requires Windows NT 4.0 SP3 or later.
Windows 95/98: Requires Windows 95 or later.
Header: Include apatch.h.
Library: Use apatch32.lib.
Unicode: Implemented as Unicode and ANSI versions on Windows NT/2000/XP.

See Also

CPackage::DetachHandle, CPackage::GetHandle