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