Condividi tramite


WeakReference::SetUnknown Method

 

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 WeakReference::SetUnknown Method.

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

Syntax

void SetUnknown(  
   _In_ IUnknown* unk  
);  

Parameters

unk
A pointer to the IUnknown interface of an object.

Remarks

Sets the strong reference of the current WeakReference object to the specified interface pointer.

Requirements

Header: implements.h

Namespace: Microsoft::WRL::Details

See Also

WeakReference Class
Microsoft::WRL::Details Namespace