We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

CInterfaceArray Class

This class provides methods useful when constructing an array of COM interface pointers.

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


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


A pointer to the IID of I.

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

For more information, see ATL Collection Classes.

Header: atlcoll.h