CComEnumImpl::m_spUnk

This smart pointer maintains a reference on the object passed to CComEnumImpl::Init, ensuring that it remains alive during the lifetime of the enumerator.

CComPtr<IUnknown> m_spUnk;

Requirements

Header: atlcom.h

See Also

Reference

CComEnumImpl Class

CComEnumImpl::Init

Other Resources

CComEnumImpl Members