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