grahama
22nd October 2004 21:06 UTC
Detect Dialip vs DSL/Cable
Is it possible to detect if the user is using a 'dialup' connection versus dsl/cable ?
I looked thru the 'dialer' functions
and am not sure yet which function will do the trick
guess I need to test for an actual number ?
like 3104023980 for the connection ?
many thanks
g
Takhir
23rd October 2004 11:02 UTC
System::Call 'wininet.dll::InternetGetConnectedState(*i .r11, i 0) .r10'
returns connection flags $R1
!define INTERNET_CONNECTION_MODEM "1"
!define INTERNET_CONNECTION_LAN "2"
!define INTERNET_CONNECTION_PROXY "4"
!define INTERNET_CONNECTION_MODEM_BUSY "8"
grahama
23rd October 2004 20:01 UTC
many many thanks...
this is a great help :)