SafeArrayGetRecordInfo Function

Retrieves the IRecordInfo Interface of the UDT contained in a given safe array.

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

psa

Points to an array descriptor created by SafeArrayCreate.

prinfo

Points to the location for the IRecordInfo Interface pointer.

The return value obtained from the returned HRESULT is one of the following.

Return value

Meaning

S_OK

Success.

E_INVALIDARG

If psa is null or if the array descriptor does not have the FADF_RECORD flag set. For more information on the FADF_RECORD flag see SAFEARRAY Data Type.

Show:
© 2014 Microsoft