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.