This method sets a value for a specified custom function.
At a Glance
Header file: | Oaidl.h |
Windows CE versions: | 2.0 and later |
Syntax
HRESULT SetFuncCustData( unsigned int index, REFGUID guid, VARIANT *pVarVal );
Parameters
index
Index of the function for which to set the custom data.
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. |