diff options
Diffstat (limited to 'vendor/windows-sys-0.28.0/src/Windows/Devices/Scanners/mod.rs')
-rw-r--r-- | vendor/windows-sys-0.28.0/src/Windows/Devices/Scanners/mod.rs | 80 |
1 files changed, 0 insertions, 80 deletions
diff --git a/vendor/windows-sys-0.28.0/src/Windows/Devices/Scanners/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Devices/Scanners/mod.rs deleted file mode 100644 index f2fe144d8..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Devices/Scanners/mod.rs +++ /dev/null @@ -1,80 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[link(name = "windows")] -extern "system" {} -pub type IImageScannerFormatConfiguration = *mut ::core::ffi::c_void; -pub type IImageScannerSourceConfiguration = *mut ::core::ffi::c_void; -pub type ImageScanner = *mut ::core::ffi::c_void; -pub type ImageScannerAutoConfiguration = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct ImageScannerAutoCroppingMode(pub i32); -impl ImageScannerAutoCroppingMode { - pub const Disabled: Self = Self(0i32); - pub const SingleRegion: Self = Self(1i32); - pub const MultipleRegion: Self = Self(2i32); -} -impl ::core::marker::Copy for ImageScannerAutoCroppingMode {} -impl ::core::clone::Clone for ImageScannerAutoCroppingMode { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct ImageScannerColorMode(pub i32); -impl ImageScannerColorMode { - pub const Color: Self = Self(0i32); - pub const Grayscale: Self = Self(1i32); - pub const Monochrome: Self = Self(2i32); - pub const AutoColor: Self = Self(3i32); -} -impl ::core::marker::Copy for ImageScannerColorMode {} -impl ::core::clone::Clone for ImageScannerColorMode { - fn clone(&self) -> Self { - *self - } -} -pub type ImageScannerFeederConfiguration = *mut ::core::ffi::c_void; -pub type ImageScannerFlatbedConfiguration = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct ImageScannerFormat(pub i32); -impl ImageScannerFormat { - pub const Jpeg: Self = Self(0i32); - pub const Png: Self = Self(1i32); - pub const DeviceIndependentBitmap: Self = Self(2i32); - pub const Tiff: Self = Self(3i32); - pub const Xps: Self = Self(4i32); - pub const OpenXps: Self = Self(5i32); - pub const Pdf: Self = Self(6i32); -} -impl ::core::marker::Copy for ImageScannerFormat {} -impl ::core::clone::Clone for ImageScannerFormat { - fn clone(&self) -> Self { - *self - } -} -pub type ImageScannerPreviewResult = *mut ::core::ffi::c_void; -#[repr(C)] -pub struct ImageScannerResolution { - pub DpiX: f32, - pub DpiY: f32, -} -impl ::core::marker::Copy for ImageScannerResolution {} -impl ::core::clone::Clone for ImageScannerResolution { - fn clone(&self) -> Self { - *self - } -} -pub type ImageScannerScanResult = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct ImageScannerScanSource(pub i32); -impl ImageScannerScanSource { - pub const Default: Self = Self(0i32); - pub const Flatbed: Self = Self(1i32); - pub const Feeder: Self = Self(2i32); - pub const AutoConfigured: Self = Self(3i32); -} -impl ::core::marker::Copy for ImageScannerScanSource {} -impl ::core::clone::Clone for ImageScannerScanSource { - fn clone(&self) -> Self { - *self - } -} |