Decrements the reference count for an interface on an object.
ULONG Release( );
This method has no parameters.
The method returns the new reference count. This value is intended to be used only for test purposes.
When the reference count on an object reaches zero, Release must cause the interface pointer to free itself. When the released pointer is the only existing reference to an object (whether the object supports single or multiple interfaces), the implementation must free the object.
Note that aggregation of objects restricts the ability to recover interface pointers.
|Windows version||Windows 2000 Professional [desktop apps only] Windows 2000 Server [desktop apps only]|
|Header||unknwn.h (include Unknwn.h)|