WFD_DISPLAY_SINK_NOTIFICATION_CALLBACK callback function
The WFD_DISPLAY_SINK_NOTIFICATION_CALLBACK function defines the callback function—which you implement in your app—that was specified to the WFDStartDisplaySink function.
Syntax
DWORD CALLBACK WFD_DISPLAY_SINK_NOTIFICATION_CALLBACK(
_In_opt_ PVOID pvContext,
_In_ const PWFD_DISPLAY_SINK_NOTIFICATION pNotification,
_Inout_opt_ PWFD_DISPLAY_SINK_NOTIFICATION_RESULT pNotificationResult
);
Parameters
-
pvContext [in, optional]
-
An optional context pointer passed to the callback function.
-
pNotification [in]
-
A pointer to a struct containing data about the display sink notification.
-
pNotificationResult [in, out, optional]
-
A pointer to a struct containing data that your app can optionally set to indicate the result of processing the display sink notification.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 8.1 [desktop apps only] |
Minimum supported server |
Windows Server 2012 R2 [desktop apps only] |
Header |
|