IMsmConfigurableItem::get_DefaultValue Method

Windows Installer

IMsmConfigurableItem::get_DefaultValue Method

The get_DefaultValue method retrieves the DefaultValue property of the ConfigurableItem object.

Syntax

C++HRESULT get_DefaultValue(
  [out]  BSTR *DefaultValue
);

Parameters

DefaultValue [out]

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

Return Value

The method can return one of the following values.

Value Meaning
E_FAIL

No module is open.

E_INVALIDARG

Invalid argument.

E_OUTOFMEMORY

Out of memory.

ERROR_FUNCTION_FAILED as HRESULT

The function failed.

ERROR_INVALID_HANDLE as HRESULT

The function failed.

S_OK

The function succeeded.

 

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.