InternetGetConnectedState Flags

Started by dedndave, October 10, 2011, 11:58:23 PM

Previous topic - Next topic

dedndave

could be in wininet.inc or windows.inc   :P

INTERNET_CONNECTION_MODEM      EQU 1
INTERNET_CONNECTION_LAN        EQU 2
INTERNET_CONNECTION_PROXY      EQU 4
INTERNET_CONNECTION_MODEM_BUSY EQU 8
INTERNET_RAS_INSTALLED         EQU 10h
INTERNET_CONNECTION_OFFLINE    EQU 20h
INTERNET_CONNECTION_CONFIGURED EQU 40h


INTERNET_CONNECTION_MODEM_BUSY is documented as "no longer used"
but that does not tell you if any previous OS's still use it

MichaelW

http://www.delphi7.nl/progressbar/index.html?are_we_online.htm

If the "local system's modem is busy with a non-Internet connection" interpretation is correct, then whether or not a previous version uses it is probably irrelevant.

eschew obfuscation

dedndave

i was going to omit it from the list   :P

so, the point was - let's keep it, even if the docs say "no longer used"
if they said "no longer used, at all", i might have gone a different way   :lol

dedndave

this one is for InternetCheckConnection

FLAG_ICC_FORCE_CONNECTION EQU 1