Export (0) Print
Expand All

CComObjectRootEx::m_dwRef

Part of a union that accesses four bytes of memory.

long m_dwRef;

Remarks

With m_pOuterUnknown, part of a union:

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.

See Also

CComObjectRootEx Overview | Class Members

Show:
© 2015 Microsoft