ICreateTypeInfo2::SetImplTypeCustData

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

Sets the implementation type for custom data.

Parameters

index
Index of the variable for which to set the custom data.
guid
Unique identifier used to identify the data.
pVarVal
Reference to the value of the variable.

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.