Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

CInterfaceArray Class

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

template<
   class I,
   const IID* piid = & __uuidof( I )
>
class CInterfaceArray : public CAtlArray<
   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 an array of COM interface pointers. Use CInterfaceList when a list is required.

For more information, see ATL Collection Classes.

Requirements

Header: atlcoll.h

See Also

Class Members | CAtlArray | CComQIPtr | CComQIPtrElementTraits | ATL Class Overview

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.