ITypeInfo2::GetFuncCustData method (oaidl.h)

Gets the custom data from the specified function.

Syntax

HRESULT GetFuncCustData(
  [in]  UINT    index,
  [in]  REFGUID guid,
  [out] VARIANT *pVarVal
);

Parameters

[in] index

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

[in] guid

The GUID used to identify the data.

[out] pVarVal

The custom data.

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.

Requirements

   
Target Platform Windows
Header oaidl.h

See also

ITypeInfo2