summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys-0.28.0/src/Windows/Win32/Storage/Xps/Printing/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/windows-sys-0.28.0/src/Windows/Win32/Storage/Xps/Printing/mod.rs')
-rw-r--r--vendor/windows-sys-0.28.0/src/Windows/Win32/Storage/Xps/Printing/mod.rs89
1 files changed, 0 insertions, 89 deletions
diff --git a/vendor/windows-sys-0.28.0/src/Windows/Win32/Storage/Xps/Printing/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Win32/Storage/Xps/Printing/mod.rs
deleted file mode 100644
index f21d787e0..000000000
--- a/vendor/windows-sys-0.28.0/src/Windows/Win32/Storage/Xps/Printing/mod.rs
+++ /dev/null
@@ -1,89 +0,0 @@
-#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
-#[link(name = "windows")]
-extern "system" {
- #[cfg(feature = "Win32_Foundation")]
- pub fn StartXpsPrintJob(
- printername: super::super::super::Foundation::PWSTR,
- jobname: super::super::super::Foundation::PWSTR,
- outputfilename: super::super::super::Foundation::PWSTR,
- progressevent: super::super::super::Foundation::HANDLE,
- completionevent: super::super::super::Foundation::HANDLE,
- printablepageson: *const u8,
- printablepagesoncount: u32,
- xpsprintjob: *mut IXpsPrintJob,
- documentstream: *mut IXpsPrintJobStream,
- printticketstream: *mut IXpsPrintJobStream,
- ) -> ::windows_sys::core::HRESULT;
- #[cfg(feature = "Win32_Foundation")]
- pub fn StartXpsPrintJob1(printername: super::super::super::Foundation::PWSTR, jobname: super::super::super::Foundation::PWSTR, outputfilename: super::super::super::Foundation::PWSTR, progressevent: super::super::super::Foundation::HANDLE, completionevent: super::super::super::Foundation::HANDLE, xpsprintjob: *mut IXpsPrintJob, printcontentreceiver: *mut super::IXpsOMPackageTarget) -> ::windows_sys::core::HRESULT;
-}
-pub const ID_DOCUMENTPACKAGETARGET_MSXPS: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
- data1: 2628665512,
- data2: 57041,
- data3: 16841,
- data4: [169, 253, 215, 53, 239, 51, 174, 218],
-};
-pub const ID_DOCUMENTPACKAGETARGET_OPENXPS: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 5684082, data2: 35996, data3: 17938, data4: [189, 15, 147, 1, 42, 135, 9, 157] };
-pub const ID_DOCUMENTPACKAGETARGET_OPENXPS_WITH_3D: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
- data1: 1675351840,
- data2: 35604,
- data3: 17783,
- data4: [176, 116, 123, 177, 27, 89, 109, 40],
-};
-pub type IPrintDocumentPackageStatusEvent = *mut ::core::ffi::c_void;
-pub type IPrintDocumentPackageTarget = *mut ::core::ffi::c_void;
-pub type IPrintDocumentPackageTargetFactory = *mut ::core::ffi::c_void;
-pub type IXpsPrintJob = *mut ::core::ffi::c_void;
-pub type IXpsPrintJobStream = *mut ::core::ffi::c_void;
-pub type PrintDocumentPackageCompletion = i32;
-pub const PrintDocumentPackageCompletion_InProgress: PrintDocumentPackageCompletion = 0i32;
-pub const PrintDocumentPackageCompletion_Completed: PrintDocumentPackageCompletion = 1i32;
-pub const PrintDocumentPackageCompletion_Canceled: PrintDocumentPackageCompletion = 2i32;
-pub const PrintDocumentPackageCompletion_Failed: PrintDocumentPackageCompletion = 3i32;
-#[repr(C)]
-pub struct PrintDocumentPackageStatus {
- pub JobId: u32,
- pub CurrentDocument: i32,
- pub CurrentPage: i32,
- pub CurrentPageTotal: i32,
- pub Completion: PrintDocumentPackageCompletion,
- pub PackageStatus: ::windows_sys::core::HRESULT,
-}
-impl ::core::marker::Copy for PrintDocumentPackageStatus {}
-impl ::core::clone::Clone for PrintDocumentPackageStatus {
- fn clone(&self) -> Self {
- *self
- }
-}
-pub const PrintDocumentPackageTarget: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
- data1: 1212311198,
- data2: 39239,
- data3: 18154,
- data4: [139, 162, 216, 204, 228, 50, 194, 202],
-};
-pub const PrintDocumentPackageTargetFactory: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
- data1: 881783165,
- data2: 27777,
- data3: 18818,
- data4: [146, 180, 238, 24, 138, 67, 134, 122],
-};
-pub type XPS_JOB_COMPLETION = i32;
-pub const XPS_JOB_IN_PROGRESS: XPS_JOB_COMPLETION = 0i32;
-pub const XPS_JOB_COMPLETED: XPS_JOB_COMPLETION = 1i32;
-pub const XPS_JOB_CANCELLED: XPS_JOB_COMPLETION = 2i32;
-pub const XPS_JOB_FAILED: XPS_JOB_COMPLETION = 3i32;
-#[repr(C)]
-pub struct XPS_JOB_STATUS {
- pub jobId: u32,
- pub currentDocument: i32,
- pub currentPage: i32,
- pub currentPageTotal: i32,
- pub completion: XPS_JOB_COMPLETION,
- pub jobStatus: ::windows_sys::core::HRESULT,
-}
-impl ::core::marker::Copy for XPS_JOB_STATUS {}
-impl ::core::clone::Clone for XPS_JOB_STATUS {
- fn clone(&self) -> Self {
- *self
- }
-}