CComGITPtr Class
This class provides methods for dealing with interface pointers and the global interface table (GIT).
template <
class T
>
class CComGITPtr
Parameters
- T
The type of the interface pointer to be stored in the GIT.
Remarks
Objects that aggregate the free threaded marshaler and need to use interface pointers obtained from other objects must take extra steps to ensure that the interfaces are correctly marshaled. Typically this involves storing the interface pointers in the GIT and getting the pointer from the GIT each time it is used. The class CComGITPtr is provided to help you use interface pointers stored in the GIT.
注意
The global interface table facility is only available on Windows 95 with DCOM version 1.1 and later, Windows 98, Windows NT 4.0 with Service Pack 3 and later, and Windows 2000.
Requirements
Header: atlbase.h
See Also
Concepts
ATL and the Free Threaded Marshaler
Accessing Interfaces Across Apartments