summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys/src/Windows/Graphics/Printing/Workflow/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/Graphics/Printing/Workflow/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/Graphics/Printing/Workflow/mod.rs')
-rw-r--r--vendor/windows-sys/src/Windows/Graphics/Printing/Workflow/mod.rs116
1 files changed, 116 insertions, 0 deletions
diff --git a/vendor/windows-sys/src/Windows/Graphics/Printing/Workflow/mod.rs b/vendor/windows-sys/src/Windows/Graphics/Printing/Workflow/mod.rs
new file mode 100644
index 000000000..7922b2104
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Graphics/Printing/Workflow/mod.rs
@@ -0,0 +1,116 @@
+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;
+#[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"]
+#[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;
+#[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"]
+#[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;
+#[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"]
+#[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
+ }
+}
+#[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"]
+#[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;
+#[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"]
+#[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;
+#[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"]
+#[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;