aboutsummaryrefslogtreecommitdiff
path: root/vendor/windows-sys-0.45.0/src/Windows/Win32/Graphics/Printing/PrintTicket/mod.rs
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2024-01-08 00:21:28 +0300
committerValentin Popov <valentin@popov.link>2024-01-08 00:21:28 +0300
commit1b6a04ca5504955c571d1c97504fb45ea0befee4 (patch)
tree7579f518b23313e8a9748a88ab6173d5e030b227 /vendor/windows-sys-0.45.0/src/Windows/Win32/Graphics/Printing/PrintTicket/mod.rs
parent5ecd8cf2cba827454317368b68571df0d13d7842 (diff)
downloadfparkan-1b6a04ca5504955c571d1c97504fb45ea0befee4.tar.xz
fparkan-1b6a04ca5504955c571d1c97504fb45ea0befee4.zip
Initial vendor packages
Signed-off-by: Valentin Popov <valentin@popov.link>
Diffstat (limited to 'vendor/windows-sys-0.45.0/src/Windows/Win32/Graphics/Printing/PrintTicket/mod.rs')
-rw-r--r--vendor/windows-sys-0.45.0/src/Windows/Win32/Graphics/Printing/PrintTicket/mod.rs48
1 files changed, 48 insertions, 0 deletions
diff --git a/vendor/windows-sys-0.45.0/src/Windows/Win32/Graphics/Printing/PrintTicket/mod.rs b/vendor/windows-sys-0.45.0/src/Windows/Win32/Graphics/Printing/PrintTicket/mod.rs
new file mode 100644
index 0000000..d60cb26
--- /dev/null
+++ b/vendor/windows-sys-0.45.0/src/Windows/Win32/Graphics/Printing/PrintTicket/mod.rs
@@ -0,0 +1,48 @@
+#[cfg(feature = "Win32_Storage_Xps")]
+::windows_sys::core::link ! ( "prntvpt.dll""system" #[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`, `\"Win32_Storage_Xps\"`*"] fn PTCloseProvider ( hprovider : super::super::super::Storage::Xps:: HPTPROVIDER ) -> :: windows_sys::core::HRESULT );
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Storage_Xps", feature = "Win32_System_Com"))]
+::windows_sys::core::link ! ( "prntvpt.dll""system" #[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Storage_Xps\"`, `\"Win32_System_Com\"`*"] fn PTConvertDevModeToPrintTicket ( hprovider : super::super::super::Storage::Xps:: HPTPROVIDER , cbdevmode : u32 , pdevmode : *const super::super::Gdi:: DEVMODEA , scope : EPrintTicketScope , pprintticket : super::super::super::System::Com:: IStream ) -> :: windows_sys::core::HRESULT );
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Storage_Xps", feature = "Win32_System_Com"))]
+::windows_sys::core::link ! ( "prntvpt.dll""system" #[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Storage_Xps\"`, `\"Win32_System_Com\"`*"] fn PTConvertPrintTicketToDevMode ( hprovider : super::super::super::Storage::Xps:: HPTPROVIDER , pprintticket : super::super::super::System::Com:: IStream , basedevmodetype : EDefaultDevmodeType , scope : EPrintTicketScope , pcbdevmode : *mut u32 , ppdevmode : *mut *mut super::super::Gdi:: DEVMODEA , pbstrerrormessage : *mut :: windows_sys::core::BSTR ) -> :: windows_sys::core::HRESULT );
+#[cfg(all(feature = "Win32_Storage_Xps", feature = "Win32_System_Com"))]
+::windows_sys::core::link ! ( "prntvpt.dll""system" #[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`, `\"Win32_Storage_Xps\"`, `\"Win32_System_Com\"`*"] fn PTGetPrintCapabilities ( hprovider : super::super::super::Storage::Xps:: HPTPROVIDER , pprintticket : super::super::super::System::Com:: IStream , pcapabilities : super::super::super::System::Com:: IStream , pbstrerrormessage : *mut :: windows_sys::core::BSTR ) -> :: windows_sys::core::HRESULT );
+#[cfg(all(feature = "Win32_Storage_Xps", feature = "Win32_System_Com"))]
+::windows_sys::core::link ! ( "prntvpt.dll""system" #[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`, `\"Win32_Storage_Xps\"`, `\"Win32_System_Com\"`*"] fn PTGetPrintDeviceCapabilities ( hprovider : super::super::super::Storage::Xps:: HPTPROVIDER , pprintticket : super::super::super::System::Com:: IStream , pdevicecapabilities : super::super::super::System::Com:: IStream , pbstrerrormessage : *mut :: windows_sys::core::BSTR ) -> :: windows_sys::core::HRESULT );
+#[cfg(all(feature = "Win32_Storage_Xps", feature = "Win32_System_Com"))]
+::windows_sys::core::link ! ( "prntvpt.dll""system" #[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`, `\"Win32_Storage_Xps\"`, `\"Win32_System_Com\"`*"] fn PTGetPrintDeviceResources ( hprovider : super::super::super::Storage::Xps:: HPTPROVIDER , pszlocalename : :: windows_sys::core::PCWSTR , pprintticket : super::super::super::System::Com:: IStream , pdeviceresources : super::super::super::System::Com:: IStream , pbstrerrormessage : *mut :: windows_sys::core::BSTR ) -> :: windows_sys::core::HRESULT );
+#[cfg(all(feature = "Win32_Storage_Xps", feature = "Win32_System_Com"))]
+::windows_sys::core::link ! ( "prntvpt.dll""system" #[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`, `\"Win32_Storage_Xps\"`, `\"Win32_System_Com\"`*"] fn PTMergeAndValidatePrintTicket ( hprovider : super::super::super::Storage::Xps:: HPTPROVIDER , pbaseticket : super::super::super::System::Com:: IStream , pdeltaticket : super::super::super::System::Com:: IStream , scope : EPrintTicketScope , presultticket : super::super::super::System::Com:: IStream , pbstrerrormessage : *mut :: windows_sys::core::BSTR ) -> :: windows_sys::core::HRESULT );
+#[cfg(feature = "Win32_Storage_Xps")]
+::windows_sys::core::link ! ( "prntvpt.dll""system" #[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`, `\"Win32_Storage_Xps\"`*"] fn PTOpenProvider ( pszprintername : :: windows_sys::core::PCWSTR , dwversion : u32 , phprovider : *mut super::super::super::Storage::Xps:: HPTPROVIDER ) -> :: windows_sys::core::HRESULT );
+#[cfg(feature = "Win32_Storage_Xps")]
+::windows_sys::core::link ! ( "prntvpt.dll""system" #[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`, `\"Win32_Storage_Xps\"`*"] fn PTOpenProviderEx ( pszprintername : :: windows_sys::core::PCWSTR , dwmaxversion : u32 , dwprefversion : u32 , phprovider : *mut super::super::super::Storage::Xps:: HPTPROVIDER , pusedversion : *mut u32 ) -> :: windows_sys::core::HRESULT );
+::windows_sys::core::link ! ( "prntvpt.dll""system" #[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`*"] fn PTQuerySchemaVersionSupport ( pszprintername : :: windows_sys::core::PCWSTR , pmaxversion : *mut u32 ) -> :: windows_sys::core::HRESULT );
+::windows_sys::core::link ! ( "prntvpt.dll""system" #[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`*"] fn PTReleaseMemory ( pbuffer : *const ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT );
+#[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`*"]
+pub const E_DELTA_PRINTTICKET_FORMAT: u32 = 2147745797u32;
+#[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`*"]
+pub const E_PRINTCAPABILITIES_FORMAT: u32 = 2147745796u32;
+#[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`*"]
+pub const E_PRINTDEVICECAPABILITIES_FORMAT: u32 = 2147745798u32;
+#[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`*"]
+pub const E_PRINTTICKET_FORMAT: u32 = 2147745795u32;
+#[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`*"]
+pub const PRINTTICKET_ISTREAM_APIS: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`*"]
+pub const S_PT_CONFLICT_RESOLVED: u32 = 262146u32;
+#[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`*"]
+pub const S_PT_NO_CONFLICT: u32 = 262145u32;
+#[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`*"]
+pub type EDefaultDevmodeType = i32;
+#[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`*"]
+pub const kUserDefaultDevmode: EDefaultDevmodeType = 0i32;
+#[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`*"]
+pub const kPrinterDefaultDevmode: EDefaultDevmodeType = 1i32;
+#[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`*"]
+pub type EPrintTicketScope = i32;
+#[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`*"]
+pub const kPTPageScope: EPrintTicketScope = 0i32;
+#[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`*"]
+pub const kPTDocumentScope: EPrintTicketScope = 1i32;
+#[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`*"]
+pub const kPTJobScope: EPrintTicketScope = 2i32;