ReportSessionStatus function pointer

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


typedef VOID ( *ReportSessionStatus)(
  _In_  HANDLE hMiracastDeviceHandle,
  _In_  MIRACAST_STATUS MiracastStatus,
  _In_  NTSTATUS Status
);

Parameters

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.

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

Header

Netdispumdddi.h (include Netdispumdddi.h)

See also

CreateMiracastContext
MIRACAST_STATUS

 

 

Send comments about this topic to Microsoft

Показ:
© 2014 Microsoft