InetIsOffline function

Determines whether the system is connected to the Internet.

Syntax

BOOL InetIsOffline(
   DWORD dwFlags
);

Parameters

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

Return value

Returns TRUE if the local system in 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

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Intshcut.h

Library

Url.lib

DLL

Url.dll