ICreateTypeInfo2::SetCustData

HRESULT SetCustData(
  REFGUID  guid,     
  VARIANT  *pVarVal  
);
 

Sets a value for custom data.

Parameters

guid
Unique identifier that can be used to identify the data.
pVarVal
The data to store (any 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.