diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:18:25 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:18:25 +0000 |
commit | 5363f350887b1e5b5dd21a86f88c8af9d7fea6da (patch) | |
tree | 35ca005eb6e0e9a1ba3bb5dbc033209ad445dc17 /vendor/windows-sys-0.28.0/src/Windows/Win32/System/IO | |
parent | Adding debian version 1.66.0+dfsg1-1. (diff) | |
download | rustc-5363f350887b1e5b5dd21a86f88c8af9d7fea6da.tar.xz rustc-5363f350887b1e5b5dd21a86f88c8af9d7fea6da.zip |
Merging upstream version 1.67.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/windows-sys-0.28.0/src/Windows/Win32/System/IO')
-rw-r--r-- | vendor/windows-sys-0.28.0/src/Windows/Win32/System/IO/mod.rs | 88 |
1 files changed, 0 insertions, 88 deletions
diff --git a/vendor/windows-sys-0.28.0/src/Windows/Win32/System/IO/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Win32/System/IO/mod.rs deleted file mode 100644 index 8fcd0f733..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Win32/System/IO/mod.rs +++ /dev/null @@ -1,88 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[link(name = "windows")] -extern "system" { - #[cfg(feature = "Win32_Foundation")] - pub fn BindIoCompletionCallback(filehandle: super::super::Foundation::HANDLE, function: ::core::option::Option<LPOVERLAPPED_COMPLETION_ROUTINE>, flags: u32) -> super::super::Foundation::BOOL; - #[cfg(feature = "Win32_Foundation")] - pub fn CancelIo(hfile: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; - #[cfg(feature = "Win32_Foundation")] - pub fn CancelIoEx(hfile: super::super::Foundation::HANDLE, lpoverlapped: *const OVERLAPPED) -> super::super::Foundation::BOOL; - #[cfg(feature = "Win32_Foundation")] - pub fn CancelSynchronousIo(hthread: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; - #[cfg(feature = "Win32_Foundation")] - pub fn CreateIoCompletionPort(filehandle: super::super::Foundation::HANDLE, existingcompletionport: super::super::Foundation::HANDLE, completionkey: usize, numberofconcurrentthreads: u32) -> super::super::Foundation::HANDLE; - #[cfg(feature = "Win32_Foundation")] - pub fn DeviceIoControl(hdevice: super::super::Foundation::HANDLE, dwiocontrolcode: u32, lpinbuffer: *const ::core::ffi::c_void, ninbuffersize: u32, lpoutbuffer: *mut ::core::ffi::c_void, noutbuffersize: u32, lpbytesreturned: *mut u32, lpoverlapped: *mut OVERLAPPED) -> super::super::Foundation::BOOL; - #[cfg(feature = "Win32_Foundation")] - pub fn GetOverlappedResult(hfile: super::super::Foundation::HANDLE, lpoverlapped: *const OVERLAPPED, lpnumberofbytestransferred: *mut u32, bwait: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; - #[cfg(feature = "Win32_Foundation")] - pub fn GetOverlappedResultEx(hfile: super::super::Foundation::HANDLE, lpoverlapped: *const OVERLAPPED, lpnumberofbytestransferred: *mut u32, dwmilliseconds: u32, balertable: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; - #[cfg(feature = "Win32_Foundation")] - pub fn GetQueuedCompletionStatus(completionport: super::super::Foundation::HANDLE, lpnumberofbytestransferred: *mut u32, lpcompletionkey: *mut usize, lpoverlapped: *mut *mut OVERLAPPED, dwmilliseconds: u32) -> super::super::Foundation::BOOL; - #[cfg(feature = "Win32_Foundation")] - pub fn GetQueuedCompletionStatusEx(completionport: super::super::Foundation::HANDLE, lpcompletionportentries: *mut OVERLAPPED_ENTRY, ulcount: u32, ulnumentriesremoved: *mut u32, dwmilliseconds: u32, falertable: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; - #[cfg(feature = "Win32_Foundation")] - pub fn PostQueuedCompletionStatus(completionport: super::super::Foundation::HANDLE, dwnumberofbytestransferred: u32, dwcompletionkey: usize, lpoverlapped: *const OVERLAPPED) -> super::super::Foundation::BOOL; -} -#[cfg(feature = "Win32_Foundation")] -pub type LPOVERLAPPED_COMPLETION_ROUTINE = unsafe extern "system" fn(dwerrorcode: u32, dwnumberofbytestransfered: u32, lpoverlapped: *mut OVERLAPPED); -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct OVERLAPPED { - pub Internal: usize, - pub InternalHigh: usize, - pub Anonymous: OVERLAPPED_0, - pub hEvent: super::super::Foundation::HANDLE, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for OVERLAPPED {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for OVERLAPPED { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub union OVERLAPPED_0 { - pub Anonymous: OVERLAPPED_0_0, - pub Pointer: *mut ::core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for OVERLAPPED_0 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for OVERLAPPED_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct OVERLAPPED_0_0 { - pub Offset: u32, - pub OffsetHigh: u32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for OVERLAPPED_0_0 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for OVERLAPPED_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[cfg(feature = "Win32_Foundation")] -pub struct OVERLAPPED_ENTRY { - pub lpCompletionKey: usize, - pub lpOverlapped: *mut OVERLAPPED, - pub Internal: usize, - pub dwNumberOfBytesTransferred: u32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for OVERLAPPED_ENTRY {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for OVERLAPPED_ENTRY { - fn clone(&self) -> Self { - *self - } -} |