diff options
author | Valentin Popov <valentin@popov.link> | 2024-01-08 00:21:28 +0300 |
---|---|---|
committer | Valentin Popov <valentin@popov.link> | 2024-01-08 00:21:28 +0300 |
commit | 1b6a04ca5504955c571d1c97504fb45ea0befee4 (patch) | |
tree | 7579f518b23313e8a9748a88ab6173d5e030b227 /vendor/windows-sys/src/Windows/Wdk/System/SystemInformation/mod.rs | |
parent | 5ecd8cf2cba827454317368b68571df0d13d7842 (diff) | |
download | fparkan-1b6a04ca5504955c571d1c97504fb45ea0befee4.tar.xz fparkan-1b6a04ca5504955c571d1c97504fb45ea0befee4.zip |
Initial vendor packages
Signed-off-by: Valentin Popov <valentin@popov.link>
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; |