WFD_DISPLAY_SINK_NOTIFICATION_CALLBACK 函数定义在应用中实现的回调函数,该函数指定给 WFDStartDisplaySink 函数。
语法
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, 可选] 
- 
传递给回调函数的可选上下文指针。 
- 
pNotification [in] 
- 
指向包含有关显示接收器通知的数据的结构的指针。 
- 
pNotificationResult [in, out, optional] 
- 
指向包含数据的结构的指针,应用可以选择设置这些数据来指示处理显示接收器通知的结果。 
要求
| 要求 | 值 | 
|---|---|
| 最低受支持的客户端 | Windows 8.1 [仅限桌面应用] | 
| 最低受支持的服务器 | Windows Server 2012 R2 [仅限桌面应用] | 
| 标头 | 
 |