ComPtr::Reset

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::Reset.

Releases all references for the pointer to the interface that is associated with this ComPtr.

unsigned long Reset();  

The number of references released, if any.

Header: client.h

Namespace: Microsoft::WRL

ComPtr Class

Show: