The CPackage::Close function closes the
specified package handle and releases the memory allocated for the patch package.
BOOL Close();
Parameters
None.
Return Values
If the function succeeds, the return value is non-zero.
If the function fails, the return value is zero. To get
extended error information, call GetLastError.
Remarks
A package handle is not a handle to a Windows object and
cannot be used interchangably with other Windows API functions.
Failure to close a package handle will result in a memory
leak and may leave the package file in a locked state, inaccessable by any other process
until the process which owns the handle terminates.
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.
See Also
CPackage::Open
|