CComObjectRootEx::InternalAddRef
Increments the reference count of a nonaggregated object by 1.
ULONG InternalAddRef( );
Возвращаемое значение
A value that may be useful for diagnostics and testing.
Заметки
If the thread model is multithreaded, InterlockedIncrement is used to prevent more than one thread from changing the reference count at the same time.
Требования
Header: atlcom.h