docs

Home All functions Categories

vuInternetPresent()

vuInternetPresent(), LONG

Description

Reports whether Windows currently believes that Internet connectivity is available. This function uses WinINet to query the system Internet connection state. It is a fast heuristic and does not contact any specific server.

Parameters

Parameter Data Type Description
None   This function takes no parameters.

Returns

A LONG value:

Example

TestInternetPresent  PROCEDURE

RetVal  LONG

  CODE
  RetVal = vuInternetPresent()

  IF (RetVal = 1)
    MESSAGE('Windows reports that Internet connectivity is available.')
  ELSE
    MESSAGE('Windows does not report Internet connectivity, or status is unknown.')
  END

Notes

Home All functions Categories