Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 965 Bytes

InetIsOffline.md

File metadata and controls

48 lines (31 loc) · 965 Bytes

Home

Function name : InetIsOffline

Group: Shell Functions - Library: urlmon


Determines whether or not the system is connected to the Internet.


Code examples:

Determining whether or not the system is connected to the Internet

Declaration:

BOOL InetIsOffline(
	DWORD dwFlags
);  

FoxPro declaration:

DECLARE INTEGER InetIsOffline IN url;
	INTEGER dwFlags  

Parameters:

dwFlags Input flags for the function. This must be set to zero.


Return value:

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.


Comments:

See also: InternetAttemptConnect, GetRTTAndHopCount, IcmpSendEcho.