ITypeInfo2::GetFuncCustData

HRESULT GetFuncCustData( 
  unsigned int  index,  
  REFGUID  guid,        
  VARIANT  *pVarVal     
);
 

Gets the custom data from the specified function.

Parameters

index
The index of the function for which to get the custom data.
guid
The GUID used to identify the data.
pVarVal
Where to put the 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.