Skip to content

Latest commit

 

History

History
76 lines (50 loc) · 2.02 KB

cinterfacelist-class.md

File metadata and controls

76 lines (50 loc) · 2.02 KB
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: CInterfaceList Class
CInterfaceList Class
11/04/2016
CInterfaceList
ATLCOLL/ATL::CInterfaceList
ATLCOLL/ATL::CInterfaceList::CInterfaceList
CInterfaceList class
2077764d-25e5-4b3d-96c8-08a287bbcd25

CInterfaceList Class

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

Syntax

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.

Members

Public Constructors

Name Description
CInterfaceList::CInterfaceList The constructor for the interface list.

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.

Inheritance Hierarchy

CAtlList

CInterfaceList

Requirements

Header: atlcoll.h

CInterfaceList::CInterfaceList

The constructor for the interface list.

CInterfaceList(UINT nBlockSize = 10) throw();

Parameters

nBlockSize
The block size, with a default of 10.

Remarks

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.

See also

CAtlList Class
CComQIPtr Class
CComQIPtrElementTraits Class
Class Overview