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.

 
IMsmMerge::CloseDatabase      All Mergemod.dll versions.

Syntax

HRESULT CloseModule();

Return value

The CloseModule function returns the following values.

Value Meaning
E_FAIL
There was an error closing the module. The state of the IMsmMerge or IMsmMerge2 interface is now undefined.
S_FALSE
No module was open.
S_OK
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

See also

Merge Module Automation