This method sets a value to custom data.
At a Glance
Header file: | Oaidl.h |
Windows CE versions: | 2.0 and later |
Syntax
HRESULT SetCustData( REFGUID guid, VARIANT *pVarVal);
Parameters
guid
Globally unique identifier (GUID) used to identify the data.
pVarVal
Pointer to the data to store (any variant except an object).
Return Values
One of the values described in the following table is returned.
Value | Description |
S_OK | Success. |
E_OUTOFMEMORY | Out of memory. |
E_INVALIDARG | One or more of the parameters is invalid. |