winapi_ui_automation/um/
realtimeapiset.rs1use shared::basetsd::PULONG64;
7use shared::minwindef::{BOOL, PULONG, USHORT};
8use um::winnt::{HANDLE, PULONGLONG};
9extern "system" {
10 pub fn QueryThreadCycleTime(
11 ThreadHandle: HANDLE,
12 CycleTime: PULONG64,
13 ) -> BOOL;
14 pub fn QueryProcessCycleTime(
15 ProcessHandle: HANDLE,
16 CycleTime: PULONG64,
17 ) -> BOOL;
18 pub fn QueryIdleProcessorCycleTime(
19 BufferLength: PULONG,
20 ProcessorIdleCycleTime: PULONG64,
21 ) -> BOOL;
22 pub fn QueryIdleProcessorCycleTimeEx(
23 Group: USHORT,
24 BufferLength: PULONG,
25 ProcessorIdleCycleTime: PULONG64,
26 ) -> BOOL;
27 pub fn QueryUnbiasedInterruptTime(
28 UnbiasedTime: PULONGLONG,
29 ) -> BOOL;
30}