Share via


IVariableContainer::AddValue (Windows Embedded CE 6.0)

1/6/2010

This method adds a value to the variable container.

Syntax

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

Parameters

  • pName
    [in] Specifies the name of the value.
  • pValue
    [in] Specifies the actual value.

Return Value

If the method succeeds, the return value is S_OK.

If it fails, the return value is E_FAIL.

Remarks

pValue can only be of type DWORD or BSTR.

Requirements

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

See Also

Reference

IVariableContainer