IsNetworkAlive() enhanced, always reports LAN.
This commit is contained in:
parent
eb52044ee8
commit
39cdcd6692
|
@ -79,6 +79,8 @@ BOOL WINAPI IsDestinationReachableW(LPCWSTR lpszDestination, LPQOCINFO lpQOCInfo
|
|||
|
||||
BOOL WINAPI IsNetworkAlive(LPDWORD lpdwFlags)
|
||||
{
|
||||
FIXME("%p\n", lpdwFlags);
|
||||
TRACE("yes, using LAN type network.\n");
|
||||
if (lpdwFlags)
|
||||
*lpdwFlags = NETWORK_ALIVE_LAN;
|
||||
return TRUE;
|
||||
}
|
||||
|
|
|
@ -23,6 +23,10 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define NETWORK_ALIVE_LAN 1
|
||||
#define NETWORK_ALIVE_WAN 2
|
||||
#define NETWORK_ALIVE_AOL 4
|
||||
|
||||
typedef struct tagQOCINFO
|
||||
{
|
||||
DWORD dwSize;
|
||||
|
|
Loading…
Reference in New Issue