ITypeLib2::GetAllCustData

HRESULT GetAllCustData(
  CUSTDATA  *pCustData  
);
  

Gets all custom data items for the library.

Parameter

pCustData
Returns a pointer to CUSTDATA (that holds all custom data items).

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.

Comments

After the call, the caller needs to release memory used to hold the custom data item by calling ClearCustData().