PFN_DATARATE_NOTIFICATION - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// netdispumdddi.h

PFN_DATARATE_NOTIFICATION PfnDatarateNotification;

void PfnDatarateNotification(
  [in]           PVOID context,
  [in, optional] MIRACAST_DATARATE_STATS *pDataRateStats
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-netdispumdddi-pfn_datarate_notification)

PFN_DATARATE_NOTIFICATION callback function

Description

Called by the operating system to notify the Miracast user-mode driver that the bit rate of the Miracast network link has changed. This function is registered with the operating system when the RegisterForDataRateNotifications function is called.

Parameters

context [in]

A pointer to a context block associated with a display adapter.

The context value is the value the driver passed in its call to the RegisterForDataRateNotifications function when it registered the pfnDataRateNotify function.

pDataRateStats [in, optional]

An optional pointer to a MIRACAST_DATARATE_STATS structure that contains info on the audio/video encoder bit rate and failed or retried Wi-Fi frames.

Can be NULL if the network has an error. For more info, see Remarks.

Remarks

If data on the quality of service (QoS) of the network connection becomes unavailable, the pDataRateStats parameter will be set to NULL, and this function will not be called again.

See also

DxgkDdiAddDevice

MIRACAST_DATARATE_STATS

RegisterForDataRateNotifications