SafeArrayGetRecordInfo function

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

Syntax


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

Parameters

psa [in]

An array descriptor created by SafeArrayCreate.

prinfo [out]

The IRecordInfo interface.

Return value

This function can return one of these values.

Return codeDescription
S_OK

Success.

E_INVALIDARG

The argument psa is null or the array descriptor does not have the FADF_RECORD flag set.

 

Requirements

Header

OleAuto.h

Library

OleAut32.lib

DLL

OleAut32.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft