// netdispumdddi.h
PFN_REPORT_SESSION_STATUS PfnReportSessionStatus;
VOID PfnReportSessionStatus(
[in] HANDLE hMiracastDeviceHandle,
[in] MIRACAST_STATUS MiracastStatus,
[in] NTSTATUS Status
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
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.
hMiracastDeviceHandle [in]A handle that represents a Miracast device. The Miracast user-mode driver previously obtained this handle as the hMiracastDeviceHandle parameter in a call to the CreateMiracastContext function.
MiracastStatus [in]The current status of the Miracast link, of type MIRACAST_STATUS.
Status [in]A status value the driver can provide that's logged for diagnostics purposes.
If the Miracast user-mode driver reports an error in the MiracastStatus parameter, it initiates a tear-down of the current Miracast connected session.