]>
git.proxmox.com Git - rustc.git/blob - vendor/windows-sys-0.28.0/src/Windows/Win32/System/WinRT/Pdf/mod.rs
1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
2 #[link(name = "windows")]
4 #[cfg(feature = "Win32_Graphics_Dxgi")]
5 pub fn PdfCreateRenderer(pdevice
: super::super::super::Graphics
::Dxgi
::IDXGIDevice
, pprenderer
: *mut IPdfRendererNative
) -> ::windows_sys
::core
::HRESULT
;
7 pub type IPdfRendererNative
= *mut ::core
::ffi
::c_void
;
9 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common"))]
10 pub struct PDF_RENDER_PARAMS
{
11 pub SourceRect
: super::super::super::Graphics
::Direct2D
::Common
::D2D_RECT_F
,
12 pub DestinationWidth
: u32,
13 pub DestinationHeight
: u32,
14 pub BackgroundColor
: super::super::super::Graphics
::Direct2D
::Common
::D2D_COLOR_F
,
15 pub IgnoreHighContrast
: super::super::super::Foundation
::BOOLEAN
,
17 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common"))]
18 impl ::core
::marker
::Copy
for PDF_RENDER_PARAMS {}
19 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common"))]
20 impl ::core
::clone
::Clone
for PDF_RENDER_PARAMS
{
21 fn clone(&self) -> Self {
25 #[cfg(feature = "Win32_Graphics_Dxgi")]
26 pub type PFN_PDF_CREATE_RENDERER
= unsafe extern "system" fn(param0
: super::super::super::Graphics
::Dxgi
::IDXGIDevice
, param1
: *mut IPdfRendererNative
) -> ::windows_sys
::core
::HRESULT
;