summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys-0.42.0/src/Windows/Win32/System/WinRT/Pdf/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/windows-sys-0.42.0/src/Windows/Win32/System/WinRT/Pdf/mod.rs')
-rw-r--r--vendor/windows-sys-0.42.0/src/Windows/Win32/System/WinRT/Pdf/mod.rs28
1 files changed, 28 insertions, 0 deletions
diff --git a/vendor/windows-sys-0.42.0/src/Windows/Win32/System/WinRT/Pdf/mod.rs b/vendor/windows-sys-0.42.0/src/Windows/Win32/System/WinRT/Pdf/mod.rs
new file mode 100644
index 000000000..64afbee27
--- /dev/null
+++ b/vendor/windows-sys-0.42.0/src/Windows/Win32/System/WinRT/Pdf/mod.rs
@@ -0,0 +1,28 @@
+#[cfg_attr(windows, link(name = "windows"))]
+extern "system" {
+ #[doc = "*Required features: `\"Win32_System_WinRT_Pdf\"`, `\"Win32_Graphics_Dxgi\"`*"]
+ #[cfg(feature = "Win32_Graphics_Dxgi")]
+ pub fn PdfCreateRenderer(pdevice: super::super::super::Graphics::Dxgi::IDXGIDevice, pprenderer: *mut IPdfRendererNative) -> ::windows_sys::core::HRESULT;
+}
+pub type IPdfRendererNative = *mut ::core::ffi::c_void;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_System_WinRT_Pdf\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common"))]
+pub struct PDF_RENDER_PARAMS {
+ pub SourceRect: super::super::super::Graphics::Direct2D::Common::D2D_RECT_F,
+ pub DestinationWidth: u32,
+ pub DestinationHeight: u32,
+ pub BackgroundColor: super::super::super::Graphics::Direct2D::Common::D2D_COLOR_F,
+ pub IgnoreHighContrast: super::super::super::Foundation::BOOLEAN,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common"))]
+impl ::core::marker::Copy for PDF_RENDER_PARAMS {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common"))]
+impl ::core::clone::Clone for PDF_RENDER_PARAMS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_System_WinRT_Pdf\"`, `\"Win32_Graphics_Dxgi\"`*"]
+#[cfg(feature = "Win32_Graphics_Dxgi")]
+pub type PFN_PDF_CREATE_RENDERER = ::core::option::Option<unsafe extern "system" fn(param0: super::super::super::Graphics::Dxgi::IDXGIDevice, param1: *mut IPdfRendererNative) -> ::windows_sys::core::HRESULT>;