IRecordInfo::RecordClear method (oaidl.h)

Releases object references and other values of a record without deallocating the record.

Syntax

HRESULT RecordClear(
  [in] PVOID pvExisting
);

Parameters

[in] pvExisting

The record to be cleared.

Return value

This method can return one of these values.

Return code Description
S_OK
Success.
E_INVALIDARG
One or more of the arguments is not valid.

Remarks

RecordClear releases memory blocks held by VT_PTR or VT_SAFEARRAY instance fields. The caller needs to free the instance fields memory, RecordClear will do nothing if there are no resources held.

Requirements

   
Target Platform Windows
Header oaidl.h

See also

IRecordInfo