diff options
Diffstat (limited to 'vendor/windows-sys/src/Windows/Wdk/System/SystemInformation/mod.rs')
-rw-r--r-- | vendor/windows-sys/src/Windows/Wdk/System/SystemInformation/mod.rs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/vendor/windows-sys/src/Windows/Wdk/System/SystemInformation/mod.rs b/vendor/windows-sys/src/Windows/Wdk/System/SystemInformation/mod.rs new file mode 100644 index 0000000..107ecd5 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Wdk/System/SystemInformation/mod.rs @@ -0,0 +1,18 @@ +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("ntdll.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NtQuerySystemInformation(systeminformationclass : SYSTEM_INFORMATION_CLASS, systeminformation : *mut ::core::ffi::c_void, systeminformationlength : u32, returnlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("ntdll.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NtQuerySystemTime(systemtime : *mut i64) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("ntdll.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NtQueryTimerResolution(maximumtime : *mut u32, minimumtime : *mut u32, currenttime : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); +pub const SystemBasicInformation: SYSTEM_INFORMATION_CLASS = 0i32; +pub const SystemCodeIntegrityInformation: SYSTEM_INFORMATION_CLASS = 103i32; +pub const SystemExceptionInformation: SYSTEM_INFORMATION_CLASS = 33i32; +pub const SystemInterruptInformation: SYSTEM_INFORMATION_CLASS = 23i32; +pub const SystemLookasideInformation: SYSTEM_INFORMATION_CLASS = 45i32; +pub const SystemPerformanceInformation: SYSTEM_INFORMATION_CLASS = 2i32; +pub const SystemPolicyInformation: SYSTEM_INFORMATION_CLASS = 134i32; +pub const SystemProcessInformation: SYSTEM_INFORMATION_CLASS = 5i32; +pub const SystemProcessorPerformanceInformation: SYSTEM_INFORMATION_CLASS = 8i32; +pub const SystemRegistryQuotaInformation: SYSTEM_INFORMATION_CLASS = 37i32; +pub const SystemTimeOfDayInformation: SYSTEM_INFORMATION_CLASS = 3i32; +pub type SYSTEM_INFORMATION_CLASS = i32; |