Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CComQIPtrElementTraits Class
Collapse the table of content
Expand the table of content

CComQIPtrElementTraits Class

This class provides methods, static functions, and typedefs useful when creating collections of COM interface pointers.

   typename I,
   const IID* piid = & __uuidof( I ) 
class CComQIPtrElementTraits : public CDefaultElementTraits<
   ATL::CComQIPtr< I, piid >


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


This class derives methods and provides a typedef useful when creating a collection class of CComQIPtr COM interface pointer objects. This class is utilized by both the CInterfaceArray and CInterfaceList classes.

For more information, see ATL Collection Classes.


Header: atlcoll.h

See Also

Class Members | CDefaultElementTraits | ATL Class Overview

© 2015 Microsoft