### IUnknown::Release

The IUnknown::Release method decreases the reference count of the object by 1.

ULONG Release();

##### Parameters

None.

##### Return Values

Returns the new reference count.

##### Remarks

The object deallocates itself when its reference count reaches 0. Use the AddRef method to increase the object's reference count by 1.

This method is part of the IUnknown interface inherited by the object.