CPackage::DetachHandle

The CPackage::DetachHandle function removes the handle from an object.

HPACKAGE DetachHandle();

Parameters

None.

Return Values

The return value of the function is the prior value of the handle.

Remarks

Following execution of this function, the handle value for the object is INVALID_PACKAGE_HANDLE.

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::AttachHandle, CPackage::GetHandle