ULONG Release( );
Return Value
This function returns the new decremented reference count on the object. In debug builds, the return value may be useful for diagnostics or testing. In non-debug builds, Release always returns 0.
Remarks
Decrements the reference count on the object.
CComObject Overview | Class Members
See Also CComObject::AddRef