Home | History | Annotate | Download | only in include
      1 /**
      2  * This file has no copyright assigned and is placed in the Public Domain.
      3  * This file is part of the mingw-w64 runtime package.
      4  * No warranty is given; refer to the file DISCLAIMER.PD within this package.
      5  */
      6 #ifndef __SENSAPI_H__
      7 #define __SENSAPI_H__
      8 
      9 #include <_mingw_unicode.h>
     10 
     11 #ifdef __cplusplus
     12 extern "C" {
     13 #endif
     14 
     15 #define NETWORK_ALIVE_LAN 0x00000001
     16 #define NETWORK_ALIVE_WAN 0x00000002
     17 #define NETWORK_ALIVE_AOL 0x00000004
     18 
     19   typedef struct tagQOCINFO {
     20     DWORD dwSize;
     21     DWORD dwFlags;
     22     DWORD dwInSpeed;
     23     DWORD dwOutSpeed;
     24   } QOCINFO,*LPQOCINFO;
     25 
     26 #define IsDestinationReachable __MINGW_NAME_AW(IsDestinationReachable)
     27 
     28   WINBOOL WINAPI IsDestinationReachableA(LPCSTR lpszDestination,LPQOCINFO lpQOCInfo);
     29   WINBOOL WINAPI IsDestinationReachableW(LPCWSTR lpszDestination,LPQOCINFO lpQOCInfo);
     30   WINBOOL WINAPI IsNetworkAlive(LPDWORD lpdwFlags);
     31 
     32 #ifdef __cplusplus
     33 }
     34 #endif
     35 #endif
     36