Packet Sniffer SDK DLL Edition

HNAdapter :: Properties :: AdpGetLinkSpeed

 Previous Next

Returns the network adapter maximum speed in 100 bps.

Syntax:

DWORD __stdcall AdpGetLinkSpeed(HANDLE hAdp);

Parameters:

hAdp

[in] HNAdapter object handle.

Return values:

If the function succeeds the return value will be the network adapter maximum speed in 100 bps.

Description:

Use AdpGetLinkSpeed only after the network adapter has been opened successfully (see AdpOpenAdapter).

This value specifies the network adapter maximum connection speed. The measurement unit is 100 bps. For example, "100000" corresponds to a hardware bit rate of 10 Mbps.

See also:HNAdapter, AdpOpenAdapter