From a4b7ed7a42c716ab9f05e351f003d589124fd55d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:18:58 +0200 Subject: Adding upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- .../src/Windows/Win32/System/Kernel/mod.rs | 24 +++++++--------------- 1 file changed, 7 insertions(+), 17 deletions(-) (limited to 'vendor/windows-sys/src/Windows/Win32/System/Kernel/mod.rs') diff --git a/vendor/windows-sys/src/Windows/Win32/System/Kernel/mod.rs b/vendor/windows-sys/src/Windows/Win32/System/Kernel/mod.rs index 633a26c3f..470a6b906 100644 --- a/vendor/windows-sys/src/Windows/Win32/System/Kernel/mod.rs +++ b/vendor/windows-sys/src/Windows/Win32/System/Kernel/mod.rs @@ -1,20 +1,10 @@ -#[cfg_attr(windows, link(name = "windows"))] -extern "system" { - #[doc = "*Required features: `\"Win32_System_Kernel\"`*"] - pub fn RtlFirstEntrySList(listhead: *const SLIST_HEADER) -> *mut SLIST_ENTRY; - #[doc = "*Required features: `\"Win32_System_Kernel\"`*"] - pub fn RtlInitializeSListHead(listhead: *mut SLIST_HEADER); - #[doc = "*Required features: `\"Win32_System_Kernel\"`*"] - pub fn RtlInterlockedFlushSList(listhead: *mut SLIST_HEADER) -> *mut SLIST_ENTRY; - #[doc = "*Required features: `\"Win32_System_Kernel\"`*"] - pub fn RtlInterlockedPopEntrySList(listhead: *mut SLIST_HEADER) -> *mut SLIST_ENTRY; - #[doc = "*Required features: `\"Win32_System_Kernel\"`*"] - pub fn RtlInterlockedPushEntrySList(listhead: *mut SLIST_HEADER, listentry: *mut SLIST_ENTRY) -> *mut SLIST_ENTRY; - #[doc = "*Required features: `\"Win32_System_Kernel\"`*"] - pub fn RtlInterlockedPushListSListEx(listhead: *mut SLIST_HEADER, list: *mut SLIST_ENTRY, listend: *mut SLIST_ENTRY, count: u32) -> *mut SLIST_ENTRY; - #[doc = "*Required features: `\"Win32_System_Kernel\"`*"] - pub fn RtlQueryDepthSList(listhead: *const SLIST_HEADER) -> u16; -} +::windows_sys::core::link ! ( "ntdll.dll""system" #[doc = "*Required features: `\"Win32_System_Kernel\"`*"] fn RtlFirstEntrySList ( listhead : *const SLIST_HEADER ) -> *mut SLIST_ENTRY ); +::windows_sys::core::link ! ( "ntdll.dll""system" #[doc = "*Required features: `\"Win32_System_Kernel\"`*"] fn RtlInitializeSListHead ( listhead : *mut SLIST_HEADER ) -> ( ) ); +::windows_sys::core::link ! ( "ntdll.dll""system" #[doc = "*Required features: `\"Win32_System_Kernel\"`*"] fn RtlInterlockedFlushSList ( listhead : *mut SLIST_HEADER ) -> *mut SLIST_ENTRY ); +::windows_sys::core::link ! ( "ntdll.dll""system" #[doc = "*Required features: `\"Win32_System_Kernel\"`*"] fn RtlInterlockedPopEntrySList ( listhead : *mut SLIST_HEADER ) -> *mut SLIST_ENTRY ); +::windows_sys::core::link ! ( "ntdll.dll""system" #[doc = "*Required features: `\"Win32_System_Kernel\"`*"] fn RtlInterlockedPushEntrySList ( listhead : *mut SLIST_HEADER , listentry : *mut SLIST_ENTRY ) -> *mut SLIST_ENTRY ); +::windows_sys::core::link ! ( "ntdll.dll""system" #[doc = "*Required features: `\"Win32_System_Kernel\"`*"] fn RtlInterlockedPushListSListEx ( listhead : *mut SLIST_HEADER , list : *mut SLIST_ENTRY , listend : *mut SLIST_ENTRY , count : u32 ) -> *mut SLIST_ENTRY ); +::windows_sys::core::link ! ( "ntdll.dll""system" #[doc = "*Required features: `\"Win32_System_Kernel\"`*"] fn RtlQueryDepthSList ( listhead : *const SLIST_HEADER ) -> u16 ); #[doc = "*Required features: `\"Win32_System_Kernel\"`*"] pub const MAXUCHAR: u32 = 255u32; #[doc = "*Required features: `\"Win32_System_Kernel\"`*"] -- cgit v1.2.3