RuntimeClass::GetWeakReference Method
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.
Syntax
STDMETHOD(
GetWeakReference
)(_Deref_out_ IWeakReference **weakReference);
Parameters
weakReference
When this operation completes, a pointer to a weak reference object.
Return Value
Always S_OK.
Requirements
Header: implements.h
Namespace: Microsoft::WRL