Share via


CInterfaceList Class

This class provides methods useful when constructing a list of COM interface pointers.

template< 
   class I, 
   const IID* piid = & __uuidof( I ) 
>  
class CInterfaceList : public CAtlList< 
   ATL::CComQIPtr< I, piid >, 
   CComQIPtrElementTraits< I, piid > 
>

Parameters

  • I
    A COM interface specifying the type of pointer to be stored.

  • piid
    A pointer to the IID of I.

Remarks

This class provides a constructor and derived methods for creating a list of COM interface pointers. Use CInterfaceArray when an array is required.

For more information, see ATL Collection Classes.

Requirements

Header: atlcoll.h

See Also

Reference

CAtlList Class

CComQIPtr Class

CComQIPtrElementTraits Class

Other Resources

CInterfaceList Members

ATL Class Overview