WeakReference::DecrementStrongReference 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 WeakReference::DecrementStrongReference Method.
Supports the WRL infrastructure and is not intended to be used directly from your code.
Syntax
ULONG DecrementStrongReference();
Remarks
Decrements the strong reference count of the current WeakReference object.
When the strong reference count becomes zero, the strong reference is set to nullptr
.
Return Value
The decremented strong reference count.
Requirements
Header: implements.h
Namespace: Microsoft::WRL::Details