PFN_REPORT_STATISTIC callback function (netdispumdddi.h)

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.

Syntax

PFN_REPORT_STATISTIC PfnReportStatistic;

void PfnReportStatistic(
  [in] HANDLE hMiracastDeviceHandle,
  [in] MIRACAST_STATISTIC_DATA *pStatistics
)
{...}

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] pStatistics

A pointer to a MIRACAST_STATISTIC_DATA structure that contains the statistics data.

Return value

None

Remarks

When the operating system calls this function, it logs the data from the pStatistics parameter but takes no other action.

For more info on how to use this function, see these topics:

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_STATISTIC_DATA