PFN_REPORT_SESSION_STATUS callback function

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.

Syntax

PFN_REPORT_SESSION_STATUS PfnReportSessionStatus;

void PfnReportSessionStatus(
  HANDLE hMiracastDeviceHandle,
  MIRACAST_STATUS MiracastStatus,
  NTSTATUS Status
)
{...}

Parameters

hMiracastDeviceHandle

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

The current status of the Miracast link, of type MIRACAST_STATUS.

Status

A status value the driver can provide that's logged for diagnostics purposes.

Return Value

Does not return a value.

Remarks

If the Miracast user-mode driver reports an error in the MiracastStatus parameter, it initiates a tear-down of the current Miracast connected session.

Requirements

   
Minimum supported client Windows 8.1
Minimum supported server Windows Server 2012 R2
Target Platform Desktop
Header netdispumdddi.h (include Netdispumdddi.h)

See Also

CreateMiracastContext

MIRACAST_STATUS