Udostępnij za pośrednictwem


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.

Requirements

Header: atlcom.h

See Also

Reference

CComObjectRootEx Class

Other Resources

CComObjectRootEx Members