IMsmMerge::Log Method

Windows Installer

IMsmMerge::Log Method

The Log method writes a text string to the currently open log file. For more information, see the Log method of the Merge object.

IMsmMerge2::Log    Mergemod.dll version 2.0 or later.
IMsmMerge::Log      All Mergemod.dll versions.

Syntax

C++HRESULT Log(
    BSTR Message
);

Parameters

Message

The text string to display. A LPCWSTR may be used instead of a BSTR.

Return Value

The method can return one of the following values.

Value Meaning
E_FAIL

There was an error writing to the log file.

E_INVALIDARG

The argument is invalid.

S_FALSE

No log file is open.

S_OK

The function succeeded.

 

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.