InetIsOffline function

Determines whether the system is connected to the Internet.

Syntax

INTSHCUTAPI BOOL InetIsOffline(
  DWORD dwFlags
);

Parameters

dwFlags

Type: DWORD

The input flags for the function. This must be set to zero.

Return Value

Type: BOOL

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.

Requirements

   
Windows version Windows XP [desktop apps only] Windows 2000 Server [desktop apps only]
Target Platform Windows
Header intshcut.h
DLL Url.dll