ComPtr::Get Method

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at ComPtr::Get Method.

Retrieves a pointer to the interface that is associated with this ComPtr.

T* Get() const;  

Pointer to the interface that is associated with this ComPtr.

Header: client.h

Namespace: Microsoft::WRL

ComPtr Class

Show: