IMsmConfigurableItem::get_Name Method

Windows Installer

IMsmConfigurableItem::get_Name Method

The get_Name method retrieves the Name property of the ConfigurableItem object.

Syntax

C++HRESULT get_Name(
  [out]  BSTR *Name
);

Parameters

Name [out]

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