netdispumdddi.h header

Note

As of Windows 10, the OS contains a native implementation of Miracast wireless displays. Drivers should no longer implement a custom Miracast display component. Support for custom Miracast implementations may be removed in a future version of Windows.

This header is used by display drivers for custom Miracast implementations. For more information, see:

netdispumdddi.h contains the following programming interfaces:

Callback functions

 
PFN_CREATE_MIRACAST_CONTEXT

Called by the operating system to create a user-mode Miracast context.
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.
PFN_DESTROY_MIRACAST_CONTEXT

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

Provides info about the next Miracast encode chunk that was reported to the Microsoft DirectX graphics kernel subsystem when the DXGK_INTERRUPT_TYPE interrupt type is DXGK_INTERRUPT_MICACAST_CHUNK_PROCESSING_COMPLETE.The data type of this function is PFN_GET_NEXT_CHUNK_DATA.
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_MIRACAST_IO_CONTROL

Called by the user-mode display driver to send the kernel-mode display miniport driver a synchronous I/O control request.The data type of this function is PFN_MIRACAST_IO_CONTROL.
PFN_REGISTER_DATARATE_NOTIFICATIONS

Called by the user-mode driver to register with the operating system to receive network quality of service (QoS) notifications and the current network bandwidth of the Miracast connection.The data type of this function is PFN_REGISTER_DATARATE_NOTIFICATIONS.
PFN_REPORT_SESSION_STATUS

Called by the user-mode display driver to report the status of the current Miracast connected session.The data type of this function is PFN_REPORT_SESSION_STATUS.
PFN_REPORT_STATISTIC

Called by the user-mode display driver to report the statistics of the Miracast link to the operating system.The data type of this function is PFN_REPORT_STATISTIC.
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.
QUERY_MIRACAST_DRIVER_INTERFACE

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

Structures

 
MIRACAST_CALLBACKS

Contains pointers to wireless display (Miracast) runtime callback functions that the Miracast user-mode driver can call.
MIRACAST_CHUNK_DATA

Contains encode chunk data that is used when a user-mode driver calls the wireless display (Miracast) GetNextChunkData function.
MIRACAST_CHUNK_ID

Learn how MIRACAST_CHUNK_ID stores info that identifies a wireless display (Miracast) encode chunk.
MIRACAST_CHUNK_INFO

The MIRACAST_CHUNK_INFO structure contains information about a specified wireless display (Miracast) encode chunk.
MIRACAST_DATARATE_STATS

Contains info used in the wireless display (Miracast) pfnDataRateNotify function about the audio/video encoder bit rate and failed or retried Wi-Fi frames.
MIRACAST_DRIVER_INTERFACE

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

Contains info on a wireless display (Miracast) connected session.
MIRACAST_STATISTIC_DATA

Contains Miracast statistics data that the user-mode display driver reports to the operating system.
MIRACAST_WFD_CONNECTION_STATS

Contains bit rate info on the Wi-Fi Direct connection.

Enumerations

 
MIRACAST_CHUNK_TYPE

The MIRACAST_CHUNK_TYPE enumeration contains values that indicate the types of wireless display (Miracast) chunk info that is to be processed.
MIRACAST_PROTOCOL_EVENT

Specifies the types of wireless display (Miracast) protocol event that the user-mode display driver should report.
MIRACAST_STATISTIC_TYPE

Specifies types of Miracast statistics data that the user-mode display driver generates.
MIRACAST_STATUS

Specifies status types that the user-mode display driver uses to report Miracast connection status.