| 1 |
#[cfg(feature = "Win32_Storage_Xps")] |
| 2 |
::windows_targets::link!("prntvpt.dll" "system" #[doc = "Required features: `\"Win32_Storage_Xps\"`"] fn PTCloseProvider(hprovider : super::super::super::Storage::Xps:: HPTPROVIDER) -> ::windows_sys::core::HRESULT); |
| 3 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Storage_Xps", feature = "Win32_System_Com"))] |
| 4 |
::windows_targets::link!("prntvpt.dll" "system" #[doc = "Required features: `\"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); |
| 5 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Storage_Xps", feature = "Win32_System_Com"))] |
| 6 |
::windows_targets::link!("prntvpt.dll" "system" #[doc = "Required features: `\"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); |
| 7 |
#[cfg(all(feature = "Win32_Storage_Xps", feature = "Win32_System_Com"))] |
| 8 |
::windows_targets::link!("prntvpt.dll" "system" #[doc = "Required features: `\"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); |
| 9 |
#[cfg(all(feature = "Win32_Storage_Xps", feature = "Win32_System_Com"))] |
| 10 |
::windows_targets::link!("prntvpt.dll" "system" #[doc = "Required features: `\"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); |
| 11 |
#[cfg(all(feature = "Win32_Storage_Xps", feature = "Win32_System_Com"))] |
| 12 |
::windows_targets::link!("prntvpt.dll" "system" #[doc = "Required features: `\"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); |
| 13 |
#[cfg(all(feature = "Win32_Storage_Xps", feature = "Win32_System_Com"))] |
| 14 |
::windows_targets::link!("prntvpt.dll" "system" #[doc = "Required features: `\"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); |
| 15 |
#[cfg(feature = "Win32_Storage_Xps")] |
| 16 |
::windows_targets::link!("prntvpt.dll" "system" #[doc = "Required features: `\"Win32_Storage_Xps\"`"] fn PTOpenProvider(pszprintername : ::windows_sys::core::PCWSTR, dwversion : u32, phprovider : *mut super::super::super::Storage::Xps:: HPTPROVIDER) -> ::windows_sys::core::HRESULT); |
| 17 |
#[cfg(feature = "Win32_Storage_Xps")] |
| 18 |
::windows_targets::link!("prntvpt.dll" "system" #[doc = "Required features: `\"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); |
| 19 |
::windows_targets::link!("prntvpt.dll" "system" fn PTQuerySchemaVersionSupport(pszprintername : ::windows_sys::core::PCWSTR, pmaxversion : *mut u32) -> ::windows_sys::core::HRESULT); |
| 20 |
::windows_targets::link!("prntvpt.dll" "system" fn PTReleaseMemory(pbuffer : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); |
| 21 |
pub const E_DELTA_PRINTTICKET_FORMAT: u32 = 2147745797u32; |
| 22 |
pub const E_PRINTCAPABILITIES_FORMAT: u32 = 2147745796u32; |
| 23 |
pub const E_PRINTDEVICECAPABILITIES_FORMAT: u32 = 2147745798u32; |
| 24 |
pub const E_PRINTTICKET_FORMAT: u32 = 2147745795u32; |
| 25 |
pub const PRINTTICKET_ISTREAM_APIS: u32 = 1u32; |
| 26 |
pub const S_PT_CONFLICT_RESOLVED: u32 = 262146u32; |
| 27 |
pub const S_PT_NO_CONFLICT: u32 = 262145u32; |
| 28 |
pub const kPTDocumentScope: EPrintTicketScope = 1i32; |
| 29 |
pub const kPTJobScope: EPrintTicketScope = 2i32; |
| 30 |
pub const kPTPageScope: EPrintTicketScope = 0i32; |
| 31 |
pub const kPrinterDefaultDevmode: EDefaultDevmodeType = 1i32; |
| 32 |
pub const kUserDefaultDevmode: EDefaultDevmodeType = 0i32; |
| 33 |
pub type EDefaultDevmodeType = i32; |
| 34 |
pub type EPrintTicketScope = i32; |