This method gets the variable for the custom data.
At a Glance
Header file: | Oaidl.h |
Windows CE versions: | 2.0 and later |
Syntax
HRESULT GetVarCustData( unsigned int index, REFGUID guid,
VARIANT *pVarVal );
Parameters
index
Index of the variable for which to get the custom data.
guid
Globally unique identifier (GUID) used to identify the data.
pVarVal
Pointer to where to put the retrieved data.
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. |