不是很明白你的意思,这个函数是检查远程主机状态的,和PING命令是一样的,可以检查远程主机是否连接。如果连接成功返回TRUE,如果连接失败返回FALSE。参数lpszUrl是远程主机的IP地址或URL。DwFlags只可设置一个值FLAG_ICC_FORCE_CONNECTION,也就是0x00000001。DwReserved是保留参数,只能设置为0。但这个函数尽量避免使用.
A Winnet/IE4 function call. This is meant to determine if a URL is
reachable- in practice it is pretty unreliable and best voided.
If lpszUrl is NULL and there is an entry in the internal server database for the nearest server, the host value is extracted from the entry and used to ping that server
但 an entry in the internal server database for the nearest server 是指哪个地方呢?