CComPtrBase Class
This class provides a basis for smart pointer classes using COM-based memory routines.
template < class T > class CComPtrBase
|
Name |
Description |
|---|---|
|
Call this method to create a connection between the CComPtrBase's connection point and a client's sink. |
|
|
Call this method to take ownership of an existing pointer. |
|
|
Call this method to create an object of the class associated with a specified Class ID or Program ID. |
|
|
Call this method to copy the CComPtrBase pointer to another pointer variable. |
|
|
Call this method to release ownership of a pointer. |
|
|
Call this method to check if the specified IUnknown points to the same object associated with the CComPtrBase object. |
|
|
Call this method to return a pointer to a specified interface. |
|
|
Call this method to release the interface. |
|
|
Call this method to set the site of the CComPtrBase object to the IUnknown of the parent object. |