次の方法で共有


CComPtrBase::operator *

*演算子。

T & operator *( ) const throw( );

戻り値

CComPtrBase::pの値を返します; つまり、CComPtrBase のオブジェクトによって参照されるオブジェクトへのポインター。

デバッグ ビルドのアサーション エラーは、CComPtrBase::p が null 値と等しくなります。

必要条件

ヘッダー : atlcomcli.h

参照

関連項目

CComPtrBase クラス