From 1b6a04ca5504955c571d1c97504fb45ea0befee4 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Mon, 8 Jan 2024 01:21:28 +0400 Subject: Initial vendor packages Signed-off-by: Valentin Popov --- .../src/Windows/Wdk/System/SystemInformation/mod.rs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 vendor/windows-sys/src/Windows/Wdk/System/SystemInformation/mod.rs (limited to 'vendor/windows-sys/src/Windows/Wdk/System/SystemInformation') 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; -- cgit v1.2.3