CComObjectRootEx::m_dwRef

long m_dwRef;

Remarks

Part of a union that accesses four bytes of memory.

union
{
   long m_dwRef;
   IUnknown* m_pOuterUnknown;
};

If the object is not aggregated, the reference count accessed by AddRef and Release is stored in m_dwRef. If the object is aggregated, the pointer to the outer unknown is stored in m_pOuterUnknown.

CComObjectRootEx OverviewClass Members