Group: Shell Functions - Library: urlmon
Determining whether or not the system is connected to the Internet
BOOL InetIsOffline(
DWORD dwFlags
);
DECLARE INTEGER InetIsOffline IN url;
INTEGER dwFlags
dwFlags Input flags for the function. This must be set to zero.
Returns TRUE if the local system is not currently connected to the Internet. Returns FALSE if the local system is connected to the Internet or if no attempt has yet been made to connect to the Internet.
See also: InternetAttemptConnect, GetRTTAndHopCount, IcmpSendEcho.