IDirect3DExecuteBuffer::Release

ULONG Release();

Decreases the reference count of the Direct3DExecuteBuffer object by 1. This method is part of the IUnknown interface inherited by Direct3DExecuteBuffer.

·Returns the new reference count of the object.

The Direct3DExecuteBuffer object deallocates itself when its reference count reaches 0. Use the IDirect3DExecuteBuffer::AddRef method to increase the reference count of the object by 1.

This call fails if the Direct3DExecuteBuffer object is locked.