SafeArrayGetRecordInfo function (oleauto.h)

Retrieves the IRecordInfo interface of the UDT contained in the specified safe array.

Syntax

HRESULT SafeArrayGetRecordInfo(
  [in]  SAFEARRAY   *psa,
  [out] IRecordInfo **prinfo
);

Parameters

[in] psa

An array descriptor created by SafeArrayCreate.

[out] prinfo

The IRecordInfo interface.

Return value

This function can return one of these values.

Return code Description
S_OK
Success.
E_INVALIDARG
The argument psa is null or the array descriptor does not have the FADF_RECORD flag set.

Requirements

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