IMsmConfigurableItem::get_DefaultValue method (mergemod.h)

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

Syntax

HRESULT get_DefaultValue(
  [out] BSTR *DefaultValue
);

Parameters

[out] DefaultValue

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

This method can return one of these 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

Requirement Value
Minimum supported client Mergemod.dll 2.0 or later
Target Platform Windows
Header mergemod.h
DLL Mergemod.dll

See also

IMsmConfigurableItem

Merge Module Automation