ComPtr::ReleaseAndGetAddressOf Method
Visual Studio 2015
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::ReleaseAndGetAddressOf Method.
Releases the interface associated with this ComPtr and then retrieves the address of the ptr_ data member, which contains a pointer to the interface that was released.
T** ReleaseAndGetAddressOf();
The address of the ptr_ data member of this ComPtr.
Header: client.h
Namespace: Microsoft::WRL
Show: