Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns an enumerator object for the collection.
STDMETHOD(get__NewEnum)(
IUnknown** ppUnk
);
Parameters
- ppUnk
[out] The IUnknown pointer of a newly created enumerator object.
Return Value
A standard HRESULT value.
Remarks
The newly created enumerator maintains an iterator on the original collection, m_coll, (so no copy is made) and holds a COM reference on the collection object to ensure that the collection remains alive while there are outstanding enumerators.
Requirements
Header: atlcom.h
See Also
Reference
Concepts
ATL Collections and Enumerators