WFDDisplaySinkStop function

Stops the Miracast sink mode, turns off discoverability, and un-registers the callback. Your app should call this once on shutdown.

Syntax

DWORD WINAPI WFDStopDisplaySink(void);

Parameters

This function has no parameters.

Return value

If the function succeeds, the return value is ERROR_SUCCESS.

Remarks

It is expected that your app has unblocked any callbacks in progress before calling WFDStopDisplaySink.

Requirements

Requirement Value
Minimum supported client
Windows 8.1 [desktop apps only]
Minimum supported server
Windows Server 2012 R2 [desktop apps only]
End of client support
Windows 10
End of server support
Windows Server 2016
Header
Wfdsink.h
Library
Wifidisplay.lib
DLL
Wifidisplay.dll