请单击以进行评分并提供反馈
MSDN
MSDN Library
Visual Studio
Visual C++
ATL
ATL Classes
CComQIPtr Class

  开启低带宽视图
此页面仅适用于
Microsoft Visual Studio 2008/.NET Framework 3.5

同时提供下列产品的其他版本:
ATL Library Reference
CComQIPtr Class

A smart pointer class for managing COM interface pointers.

template<
   class T,
   const IID* piid = &__uuidof(T)
>
class CComQIPtr: public CComPtr<T>
T

A COM interface specifying the type of pointer to be stored.

piid

A pointer to the IID of T.

ATL uses CComQIPtr and CComPtr to manage COM interface pointers, both of which derive from CComPtrBase. Both classes perform automatic reference counting through calls to AddRef and Release. Overloaded operators handle pointer operations.

Header: atlcomcli.h

社区内容   什么是社区内容?
添加新内容 RSS  批注
Processing
© 2009 Microsoft Corporation 版权所有。 保留所有权利  |  商标  |  隐私权声明
Page view tracker