comparison fuhtark_test/include/winapi/sensapi.h @ 1500:91c8c3b7cbf0

add: futhark tests for generating vulkan api
author sam <sam@basx.dev>
date Wed, 26 Nov 2025 21:36:48 +0700
parents
children
comparison
equal deleted inserted replaced
1499:1f58458b7ef7 1500:91c8c3b7cbf0
1 /**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the w64 mingw-runtime package.
4 * No warranty is given; refer to the file DISCLAIMER within this package.
5 */
6 #ifndef __SENSAPI_H__
7 #define __SENSAPI_H__
8
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12
13 #define NETWORK_ALIVE_LAN 0x00000001
14 #define NETWORK_ALIVE_WAN 0x00000002
15 #define NETWORK_ALIVE_AOL 0x00000004
16
17 typedef struct tagQOCINFO {
18 DWORD dwSize;
19 DWORD dwFlags;
20 DWORD dwInSpeed;
21 DWORD dwOutSpeed;
22 } QOCINFO,*LPQOCINFO;
23
24 #ifdef UNICODE
25 #define IsDestinationReachable IsDestinationReachableW
26 #else
27 #define IsDestinationReachable IsDestinationReachableA
28 #endif
29
30 WINBOOL WINAPI IsDestinationReachableA(LPCSTR lpszDestination,LPQOCINFO lpQOCInfo);
31 WINBOOL WINAPI IsDestinationReachableW(LPCWSTR lpszDestination,LPQOCINFO lpQOCInfo);
32 WINBOOL WINAPI IsNetworkAlive(LPDWORD lpdwFlags);
33
34 #ifdef __cplusplus
35 }
36 #endif
37 #endif