IMsmConfigurableItem::get_Context Method

Windows Installer

IMsmConfigurableItem::get_Context Method

The get_Context method retrieves the Context property of the ConfigurableItem object.

Syntax

C++HRESULT get_Context(
  [out]  BSTR *Context
);

Parameters

Context [out]

A pointer to a location in memory with the context of a configurable item listed in the context column of the ModuleConfiguration table. The client must free the BSTR when it is no longer needed.

Return Value

The method can return one of the following values.

Value Meaning
E_INVALIDARG

Invalid argument.

S_OK

The function succeeded.

E_FAIL

No module is open.

E_OUTOFMEMORY

Out of memory.

ERROR_FUNCTION_FAILED as HRESULT

The function failed.

ERROR_INVALID_HANDLE as HRESULT

The function failed.

 

Requirements

VersionMergemod.dll 2.0 or later
HeaderMergemod.h
DLLMergemod.dll
IIDIID_IMsmConfigurableItem is defined as 4D6E6284-D21D-401E-84F6-909E00B50F71

See Also

Merge Module Automation

Send comments about this topic to Microsoft

Build date: 8/13/2009

© 2009 Microsoft Corporation. All rights reserved.