Debian Codegraph @

src/hostapi/wasapi/mingw-include/winapifamily.h

raw
1 /**
2 * This file is part of the mingw-w64 runtime package.
3 * No warranty is given; refer to the file DISCLAIMER within this package.
4 */
5
6 #ifndef _INC_WINAPIFAMILY
7 #define _INC_WINAPIFAMILY
8
9 #define WINAPI_PARTITION_DESKTOP 0x1
10 #define WINAPI_PARTITION_APP 0x2
11
12 #define WINAPI_FAMILY_APP WINAPI_PARTITION_APP
13 #define WINAPI_FAMILY_DESKTOP_APP (WINAPI_PARTITION_DESKTOP \
14 | WINAPI_PARTITION_APP)
15
16 /* WINAPI_FAMILY can be either desktop + App, or App. */
17 #ifndef WINAPI_FAMILY
18 #define WINAPI_FAMILY WINAPI_FAMILY_DESKTOP_APP
19 #endif
20
21 #define WINAPI_FAMILY_PARTITION(v) ((WINAPI_FAMILY & v) == v)
22 #define WINAPI_FAMILY_ONE_PARTITION(vset, v) ((WINAPI_FAMILY & vset) == v)
23
24 #endif