| title | CInterfaceList Class | Microsoft Docs | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ms.custom | ||||||||||||||
| ms.date | 11/04/2016 | |||||||||||||
| ms.reviewer | ||||||||||||||
| ms.suite | ||||||||||||||
| ms.technology |
|
|||||||||||||
| ms.tgt_pltfrm | ||||||||||||||
| ms.topic | reference | |||||||||||||
| f1_keywords |
|
|||||||||||||
| dev_langs |
|
|||||||||||||
| helpviewer_keywords |
|
|||||||||||||
| ms.assetid | 2077764d-25e5-4b3d-96c8-08a287bbcd25 | |||||||||||||
| caps.latest.revision | 19 | |||||||||||||
| author | mikeblome | |||||||||||||
| ms.author | mblome | |||||||||||||
| manager | ghogen | |||||||||||||
| translation.priority.ht |
|
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>>
I
A COM interface specifying the type of pointer to be stored.
piid
A pointer to the IID of I.
| Name | Description |
|---|---|
| CInterfaceList::CInterfaceList | The constructor for the interface list. |
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.
CInterfaceList
Header: atlcoll.h
The constructor for the interface list.
CInterfaceList(UINT nBlockSize = 10) throw();
nBlockSize
The block size, with a default of 10.
The block size is a measure of the amount of memory allocated when a new element is required. Larger block sizes reduce calls to memory allocation routines, but use more resources.
CAtlList Class
CComQIPtr Class
CComQIPtrElementTraits Class
Class Overview