From 5363f350887b1e5b5dd21a86f88c8af9d7fea6da Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:18:25 +0200 Subject: Merging upstream version 1.67.1+dfsg1. Signed-off-by: Daniel Baumann --- .../src/Windows/Graphics/Capture/mod.rs | 20 - .../src/Windows/Graphics/DirectX/Direct3D11/mod.rs | 63 --- .../src/Windows/Graphics/DirectX/mod.rs | 201 --------- .../src/Windows/Graphics/Display/Core/mod.rs | 68 ---- .../src/Windows/Graphics/Display/mod.rs | 144 ------- .../src/Windows/Graphics/Effects/mod.rs | 5 - .../src/Windows/Graphics/Holographic/mod.rs | 130 ------ .../src/Windows/Graphics/Imaging/mod.rs | 215 ---------- .../Windows/Graphics/Printing/OptionDetails/mod.rs | 55 --- .../Windows/Graphics/Printing/PrintSupport/mod.rs | 35 -- .../Windows/Graphics/Printing/PrintTicket/mod.rs | 49 --- .../src/Windows/Graphics/Printing/Workflow/mod.rs | 113 ------ .../src/Windows/Graphics/Printing/mod.rs | 451 --------------------- .../src/Windows/Graphics/Printing3D/mod.rs | 159 -------- .../windows-sys-0.28.0/src/Windows/Graphics/mod.rs | 76 ---- 15 files changed, 1784 deletions(-) delete mode 100644 vendor/windows-sys-0.28.0/src/Windows/Graphics/Capture/mod.rs delete mode 100644 vendor/windows-sys-0.28.0/src/Windows/Graphics/DirectX/Direct3D11/mod.rs delete mode 100644 vendor/windows-sys-0.28.0/src/Windows/Graphics/DirectX/mod.rs delete mode 100644 vendor/windows-sys-0.28.0/src/Windows/Graphics/Display/Core/mod.rs delete mode 100644 vendor/windows-sys-0.28.0/src/Windows/Graphics/Display/mod.rs delete mode 100644 vendor/windows-sys-0.28.0/src/Windows/Graphics/Effects/mod.rs delete mode 100644 vendor/windows-sys-0.28.0/src/Windows/Graphics/Holographic/mod.rs delete mode 100644 vendor/windows-sys-0.28.0/src/Windows/Graphics/Imaging/mod.rs delete mode 100644 vendor/windows-sys-0.28.0/src/Windows/Graphics/Printing/OptionDetails/mod.rs delete mode 100644 vendor/windows-sys-0.28.0/src/Windows/Graphics/Printing/PrintSupport/mod.rs delete mode 100644 vendor/windows-sys-0.28.0/src/Windows/Graphics/Printing/PrintTicket/mod.rs delete mode 100644 vendor/windows-sys-0.28.0/src/Windows/Graphics/Printing/Workflow/mod.rs delete mode 100644 vendor/windows-sys-0.28.0/src/Windows/Graphics/Printing/mod.rs delete mode 100644 vendor/windows-sys-0.28.0/src/Windows/Graphics/Printing3D/mod.rs delete mode 100644 vendor/windows-sys-0.28.0/src/Windows/Graphics/mod.rs (limited to 'vendor/windows-sys-0.28.0/src/Windows/Graphics') diff --git a/vendor/windows-sys-0.28.0/src/Windows/Graphics/Capture/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Graphics/Capture/mod.rs deleted file mode 100644 index 8cabeb118..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Graphics/Capture/mod.rs +++ /dev/null @@ -1,20 +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 Direct3D11CaptureFrame = *mut ::core::ffi::c_void; -pub type Direct3D11CaptureFramePool = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct GraphicsCaptureAccessKind(pub i32); -impl GraphicsCaptureAccessKind { - pub const Borderless: Self = Self(0i32); - pub const Programmatic: Self = Self(1i32); -} -impl ::core::marker::Copy for GraphicsCaptureAccessKind {} -impl ::core::clone::Clone for GraphicsCaptureAccessKind { - fn clone(&self) -> Self { - *self - } -} -pub type GraphicsCaptureItem = *mut ::core::ffi::c_void; -pub type GraphicsCapturePicker = *mut ::core::ffi::c_void; -pub type GraphicsCaptureSession = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys-0.28.0/src/Windows/Graphics/DirectX/Direct3D11/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Graphics/DirectX/Direct3D11/mod.rs deleted file mode 100644 index fe5eb7e7f..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Graphics/DirectX/Direct3D11/mod.rs +++ /dev/null @@ -1,63 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[link(name = "windows")] -extern "system" {} -#[repr(transparent)] -pub struct Direct3DBindings(pub u32); -impl Direct3DBindings { - pub const VertexBuffer: Self = Self(1u32); - pub const IndexBuffer: Self = Self(2u32); - pub const ConstantBuffer: Self = Self(4u32); - pub const ShaderResource: Self = Self(8u32); - pub const StreamOutput: Self = Self(16u32); - pub const RenderTarget: Self = Self(32u32); - pub const DepthStencil: Self = Self(64u32); - pub const UnorderedAccess: Self = Self(128u32); - pub const Decoder: Self = Self(512u32); - pub const VideoEncoder: Self = Self(1024u32); -} -impl ::core::marker::Copy for Direct3DBindings {} -impl ::core::clone::Clone for Direct3DBindings { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct Direct3DMultisampleDescription { - pub Count: i32, - pub Quality: i32, -} -impl ::core::marker::Copy for Direct3DMultisampleDescription {} -impl ::core::clone::Clone for Direct3DMultisampleDescription { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct Direct3DSurfaceDescription { - pub Width: i32, - pub Height: i32, - pub Format: super::DirectXPixelFormat, - pub MultisampleDescription: Direct3DMultisampleDescription, -} -impl ::core::marker::Copy for Direct3DSurfaceDescription {} -impl ::core::clone::Clone for Direct3DSurfaceDescription { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct Direct3DUsage(pub i32); -impl Direct3DUsage { - pub const Default: Self = Self(0i32); - pub const Immutable: Self = Self(1i32); - pub const Dynamic: Self = Self(2i32); - pub const Staging: Self = Self(3i32); -} -impl ::core::marker::Copy for Direct3DUsage {} -impl ::core::clone::Clone for Direct3DUsage { - fn clone(&self) -> Self { - *self - } -} -pub type IDirect3DDevice = *mut ::core::ffi::c_void; -pub type IDirect3DSurface = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys-0.28.0/src/Windows/Graphics/DirectX/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Graphics/DirectX/mod.rs deleted file mode 100644 index 93fbdc485..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Graphics/DirectX/mod.rs +++ /dev/null @@ -1,201 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[cfg(feature = "Graphics_DirectX_Direct3D11")] -pub mod Direct3D11; -#[link(name = "windows")] -extern "system" {} -#[repr(transparent)] -pub struct DirectXAlphaMode(pub i32); -impl DirectXAlphaMode { - pub const Unspecified: Self = Self(0i32); - pub const Premultiplied: Self = Self(1i32); - pub const Straight: Self = Self(2i32); - pub const Ignore: Self = Self(3i32); -} -impl ::core::marker::Copy for DirectXAlphaMode {} -impl ::core::clone::Clone for DirectXAlphaMode { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct DirectXColorSpace(pub i32); -impl DirectXColorSpace { - pub const RgbFullG22NoneP709: Self = Self(0i32); - pub const RgbFullG10NoneP709: Self = Self(1i32); - pub const RgbStudioG22NoneP709: Self = Self(2i32); - pub const RgbStudioG22NoneP2020: Self = Self(3i32); - pub const Reserved: Self = Self(4i32); - pub const YccFullG22NoneP709X601: Self = Self(5i32); - pub const YccStudioG22LeftP601: Self = Self(6i32); - pub const YccFullG22LeftP601: Self = Self(7i32); - pub const YccStudioG22LeftP709: Self = Self(8i32); - pub const YccFullG22LeftP709: Self = Self(9i32); - pub const YccStudioG22LeftP2020: Self = Self(10i32); - pub const YccFullG22LeftP2020: Self = Self(11i32); - pub const RgbFullG2084NoneP2020: Self = Self(12i32); - pub const YccStudioG2084LeftP2020: Self = Self(13i32); - pub const RgbStudioG2084NoneP2020: Self = Self(14i32); - pub const YccStudioG22TopLeftP2020: Self = Self(15i32); - pub const YccStudioG2084TopLeftP2020: Self = Self(16i32); - pub const RgbFullG22NoneP2020: Self = Self(17i32); - pub const YccStudioGHlgTopLeftP2020: Self = Self(18i32); - pub const YccFullGHlgTopLeftP2020: Self = Self(19i32); - pub const RgbStudioG24NoneP709: Self = Self(20i32); - pub const RgbStudioG24NoneP2020: Self = Self(21i32); - pub const YccStudioG24LeftP709: Self = Self(22i32); - pub const YccStudioG24LeftP2020: Self = Self(23i32); - pub const YccStudioG24TopLeftP2020: Self = Self(24i32); -} -impl ::core::marker::Copy for DirectXColorSpace {} -impl ::core::clone::Clone for DirectXColorSpace { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct DirectXPixelFormat(pub i32); -impl DirectXPixelFormat { - pub const Unknown: Self = Self(0i32); - pub const R32G32B32A32Typeless: Self = Self(1i32); - pub const R32G32B32A32Float: Self = Self(2i32); - pub const R32G32B32A32UInt: Self = Self(3i32); - pub const R32G32B32A32Int: Self = Self(4i32); - pub const R32G32B32Typeless: Self = Self(5i32); - pub const R32G32B32Float: Self = Self(6i32); - pub const R32G32B32UInt: Self = Self(7i32); - pub const R32G32B32Int: Self = Self(8i32); - pub const R16G16B16A16Typeless: Self = Self(9i32); - pub const R16G16B16A16Float: Self = Self(10i32); - pub const R16G16B16A16UIntNormalized: Self = Self(11i32); - pub const R16G16B16A16UInt: Self = Self(12i32); - pub const R16G16B16A16IntNormalized: Self = Self(13i32); - pub const R16G16B16A16Int: Self = Self(14i32); - pub const R32G32Typeless: Self = Self(15i32); - pub const R32G32Float: Self = Self(16i32); - pub const R32G32UInt: Self = Self(17i32); - pub const R32G32Int: Self = Self(18i32); - pub const R32G8X24Typeless: Self = Self(19i32); - pub const D32FloatS8X24UInt: Self = Self(20i32); - pub const R32FloatX8X24Typeless: Self = Self(21i32); - pub const X32TypelessG8X24UInt: Self = Self(22i32); - pub const R10G10B10A2Typeless: Self = Self(23i32); - pub const R10G10B10A2UIntNormalized: Self = Self(24i32); - pub const R10G10B10A2UInt: Self = Self(25i32); - pub const R11G11B10Float: Self = Self(26i32); - pub const R8G8B8A8Typeless: Self = Self(27i32); - pub const R8G8B8A8UIntNormalized: Self = Self(28i32); - pub const R8G8B8A8UIntNormalizedSrgb: Self = Self(29i32); - pub const R8G8B8A8UInt: Self = Self(30i32); - pub const R8G8B8A8IntNormalized: Self = Self(31i32); - pub const R8G8B8A8Int: Self = Self(32i32); - pub const R16G16Typeless: Self = Self(33i32); - pub const R16G16Float: Self = Self(34i32); - pub const R16G16UIntNormalized: Self = Self(35i32); - pub const R16G16UInt: Self = Self(36i32); - pub const R16G16IntNormalized: Self = Self(37i32); - pub const R16G16Int: Self = Self(38i32); - pub const R32Typeless: Self = Self(39i32); - pub const D32Float: Self = Self(40i32); - pub const R32Float: Self = Self(41i32); - pub const R32UInt: Self = Self(42i32); - pub const R32Int: Self = Self(43i32); - pub const R24G8Typeless: Self = Self(44i32); - pub const D24UIntNormalizedS8UInt: Self = Self(45i32); - pub const R24UIntNormalizedX8Typeless: Self = Self(46i32); - pub const X24TypelessG8UInt: Self = Self(47i32); - pub const R8G8Typeless: Self = Self(48i32); - pub const R8G8UIntNormalized: Self = Self(49i32); - pub const R8G8UInt: Self = Self(50i32); - pub const R8G8IntNormalized: Self = Self(51i32); - pub const R8G8Int: Self = Self(52i32); - pub const R16Typeless: Self = Self(53i32); - pub const R16Float: Self = Self(54i32); - pub const D16UIntNormalized: Self = Self(55i32); - pub const R16UIntNormalized: Self = Self(56i32); - pub const R16UInt: Self = Self(57i32); - pub const R16IntNormalized: Self = Self(58i32); - pub const R16Int: Self = Self(59i32); - pub const R8Typeless: Self = Self(60i32); - pub const R8UIntNormalized: Self = Self(61i32); - pub const R8UInt: Self = Self(62i32); - pub const R8IntNormalized: Self = Self(63i32); - pub const R8Int: Self = Self(64i32); - pub const A8UIntNormalized: Self = Self(65i32); - pub const R1UIntNormalized: Self = Self(66i32); - pub const R9G9B9E5SharedExponent: Self = Self(67i32); - pub const R8G8B8G8UIntNormalized: Self = Self(68i32); - pub const G8R8G8B8UIntNormalized: Self = Self(69i32); - pub const BC1Typeless: Self = Self(70i32); - pub const BC1UIntNormalized: Self = Self(71i32); - pub const BC1UIntNormalizedSrgb: Self = Self(72i32); - pub const BC2Typeless: Self = Self(73i32); - pub const BC2UIntNormalized: Self = Self(74i32); - pub const BC2UIntNormalizedSrgb: Self = Self(75i32); - pub const BC3Typeless: Self = Self(76i32); - pub const BC3UIntNormalized: Self = Self(77i32); - pub const BC3UIntNormalizedSrgb: Self = Self(78i32); - pub const BC4Typeless: Self = Self(79i32); - pub const BC4UIntNormalized: Self = Self(80i32); - pub const BC4IntNormalized: Self = Self(81i32); - pub const BC5Typeless: Self = Self(82i32); - pub const BC5UIntNormalized: Self = Self(83i32); - pub const BC5IntNormalized: Self = Self(84i32); - pub const B5G6R5UIntNormalized: Self = Self(85i32); - pub const B5G5R5A1UIntNormalized: Self = Self(86i32); - pub const B8G8R8A8UIntNormalized: Self = Self(87i32); - pub const B8G8R8X8UIntNormalized: Self = Self(88i32); - pub const R10G10B10XRBiasA2UIntNormalized: Self = Self(89i32); - pub const B8G8R8A8Typeless: Self = Self(90i32); - pub const B8G8R8A8UIntNormalizedSrgb: Self = Self(91i32); - pub const B8G8R8X8Typeless: Self = Self(92i32); - pub const B8G8R8X8UIntNormalizedSrgb: Self = Self(93i32); - pub const BC6HTypeless: Self = Self(94i32); - pub const BC6H16UnsignedFloat: Self = Self(95i32); - pub const BC6H16Float: Self = Self(96i32); - pub const BC7Typeless: Self = Self(97i32); - pub const BC7UIntNormalized: Self = Self(98i32); - pub const BC7UIntNormalizedSrgb: Self = Self(99i32); - pub const Ayuv: Self = Self(100i32); - pub const Y410: Self = Self(101i32); - pub const Y416: Self = Self(102i32); - pub const NV12: Self = Self(103i32); - pub const P010: Self = Self(104i32); - pub const P016: Self = Self(105i32); - pub const Opaque420: Self = Self(106i32); - pub const Yuy2: Self = Self(107i32); - pub const Y210: Self = Self(108i32); - pub const Y216: Self = Self(109i32); - pub const NV11: Self = Self(110i32); - pub const AI44: Self = Self(111i32); - pub const IA44: Self = Self(112i32); - pub const P8: Self = Self(113i32); - pub const A8P8: Self = Self(114i32); - pub const B4G4R4A4UIntNormalized: Self = Self(115i32); - pub const P208: Self = Self(130i32); - pub const V208: Self = Self(131i32); - pub const V408: Self = Self(132i32); - pub const SamplerFeedbackMinMipOpaque: Self = Self(189i32); - pub const SamplerFeedbackMipRegionUsedOpaque: Self = Self(190i32); -} -impl ::core::marker::Copy for DirectXPixelFormat {} -impl ::core::clone::Clone for DirectXPixelFormat { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct DirectXPrimitiveTopology(pub i32); -impl DirectXPrimitiveTopology { - pub const Undefined: Self = Self(0i32); - pub const PointList: Self = Self(1i32); - pub const LineList: Self = Self(2i32); - pub const LineStrip: Self = Self(3i32); - pub const TriangleList: Self = Self(4i32); - pub const TriangleStrip: Self = Self(5i32); -} -impl ::core::marker::Copy for DirectXPrimitiveTopology {} -impl ::core::clone::Clone for DirectXPrimitiveTopology { - fn clone(&self) -> Self { - *self - } -} diff --git a/vendor/windows-sys-0.28.0/src/Windows/Graphics/Display/Core/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Graphics/Display/Core/mod.rs deleted file mode 100644 index 2b3e8570b..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Graphics/Display/Core/mod.rs +++ /dev/null @@ -1,68 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[link(name = "windows")] -extern "system" {} -#[repr(transparent)] -pub struct HdmiDisplayColorSpace(pub i32); -impl HdmiDisplayColorSpace { - pub const RgbLimited: Self = Self(0i32); - pub const RgbFull: Self = Self(1i32); - pub const BT2020: Self = Self(2i32); - pub const BT709: Self = Self(3i32); -} -impl ::core::marker::Copy for HdmiDisplayColorSpace {} -impl ::core::clone::Clone for HdmiDisplayColorSpace { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct HdmiDisplayHdr2086Metadata { - pub RedPrimaryX: u16, - pub RedPrimaryY: u16, - pub GreenPrimaryX: u16, - pub GreenPrimaryY: u16, - pub BluePrimaryX: u16, - pub BluePrimaryY: u16, - pub WhitePointX: u16, - pub WhitePointY: u16, - pub MaxMasteringLuminance: u16, - pub MinMasteringLuminance: u16, - pub MaxContentLightLevel: u16, - pub MaxFrameAverageLightLevel: u16, -} -impl ::core::marker::Copy for HdmiDisplayHdr2086Metadata {} -impl ::core::clone::Clone for HdmiDisplayHdr2086Metadata { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct HdmiDisplayHdrOption(pub i32); -impl HdmiDisplayHdrOption { - pub const None: Self = Self(0i32); - pub const EotfSdr: Self = Self(1i32); - pub const Eotf2084: Self = Self(2i32); - pub const DolbyVisionLowLatency: Self = Self(3i32); -} -impl ::core::marker::Copy for HdmiDisplayHdrOption {} -impl ::core::clone::Clone for HdmiDisplayHdrOption { - fn clone(&self) -> Self { - *self - } -} -pub type HdmiDisplayInformation = *mut ::core::ffi::c_void; -pub type HdmiDisplayMode = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct HdmiDisplayPixelEncoding(pub i32); -impl HdmiDisplayPixelEncoding { - pub const Rgb444: Self = Self(0i32); - pub const Ycc444: Self = Self(1i32); - pub const Ycc422: Self = Self(2i32); - pub const Ycc420: Self = Self(3i32); -} -impl ::core::marker::Copy for HdmiDisplayPixelEncoding {} -impl ::core::clone::Clone for HdmiDisplayPixelEncoding { - fn clone(&self) -> Self { - *self - } -} diff --git a/vendor/windows-sys-0.28.0/src/Windows/Graphics/Display/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Graphics/Display/mod.rs deleted file mode 100644 index 995c7723c..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Graphics/Display/mod.rs +++ /dev/null @@ -1,144 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[cfg(feature = "Graphics_Display_Core")] -pub mod Core; -#[link(name = "windows")] -extern "system" {} -pub type AdvancedColorInfo = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct AdvancedColorKind(pub i32); -impl AdvancedColorKind { - pub const StandardDynamicRange: Self = Self(0i32); - pub const WideColorGamut: Self = Self(1i32); - pub const HighDynamicRange: Self = Self(2i32); -} -impl ::core::marker::Copy for AdvancedColorKind {} -impl ::core::clone::Clone for AdvancedColorKind { - fn clone(&self) -> Self { - *self - } -} -pub type BrightnessOverride = *mut ::core::ffi::c_void; -pub type BrightnessOverrideSettings = *mut ::core::ffi::c_void; -pub type ColorOverrideSettings = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct DisplayBrightnessOverrideOptions(pub u32); -impl DisplayBrightnessOverrideOptions { - pub const None: Self = Self(0u32); - pub const UseDimmedPolicyWhenBatteryIsLow: Self = Self(1u32); -} -impl ::core::marker::Copy for DisplayBrightnessOverrideOptions {} -impl ::core::clone::Clone for DisplayBrightnessOverrideOptions { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct DisplayBrightnessOverrideScenario(pub i32); -impl DisplayBrightnessOverrideScenario { - pub const IdleBrightness: Self = Self(0i32); - pub const BarcodeReadingBrightness: Self = Self(1i32); - pub const FullBrightness: Self = Self(2i32); -} -impl ::core::marker::Copy for DisplayBrightnessOverrideScenario {} -impl ::core::clone::Clone for DisplayBrightnessOverrideScenario { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct DisplayBrightnessScenario(pub i32); -impl DisplayBrightnessScenario { - pub const DefaultBrightness: Self = Self(0i32); - pub const IdleBrightness: Self = Self(1i32); - pub const BarcodeReadingBrightness: Self = Self(2i32); - pub const FullBrightness: Self = Self(3i32); -} -impl ::core::marker::Copy for DisplayBrightnessScenario {} -impl ::core::clone::Clone for DisplayBrightnessScenario { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct DisplayColorOverrideScenario(pub i32); -impl DisplayColorOverrideScenario { - pub const Accurate: Self = Self(0i32); -} -impl ::core::marker::Copy for DisplayColorOverrideScenario {} -impl ::core::clone::Clone for DisplayColorOverrideScenario { - fn clone(&self) -> Self { - *self - } -} -pub type DisplayEnhancementOverride = *mut ::core::ffi::c_void; -pub type DisplayEnhancementOverrideCapabilities = *mut ::core::ffi::c_void; -pub type DisplayEnhancementOverrideCapabilitiesChangedEventArgs = *mut ::core::ffi::c_void; -pub type DisplayInformation = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct DisplayOrientations(pub u32); -impl DisplayOrientations { - pub const None: Self = Self(0u32); - pub const Landscape: Self = Self(1u32); - pub const Portrait: Self = Self(2u32); - pub const LandscapeFlipped: Self = Self(4u32); - pub const PortraitFlipped: Self = Self(8u32); -} -impl ::core::marker::Copy for DisplayOrientations {} -impl ::core::clone::Clone for DisplayOrientations { - fn clone(&self) -> Self { - *self - } -} -pub type DisplayPropertiesEventHandler = *mut ::core::ffi::c_void; -pub type DisplayServices = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct HdrMetadataFormat(pub i32); -impl HdrMetadataFormat { - pub const Hdr10: Self = Self(0i32); - pub const Hdr10Plus: Self = Self(1i32); -} -impl ::core::marker::Copy for HdrMetadataFormat {} -impl ::core::clone::Clone for HdrMetadataFormat { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct NitRange { - pub MinNits: f32, - pub MaxNits: f32, - pub StepSizeNits: f32, -} -impl ::core::marker::Copy for NitRange {} -impl ::core::clone::Clone for NitRange { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct ResolutionScale(pub i32); -impl ResolutionScale { - pub const Invalid: Self = Self(0i32); - pub const Scale100Percent: Self = Self(100i32); - pub const Scale120Percent: Self = Self(120i32); - pub const Scale125Percent: Self = Self(125i32); - pub const Scale140Percent: Self = Self(140i32); - pub const Scale150Percent: Self = Self(150i32); - pub const Scale160Percent: Self = Self(160i32); - pub const Scale175Percent: Self = Self(175i32); - pub const Scale180Percent: Self = Self(180i32); - pub const Scale200Percent: Self = Self(200i32); - pub const Scale225Percent: Self = Self(225i32); - pub const Scale250Percent: Self = Self(250i32); - pub const Scale300Percent: Self = Self(300i32); - pub const Scale350Percent: Self = Self(350i32); - pub const Scale400Percent: Self = Self(400i32); - pub const Scale450Percent: Self = Self(450i32); - pub const Scale500Percent: Self = Self(500i32); -} -impl ::core::marker::Copy for ResolutionScale {} -impl ::core::clone::Clone for ResolutionScale { - fn clone(&self) -> Self { - *self - } -} diff --git a/vendor/windows-sys-0.28.0/src/Windows/Graphics/Effects/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Graphics/Effects/mod.rs deleted file mode 100644 index e5f45d753..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Graphics/Effects/mod.rs +++ /dev/null @@ -1,5 +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 IGraphicsEffect = *mut ::core::ffi::c_void; -pub type IGraphicsEffectSource = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys-0.28.0/src/Windows/Graphics/Holographic/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Graphics/Holographic/mod.rs deleted file mode 100644 index 398766851..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Graphics/Holographic/mod.rs +++ /dev/null @@ -1,130 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[link(name = "windows")] -extern "system" {} -#[repr(C)] -pub struct HolographicAdapterId { - pub LowPart: u32, - pub HighPart: i32, -} -impl ::core::marker::Copy for HolographicAdapterId {} -impl ::core::clone::Clone for HolographicAdapterId { - fn clone(&self) -> Self { - *self - } -} -pub type HolographicCamera = *mut ::core::ffi::c_void; -pub type HolographicCameraPose = *mut ::core::ffi::c_void; -pub type HolographicCameraRenderingParameters = *mut ::core::ffi::c_void; -pub type HolographicCameraViewportParameters = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct HolographicDepthReprojectionMethod(pub i32); -impl HolographicDepthReprojectionMethod { - pub const DepthReprojection: Self = Self(0i32); - pub const AutoPlanar: Self = Self(1i32); -} -impl ::core::marker::Copy for HolographicDepthReprojectionMethod {} -impl ::core::clone::Clone for HolographicDepthReprojectionMethod { - fn clone(&self) -> Self { - *self - } -} -pub type HolographicDisplay = *mut ::core::ffi::c_void; -pub type HolographicFrame = *mut ::core::ffi::c_void; -#[repr(C)] -pub struct HolographicFrameId { - pub Value: u64, -} -impl ::core::marker::Copy for HolographicFrameId {} -impl ::core::clone::Clone for HolographicFrameId { - fn clone(&self) -> Self { - *self - } -} -pub type HolographicFramePrediction = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct HolographicFramePresentResult(pub i32); -impl HolographicFramePresentResult { - pub const Success: Self = Self(0i32); - pub const DeviceRemoved: Self = Self(1i32); -} -impl ::core::marker::Copy for HolographicFramePresentResult {} -impl ::core::clone::Clone for HolographicFramePresentResult { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct HolographicFramePresentWaitBehavior(pub i32); -impl HolographicFramePresentWaitBehavior { - pub const WaitForFrameToFinish: Self = Self(0i32); - pub const DoNotWaitForFrameToFinish: Self = Self(1i32); -} -impl ::core::marker::Copy for HolographicFramePresentWaitBehavior {} -impl ::core::clone::Clone for HolographicFramePresentWaitBehavior { - fn clone(&self) -> Self { - *self - } -} -pub type HolographicFramePresentationMonitor = *mut ::core::ffi::c_void; -pub type HolographicFramePresentationReport = *mut ::core::ffi::c_void; -pub type HolographicFrameRenderingReport = *mut ::core::ffi::c_void; -pub type HolographicFrameScanoutMonitor = *mut ::core::ffi::c_void; -pub type HolographicFrameScanoutReport = *mut ::core::ffi::c_void; -pub type HolographicQuadLayer = *mut ::core::ffi::c_void; -pub type HolographicQuadLayerUpdateParameters = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct HolographicReprojectionMode(pub i32); -impl HolographicReprojectionMode { - pub const PositionAndOrientation: Self = Self(0i32); - pub const OrientationOnly: Self = Self(1i32); - pub const Disabled: Self = Self(2i32); -} -impl ::core::marker::Copy for HolographicReprojectionMode {} -impl ::core::clone::Clone for HolographicReprojectionMode { - fn clone(&self) -> Self { - *self - } -} -pub type HolographicSpace = *mut ::core::ffi::c_void; -pub type HolographicSpaceCameraAddedEventArgs = *mut ::core::ffi::c_void; -pub type HolographicSpaceCameraRemovedEventArgs = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct HolographicSpaceUserPresence(pub i32); -impl HolographicSpaceUserPresence { - pub const Absent: Self = Self(0i32); - pub const PresentPassive: Self = Self(1i32); - pub const PresentActive: Self = Self(2i32); -} -impl ::core::marker::Copy for HolographicSpaceUserPresence {} -impl ::core::clone::Clone for HolographicSpaceUserPresence { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[cfg(feature = "Foundation_Numerics")] -pub struct HolographicStereoTransform { - pub Left: super::super::Foundation::Numerics::Matrix4x4, - pub Right: super::super::Foundation::Numerics::Matrix4x4, -} -#[cfg(feature = "Foundation_Numerics")] -impl ::core::marker::Copy for HolographicStereoTransform {} -#[cfg(feature = "Foundation_Numerics")] -impl ::core::clone::Clone for HolographicStereoTransform { - fn clone(&self) -> Self { - *self - } -} -pub type HolographicViewConfiguration = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct HolographicViewConfigurationKind(pub i32); -impl HolographicViewConfigurationKind { - pub const Display: Self = Self(0i32); - pub const PhotoVideoCamera: Self = Self(1i32); -} -impl ::core::marker::Copy for HolographicViewConfigurationKind {} -impl ::core::clone::Clone for HolographicViewConfigurationKind { - fn clone(&self) -> Self { - *self - } -} diff --git a/vendor/windows-sys-0.28.0/src/Windows/Graphics/Imaging/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Graphics/Imaging/mod.rs deleted file mode 100644 index 52d9432af..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Graphics/Imaging/mod.rs +++ /dev/null @@ -1,215 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[link(name = "windows")] -extern "system" {} -#[repr(transparent)] -pub struct BitmapAlphaMode(pub i32); -impl BitmapAlphaMode { - pub const Premultiplied: Self = Self(0i32); - pub const Straight: Self = Self(1i32); - pub const Ignore: Self = Self(2i32); -} -impl ::core::marker::Copy for BitmapAlphaMode {} -impl ::core::clone::Clone for BitmapAlphaMode { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct BitmapBounds { - pub X: u32, - pub Y: u32, - pub Width: u32, - pub Height: u32, -} -impl ::core::marker::Copy for BitmapBounds {} -impl ::core::clone::Clone for BitmapBounds { - fn clone(&self) -> Self { - *self - } -} -pub type BitmapBuffer = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct BitmapBufferAccessMode(pub i32); -impl BitmapBufferAccessMode { - pub const Read: Self = Self(0i32); - pub const ReadWrite: Self = Self(1i32); - pub const Write: Self = Self(2i32); -} -impl ::core::marker::Copy for BitmapBufferAccessMode {} -impl ::core::clone::Clone for BitmapBufferAccessMode { - fn clone(&self) -> Self { - *self - } -} -pub type BitmapCodecInformation = *mut ::core::ffi::c_void; -pub type BitmapDecoder = *mut ::core::ffi::c_void; -pub type BitmapEncoder = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct BitmapFlip(pub i32); -impl BitmapFlip { - pub const None: Self = Self(0i32); - pub const Horizontal: Self = Self(1i32); - pub const Vertical: Self = Self(2i32); -} -impl ::core::marker::Copy for BitmapFlip {} -impl ::core::clone::Clone for BitmapFlip { - fn clone(&self) -> Self { - *self - } -} -pub type BitmapFrame = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct BitmapInterpolationMode(pub i32); -impl BitmapInterpolationMode { - pub const NearestNeighbor: Self = Self(0i32); - pub const Linear: Self = Self(1i32); - pub const Cubic: Self = Self(2i32); - pub const Fant: Self = Self(3i32); -} -impl ::core::marker::Copy for BitmapInterpolationMode {} -impl ::core::clone::Clone for BitmapInterpolationMode { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct BitmapPixelFormat(pub i32); -impl BitmapPixelFormat { - pub const Unknown: Self = Self(0i32); - pub const Rgba16: Self = Self(12i32); - pub const Rgba8: Self = Self(30i32); - pub const Gray16: Self = Self(57i32); - pub const Gray8: Self = Self(62i32); - pub const Bgra8: Self = Self(87i32); - pub const Nv12: Self = Self(103i32); - pub const P010: Self = Self(104i32); - pub const Yuy2: Self = Self(107i32); -} -impl ::core::marker::Copy for BitmapPixelFormat {} -impl ::core::clone::Clone for BitmapPixelFormat { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct BitmapPlaneDescription { - pub StartIndex: i32, - pub Width: i32, - pub Height: i32, - pub Stride: i32, -} -impl ::core::marker::Copy for BitmapPlaneDescription {} -impl ::core::clone::Clone for BitmapPlaneDescription { - fn clone(&self) -> Self { - *self - } -} -pub type BitmapProperties = *mut ::core::ffi::c_void; -pub type BitmapPropertiesView = *mut ::core::ffi::c_void; -pub type BitmapPropertySet = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct BitmapRotation(pub i32); -impl BitmapRotation { - pub const None: Self = Self(0i32); - pub const Clockwise90Degrees: Self = Self(1i32); - pub const Clockwise180Degrees: Self = Self(2i32); - pub const Clockwise270Degrees: Self = Self(3i32); -} -impl ::core::marker::Copy for BitmapRotation {} -impl ::core::clone::Clone for BitmapRotation { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct BitmapSize { - pub Width: u32, - pub Height: u32, -} -impl ::core::marker::Copy for BitmapSize {} -impl ::core::clone::Clone for BitmapSize { - fn clone(&self) -> Self { - *self - } -} -pub type BitmapTransform = *mut ::core::ffi::c_void; -pub type BitmapTypedValue = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct ColorManagementMode(pub i32); -impl ColorManagementMode { - pub const DoNotColorManage: Self = Self(0i32); - pub const ColorManageToSRgb: Self = Self(1i32); -} -impl ::core::marker::Copy for ColorManagementMode {} -impl ::core::clone::Clone for ColorManagementMode { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct ExifOrientationMode(pub i32); -impl ExifOrientationMode { - pub const IgnoreExifOrientation: Self = Self(0i32); - pub const RespectExifOrientation: Self = Self(1i32); -} -impl ::core::marker::Copy for ExifOrientationMode {} -impl ::core::clone::Clone for ExifOrientationMode { - fn clone(&self) -> Self { - *self - } -} -pub type IBitmapFrame = *mut ::core::ffi::c_void; -pub type IBitmapFrameWithSoftwareBitmap = *mut ::core::ffi::c_void; -pub type IBitmapPropertiesView = *mut ::core::ffi::c_void; -pub type ImageStream = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct JpegSubsamplingMode(pub i32); -impl JpegSubsamplingMode { - pub const Default: Self = Self(0i32); - pub const Y4Cb2Cr0: Self = Self(1i32); - pub const Y4Cb2Cr2: Self = Self(2i32); - pub const Y4Cb4Cr4: Self = Self(3i32); -} -impl ::core::marker::Copy for JpegSubsamplingMode {} -impl ::core::clone::Clone for JpegSubsamplingMode { - fn clone(&self) -> Self { - *self - } -} -pub type PixelDataProvider = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct PngFilterMode(pub i32); -impl PngFilterMode { - pub const Automatic: Self = Self(0i32); - pub const None: Self = Self(1i32); - pub const Sub: Self = Self(2i32); - pub const Up: Self = Self(3i32); - pub const Average: Self = Self(4i32); - pub const Paeth: Self = Self(5i32); - pub const Adaptive: Self = Self(6i32); -} -impl ::core::marker::Copy for PngFilterMode {} -impl ::core::clone::Clone for PngFilterMode { - fn clone(&self) -> Self { - *self - } -} -pub type SoftwareBitmap = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct TiffCompressionMode(pub i32); -impl TiffCompressionMode { - pub const Automatic: Self = Self(0i32); - pub const None: Self = Self(1i32); - pub const Ccitt3: Self = Self(2i32); - pub const Ccitt4: Self = Self(3i32); - pub const Lzw: Self = Self(4i32); - pub const Rle: Self = Self(5i32); - pub const Zip: Self = Self(6i32); - pub const LzwhDifferencing: Self = Self(7i32); -} -impl ::core::marker::Copy for TiffCompressionMode {} -impl ::core::clone::Clone for TiffCompressionMode { - fn clone(&self) -> Self { - *self - } -} diff --git a/vendor/windows-sys-0.28.0/src/Windows/Graphics/Printing/OptionDetails/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Graphics/Printing/OptionDetails/mod.rs deleted file mode 100644 index 7e801ca33..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Graphics/Printing/OptionDetails/mod.rs +++ /dev/null @@ -1,55 +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 IPrintCustomOptionDetails = *mut ::core::ffi::c_void; -pub type IPrintItemListOptionDetails = *mut ::core::ffi::c_void; -pub type IPrintNumberOptionDetails = *mut ::core::ffi::c_void; -pub type IPrintOptionDetails = *mut ::core::ffi::c_void; -pub type IPrintTextOptionDetails = *mut ::core::ffi::c_void; -pub type PrintBindingOptionDetails = *mut ::core::ffi::c_void; -pub type PrintBorderingOptionDetails = *mut ::core::ffi::c_void; -pub type PrintCollationOptionDetails = *mut ::core::ffi::c_void; -pub type PrintColorModeOptionDetails = *mut ::core::ffi::c_void; -pub type PrintCopiesOptionDetails = *mut ::core::ffi::c_void; -pub type PrintCustomItemDetails = *mut ::core::ffi::c_void; -pub type PrintCustomItemListOptionDetails = *mut ::core::ffi::c_void; -pub type PrintCustomTextOptionDetails = *mut ::core::ffi::c_void; -pub type PrintCustomToggleOptionDetails = *mut ::core::ffi::c_void; -pub type PrintDuplexOptionDetails = *mut ::core::ffi::c_void; -pub type PrintHolePunchOptionDetails = *mut ::core::ffi::c_void; -pub type PrintMediaSizeOptionDetails = *mut ::core::ffi::c_void; -pub type PrintMediaTypeOptionDetails = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct PrintOptionStates(pub u32); -impl PrintOptionStates { - pub const None: Self = Self(0u32); - pub const Enabled: Self = Self(1u32); - pub const Constrained: Self = Self(2u32); -} -impl ::core::marker::Copy for PrintOptionStates {} -impl ::core::clone::Clone for PrintOptionStates { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct PrintOptionType(pub i32); -impl PrintOptionType { - pub const Unknown: Self = Self(0i32); - pub const Number: Self = Self(1i32); - pub const Text: Self = Self(2i32); - pub const ItemList: Self = Self(3i32); - pub const Toggle: Self = Self(4i32); -} -impl ::core::marker::Copy for PrintOptionType {} -impl ::core::clone::Clone for PrintOptionType { - fn clone(&self) -> Self { - *self - } -} -pub type PrintOrientationOptionDetails = *mut ::core::ffi::c_void; -pub type PrintPageRangeOptionDetails = *mut ::core::ffi::c_void; -pub type PrintQualityOptionDetails = *mut ::core::ffi::c_void; -pub type PrintStapleOptionDetails = *mut ::core::ffi::c_void; -pub type PrintTaskOptionChangedEventArgs = *mut ::core::ffi::c_void; -pub type PrintTaskOptionDetails = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys-0.28.0/src/Windows/Graphics/Printing/PrintSupport/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Graphics/Printing/PrintSupport/mod.rs deleted file mode 100644 index f9da5027e..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Graphics/Printing/PrintSupport/mod.rs +++ /dev/null @@ -1,35 +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 PrintSupportExtensionSession = *mut ::core::ffi::c_void; -pub type PrintSupportExtensionTriggerDetails = *mut ::core::ffi::c_void; -pub type PrintSupportPrintDeviceCapabilitiesChangedEventArgs = *mut ::core::ffi::c_void; -pub type PrintSupportPrintTicketValidationRequestedEventArgs = *mut ::core::ffi::c_void; -pub type PrintSupportSessionInfo = *mut ::core::ffi::c_void; -pub type PrintSupportSettingsActivatedEventArgs = *mut ::core::ffi::c_void; -pub type PrintSupportSettingsUISession = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct SettingsLaunchKind(pub i32); -impl SettingsLaunchKind { - pub const JobPrintTicket: Self = Self(0i32); - pub const UserDefaultPrintTicket: Self = Self(1i32); -} -impl ::core::marker::Copy for SettingsLaunchKind {} -impl ::core::clone::Clone for SettingsLaunchKind { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct WorkflowPrintTicketValidationStatus(pub i32); -impl WorkflowPrintTicketValidationStatus { - pub const Resolved: Self = Self(0i32); - pub const Conflicting: Self = Self(1i32); - pub const Invalid: Self = Self(2i32); -} -impl ::core::marker::Copy for WorkflowPrintTicketValidationStatus {} -impl ::core::clone::Clone for WorkflowPrintTicketValidationStatus { - fn clone(&self) -> Self { - *self - } -} diff --git a/vendor/windows-sys-0.28.0/src/Windows/Graphics/Printing/PrintTicket/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Graphics/Printing/PrintTicket/mod.rs deleted file mode 100644 index 9ca6be088..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Graphics/Printing/PrintTicket/mod.rs +++ /dev/null @@ -1,49 +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 PrintTicketCapabilities = *mut ::core::ffi::c_void; -pub type PrintTicketFeature = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct PrintTicketFeatureSelectionType(pub i32); -impl PrintTicketFeatureSelectionType { - pub const PickOne: Self = Self(0i32); - pub const PickMany: Self = Self(1i32); -} -impl ::core::marker::Copy for PrintTicketFeatureSelectionType {} -impl ::core::clone::Clone for PrintTicketFeatureSelectionType { - fn clone(&self) -> Self { - *self - } -} -pub type PrintTicketOption = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct PrintTicketParameterDataType(pub i32); -impl PrintTicketParameterDataType { - pub const Integer: Self = Self(0i32); - pub const NumericString: Self = Self(1i32); - pub const String: Self = Self(2i32); -} -impl ::core::marker::Copy for PrintTicketParameterDataType {} -impl ::core::clone::Clone for PrintTicketParameterDataType { - fn clone(&self) -> Self { - *self - } -} -pub type PrintTicketParameterDefinition = *mut ::core::ffi::c_void; -pub type PrintTicketParameterInitializer = *mut ::core::ffi::c_void; -pub type PrintTicketValue = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct PrintTicketValueType(pub i32); -impl PrintTicketValueType { - pub const Integer: Self = Self(0i32); - pub const String: Self = Self(1i32); - pub const Unknown: Self = Self(2i32); -} -impl ::core::marker::Copy for PrintTicketValueType {} -impl ::core::clone::Clone for PrintTicketValueType { - fn clone(&self) -> Self { - *self - } -} -pub type WorkflowPrintTicket = *mut ::core::ffi::c_void; -pub type WorkflowPrintTicketValidationResult = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys-0.28.0/src/Windows/Graphics/Printing/Workflow/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Graphics/Printing/Workflow/mod.rs deleted file mode 100644 index db48482e4..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Graphics/Printing/Workflow/mod.rs +++ /dev/null @@ -1,113 +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 PrintWorkflowBackgroundSession = *mut ::core::ffi::c_void; -pub type PrintWorkflowBackgroundSetupRequestedEventArgs = *mut ::core::ffi::c_void; -pub type PrintWorkflowConfiguration = *mut ::core::ffi::c_void; -pub type PrintWorkflowForegroundSession = *mut ::core::ffi::c_void; -pub type PrintWorkflowForegroundSetupRequestedEventArgs = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct PrintWorkflowJobAbortReason(pub i32); -impl PrintWorkflowJobAbortReason { - pub const JobFailed: Self = Self(0i32); - pub const UserCanceled: Self = Self(1i32); -} -impl ::core::marker::Copy for PrintWorkflowJobAbortReason {} -impl ::core::clone::Clone for PrintWorkflowJobAbortReason { - fn clone(&self) -> Self { - *self - } -} -pub type PrintWorkflowJobActivatedEventArgs = *mut ::core::ffi::c_void; -pub type PrintWorkflowJobBackgroundSession = *mut ::core::ffi::c_void; -pub type PrintWorkflowJobNotificationEventArgs = *mut ::core::ffi::c_void; -pub type PrintWorkflowJobStartingEventArgs = *mut ::core::ffi::c_void; -pub type PrintWorkflowJobTriggerDetails = *mut ::core::ffi::c_void; -pub type PrintWorkflowJobUISession = *mut ::core::ffi::c_void; -pub type PrintWorkflowObjectModelSourceFileContent = *mut ::core::ffi::c_void; -pub type PrintWorkflowObjectModelTargetPackage = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct PrintWorkflowPdlConversionType(pub i32); -impl PrintWorkflowPdlConversionType { - pub const XpsToPdf: Self = Self(0i32); - pub const XpsToPwgr: Self = Self(1i32); - pub const XpsToPclm: Self = Self(2i32); -} -impl ::core::marker::Copy for PrintWorkflowPdlConversionType {} -impl ::core::clone::Clone for PrintWorkflowPdlConversionType { - fn clone(&self) -> Self { - *self - } -} -pub type PrintWorkflowPdlConverter = *mut ::core::ffi::c_void; -pub type PrintWorkflowPdlDataAvailableEventArgs = *mut ::core::ffi::c_void; -pub type PrintWorkflowPdlModificationRequestedEventArgs = *mut ::core::ffi::c_void; -pub type PrintWorkflowPdlSourceContent = *mut ::core::ffi::c_void; -pub type PrintWorkflowPdlTargetStream = *mut ::core::ffi::c_void; -pub type PrintWorkflowPrinterJob = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct PrintWorkflowPrinterJobStatus(pub i32); -impl PrintWorkflowPrinterJobStatus { - pub const Error: Self = Self(0i32); - pub const Aborted: Self = Self(1i32); - pub const InProgress: Self = Self(2i32); - pub const Completed: Self = Self(3i32); -} -impl ::core::marker::Copy for PrintWorkflowPrinterJobStatus {} -impl ::core::clone::Clone for PrintWorkflowPrinterJobStatus { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct PrintWorkflowSessionStatus(pub i32); -impl PrintWorkflowSessionStatus { - pub const Started: Self = Self(0i32); - pub const Completed: Self = Self(1i32); - pub const Aborted: Self = Self(2i32); - pub const Closed: Self = Self(3i32); - pub const PdlDataAvailableForModification: Self = Self(4i32); -} -impl ::core::marker::Copy for PrintWorkflowSessionStatus {} -impl ::core::clone::Clone for PrintWorkflowSessionStatus { - fn clone(&self) -> Self { - *self - } -} -pub type PrintWorkflowSourceContent = *mut ::core::ffi::c_void; -pub type PrintWorkflowSpoolStreamContent = *mut ::core::ffi::c_void; -pub type PrintWorkflowStreamTarget = *mut ::core::ffi::c_void; -pub type PrintWorkflowSubmittedEventArgs = *mut ::core::ffi::c_void; -pub type PrintWorkflowSubmittedOperation = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct PrintWorkflowSubmittedStatus(pub i32); -impl PrintWorkflowSubmittedStatus { - pub const Succeeded: Self = Self(0i32); - pub const Canceled: Self = Self(1i32); - pub const Failed: Self = Self(2i32); -} -impl ::core::marker::Copy for PrintWorkflowSubmittedStatus {} -impl ::core::clone::Clone for PrintWorkflowSubmittedStatus { - fn clone(&self) -> Self { - *self - } -} -pub type PrintWorkflowTarget = *mut ::core::ffi::c_void; -pub type PrintWorkflowTriggerDetails = *mut ::core::ffi::c_void; -pub type PrintWorkflowUIActivatedEventArgs = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct PrintWorkflowUICompletionStatus(pub i32); -impl PrintWorkflowUICompletionStatus { - pub const Completed: Self = Self(0i32); - pub const LaunchFailed: Self = Self(1i32); - pub const JobFailed: Self = Self(2i32); - pub const UserCanceled: Self = Self(3i32); -} -impl ::core::marker::Copy for PrintWorkflowUICompletionStatus {} -impl ::core::clone::Clone for PrintWorkflowUICompletionStatus { - fn clone(&self) -> Self { - *self - } -} -pub type PrintWorkflowUILauncher = *mut ::core::ffi::c_void; -pub type PrintWorkflowXpsDataAvailableEventArgs = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys-0.28.0/src/Windows/Graphics/Printing/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Graphics/Printing/mod.rs deleted file mode 100644 index cf19a3380..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Graphics/Printing/mod.rs +++ /dev/null @@ -1,451 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[cfg(feature = "Graphics_Printing_OptionDetails")] -pub mod OptionDetails; -#[cfg(feature = "Graphics_Printing_PrintSupport")] -pub mod PrintSupport; -#[cfg(feature = "Graphics_Printing_PrintTicket")] -pub mod PrintTicket; -#[cfg(feature = "Graphics_Printing_Workflow")] -pub mod Workflow; -#[link(name = "windows")] -extern "system" {} -pub type IPrintDocumentSource = *mut ::core::ffi::c_void; -pub type IPrintTaskOptionsCore = *mut ::core::ffi::c_void; -pub type IPrintTaskOptionsCoreProperties = *mut ::core::ffi::c_void; -pub type IPrintTaskOptionsCoreUIConfiguration = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct PrintBinding(pub i32); -impl PrintBinding { - pub const Default: Self = Self(0i32); - pub const NotAvailable: Self = Self(1i32); - pub const PrinterCustom: Self = Self(2i32); - pub const None: Self = Self(3i32); - pub const Bale: Self = Self(4i32); - pub const BindBottom: Self = Self(5i32); - pub const BindLeft: Self = Self(6i32); - pub const BindRight: Self = Self(7i32); - pub const BindTop: Self = Self(8i32); - pub const Booklet: Self = Self(9i32); - pub const EdgeStitchBottom: Self = Self(10i32); - pub const EdgeStitchLeft: Self = Self(11i32); - pub const EdgeStitchRight: Self = Self(12i32); - pub const EdgeStitchTop: Self = Self(13i32); - pub const Fold: Self = Self(14i32); - pub const JogOffset: Self = Self(15i32); - pub const Trim: Self = Self(16i32); -} -impl ::core::marker::Copy for PrintBinding {} -impl ::core::clone::Clone for PrintBinding { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct PrintBordering(pub i32); -impl PrintBordering { - pub const Default: Self = Self(0i32); - pub const NotAvailable: Self = Self(1i32); - pub const PrinterCustom: Self = Self(2i32); - pub const Bordered: Self = Self(3i32); - pub const Borderless: Self = Self(4i32); -} -impl ::core::marker::Copy for PrintBordering {} -impl ::core::clone::Clone for PrintBordering { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct PrintCollation(pub i32); -impl PrintCollation { - pub const Default: Self = Self(0i32); - pub const NotAvailable: Self = Self(1i32); - pub const PrinterCustom: Self = Self(2i32); - pub const Collated: Self = Self(3i32); - pub const Uncollated: Self = Self(4i32); -} -impl ::core::marker::Copy for PrintCollation {} -impl ::core::clone::Clone for PrintCollation { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct PrintColorMode(pub i32); -impl PrintColorMode { - pub const Default: Self = Self(0i32); - pub const NotAvailable: Self = Self(1i32); - pub const PrinterCustom: Self = Self(2i32); - pub const Color: Self = Self(3i32); - pub const Grayscale: Self = Self(4i32); - pub const Monochrome: Self = Self(5i32); -} -impl ::core::marker::Copy for PrintColorMode {} -impl ::core::clone::Clone for PrintColorMode { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct PrintDuplex(pub i32); -impl PrintDuplex { - pub const Default: Self = Self(0i32); - pub const NotAvailable: Self = Self(1i32); - pub const PrinterCustom: Self = Self(2i32); - pub const OneSided: Self = Self(3i32); - pub const TwoSidedShortEdge: Self = Self(4i32); - pub const TwoSidedLongEdge: Self = Self(5i32); -} -impl ::core::marker::Copy for PrintDuplex {} -impl ::core::clone::Clone for PrintDuplex { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct PrintHolePunch(pub i32); -impl PrintHolePunch { - pub const Default: Self = Self(0i32); - pub const NotAvailable: Self = Self(1i32); - pub const PrinterCustom: Self = Self(2i32); - pub const None: Self = Self(3i32); - pub const LeftEdge: Self = Self(4i32); - pub const RightEdge: Self = Self(5i32); - pub const TopEdge: Self = Self(6i32); - pub const BottomEdge: Self = Self(7i32); -} -impl ::core::marker::Copy for PrintHolePunch {} -impl ::core::clone::Clone for PrintHolePunch { - fn clone(&self) -> Self { - *self - } -} -pub type PrintManager = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct PrintMediaSize(pub i32); -impl PrintMediaSize { - pub const Default: Self = Self(0i32); - pub const NotAvailable: Self = Self(1i32); - pub const PrinterCustom: Self = Self(2i32); - pub const BusinessCard: Self = Self(3i32); - pub const CreditCard: Self = Self(4i32); - pub const IsoA0: Self = Self(5i32); - pub const IsoA1: Self = Self(6i32); - pub const IsoA10: Self = Self(7i32); - pub const IsoA2: Self = Self(8i32); - pub const IsoA3: Self = Self(9i32); - pub const IsoA3Extra: Self = Self(10i32); - pub const IsoA3Rotated: Self = Self(11i32); - pub const IsoA4: Self = Self(12i32); - pub const IsoA4Extra: Self = Self(13i32); - pub const IsoA4Rotated: Self = Self(14i32); - pub const IsoA5: Self = Self(15i32); - pub const IsoA5Extra: Self = Self(16i32); - pub const IsoA5Rotated: Self = Self(17i32); - pub const IsoA6: Self = Self(18i32); - pub const IsoA6Rotated: Self = Self(19i32); - pub const IsoA7: Self = Self(20i32); - pub const IsoA8: Self = Self(21i32); - pub const IsoA9: Self = Self(22i32); - pub const IsoB0: Self = Self(23i32); - pub const IsoB1: Self = Self(24i32); - pub const IsoB10: Self = Self(25i32); - pub const IsoB2: Self = Self(26i32); - pub const IsoB3: Self = Self(27i32); - pub const IsoB4: Self = Self(28i32); - pub const IsoB4Envelope: Self = Self(29i32); - pub const IsoB5Envelope: Self = Self(30i32); - pub const IsoB5Extra: Self = Self(31i32); - pub const IsoB7: Self = Self(32i32); - pub const IsoB8: Self = Self(33i32); - pub const IsoB9: Self = Self(34i32); - pub const IsoC0: Self = Self(35i32); - pub const IsoC1: Self = Self(36i32); - pub const IsoC10: Self = Self(37i32); - pub const IsoC2: Self = Self(38i32); - pub const IsoC3: Self = Self(39i32); - pub const IsoC3Envelope: Self = Self(40i32); - pub const IsoC4: Self = Self(41i32); - pub const IsoC4Envelope: Self = Self(42i32); - pub const IsoC5: Self = Self(43i32); - pub const IsoC5Envelope: Self = Self(44i32); - pub const IsoC6: Self = Self(45i32); - pub const IsoC6C5Envelope: Self = Self(46i32); - pub const IsoC6Envelope: Self = Self(47i32); - pub const IsoC7: Self = Self(48i32); - pub const IsoC8: Self = Self(49i32); - pub const IsoC9: Self = Self(50i32); - pub const IsoDLEnvelope: Self = Self(51i32); - pub const IsoDLEnvelopeRotated: Self = Self(52i32); - pub const IsoSRA3: Self = Self(53i32); - pub const Japan2LPhoto: Self = Self(54i32); - pub const JapanChou3Envelope: Self = Self(55i32); - pub const JapanChou3EnvelopeRotated: Self = Self(56i32); - pub const JapanChou4Envelope: Self = Self(57i32); - pub const JapanChou4EnvelopeRotated: Self = Self(58i32); - pub const JapanDoubleHagakiPostcard: Self = Self(59i32); - pub const JapanDoubleHagakiPostcardRotated: Self = Self(60i32); - pub const JapanHagakiPostcard: Self = Self(61i32); - pub const JapanHagakiPostcardRotated: Self = Self(62i32); - pub const JapanKaku2Envelope: Self = Self(63i32); - pub const JapanKaku2EnvelopeRotated: Self = Self(64i32); - pub const JapanKaku3Envelope: Self = Self(65i32); - pub const JapanKaku3EnvelopeRotated: Self = Self(66i32); - pub const JapanLPhoto: Self = Self(67i32); - pub const JapanQuadrupleHagakiPostcard: Self = Self(68i32); - pub const JapanYou1Envelope: Self = Self(69i32); - pub const JapanYou2Envelope: Self = Self(70i32); - pub const JapanYou3Envelope: Self = Self(71i32); - pub const JapanYou4Envelope: Self = Self(72i32); - pub const JapanYou4EnvelopeRotated: Self = Self(73i32); - pub const JapanYou6Envelope: Self = Self(74i32); - pub const JapanYou6EnvelopeRotated: Self = Self(75i32); - pub const JisB0: Self = Self(76i32); - pub const JisB1: Self = Self(77i32); - pub const JisB10: Self = Self(78i32); - pub const JisB2: Self = Self(79i32); - pub const JisB3: Self = Self(80i32); - pub const JisB4: Self = Self(81i32); - pub const JisB4Rotated: Self = Self(82i32); - pub const JisB5: Self = Self(83i32); - pub const JisB5Rotated: Self = Self(84i32); - pub const JisB6: Self = Self(85i32); - pub const JisB6Rotated: Self = Self(86i32); - pub const JisB7: Self = Self(87i32); - pub const JisB8: Self = Self(88i32); - pub const JisB9: Self = Self(89i32); - pub const NorthAmerica10x11: Self = Self(90i32); - pub const NorthAmerica10x12: Self = Self(91i32); - pub const NorthAmerica10x14: Self = Self(92i32); - pub const NorthAmerica11x17: Self = Self(93i32); - pub const NorthAmerica14x17: Self = Self(94i32); - pub const NorthAmerica4x6: Self = Self(95i32); - pub const NorthAmerica4x8: Self = Self(96i32); - pub const NorthAmerica5x7: Self = Self(97i32); - pub const NorthAmerica8x10: Self = Self(98i32); - pub const NorthAmerica9x11: Self = Self(99i32); - pub const NorthAmericaArchitectureASheet: Self = Self(100i32); - pub const NorthAmericaArchitectureBSheet: Self = Self(101i32); - pub const NorthAmericaArchitectureCSheet: Self = Self(102i32); - pub const NorthAmericaArchitectureDSheet: Self = Self(103i32); - pub const NorthAmericaArchitectureESheet: Self = Self(104i32); - pub const NorthAmericaCSheet: Self = Self(105i32); - pub const NorthAmericaDSheet: Self = Self(106i32); - pub const NorthAmericaESheet: Self = Self(107i32); - pub const NorthAmericaExecutive: Self = Self(108i32); - pub const NorthAmericaGermanLegalFanfold: Self = Self(109i32); - pub const NorthAmericaGermanStandardFanfold: Self = Self(110i32); - pub const NorthAmericaLegal: Self = Self(111i32); - pub const NorthAmericaLegalExtra: Self = Self(112i32); - pub const NorthAmericaLetter: Self = Self(113i32); - pub const NorthAmericaLetterExtra: Self = Self(114i32); - pub const NorthAmericaLetterPlus: Self = Self(115i32); - pub const NorthAmericaLetterRotated: Self = Self(116i32); - pub const NorthAmericaMonarchEnvelope: Self = Self(117i32); - pub const NorthAmericaNote: Self = Self(118i32); - pub const NorthAmericaNumber10Envelope: Self = Self(119i32); - pub const NorthAmericaNumber10EnvelopeRotated: Self = Self(120i32); - pub const NorthAmericaNumber11Envelope: Self = Self(121i32); - pub const NorthAmericaNumber12Envelope: Self = Self(122i32); - pub const NorthAmericaNumber14Envelope: Self = Self(123i32); - pub const NorthAmericaNumber9Envelope: Self = Self(124i32); - pub const NorthAmericaPersonalEnvelope: Self = Self(125i32); - pub const NorthAmericaQuarto: Self = Self(126i32); - pub const NorthAmericaStatement: Self = Self(127i32); - pub const NorthAmericaSuperA: Self = Self(128i32); - pub const NorthAmericaSuperB: Self = Self(129i32); - pub const NorthAmericaTabloid: Self = Self(130i32); - pub const NorthAmericaTabloidExtra: Self = Self(131i32); - pub const OtherMetricA3Plus: Self = Self(132i32); - pub const OtherMetricA4Plus: Self = Self(133i32); - pub const OtherMetricFolio: Self = Self(134i32); - pub const OtherMetricInviteEnvelope: Self = Self(135i32); - pub const OtherMetricItalianEnvelope: Self = Self(136i32); - pub const Prc10Envelope: Self = Self(137i32); - pub const Prc10EnvelopeRotated: Self = Self(138i32); - pub const Prc16K: Self = Self(139i32); - pub const Prc16KRotated: Self = Self(140i32); - pub const Prc1Envelope: Self = Self(141i32); - pub const Prc1EnvelopeRotated: Self = Self(142i32); - pub const Prc2Envelope: Self = Self(143i32); - pub const Prc2EnvelopeRotated: Self = Self(144i32); - pub const Prc32K: Self = Self(145i32); - pub const Prc32KBig: Self = Self(146i32); - pub const Prc32KRotated: Self = Self(147i32); - pub const Prc3Envelope: Self = Self(148i32); - pub const Prc3EnvelopeRotated: Self = Self(149i32); - pub const Prc4Envelope: Self = Self(150i32); - pub const Prc4EnvelopeRotated: Self = Self(151i32); - pub const Prc5Envelope: Self = Self(152i32); - pub const Prc5EnvelopeRotated: Self = Self(153i32); - pub const Prc6Envelope: Self = Self(154i32); - pub const Prc6EnvelopeRotated: Self = Self(155i32); - pub const Prc7Envelope: Self = Self(156i32); - pub const Prc7EnvelopeRotated: Self = Self(157i32); - pub const Prc8Envelope: Self = Self(158i32); - pub const Prc8EnvelopeRotated: Self = Self(159i32); - pub const Prc9Envelope: Self = Self(160i32); - pub const Prc9EnvelopeRotated: Self = Self(161i32); - pub const Roll04Inch: Self = Self(162i32); - pub const Roll06Inch: Self = Self(163i32); - pub const Roll08Inch: Self = Self(164i32); - pub const Roll12Inch: Self = Self(165i32); - pub const Roll15Inch: Self = Self(166i32); - pub const Roll18Inch: Self = Self(167i32); - pub const Roll22Inch: Self = Self(168i32); - pub const Roll24Inch: Self = Self(169i32); - pub const Roll30Inch: Self = Self(170i32); - pub const Roll36Inch: Self = Self(171i32); - pub const Roll54Inch: Self = Self(172i32); -} -impl ::core::marker::Copy for PrintMediaSize {} -impl ::core::clone::Clone for PrintMediaSize { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct PrintMediaType(pub i32); -impl PrintMediaType { - pub const Default: Self = Self(0i32); - pub const NotAvailable: Self = Self(1i32); - pub const PrinterCustom: Self = Self(2i32); - pub const AutoSelect: Self = Self(3i32); - pub const Archival: Self = Self(4i32); - pub const BackPrintFilm: Self = Self(5i32); - pub const Bond: Self = Self(6i32); - pub const CardStock: Self = Self(7i32); - pub const Continuous: Self = Self(8i32); - pub const EnvelopePlain: Self = Self(9i32); - pub const EnvelopeWindow: Self = Self(10i32); - pub const Fabric: Self = Self(11i32); - pub const HighResolution: Self = Self(12i32); - pub const Label: Self = Self(13i32); - pub const MultiLayerForm: Self = Self(14i32); - pub const MultiPartForm: Self = Self(15i32); - pub const Photographic: Self = Self(16i32); - pub const PhotographicFilm: Self = Self(17i32); - pub const PhotographicGlossy: Self = Self(18i32); - pub const PhotographicHighGloss: Self = Self(19i32); - pub const PhotographicMatte: Self = Self(20i32); - pub const PhotographicSatin: Self = Self(21i32); - pub const PhotographicSemiGloss: Self = Self(22i32); - pub const Plain: Self = Self(23i32); - pub const Screen: Self = Self(24i32); - pub const ScreenPaged: Self = Self(25i32); - pub const Stationery: Self = Self(26i32); - pub const TabStockFull: Self = Self(27i32); - pub const TabStockPreCut: Self = Self(28i32); - pub const Transparency: Self = Self(29i32); - pub const TShirtTransfer: Self = Self(30i32); - pub const None: Self = Self(31i32); -} -impl ::core::marker::Copy for PrintMediaType {} -impl ::core::clone::Clone for PrintMediaType { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct PrintOrientation(pub i32); -impl PrintOrientation { - pub const Default: Self = Self(0i32); - pub const NotAvailable: Self = Self(1i32); - pub const PrinterCustom: Self = Self(2i32); - pub const Portrait: Self = Self(3i32); - pub const PortraitFlipped: Self = Self(4i32); - pub const Landscape: Self = Self(5i32); - pub const LandscapeFlipped: Self = Self(6i32); -} -impl ::core::marker::Copy for PrintOrientation {} -impl ::core::clone::Clone for PrintOrientation { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[cfg(feature = "Foundation")] -pub struct PrintPageDescription { - pub PageSize: super::super::Foundation::Size, - pub ImageableRect: super::super::Foundation::Rect, - pub DpiX: u32, - pub DpiY: u32, -} -#[cfg(feature = "Foundation")] -impl ::core::marker::Copy for PrintPageDescription {} -#[cfg(feature = "Foundation")] -impl ::core::clone::Clone for PrintPageDescription { - fn clone(&self) -> Self { - *self - } -} -pub type PrintPageInfo = *mut ::core::ffi::c_void; -pub type PrintPageRange = *mut ::core::ffi::c_void; -pub type PrintPageRangeOptions = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct PrintQuality(pub i32); -impl PrintQuality { - pub const Default: Self = Self(0i32); - pub const NotAvailable: Self = Self(1i32); - pub const PrinterCustom: Self = Self(2i32); - pub const Automatic: Self = Self(3i32); - pub const Draft: Self = Self(4i32); - pub const Fax: Self = Self(5i32); - pub const High: Self = Self(6i32); - pub const Normal: Self = Self(7i32); - pub const Photographic: Self = Self(8i32); - pub const Text: Self = Self(9i32); -} -impl ::core::marker::Copy for PrintQuality {} -impl ::core::clone::Clone for PrintQuality { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct PrintStaple(pub i32); -impl PrintStaple { - pub const Default: Self = Self(0i32); - pub const NotAvailable: Self = Self(1i32); - pub const PrinterCustom: Self = Self(2i32); - pub const None: Self = Self(3i32); - pub const StapleTopLeft: Self = Self(4i32); - pub const StapleTopRight: Self = Self(5i32); - pub const StapleBottomLeft: Self = Self(6i32); - pub const StapleBottomRight: Self = Self(7i32); - pub const StapleDualLeft: Self = Self(8i32); - pub const StapleDualRight: Self = Self(9i32); - pub const StapleDualTop: Self = Self(10i32); - pub const StapleDualBottom: Self = Self(11i32); - pub const SaddleStitch: Self = Self(12i32); -} -impl ::core::marker::Copy for PrintStaple {} -impl ::core::clone::Clone for PrintStaple { - fn clone(&self) -> Self { - *self - } -} -pub type PrintTask = *mut ::core::ffi::c_void; -pub type PrintTaskCompletedEventArgs = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct PrintTaskCompletion(pub i32); -impl PrintTaskCompletion { - pub const Abandoned: Self = Self(0i32); - pub const Canceled: Self = Self(1i32); - pub const Failed: Self = Self(2i32); - pub const Submitted: Self = Self(3i32); -} -impl ::core::marker::Copy for PrintTaskCompletion {} -impl ::core::clone::Clone for PrintTaskCompletion { - fn clone(&self) -> Self { - *self - } -} -pub type PrintTaskOptions = *mut ::core::ffi::c_void; -pub type PrintTaskProgressingEventArgs = *mut ::core::ffi::c_void; -pub type PrintTaskRequest = *mut ::core::ffi::c_void; -pub type PrintTaskRequestedDeferral = *mut ::core::ffi::c_void; -pub type PrintTaskRequestedEventArgs = *mut ::core::ffi::c_void; -pub type PrintTaskSourceRequestedArgs = *mut ::core::ffi::c_void; -pub type PrintTaskSourceRequestedDeferral = *mut ::core::ffi::c_void; -pub type PrintTaskSourceRequestedHandler = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys-0.28.0/src/Windows/Graphics/Printing3D/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Graphics/Printing3D/mod.rs deleted file mode 100644 index 590ed775b..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Graphics/Printing3D/mod.rs +++ /dev/null @@ -1,159 +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 Print3DManager = *mut ::core::ffi::c_void; -pub type Print3DTask = *mut ::core::ffi::c_void; -pub type Print3DTaskCompletedEventArgs = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct Print3DTaskCompletion(pub i32); -impl Print3DTaskCompletion { - pub const Abandoned: Self = Self(0i32); - pub const Canceled: Self = Self(1i32); - pub const Failed: Self = Self(2i32); - pub const Slicing: Self = Self(3i32); - pub const Submitted: Self = Self(4i32); -} -impl ::core::marker::Copy for Print3DTaskCompletion {} -impl ::core::clone::Clone for Print3DTaskCompletion { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct Print3DTaskDetail(pub i32); -impl Print3DTaskDetail { - pub const Unknown: Self = Self(0i32); - pub const ModelExceedsPrintBed: Self = Self(1i32); - pub const UploadFailed: Self = Self(2i32); - pub const InvalidMaterialSelection: Self = Self(3i32); - pub const InvalidModel: Self = Self(4i32); - pub const ModelNotManifold: Self = Self(5i32); - pub const InvalidPrintTicket: Self = Self(6i32); -} -impl ::core::marker::Copy for Print3DTaskDetail {} -impl ::core::clone::Clone for Print3DTaskDetail { - fn clone(&self) -> Self { - *self - } -} -pub type Print3DTaskRequest = *mut ::core::ffi::c_void; -pub type Print3DTaskRequestedEventArgs = *mut ::core::ffi::c_void; -pub type Print3DTaskSourceChangedEventArgs = *mut ::core::ffi::c_void; -pub type Print3DTaskSourceRequestedArgs = *mut ::core::ffi::c_void; -pub type Print3DTaskSourceRequestedHandler = *mut ::core::ffi::c_void; -pub type Printing3D3MFPackage = *mut ::core::ffi::c_void; -pub type Printing3DBaseMaterial = *mut ::core::ffi::c_void; -pub type Printing3DBaseMaterialGroup = *mut ::core::ffi::c_void; -#[repr(C)] -pub struct Printing3DBufferDescription { - pub Format: Printing3DBufferFormat, - pub Stride: u32, -} -impl ::core::marker::Copy for Printing3DBufferDescription {} -impl ::core::clone::Clone for Printing3DBufferDescription { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct Printing3DBufferFormat(pub i32); -impl Printing3DBufferFormat { - pub const Unknown: Self = Self(0i32); - pub const R32G32B32A32Float: Self = Self(2i32); - pub const R32G32B32A32UInt: Self = Self(3i32); - pub const R32G32B32Float: Self = Self(6i32); - pub const R32G32B32UInt: Self = Self(7i32); - pub const Printing3DDouble: Self = Self(500i32); - pub const Printing3DUInt: Self = Self(501i32); -} -impl ::core::marker::Copy for Printing3DBufferFormat {} -impl ::core::clone::Clone for Printing3DBufferFormat { - fn clone(&self) -> Self { - *self - } -} -pub type Printing3DColorMaterial = *mut ::core::ffi::c_void; -pub type Printing3DColorMaterialGroup = *mut ::core::ffi::c_void; -pub type Printing3DComponent = *mut ::core::ffi::c_void; -pub type Printing3DComponentWithMatrix = *mut ::core::ffi::c_void; -pub type Printing3DCompositeMaterial = *mut ::core::ffi::c_void; -pub type Printing3DCompositeMaterialGroup = *mut ::core::ffi::c_void; -pub type Printing3DFaceReductionOptions = *mut ::core::ffi::c_void; -pub type Printing3DMaterial = *mut ::core::ffi::c_void; -pub type Printing3DMesh = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct Printing3DMeshVerificationMode(pub i32); -impl Printing3DMeshVerificationMode { - pub const FindFirstError: Self = Self(0i32); - pub const FindAllErrors: Self = Self(1i32); -} -impl ::core::marker::Copy for Printing3DMeshVerificationMode {} -impl ::core::clone::Clone for Printing3DMeshVerificationMode { - fn clone(&self) -> Self { - *self - } -} -pub type Printing3DMeshVerificationResult = *mut ::core::ffi::c_void; -pub type Printing3DModel = *mut ::core::ffi::c_void; -pub type Printing3DModelTexture = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct Printing3DModelUnit(pub i32); -impl Printing3DModelUnit { - pub const Meter: Self = Self(0i32); - pub const Micron: Self = Self(1i32); - pub const Millimeter: Self = Self(2i32); - pub const Centimeter: Self = Self(3i32); - pub const Inch: Self = Self(4i32); - pub const Foot: Self = Self(5i32); -} -impl ::core::marker::Copy for Printing3DModelUnit {} -impl ::core::clone::Clone for Printing3DModelUnit { - fn clone(&self) -> Self { - *self - } -} -pub type Printing3DMultiplePropertyMaterial = *mut ::core::ffi::c_void; -pub type Printing3DMultiplePropertyMaterialGroup = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct Printing3DObjectType(pub i32); -impl Printing3DObjectType { - pub const Model: Self = Self(0i32); - pub const Support: Self = Self(1i32); - pub const Others: Self = Self(2i32); -} -impl ::core::marker::Copy for Printing3DObjectType {} -impl ::core::clone::Clone for Printing3DObjectType { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct Printing3DPackageCompression(pub i32); -impl Printing3DPackageCompression { - pub const Low: Self = Self(0i32); - pub const Medium: Self = Self(1i32); - pub const High: Self = Self(2i32); -} -impl ::core::marker::Copy for Printing3DPackageCompression {} -impl ::core::clone::Clone for Printing3DPackageCompression { - fn clone(&self) -> Self { - *self - } -} -pub type Printing3DTexture2CoordMaterial = *mut ::core::ffi::c_void; -pub type Printing3DTexture2CoordMaterialGroup = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct Printing3DTextureEdgeBehavior(pub i32); -impl Printing3DTextureEdgeBehavior { - pub const None: Self = Self(0i32); - pub const Wrap: Self = Self(1i32); - pub const Mirror: Self = Self(2i32); - pub const Clamp: Self = Self(3i32); -} -impl ::core::marker::Copy for Printing3DTextureEdgeBehavior {} -impl ::core::clone::Clone for Printing3DTextureEdgeBehavior { - fn clone(&self) -> Self { - *self - } -} -pub type Printing3DTextureResource = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys-0.28.0/src/Windows/Graphics/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Graphics/mod.rs deleted file mode 100644 index c08cb7f0e..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Graphics/mod.rs +++ /dev/null @@ -1,76 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[cfg(feature = "Graphics_Capture")] -pub mod Capture; -#[cfg(feature = "Graphics_DirectX")] -pub mod DirectX; -#[cfg(feature = "Graphics_Display")] -pub mod Display; -#[cfg(feature = "Graphics_Effects")] -pub mod Effects; -#[cfg(feature = "Graphics_Holographic")] -pub mod Holographic; -#[cfg(feature = "Graphics_Imaging")] -pub mod Imaging; -#[cfg(feature = "Graphics_Printing")] -pub mod Printing; -#[cfg(feature = "Graphics_Printing3D")] -pub mod Printing3D; -#[link(name = "windows")] -extern "system" {} -#[repr(C)] -pub struct DisplayAdapterId { - pub LowPart: u32, - pub HighPart: i32, -} -impl ::core::marker::Copy for DisplayAdapterId {} -impl ::core::clone::Clone for DisplayAdapterId { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct DisplayId { - pub Value: u64, -} -impl ::core::marker::Copy for DisplayId {} -impl ::core::clone::Clone for DisplayId { - fn clone(&self) -> Self { - *self - } -} -pub type IGeometrySource2D = *mut ::core::ffi::c_void; -#[repr(C)] -pub struct PointInt32 { - pub X: i32, - pub Y: i32, -} -impl ::core::marker::Copy for PointInt32 {} -impl ::core::clone::Clone for PointInt32 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct RectInt32 { - pub X: i32, - pub Y: i32, - pub Width: i32, - pub Height: i32, -} -impl ::core::marker::Copy for RectInt32 {} -impl ::core::clone::Clone for RectInt32 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct SizeInt32 { - pub Width: i32, - pub Height: i32, -} -impl ::core::marker::Copy for SizeInt32 {} -impl ::core::clone::Clone for SizeInt32 { - fn clone(&self) -> Self { - *self - } -} -- cgit v1.2.3