Home | History | Annotate | Download | only in include
      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 #ifndef WINAPI_FAMILY
     17 #define WINAPI_FAMILY WINAPI_FAMILY_DESKTOP_APP
     18 #endif
     19 
     20 #define WINAPI_FAMILY_PARTITION(v) ((WINAPI_FAMILY & v) == v)
     21 #define WINAPI_FAMILY_ONE_PARTITION(vset, v) ((WINAPI_FAMILY & vset) == v)
     22 
     23 #endif
     24