Compartilhar via


WeakReference::DecrementStrongReference Method

Supports the WRL infrastructure and is not intended to be used directly from your code.

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

See Also

Reference

WeakReference Class

Microsoft::WRL::Details Namespace