Wireless display functions implemented by Miracast user-mode drivers

The reference pages in this section describe wireless display (Miracast) functions that a Miracast user-mode driver must implement. This type of driver runs in a standalone DLL. For Miracast user-mode functions that the operating system implements, see Wireless display callback functions called by Miracast user-mode drivers.

In response to an operating system call to the QueryMiracastDriverInterface function, the Miracast user-mode driver must supply pointers to these functions in the MIRACAST_DRIVER_INTERFACE structure, except for pfnDataRateNotify, which is has a pointer declared in RegisterForDataRateNotifications.

In this section

TopicDescription

PFN_CREATE_MIRACAST_CONTEXT

Called by the operating system to create a user-mode Miracast context.

PFN_DESTROY_MIRACAST_CONTEXT

Called by the operating system to destroy a user-mode Miracast context.

PFN_HANDLE_KMD_MESSAGE

Called by the operating system to handle the asynchronous kernel-mode message that the Miracast user-mode driver receives when the display miniport driver calls the DxgkCbMiracastSendMessage function.

PFN_DATARATE_NOTIFICATION

Called by the operating system to notify the Miracast user-mode driver that the bit rate of the Miracast network link has changed. This function is registered with the operating system when the RegisterForDataRateNotifications function is called.

QUERY_MIRACAST_DRIVER_INTERFACE

Called by the operating system to query the Miracast user-mode driver interface, MIRACAST_DRIVER_INTERFACE.

PFN_START_MIRACAST_SESSION

Called by the operating system to start a Miracast connected session.

PFN_STOP_MIRACAST_SESSION

Called by the operating system to start a Miracast connected session that had earlier been started by a call to the StartMiracastSession function.

 

 

 

Send comments about this topic to Microsoft

Show: