CComPtr Class
Visual Studio .NET 2003
A smart pointer class for managing COM interface pointers.
template< class T > class CComPtr
Parameters
- T
- A COM interface specifying the type of pointer to be stored.
Remarks
ATL uses CComPtr and CComQIPtr to manage COM interface pointers. Both are derived from CComPtrBase, and both perform automatic reference counting.
Requirements
Header: atlcomcli.h
See Also
Class Members | CComPtr::CComPtr | CComQIPtr::CComQIPtr | ATL Class Overview