PFN_REPORT_SESSION_STATUS callback function (netdispumdddi.h)

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(
  [in] HANDLE hMiracastDeviceHandle,
  [in] MIRACAST_STATUS MiracastStatus,
  [in] NTSTATUS Status
)
{...}

Parameters

[in] 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.

[in] MiracastStatus

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

[in] Status

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

Return value

None

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

Requirement Value
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