IMsmMerge::CloseModule method (mergemod.h)
The CloseModule method closes the currently open Windows Installer merge module. For more information, see the CloseModule method of the Merge object.
IMsmMerge2::CloseDatabase Mergemod.dll version 2.0 or later.
Syntax
HRESULT CloseModule();
Return value
The CloseModule function returns the following values.
Value | Meaning |
---|---|
|
There was an error closing the module. The state of the IMsmMerge or IMsmMerge2 interface is now undefined. |
|
No module was open. |
|
The function succeeded. |
Remarks
Closing a merge module does not affect any errors that have not been retrieved.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Mergemod.dll 1.0 or later |
Target Platform | Windows |
Header | mergemod.h |
DLL | Mergemod.dll |