IsNetworkAlive() enhanced, always reports LAN.

This commit is contained in:
Marcus Meissner 2005-08-27 09:19:17 +00:00 committed by Alexandre Julliard
parent eb52044ee8
commit 39cdcd6692
2 changed files with 7 additions and 1 deletions

View File

@ -79,6 +79,8 @@ BOOL WINAPI IsDestinationReachableW(LPCWSTR lpszDestination, LPQOCINFO lpQOCInfo
BOOL WINAPI IsNetworkAlive(LPDWORD lpdwFlags) BOOL WINAPI IsNetworkAlive(LPDWORD lpdwFlags)
{ {
FIXME("%p\n", lpdwFlags); TRACE("yes, using LAN type network.\n");
if (lpdwFlags)
*lpdwFlags = NETWORK_ALIVE_LAN;
return TRUE; return TRUE;
} }

View File

@ -23,6 +23,10 @@
extern "C" { extern "C" {
#endif #endif
#define NETWORK_ALIVE_LAN 1
#define NETWORK_ALIVE_WAN 2
#define NETWORK_ALIVE_AOL 4
typedef struct tagQOCINFO typedef struct tagQOCINFO
{ {
DWORD dwSize; DWORD dwSize;