winapi_ui_automation/um/
systemtopologyapi.rs

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.
6use shared::minwindef::{BOOL, PULONG, PUSHORT, ULONG, USHORT};
7use um::winnt::PGROUP_AFFINITY;
8extern "system" {
9    pub fn GetNumaHighestNodeNumber(
10        HighestNodeNumber: PULONG,
11    ) -> BOOL;
12    pub fn GetNumaNodeProcessorMaskEx(
13        Node: USHORT,
14        ProcessorMask: PGROUP_AFFINITY,
15    ) -> BOOL;
16    pub fn GetNumaProximityNodeEx(
17        ProximityId: ULONG,
18        NodeNumber: PUSHORT,
19    ) -> BOOL;
20}