ISettingsItem::GetValue method (wcmconfig.h)

Gets the current value from the item.

Syntax

HRESULT GetValue(
  [out] VARIANT *Value
);

Parameters

[out] Value

The value of the item.

Return value

This method can return one of these values.

Return code Description
S_OK
Indicates success.
HRESULT_FROM_WIN32 (ERROR_INVALID_OPERATION)
Indicates that the item is not a scalar setting.
E_OUTOFMEMORY
Indicates that there are insufficient resources to allocate the return data.
S_FALSE
Indicates that there is no value for the item.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header wcmconfig.h
DLL SMIEngine.dll

See also

ISettingsItem