pfnDataRateNotify routine

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.

Syntax


PFN_DATARATE_NOTIFICATION pfnDataRateNotify;

void NTAPI* pfnDataRateNotify(
  _In_      PVOID context,
  _In_opt_  MIRACAST_DATARATE_STATS *pDataRateStats
)
{ ... }

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.

Return value

Does not return a value.

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.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Header

Netdispumdddi.h (include Netdispumdddi.h)

See also

DxgkDdiAddDevice
MIRACAST_DATARATE_STATS
RegisterForDataRateNotifications

 

 

Send comments about this topic to Microsoft

Afficher:
© 2014 Microsoft