Поделиться через


CComObjectRootEx::InternalRelease

Decrements the reference count of a nonaggregated object by 1.

ULONG InternalRelease( );

Возвращаемое значение

In both non-debug and debug builds, this function returns a value which may be useful for diagnostics or testing. The exact value returned depends on many factors such as the operating system used, and may, or may not, be the reference count.

Заметки

If the thread model is multithreaded, InterlockedDecrement is used to prevent more than one thread from changing the reference count at the same time.

Требования

Header: atlcom.h

См. также

Основные понятия

CComObjectRootEx Class

CComObjectRootEx Members

CComObjectRootEx::InternalAddRef

InterlockedDecrement