zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

systemtopologyapi.h (740B) - 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 #ifndef _SYSTEMTOPOLOGY_H_
      6 #define _SYSTEMTOPOLOGY_H_
      7 
      8 #include <apiset.h>
      9 #include <apisetcconv.h>
     10 #include <minwindef.h>
     11 #include <minwinbase.h>
     12 
     13 #ifdef __cplusplus
     14 extern "C" {
     15 #endif
     16 
     17 #if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP) || NTDDI_VERSION >= NTDDI_WIN10_19H1
     18   WINBASEAPI WINBOOL WINAPI GetNumaHighestNodeNumber (PULONG HighestNodeNumber);
     19 #endif
     20 
     21 #if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
     22 #if _WIN32_WINNT >= 0x0601
     23   WINBASEAPI WINBOOL WINAPI GetNumaNodeProcessorMaskEx (USHORT Node, PGROUP_AFFINITY ProcessorMask);
     24 #endif
     25 #endif
     26 
     27 #ifdef __cplusplus
     28 }
     29 #endif
     30 #endif