RuntimeClass::GetWeakReference Method
Visual Studio 2015
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 RuntimeClass::GetWeakReference Method.
Gets a pointer to the weak reference object for the current RuntimeClass object.
STDMETHOD( GetWeakReference )(_Deref_out_ IWeakReference **weakReference);
Parameters
weakReference
When this operation completes, a pointer to a weak reference object.
Always S_OK.
Header: implements.h
Namespace: Microsoft::WRL
Show: