ComPtr::Reset
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.
Syntax
unsigned long Reset();
Return Value
The number of references released, if any.
Requirements
Header: client.h
Namespace: Microsoft::WRL