A | B | C |  D | E | F |  G | H | I |  J | K | L |  M | N | O |  P | Q | R |  S | T | U |  V | W | X |  Y | Z


Determines if the specified destination can be reached and provides Quality of Connection (QOC) information for the destination.

Declare Function IsDestinationReachable Lib "SENSAPI.DLL" Alias "IsDestinationReachableA" (ByVal lpszDestination As String, ByRef lpQOCInfo As QOCINFO) As Long

Operating Systems Supported
Requires Windows 2000 (or Windows NT 4.0 with Internet Explorer 5 or later); Requires Windows 95 or later (with Internet Explorer 5 or later)


Parameter Information
- lpszDestination
Pointer to a string that specifies the destination. The destination can be an IP address, a UNC name, or an URL.

- lpQOCInfo
Pointer to the QOCINFO structure that receives the Quality of Connection (QOC) information. You can supply a NULL pointer if the QOC information is not desired.

Return Values
The destination can be reached.
Call GetLastError to determine the reason why the destination cannot be reached.

Last update: 07 April 2006