ITypeInfo2::GetParamCustData

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

Gets the specified custom data parameter.

Parameters

indexFunc
Index of the function for which to get the custom data.
IndexParam
Index of the parameter of this function for which to get the custom data.
guid
GUID used to identify the data.
pVarVal
Where to put the retrieved data.

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.