GetRecordInfoFromTypeInfo function (oleauto.h)

Returns a pointer to the IRecordInfo interface of the UDT by passing its type information. The given ITypeInfo interface is used to create a RecordInfo object.

Syntax

HRESULT GetRecordInfoFromTypeInfo(
  [in]  ITypeInfo   *pTypeInfo,
  [out] IRecordInfo **ppRecInfo
);

Parameters

[in] pTypeInfo

The type information of a record.

[out] ppRecInfo

The IRecordInfo interface.

Return value

This function can return one of these values.

Return code Description
S_OK
Success.
E_OUTOFMEMORY
Out of memory.
E_INVALIDARG
One or more of the arguments is not valid.
TYPE_E_UNSUPFORMAT
The type is not an interface.

Requirements

Requirement Value
Target Platform Windows
Header oleauto.h
Library OleAut32.lib
DLL OleAut32.dll

See also

IRecordInfo

ITypeInfo