Commit 39cdcd66 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

IsNetworkAlive() enhanced, always reports LAN.

parent eb52044e
...@@ -79,6 +79,8 @@ BOOL WINAPI IsDestinationReachableW(LPCWSTR lpszDestination, LPQOCINFO lpQOCInfo ...@@ -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;
} }
...@@ -23,6 +23,10 @@ ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment