InetIsOffline function (intshcut.h)

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

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header intshcut.h
DLL Url.dll