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 |
---|---|
|
Success. |
|
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
Requirement | Value |
---|---|
Target Platform | Windows |
Header | oaidl.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for