summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys/src/Windows/Devices/Printers/mod.rs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:02:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:02:58 +0000
commit698f8c2f01ea549d77d7dc3338a12e04c11057b9 (patch)
tree173a775858bd501c378080a10dca74132f05bc50 /vendor/windows-sys/src/Windows/Devices/Printers/mod.rs
parentInitial commit. (diff)
downloadrustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.tar.xz
rustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.zip
Adding upstream version 1.64.0+dfsg1.upstream/1.64.0+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/windows-sys/src/Windows/Devices/Printers/mod.rs')
-rw-r--r--vendor/windows-sys/src/Windows/Devices/Printers/mod.rs72
1 files changed, 72 insertions, 0 deletions
diff --git a/vendor/windows-sys/src/Windows/Devices/Printers/mod.rs b/vendor/windows-sys/src/Windows/Devices/Printers/mod.rs
new file mode 100644
index 000000000..04db5d4d0
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Devices/Printers/mod.rs
@@ -0,0 +1,72 @@
+#[cfg(feature = "Devices_Printers_Extensions")]
+pub mod Extensions;
+pub type IppAttributeError = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Devices_Printers\"`*"]
+#[repr(transparent)]
+pub struct IppAttributeErrorReason(pub i32);
+impl IppAttributeErrorReason {
+ pub const RequestEntityTooLarge: Self = Self(0i32);
+ pub const AttributeNotSupported: Self = Self(1i32);
+ pub const AttributeValuesNotSupported: Self = Self(2i32);
+ pub const AttributeNotSettable: Self = Self(3i32);
+ pub const ConflictingAttributes: Self = Self(4i32);
+}
+impl ::core::marker::Copy for IppAttributeErrorReason {}
+impl ::core::clone::Clone for IppAttributeErrorReason {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type IppAttributeValue = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Devices_Printers\"`*"]
+#[repr(transparent)]
+pub struct IppAttributeValueKind(pub i32);
+impl IppAttributeValueKind {
+ pub const Unsupported: Self = Self(0i32);
+ pub const Unknown: Self = Self(1i32);
+ pub const NoValue: Self = Self(2i32);
+ pub const Integer: Self = Self(3i32);
+ pub const Boolean: Self = Self(4i32);
+ pub const Enum: Self = Self(5i32);
+ pub const OctetString: Self = Self(6i32);
+ pub const DateTime: Self = Self(7i32);
+ pub const Resolution: Self = Self(8i32);
+ pub const RangeOfInteger: Self = Self(9i32);
+ pub const Collection: Self = Self(10i32);
+ pub const TextWithLanguage: Self = Self(11i32);
+ pub const NameWithLanguage: Self = Self(12i32);
+ pub const TextWithoutLanguage: Self = Self(13i32);
+ pub const NameWithoutLanguage: Self = Self(14i32);
+ pub const Keyword: Self = Self(15i32);
+ pub const Uri: Self = Self(16i32);
+ pub const UriSchema: Self = Self(17i32);
+ pub const Charset: Self = Self(18i32);
+ pub const NaturalLanguage: Self = Self(19i32);
+ pub const MimeMediaType: Self = Self(20i32);
+}
+impl ::core::marker::Copy for IppAttributeValueKind {}
+impl ::core::clone::Clone for IppAttributeValueKind {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type IppIntegerRange = *mut ::core::ffi::c_void;
+pub type IppPrintDevice = *mut ::core::ffi::c_void;
+pub type IppResolution = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Devices_Printers\"`*"]
+#[repr(transparent)]
+pub struct IppResolutionUnit(pub i32);
+impl IppResolutionUnit {
+ pub const DotsPerInch: Self = Self(0i32);
+ pub const DotsPerCentimeter: Self = Self(1i32);
+}
+impl ::core::marker::Copy for IppResolutionUnit {}
+impl ::core::clone::Clone for IppResolutionUnit {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type IppSetAttributesResult = *mut ::core::ffi::c_void;
+pub type IppTextWithLanguage = *mut ::core::ffi::c_void;
+pub type Print3DDevice = *mut ::core::ffi::c_void;
+pub type PrintSchema = *mut ::core::ffi::c_void;