summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys/src/Windows/Win32/System/Kernel/mod.rs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:18:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:18:58 +0000
commita4b7ed7a42c716ab9f05e351f003d589124fd55d (patch)
treeb620cd3f223850b28716e474e80c58059dca5dd4 /vendor/windows-sys/src/Windows/Win32/System/Kernel/mod.rs
parentAdding upstream version 1.67.1+dfsg1. (diff)
downloadrustc-a4b7ed7a42c716ab9f05e351f003d589124fd55d.tar.xz
rustc-a4b7ed7a42c716ab9f05e351f003d589124fd55d.zip
Adding upstream version 1.68.2+dfsg1.upstream/1.68.2+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/windows-sys/src/Windows/Win32/System/Kernel/mod.rs')
-rw-r--r--vendor/windows-sys/src/Windows/Win32/System/Kernel/mod.rs24
1 files changed, 7 insertions, 17 deletions
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\"`*"]