ATL Classes

 

For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.

The Active Template Library (ATL) includes the following classes. To find a particular class by category, see the ATL Class Overview.

ClassDescriptionHeader file
CA2AEXThis class is used by the string conversion macros CA2TEX and CT2AEX, and the typedef CA2A.atlconv.h
CA2CAEXThis class is used by string conversion macros CA2CTEX and CT2CAEX, and the typedef CA2CA.atlconv.h
CA2WEXThis class is used by the string conversion macros CA2TEX, CA2CTEX, CT2WEX, and CT2CWEX, and the typedef CA2W.atlconv.h
CAccessTokenThis class is a wrapper for an access token.atlsecurity.h
CAclThis class is a wrapper for an ACL (access-control list) structure.atlsecurity.h
CAdaptThis template is used to wrap classes that redefine the address-of operator to return something other than the address of the object.atlcomcli.h
CAtlArrayThis class implements an array object.atlcoll.h
CAtlAutoThreadModuleThis class implements a thread-pooled, apartment-model COM server.atlbase.h
CAtlAutoThreadModuleTThis class provides methods for implementing a thread-pooled, apartment-model COM server.atlbase.h
CAtlBaseModuleThis class is instantiated in every ATL project.atlcore.h
CAtlComModuleThis class implements a COM server module.atlbase.h
CAtlDebugInterfacesModuleThis class provides support for debugging interfaces.atlbase.h
CAtlDllModuleTThis class represents the module for a DLL.atlbase.h
CAtlExceptionThis class defines an ATL exception.atlexcept.h
CAtlExeModuleTThis class represents the module for an application.atlbase.h
CAtlFileThis class provides a thin wrapper around the Windows file-handling API.atlfile.h
CAtlFileMappingThis class represents a memory-mapped file, adding a cast operator to the methods of CAtlFileMappingBase.atlfile.h
CAtlFileMappingBaseThis class represents a memory-mapped file.atlfile.h
CAtlListThis class provides methods for creating and managing a list object.atlcoll.h
CAtlMapThis class provides methods for creating and managing a map object.atlcoll.h
CAtlModuleThis class provides methods used by several ATL module classes.atlbase.h
CAtlModuleTThis class implements an ATL module.atlbase.h
CAtlPreviewCtrlImplThis class is an ATL implementation of a window that is placed on a host window provided by the Shell for Rich Preview.atlpreviewctrlimpl.h
CAtlServiceModuleTThis class implements a service.atlbase.h
CAtlTemporaryFileThis class provides methods for the creation and use of a temporary file.atlfile.h
CAtlTransactionManagerThis class provides a wrapper to Kernel Transaction Manager (KTM) functions.atltransactionmanager.h
CAtlWinModuleThis class provides support for ATL windowing components.atlbase.h
CAutoPtrThis class represents a smart pointer object.atlbase.h
CAutoPtrArrayThis class provides methods useful when constructing an array of smart pointers.atlbase.h
CAutoPtrElementTraitsThis class provides methods, static functions, and typedefs useful when creating collections of smart pointers.atlcoll.h
CAutoPtrListThis class provides methods useful when constructing a list of smart pointers.atlcoll.h
CAutoVectorPtrThis class represents a smart pointer object using vector new and delete operators.atlbase.h
CAutoVectorPtrElementTraitsThis class provides methods, static functions, and typedefs useful when creating collections of smart pointers using vector new and delete operators.atlcoll.h
CAxDialogImplThis class implements a dialog box (modal or modeless) that hosts ActiveX controls.atlwin.h
CAxWindowThis class provides methods for manipulating a window hosting an ActiveX control.atlwin.h
CAxWindow2TThis class provides methods for manipulating a window that hosts an ActiveX control and also has support for hosting licensed ActiveX controls.atlwin.h
CBindStatusCallbackThis class implements the IBindStatusCallback interface.atlctl.h
CComAggObjectThis class implements IUnknown for an aggregated object.atlcom.h
CComAllocatorThis class provides methods for managing memory using COM memory routines.atlbase.h
CComApartmentThis class provides support for managing an apartment in a thread-pooled EXE module.atlbase.h
CComAutoCriticalSectionThis class provides methods for obtaining and releasing ownership of a critical section object.atlcore.h
CComAutoThreadModuleAs of ATL 7.0, CComAutoThreadModule is obsolete: see ATL Modules for more details.atlbase.h
CComBSTRThis class is a wrapper for BSTRs.atlbase.h
CComCachedTearOffObjectThis class implements IUnknown for a tear-off interface.atlcom.h
CComClassFactoryThis class implements the IClassFactory interface.atlcom.h
CComClassFactory2This class implements the IClassFactory2 interface.atlcom.h
CComClassFactoryAutoThreadThis class implements the IClassFactory interface and allows objects to be created in multiple apartments.atlcom.h
CComClassFactorySingletonThis class derives from CComClassFactory and uses CComObjectGlobal to construct a single object.atlcom.h
CComCoClassThis class provides methods for creating instances of a class and obtaining its properties.atlcom.h
CComCompositeControlThis class provides the methods required to implement a composite control.atlctl.h
CComContainedObjectThis class implements IUnknown by delegating to the owner object's IUnknown.atlcom.h
CComControlThis class provides methods for creating and managing ATL controls.atlctl.h
CComControlBaseThis class provides methods for creating and managing ATL controls.atlctl.h
CComCriticalSectionThis class provides methods for obtaining and releasing ownership of a critical section object.atlcore.h
CComCritSecLockThis class provides methods for locking and unlocking a critical section object.atlbase.h
CComCurrencyThis class has methods and operators for creating and managing a CURRENCY object.atlcur.h
CComDynamicUnkArrayThis class stores an array of IUnknown pointers.atlcom.h
CComEnumThis class defines a COM enumerator object based on an array.atlcom.h
CComEnumImplThis class provides the implementation for a COM enumerator interface where the items being enumerated are stored in an array.atlcom.h
CComEnumOnSTLThis class defines a COM enumerator object based on an STL collection.atlcom.h
CComFakeCriticalSectionThis class provides the same methods as CComCriticalSection but does not provide a critical section.atlcore.h
CComGITPtrThis class provides methods for dealing with interface pointers and the global interface table (GIT).atlbase.h
CComHeapThis class implements IAtlMemMgr using the COM memory allocation functions.ATLComMem.h
CComHeapPtrA smart pointer class for managing heap pointers.atlbase.h
CComModuleAs of ATL 7.0, CComModule is obsolete: see ATL Modules for more details.atlbase.h
CComMultiThreadModelThis class provides thread-safe methods for incrementing and decrementing the value of a variable.atlbase.h
CComMultiThreadModelNoCSThis class provides thread-safe methods for incrementing and decrementing the value of a variable, without critical section locking or unlocking functionality.atlbase.h
CComObjectThis class implements IUnknown for a nonaggregated object.atlcom.h
CComObjectGlobalThis class manages a reference count on the module containing your Base object.atlcom.h
CComObjectNoLockThis class implements IUnknown for a nonaggregated object, but does not increment the module lock count in the constructor.atlcom.h
CComObjectRootThis typedef of CComObjectRootEx is templatized on the default threading model of the server.atlcom.h
CComObjectRootExThis class provides methods to handle object reference count management for both nonaggregated and aggregated objects.atlcom.h
CComObjectStackThis class creates a temporary COM object and provides it with a skeletal implementation of IUnknown.atlcom.h
CComPolyObjectThis class implements IUnknown for an aggregated or nonaggregated object.atlcom.h
CComPtrA smart pointer class for managing COM interface pointers.atlcomcli.h
CComPtrBaseThis class provides a basis for smart pointer classes using COM-based memory routines.atlcomcli.h
CComQIPtrA smart pointer class for managing COM interface pointers.atlcomcli.h
CComQIPtrElementTraitsThis class provides methods, static functions, and typedefs useful when creating collections of COM interface pointers.atlcoll.h
CComSafeArrayThis class is a wrapper for the SAFEARRAY Data Type structure.atlsafe.h
CComSafeArrayBoundThis class is a wrapper for a SAFEARRAYBOUND structure.atlsafe.h
CComSimpleThreadAllocatorThis class manages thread selection for the class CComAutoThreadModule.atlbase.h
CComSingleThreadModelThis class provides methods for incrementing and decrementing the value of a variable.atlbase.h
CComTearOffObjectThis class implements a tear-off interface.atlcom.h
CComUnkArrayThis class stores IUnknown pointers and is designed to be used as a parameter to the IConnectionPointImpl template class.atlcom.h
CComVariantThis class wraps the VARIANT type, providing a member indicating the type of data stored.atlcomcli.h
CContainedWindowTThis class implements a window contained within another object.atlwin.h
CCRTAllocatorThis class provides methods for managing memory using CRT memory routines.atlcore.h
CCRTHeapThis class implements IAtlMemMgr using the CRT heap functions.atlmem.h
CDaclThis class is a wrapper for a DACL (discretionary access-control list) structure.atlsecurity.h
CDebugReportHook ClassUse this class to send debug reports to a named pipe.atlutil.h
CDefaultCharTraitsThis class provides two static functions for converting characters between uppercase and lowercase.atlcoll.h
CDefaultCompareTraitsThis class provides default element comparison functions.atlcoll.h
CDefaultElementTraitsThis class provides default methods and functions for a collection class.atlcoll.h
CDefaultHashTraitsThis class provides a static function for calculating hash values.atlcoll.h
CDialogImplThis class provides methods for creating a modal or modeless dialog box.atlwin.h
CDynamicChainThis class provides methods supporting the dynamic chaining of message maps.atlwin.h
CElementTraitsThis class is used by collection classes to provide methods and functions for moving, copying, comparison, and hashing operations.atlcoll.h
CElementTraitsBaseThis class provides default copy and move methods for a collection class.atlcoll.h
CFirePropNotifyEventThis class provides methods for notifying the container's sink regarding control property changes.atlctl.h
CGlobalHeapThis class implements IAtlMemMgr using the Win32 global heap functions.atlmem.h
CHandleThis class provides methods for creating and using a handle object.atlbase.h
CHeapPtrA smart pointer class for managing heap pointers.atlcore.h
CHeapPtrBaseThis class forms the basis for several smart heap pointer classes.atlcore.h
CHeapPtrElementTraits ClassThis class provides methods, static functions, and typedefs useful when creating collections of heap pointers.atlcoll.h
CHeapPtrListThis class provides methods useful when constructing a list of heap pointers.atlcoll.h
CImageProvides enhanced bitmap support, including the ability to load and save images in JPEG, GIF, BMP, and Portable Network Graphics (PNG) formats.atlimage.h
CInterfaceArrayThis class provides methods useful when constructing an array of COM interface pointers.atlcoll.h
CInterfaceListThis class provides methods useful when constructing a list of COM interface pointers.atlcoll.h
CLocalHeapThis class implements IAtlMemMgr using the Win32 local heap functions.atlmem.h
CMessageMapThis class allows an object's message maps to be accessed by another object.atlwin.h
CNonStatelessWorker ClassReceives requests from a thread pool and passes them on to a worker object that is created and destroyed on each request.atlutil.h
CNoWorkerThread ClassUse this class as the argument for the MonitorClass template parameter cache classes if you want to disable dynamic cache maintenance.atlutil.h
CPathT ClassThis class represents a path.atlpath.h
CPrimitiveElementTraitsThis class provides default methods and functions for a collection class composed of primitive data types.atlcoll.h
CPrivateObjectSecurityDescThis class represents a private object security descriptor object.atlsecurity.h
CRBMapThis class represents a mapping structure, using a Red-Black binary tree.atlcoll.h
CRBMultiMapThis class represents a mapping structure that allows each key to be associated with more than one value, using a Red-Black binary tree.atlcoll.h
CRBTreeThis class provides methods for creating and utilizing a Red-Black tree.atlcoll.h
CRegKeyThis class provides methods for manipulating entries in the system registry.atlbase.h
CRTThreadTraitsThis class provides the creation function for a CRT thread. Use this class if the thread will use CRT functions.atlbase.h
CSaclThis class is a wrapper for a SACL (system access-control list) structure.atlsecurity.h
CSecurityAttributesThis class is a thin wrapper for the SECURITY_ATTRIBUTES structure.atlsecurity.h
CSecurityDescThis class is a wrapper for the SECURITY_DESCRIPTOR structure.atlsecurity.h
CSidThis class is a wrapper for a SID (security identifier) structure.atlsecurity.h
CSimpleArrayThis class provides methods for managing a simple array.atlsimpcoll.h
CSimpleArrayEqualHelperThis class is a helper for the CSimpleArray class.atlsimpcoll.h
CSimpleArrayEqualHelperFalseThis class is a helper for the CSimpleArray class.atlsimpcoll.h
CSimpleDialogThis class implements a basic modal dialog box.atlwin.h
CSimpleMapThis class provides support for a simple mapping array.atlsimpcoll.h
CSimpleMapEqualHelperThis class is a helper for the CSimpleMap class.atlsimpcoll.h
CSimpleMapEqualHelperFalseThis class is a helper for the CSimpleMap class.atlsimpcoll.h
CSnapInItemImplThis class provides methods for implementing a snap-in node object.atlsnap.h
CSnapInPropertyPageImplThis class provides methods for implementing a snap-in property page object.atlsnap.h
CStockPropImplThis class provides methods for supporting stock property values.atlctl.h
CStringElementTraitsThis class provides static functions used by collection classes storing CString objects.cstringt.h
CStringElementTraitsIThis class provides static functions related to strings stored in collection class objects. It is similar to CStringElementTraits, but performs case-insensitive comparisons.atlcoll.h
CStringRefElementTraitsThis class provides static functions related to strings stored in collection class objects. The string objects are dealt with as references.atlcoll.h
CThreadPool ClassThis class provides a pool of worker threads that process a queue of work items.atlutil.h
CTokenGroupsThis class is a wrapper for the TOKEN_GROUPS structure.atlsecurity.h
CTokenPrivilegesThis class is a wrapper for the TOKEN_PRIVILEGES structure.atlsecurity.h
CUrl ClassThis class represents a URL. It allows you to manipulate each element of the URL independently of the others whether parsing an existing URL string or building a string from scratch.atlutil.h
CW2AEXThis class is used by the string conversion macros CT2AEX, CW2TEX, CW2CTEX, and CT2CAEX, and the typedef CW2A.atlconv.h
CW2CWEXThis class is used by the string conversion macros CW2CTEX and CT2CWEX, and the typedef CW2CW.atlconv.h
CW2WEXThis class is used by the string conversion macros CW2TEX and CT2WEX, and the typedef CW2W.atlconv.h
CWin32HeapThis class implements IAtlMemMgr using the Win32 heap allocation functions.atlmem.h
CWindowThis class provides methods for manipulating a window.atlwin.h
CWindowImplThis class provides methods for creating or subclassing a window.atlwin.h
CWinTraitsThis class provides a method for standardizing the styles used when creating a window object.atlwin.h
CWinTraitsORThis class provides a method for standardizing the styles used when creating a window object.atlwin.h
CWndClassInfoThis class provides methods for registering information for a window class.atlwin.h
CWorkerThread ClassThis class creates a worker thread or uses an existing one, waits on one or more kernel object handles, and executes a specified client function when one of the handles is signaled.atlutil.h
IAtlAutoThreadModuleThis class represents an interface to a CreateInstance method.atlbase.h
IAtlMemMgrThis class represents the interface to a memory manager.atlmem.h
IAxWinAmbientDispatchThis interface provides methods for specifying characteristics of the hosted control or container.atlbase.h, ATLIFace.h
IAxWinAmbientDispatchExThis interface implements supplemental ambient properties for a hosted control.atlbase.h, ATLIFace.h
IAxWinHostWindowThis interface provides methods for manipulating a control and its host object.atlbase.h, ATLIFace.h
IAxWinHostWindowLicThis interface provides methods for manipulating a licensed control and its host object.atlbase.h, ATLIFace.h
ICollectionOnSTLImplThis class provides methods used by a collection class.atlcom.h
IConnectionPointContainerImplThis class implements a connection point container to manage a collection of IConnectionPointImpl objects.atlcom.h
IConnectionPointImplThis class implements a connection point.atlcom.h
IDataObjectImplThis class provides methods for supporting Uniform Data Transfer and managing connections.atlctl.h
IDispatchImplThis class provides a default implementation for the IDispatch portion of a dual interface.atlcom.h
IDispEventImplThis class provides implementations of the IDispatch methods.atlcom.h
IDispEventSimpleImplThis class provides implementations of the IDispatch methods, without getting type information from a type library.atlcom.h
IDocHostUIHandlerDispatchAn interface to the Microsoft HTML parsing and rendering engine.atlbase.h, ATLIFace.h
IEnumOnSTLImplThis class defines an enumerator interface based on an STL collection.atlcom.h
IObjectSafetyImplThis class provides a default implementation of the IObjectSafety interface to allow a client to retrieve and set an object's safety levels.atlctl.h
IObjectWithSiteImplThis class provides methods allowing an object to communicate with its site.atlcom.h
IOleControlImplThis class provides a default implementation of the IOleControl interface and implements IUnknown.atlctl.h
IOleInPlaceActiveObjectImplThis class provides methods for assisting communication between an in-place control and its container.atlctl.h
IOleInPlaceObjectWindowlessImplThis class implements IUnknown and provides methods that enable a windowless control to receive window messages and to participate in drag-and-drop operations.atlctl.h
IOleObjectImplThis class implements IUnknown and is the principal interface through which a container communicates with a control.atlctl.h
IPerPropertyBrowsingImplThis class implements IUnknown and allows a client to access the information in an object's property pages.atlctl.h
IPersistPropertyBagImplThis class implements IUnknown and allows an object to save its properties to a client-supplied property bag.atlcom.h
IPersistStorageImplThis class implements the IPersistStorage interface.atlcom.h
IPersistStreamInitImplThis class implements IUnknown and provides a default implementation of the IPersistStreamInit interface.atlcom.h
IPointerInactiveImplThis class implements IUnknown and the IPointerInactive interface methods.atlctl.h
IPropertyNotifySinkCPThis class exposes the IPropertyNotifySink interface as an outgoing interface on a connectable object.atlctl.h
IPropertyPage2ImplThis class implements IUnknown and inherits the default implementation of IPropertyPageImpl.atlctl.h
IPropertyPageImplThis class implements IUnknown and provides a default implementation of the IPropertyPage interface.atlctl.h
IProvideClassInfo2ImplThis class provides a default implementation of the IProvideClassInfo and IProvideClassInfo2 methods.atlcom.h
IQuickActivateImplThis class combines containers' control initialization into a single call.atlctl.h
IRunnableObjectImplThis class implements IUnknown and provides a default implementation of the IRunnableObject interface.atlctl.h
IServiceProviderImplThis class provides a default implementation of the IServiceProvider interface.atlcom.h
ISpecifyPropertyPagesImplThis class implements IUnknown and provides a default implementation of the ISpecifyPropertyPages interface.atlcom.h
ISupportErrorInfoImplThis class provides a default implementation of the ISupportErrorInfo Interface interface and can be used when only a single interface generates errors on an object.atlcom.h
IThreadPoolConfig InterfaceThis interface provides methods for configuring a thread pool.atlutil.h
IViewObjectExImplThis class implements IUnknown and provides default implementations of the IViewObject, IViewObject2, and IViewObjectEx interfaces.atlctl.h
IWorkerThreadClient InterfaceIWorkerThreadClient is the interface implemented by clients of the CWorkerThread class.atlutil.h
_U_MENUorIDThis class provides wrappers for CreateWindow and CreateWindowEx.atlwin.h
_U_RECTThis argument adapter class allows either RECT pointers or references to be passed to a function that is implemented in terms of pointers.atlwin.h
_U_STRINGorIDThis argument adapter class allows either resource names (LPCTSTRs) or resource IDs (UINTs) to be passed to a function without requiring the caller to convert the ID to a string using the MAKEINTRESOURCE macro.atlwin.h
Win32ThreadTraitsThis class provides the creation function for a Windows thread. Use this class if the thread will not use CRT functions.atlbase.h

ATL COM Desktop Components
Functions
Global Variables
Structures
Typedefs
Class Overview

Show: