Export (0) Print
Expand All

ICollectionOnSTLImpl::get__NewEnum 

Returns an enumerator object for the collection.


STDMETHOD(get__NewEnum)(
   IUnknown** ppUnk 
);

Parameters

ppUnk

[out] The IUnknown pointer of a newly created enumerator object.

A standard HRESULT value.

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.

Community Additions

ADD
Show:
© 2014 Microsoft