RecordClear Method

IRecordInfo::RecordClear method

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

Syntax


HRESULT RecordClear(
  [in] PVOID pvExisting
);

Parameters

pvExisting [in]

The record to be cleared.

Return value

This method can return one of these values.

Return codeDescription
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

IDL

OaIdl.idl

See also

IRecordInfo

 

 

Show:
© 2016 Microsoft