ITypeInfo2::GetParamCustData method (oaidl.h)

Gets the custom data of the specified parameter.

Syntax

HRESULT GetParamCustData(
  [in]  UINT    indexFunc,
  [in]  UINT    indexParam,
  [in]  REFGUID guid,
  [out] VARIANT *pVarVal
);

Parameters

[in] indexFunc

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

[in] indexParam

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

[in] guid

The GUID used to identify the data.

[out] pVarVal

The retrieved 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

Requirement Value
Target Platform Windows
Header oaidl.h

See also

ITypeInfo2