ITypeInfo2::GetVarCustData method (oaidl.h)

Gets the custom data of the specified variable.

Syntax

HRESULT GetVarCustData(
  UINT    index,
  REFGUID guid,
  VARIANT *pVarVal
);

Parameters

index

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

guid

The GUID used to identify the data.

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

   
Target Platform Windows
Header oaidl.h

See also

ITypeInfo2