ITypeInfo2::GetAllFuncCustData

HRESULT GetAllFuncCustData(
  unsigned int index    
  CUSTDATA  *pCustData  
);
  

Gets all custom data from the specified function.

Parameters

index
The index of the function for which to get the custom data.
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().