ITypeInfo2::GetCustData method (oaidl.h)

Gets the custom data.

Syntax

HRESULT GetCustData(
  [in]  REFGUID guid,
  [out] VARIANT *pVarVal
);

Parameters

[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

Requirement Value
Target Platform Windows
Header oaidl.h

See also

ITypeInfo2