#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
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;
#[doc = "*Required features: 'Devices_Scanners'*"]
#[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
}
}
#[doc = "*Required features: 'Devices_Scanners'*"]
#[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;
#[doc = "*Required features: 'Devices_Scanners'*"]
#[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)]
#[doc = "*Required features: 'Devices_Scanners'*"]
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;
#[doc = "*Required features: 'Devices_Scanners'*"]
#[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
}
}