IRecordInfo::RecordDestroy method

Releases the resources and deallocates the memory of the record.

Syntax


HRESULT RecordDestroy(
  [in]  PVOID pvRecord
);

Parameters

pvRecord [in]

An instance of the record to be destroyed.

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

IDL

OaIdl.idl

See also

IRecordInfo

 

 

Community Additions

ADD
Show:
© 2014 Microsoft