Bewerken

Delen via


IRemoteDesktopClientEvents::OnNetworkStatusChanged method

Called when the network status has changed.

Syntax

void OnNetworkStatusChanged(
  [in] unsigned long qualityLevel,
  [in] long          bandwidth,
  [in] long          rtt
);

Parameters

qualityLevel [in]

The new quality level of the connection. The quality level is determined from the bandwidth and round-trip time (rtt) values.

One of the following values.

Value Meaning
0
The quality level could not be determined.
1
The connection quality is poor (one bar).
2
The connection quality is fair (two bars).
3
The connection quality is good (three bars).
4
The connection quality is excellent (four bars).

bandwidth [in]

Specifies the new connection bandwidth, in kilobits per second (Kbps).

rtt [in]

Specifies the new connection roundtrip time (latency), in milliseconds.

Return value

This method does not return a value.

Requirements

Requirement Value
Minimum supported client
Windows 8
Minimum supported server
Windows Server 2012
Type library
MsTscAx.dll
DLL
MsTscAx.dll
IID
DIID_IRemoteDesktopClientEvents is defined as 079863B7-6D47-4105-8BFE-0CDCB360E67D

See also

IRemoteDesktopClientEvents