source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/winapifamily.h@ 1194

Last change on this file since 1194 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 698 bytes
Line 
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
Note: See TracBrowser for help on using the repository browser.