SafeArraySetRecordInfo Function

Sets the record info stored in the given safe array.

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

psa

Points to an array descriptor.

psaboundNew

Points to an IRecordInfo interface.

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

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 about the FADF_RECORD flag see the SAFEARRAY data type.

Show:
© 2014 Microsoft