IMsmMerge::get_Errors Method

Windows Installer

IMsmMerge::get_Errors Method

The get_Errors method retrieves the Errors property of the Merge object. This retrieves the current collection of errors.

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

Syntax

C++HRESULT get_Errors(
  [out]  IMsmErrors **Errors
);

Parameters

Errors [out]

Pointer to a memory location containing another pointer to an IMsmErrors interface.

Return Value

The method can return one of the following values.

Value Meaning
E_INVALIDARG

The Errors pointer is NULL

E_OUTOFMEMORY

The system is out of memory.

S_OK

The function succeeded.

 

Remarks

The retrieval is non-destructive, meaning that several instances of the error collection may be retrieved by repeatedly calling this method.

If there is an error, the memory location pointed to by Errors is set to null.

The client is responsible for releasing the interface returned by this function.

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.