Share via


CComUnkArray::end

Returns a pointer to one past the last IUnknown pointer in the collection.

IUnknown** end( );

Return Value

A pointer to an IUnknown interface pointer.

Remarks

The CComUnkArray methods begin and end can be used to loop through all connection points, for example, when an event is fired.

IUnknown** p = m_vec.begin();
while(p != m_vec.end())
{
   // Do something with *p
   p++;
}

Requirements

Header: atlcom.h

See Also

Reference

CComUnkArray Class

CComUnkArray::begin

CComDynamicUnkArray::end

Other Resources

CComUnkArray Members