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.
IMsmMerge::CloseDatabase All Mergemod.dll versions.
Syntax
C++HRESULT CloseModule();
Parameters
This method has no parameters.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
Version | Mergemod.dll 1.0 or later |
---|---|
Header | Mergemod.h |
DLL | Mergemod.dll |
IID | IID_IMsmMerge is defined as 0ADDA82E-2C26-11D2-AD65-00A0C9AF11A6 |
See Also
Send comments about this topic to Microsoft
Build date: 8/13/2009
© 2009 Microsoft Corporation. All rights reserved.