ITypeInfo2::GetImplTypeCustData method (oaidl.h)

Gets the custom data of the implementation type.

Syntax

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

Parameters

[in] index

The index of the implementation type for 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