1 // Licensed under the Apache License, Version 2.0
2 // <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
3 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
4 // All files in the project carrying such notice may not be copied, modified, or distributed
5 // except according to those terms.
6 use shared::minwindef::{BOOL, PULONG, PUSHORT, ULONG, USHORT};
7 use um::winnt::PGROUP_AFFINITY;
8 extern "system" {
GetNumaHighestNodeNumber( HighestNodeNumber: PULONG, ) -> BOOL9     pub fn GetNumaHighestNodeNumber(
10         HighestNodeNumber: PULONG,
11     ) -> BOOL;
GetNumaNodeProcessorMaskEx( Node: USHORT, ProcessorMask: PGROUP_AFFINITY, ) -> BOOL12     pub fn GetNumaNodeProcessorMaskEx(
13         Node: USHORT,
14         ProcessorMask: PGROUP_AFFINITY,
15     ) -> BOOL;
GetNumaProximityNodeEx( ProximityId: ULONG, NodeNumber: PUSHORT, ) -> BOOL16     pub fn GetNumaProximityNodeEx(
17         ProximityId: ULONG,
18         NodeNumber: PUSHORT,
19     ) -> BOOL;
20 }
21