IMsmError::get_ModuleTable Method

Windows Installer

IMsmError::get_ModuleTable Method

The get_ModuleTable method retrieves the ModuleTable property of the Error object. This method returns the name of the table in the module that caused the error.

Syntax

C++HRESULT get_ModuleTable(
  [out]  BSTR *Table
);

Parameters

Table [out]

A pointer to a location in memory that is filled in with a BSTR value.

Return Value

The method can return one of the following values.

Value Meaning
E_INVALIDARG

Table is null.

E_OUTOFMEMORY

The system was unable to allocate memory for the string.

S_OK

The function succeeded.

 

Remarks

The client is responsible for freeing the resulting string using SysFreeString.

The collection is empty if the values do not apply to the type of the error. You can determine the type of error by calling IMsmError::get_Type.

Requirements

VersionMergemod.dll 1.0 or later
HeaderMergemod.h
DLLMergemod.dll
IIDIID_IMsmError is defined as 0ADDA828-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.