[This is preliminary documentation and subject to change.]
The MsiCloseAllHandles function closes all open installation handles in the process. This is a diagnostic function and should not be used for cleanup.
UINT MsiCloseAllHandles();
None
This function returns 0 if all handles are closed. Otherwise, the function returns the number of handles open prior to its call.
MsiCloseAllHandles will only close handles allocated by the calling thread, and will not affect handles allocated by other threads, such as the install handle passed to custom actions.
Windows NT: Requires version 4.0 or later. Available as a redistributable for Windows NT 4.0.
Windows: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Windows CE: Unsupported.
Header: Declared in msi.h.
Import Library: Use msi.lib.