Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WeakReference::DecrementStrongReference Method


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on

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.

ULONG DecrementStrongReference();  

Decrements the strong reference count of the current WeakReference object.

When the strong reference count becomes zero, the strong reference is set to nullptr.

The decremented strong reference count.

Header: implements.h

Namespace: Microsoft::WRL::Details

WeakReference Class
Microsoft::WRL::Details Namespace

© 2017 Microsoft