ITypeInfo2::GetVarCustData

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

Gets the variable for the custom data.

Parameters

index
Index of the variable 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.