]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys/src/Windows/Devices/Printers/mod.rs
New upstream version 1.62.1+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Devices / Printers / mod.rs
CommitLineData
5e7ed085
FG
1#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
2#[cfg(feature = "Devices_Printers_Extensions")]
3pub mod Extensions;
4pub type IppAttributeError = *mut ::core::ffi::c_void;
04454e1e 5#[doc = "*Required features: `\"Devices_Printers\"`*"]
5e7ed085
FG
6#[repr(transparent)]
7pub struct IppAttributeErrorReason(pub i32);
8impl IppAttributeErrorReason {
9 pub const RequestEntityTooLarge: Self = Self(0i32);
10 pub const AttributeNotSupported: Self = Self(1i32);
11 pub const AttributeValuesNotSupported: Self = Self(2i32);
12 pub const AttributeNotSettable: Self = Self(3i32);
13 pub const ConflictingAttributes: Self = Self(4i32);
14}
15impl ::core::marker::Copy for IppAttributeErrorReason {}
16impl ::core::clone::Clone for IppAttributeErrorReason {
17 fn clone(&self) -> Self {
18 *self
19 }
20}
21pub type IppAttributeValue = *mut ::core::ffi::c_void;
04454e1e 22#[doc = "*Required features: `\"Devices_Printers\"`*"]
5e7ed085
FG
23#[repr(transparent)]
24pub struct IppAttributeValueKind(pub i32);
25impl IppAttributeValueKind {
26 pub const Unsupported: Self = Self(0i32);
27 pub const Unknown: Self = Self(1i32);
28 pub const NoValue: Self = Self(2i32);
29 pub const Integer: Self = Self(3i32);
30 pub const Boolean: Self = Self(4i32);
31 pub const Enum: Self = Self(5i32);
32 pub const OctetString: Self = Self(6i32);
33 pub const DateTime: Self = Self(7i32);
34 pub const Resolution: Self = Self(8i32);
35 pub const RangeOfInteger: Self = Self(9i32);
36 pub const Collection: Self = Self(10i32);
37 pub const TextWithLanguage: Self = Self(11i32);
38 pub const NameWithLanguage: Self = Self(12i32);
39 pub const TextWithoutLanguage: Self = Self(13i32);
40 pub const NameWithoutLanguage: Self = Self(14i32);
41 pub const Keyword: Self = Self(15i32);
42 pub const Uri: Self = Self(16i32);
43 pub const UriSchema: Self = Self(17i32);
44 pub const Charset: Self = Self(18i32);
45 pub const NaturalLanguage: Self = Self(19i32);
46 pub const MimeMediaType: Self = Self(20i32);
47}
48impl ::core::marker::Copy for IppAttributeValueKind {}
49impl ::core::clone::Clone for IppAttributeValueKind {
50 fn clone(&self) -> Self {
51 *self
52 }
53}
54pub type IppIntegerRange = *mut ::core::ffi::c_void;
55pub type IppPrintDevice = *mut ::core::ffi::c_void;
56pub type IppResolution = *mut ::core::ffi::c_void;
04454e1e 57#[doc = "*Required features: `\"Devices_Printers\"`*"]
5e7ed085
FG
58#[repr(transparent)]
59pub struct IppResolutionUnit(pub i32);
60impl IppResolutionUnit {
61 pub const DotsPerInch: Self = Self(0i32);
62 pub const DotsPerCentimeter: Self = Self(1i32);
63}
64impl ::core::marker::Copy for IppResolutionUnit {}
65impl ::core::clone::Clone for IppResolutionUnit {
66 fn clone(&self) -> Self {
67 *self
68 }
69}
70pub type IppSetAttributesResult = *mut ::core::ffi::c_void;
71pub type IppTextWithLanguage = *mut ::core::ffi::c_void;
72pub type Print3DDevice = *mut ::core::ffi::c_void;
73pub type PrintSchema = *mut ::core::ffi::c_void;