次の方法で共有


ComPtr::GetAddressOf メソッド

この ComPtr によって表されるインターフェイスへのポインターを含む ptr_ データ メンバーのアドレスを取得します。

T* const* GetAddressOf() const;
T** GetAddressOf();

戻り値

変数のアドレス。

必要条件

ヘッダー: client.h

Microsoft名前空間: :: WRL

参照

関連項目

ComPtr クラス