IRecordInfo::RecordDestroy method (oaidl.h)

Releases the resources and deallocates the memory of the record.

Syntax

HRESULT RecordDestroy(
  [in] PVOID pvRecord
);

Parameters

[in] pvRecord

An instance of the record to be destroyed.

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 is called to release the resources held by the instance of a record without deallocating memory.

Note  This method can only be called on records allocated through RecordCreate and RecordCreateCopy. If you allocate the record yourself, you cannot call this method.
 

Requirements

   
Target Platform Windows
Header oaidl.h

See also

IRecordInfo