SafeArrayGetRecordInfo function

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

Syntax

HRESULT SafeArrayGetRecordInfo(
  SAFEARRAY   *psa,
  IRecordInfo **prinfo
);

Parameters

psa

An array descriptor created by SafeArrayCreate.

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

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