共用方式為


Interface Pointers Classes

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).

See Also

Other Resources

ATL Class Overview