Interface Pointers Classes

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Interface Pointers Classes (ATL).

The following classes manage a given interface pointer:

  • CComPtr Performs automatic reference counting.

  • CComQIPtr Similar to CComPtr, but also performs automatic querying of interfaces.

  • CInterfaceArray Provides methods useful when constructing an array of COM interface pointers.

  • CInterfaceList Provides methods useful when constructing a list of COM interface pointers.

  • CComGITPtr Provides methods for dealing with interface pointers and the global interface table (GIT).

Class Overview

Show: