MIRACAST_DRIVER_INTERFACE结构 (netdispumdddi.h)

包含指向由 Miracast 用户模式驱动程序实现的无线显示器(Miracast)函数的指针。

语法

typedef struct _MIRACAST_DRIVER_INTERFACE {
  UINT                         Size;
  PFN_CREATE_MIRACAST_CONTEXT  CreateMiracastContext;
  PFN_DESTROY_MIRACAST_CONTEXT DestroyMiracastContext;
  PFN_START_MIRACAST_SESSION   StartMiracastSession;
  PFN_STOP_MIRACAST_SESSION    StopMiracastSession;
  PFN_HANDLE_KMD_MESSAGE       HandleKernelModeMessage;
} MIRACAST_DRIVER_INTERFACE, *PMIRACAST_DRIVER_INTERFACE;

成员

Size

当作系统 调用 queryMiracastDriverInterface 函数时,驱动程序返回的 MIRACAST_DRIVER_INTERFACE 结构的大小(以字节为单位)。

CreateMiracastContext

指向驱动程序的 CreateMiracastContext 函数的指针。

DestroyMiracastContext

指向驱动程序的 DestroyMiracastContext 函数的指针。

StartMiracastSession

指向驱动程序的 StartMiracastSession 函数的指针。

StopMiracastSession

指向驱动程序 StopMiracastSession 函数的指针。

HandleKernelModeMessage

指向驱动程序的 HandleKernelModeMessage 函数的指针。

要求

要求 价值
最低支持的客户端 Windows 8.1
支持的最低服务器 Windows Server 2012 R2
标头 netdispumdddi.h (include Netdispumdddi.h)

另请参阅

CreateMiracastContext

DestroyMiracastContext

HandleKernelModeMessage

QueryMiracastDriverInterface

StartMiracastSession

StopMiracastSession