ITypeInfo2::GetAllFuncCustData method (oaidl.h)

Gets all custom data from the specified function.

Syntax

HRESULT GetAllFuncCustData(
  [in]  UINT     index,
  [out] CUSTDATA *pCustData
);

Parameters

[in] index

The index of the function for which to get the custom data.

[out] pCustData

The custom data items.

Return value

This method can return one of these values.

Return code Description
S_OK
Success.
E_INVALIDARG
One or more of the arguments is not valid.
E_OUTOFMEMORY
Insufficient memory to complete the operation.

Remarks

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

Requirements

Requirement Value
Target Platform Windows
Header oaidl.h

See also

ITypeInfo2