次の方法で共有


IVariableContainer::GetValue (Windows Embedded CE 6.0)

1/6/2010

This method obtains the variant value for a specified variable name.

Syntax

HRESULT GetValue(
  const char* pName,
  VARIANT** pValue
);

Parameters

  • pName
    [in] Specifies the name of the value to be obtained.
  • pValue
    [out] Returns a pointer to the actual value.

Return Value

If the method succeeds, the return value is S_OK.

If it fails, the return value is E_FAIL.

Requirements

Header remoteui.h, remoteui.idl
Library uuid.lib
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

IVariableContainer
IVariableContainer::AddValue