ITypeInfo2::GetVarCustData method (oaidl.h)

Gets the custom data of the specified variable.

Syntax

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

Parameters

[in] index

The index of the variable 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