IMsmMerge::CloseModule Method

Windows Installer

IMsmMerge::CloseModule Method

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
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

VersionMergemod.dll 1.0 or later
HeaderMergemod.h
DLLMergemod.dll
IIDIID_IMsmMerge is defined as 0ADDA82E-2C26-11D2-AD65-00A0C9AF11A6

See Also

Merge Module Automation

Send comments about this topic to Microsoft

Build date: 8/13/2009

© 2009 Microsoft Corporation. All rights reserved.