MIRACAST_DRIVER_INTERFACE structure (netdispumdddi.h)

Contains pointers to wireless display (Miracast) functions that are implemented by the Miracast user-mode driver.

Syntax

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;

Members

Size

The size, in bytes, of the MIRACAST_DRIVER_INTERFACE structure that the driver returns when the operating system calls the QueryMiracastDriverInterface function.

CreateMiracastContext

A pointer to the driver's CreateMiracastContext function.

DestroyMiracastContext

A pointer to the driver's DestroyMiracastContext function.

StartMiracastSession

A pointer to the driver's StartMiracastSession function.

StopMiracastSession

A pointer to the driver's StopMiracastSession function.

HandleKernelModeMessage

A pointer to the driver's HandleKernelModeMessage function.

Requirements

Requirement Value
Minimum supported client Windows 8.1
Minimum supported server Windows Server 2012 R2
Header netdispumdddi.h (include Netdispumdddi.h)

See also

CreateMiracastContext

DestroyMiracastContext

HandleKernelModeMessage

QueryMiracastDriverInterface

StartMiracastSession

StopMiracastSession