diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:18:21 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:18:21 +0000 |
commit | 4e8199b572f2035b7749cba276ece3a26630d23e (patch) | |
tree | f09feeed6a0fe39d027b1908aa63ea6b35e4b631 /vendor/windows-sys/src/Windows/Win32/System/IO/mod.rs | |
parent | Adding upstream version 1.66.0+dfsg1. (diff) | |
download | rustc-4e8199b572f2035b7749cba276ece3a26630d23e.tar.xz rustc-4e8199b572f2035b7749cba276ece3a26630d23e.zip |
Adding upstream version 1.67.1+dfsg1.upstream/1.67.1+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/windows-sys/src/Windows/Win32/System/IO/mod.rs')
-rw-r--r-- | vendor/windows-sys/src/Windows/Win32/System/IO/mod.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vendor/windows-sys/src/Windows/Win32/System/IO/mod.rs b/vendor/windows-sys/src/Windows/Win32/System/IO/mod.rs index dee1e2440..8788bdbba 100644 --- a/vendor/windows-sys/src/Windows/Win32/System/IO/mod.rs +++ b/vendor/windows-sys/src/Windows/Win32/System/IO/mod.rs @@ -1,4 +1,4 @@ -#[link(name = "windows")] +#[cfg_attr(windows, link(name = "windows"))] extern "system" { #[doc = "*Required features: `\"Win32_System_IO\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -34,9 +34,6 @@ extern "system" { #[cfg(feature = "Win32_Foundation")] pub fn PostQueuedCompletionStatus(completionport: super::super::Foundation::HANDLE, dwnumberofbytestransferred: u32, dwcompletionkey: usize, lpoverlapped: *const OVERLAPPED) -> super::super::Foundation::BOOL; } -#[doc = "*Required features: `\"Win32_System_IO\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] -pub type LPOVERLAPPED_COMPLETION_ROUTINE = ::core::option::Option<unsafe extern "system" fn(dwerrorcode: u32, dwnumberofbytestransfered: u32, lpoverlapped: *mut OVERLAPPED)>; #[repr(C)] #[doc = "*Required features: `\"Win32_System_IO\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -101,3 +98,6 @@ impl ::core::clone::Clone for OVERLAPPED_ENTRY { *self } } +#[doc = "*Required features: `\"Win32_System_IO\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub type LPOVERLAPPED_COMPLETION_ROUTINE = ::core::option::Option<unsafe extern "system" fn(dwerrorcode: u32, dwnumberofbytestransfered: u32, lpoverlapped: *mut OVERLAPPED)>; |