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 _PROCESSTOPOLOGYAPI_H_ 6 #define _PROCESSTOPOLOGYAPI_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) 18 #if _WIN32_WINNT >= 0x0601 19 WINBASEAPI WINBOOL WINAPI GetProcessGroupAffinity (HANDLE hProcess, PUSHORT GroupCount, PUSHORT GroupArray); 20 WINBASEAPI WINBOOL WINAPI SetProcessGroupAffinity (HANDLE hProcess, CONST GROUP_AFFINITY *GroupAffinity, PGROUP_AFFINITY PreviousGroupAffinity); 21 WINBASEAPI WINBOOL WINAPI GetThreadGroupAffinity (HANDLE hThread, PGROUP_AFFINITY GroupAffinity); 22 WINBASEAPI WINBOOL WINAPI SetThreadGroupAffinity (HANDLE hThread, CONST GROUP_AFFINITY *GroupAffinity, PGROUP_AFFINITY PreviousGroupAffinity); 23 #endif 24 #endif 25 26 #ifdef __cplusplus 27 } 28 #endif 29 #endif 30