IRecordInfo::GetTypeInfo method (oaidl.h)

Retrieves the type information that describes a UDT or safearray of UDTs.

Syntax

HRESULT GetTypeInfo(
  [out] ITypeInfo **ppTypeInfo
);

Parameters

[out] ppTypeInfo

The information type of the record.

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.
TYPE_E_INVALIDSTATE
The state of the type library is not valid for this operation.

Remarks

AddRef is called on the pointer ppTypeInfo.

Requirements

Requirement Value
Target Platform Windows
Header oaidl.h

See also

IRecordInfo

ITypeInfo