Packet Sniffer SDK DLL Edition

HNAdapterConfig :: Properties :: AdpCfgGetIpGatewayCount

 Previous Next

Returns the number of the gateways IP addresses.

Syntax:

DWORD __stdcall AdpCfgGetIpGatewayCount(HANDLE hCfg);

Parameters:

hCfg

[in] HNAdapterConfig object handle.

Return values:

If the function succeeds the return value will be the number of the gateways IP addresses.

Description:

Use AdpCfgGetIpGatewayCount to obtain the number of the gateways IP addresses set on the system. You should take into account this value when you call the AdpCfgGetIpGateway function.

See also:HNAdapterConfig, AdpCfgGetIpGateway