IMsmConfigurableItem::get_DisplayName Method

Windows Installer

IMsmConfigurableItem::get_DisplayName Method

The get_DisplayName method retrieves the DisplayName property of the ConfigurableItem object.

Syntax

C++HRESULT get_DisplayName(
  [out]  BSTR *DisplayName
);

Parameters

DisplayName [out]

A pointer to a location in memory with the format of a configurable item listed in the DisplayName 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.