ICreateTypeInfo2::SetParamCustData

HRESULT SetParamCustData(
  unsigned int  indexFunc,  
  unsigned int  indexParam,  
  REFGUID  guid,            
  VARIANT  *pVarVal         
);
 

Sets the specified parameter for the custom data.

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
The data to store (any legal variant except an object).

Return Value

The return value obtained from the returned HRESULT is one of the following:

Return value Meaning
S_OK Success.
E_OUTOFMEMORY Out of memory.
E_INVALIDARG One or more of the arguments is invalid.