SafeArraySetRecordInfo function

Sets the record info in the specified safe array.

Syntax

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

Parameters

psa

The array descriptor.

prinfo

The record info.

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

See also

IRecordInfo