WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

WinInet
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

iGetConState Return Values

Keywords: 	  iGetConState

Question:

iGetConState(1) is returning an unknown value. When I run it on a Win95B system with a LAN connection, I'm getting a return value of 6 which is not listed in the help file for return values. Thanks for the help.

Answer:

Value description
1 INTERNET_CONNECTION_MODEM Local system uses a modem to connect to the Internet. 
2 INTERNET_CONNECTION_LAN Local system uses a local area network to connect to the
Internet. 
4 INTERNET_CONNECTION_PROXY Local system uses a proxy server to connect to the Internet. 
8 INTERNET_CONNECTION_MODEM_BUSY Local system's modem is busy with a non-Internet
connection.
6 is 4 plus 2 Thus the computer is using a LAN and a proxy server to connect to the Internet.
Article ID:   W12598
Filename:   iGetConState Return Values.txt
File Created: 1999:04:15:16:48:20
Last Updated: 1999:04:15:16:48:20