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::WeakReference Constructor


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

The latest version of this topic can be found at WeakReference::WeakReference Constructor.

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


Initializes a new instance of the WeakReference class.

The strong reference pointer for the WeakReference object is initialized to nullptr, and the strong reference count is initialized to 1.

Header: implements.h

Namespace: Microsoft::WRL::Details

Microsoft::WRL::Details Namespace

© 2017 Microsoft