1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] 2 #[link(name = "windows")] 3 extern "system" { 4 #[cfg(feature = "Win32_Foundation")] BRUSHOBJ_hGetColorTransform(pbo: *mut BRUSHOBJ) -> super::super::Foundation::HANDLE5 pub fn BRUSHOBJ_hGetColorTransform(pbo: *mut BRUSHOBJ) -> super::super::Foundation::HANDLE; BRUSHOBJ_pvAllocRbrush(pbo: *mut BRUSHOBJ, cj: u32) -> *mut ::core::ffi::c_void6 pub fn BRUSHOBJ_pvAllocRbrush(pbo: *mut BRUSHOBJ, cj: u32) -> *mut ::core::ffi::c_void; BRUSHOBJ_pvGetRbrush(pbo: *mut BRUSHOBJ) -> *mut ::core::ffi::c_void7 pub fn BRUSHOBJ_pvGetRbrush(pbo: *mut BRUSHOBJ) -> *mut ::core::ffi::c_void; BRUSHOBJ_ulGetBrushColor(pbo: *mut BRUSHOBJ) -> u328 pub fn BRUSHOBJ_ulGetBrushColor(pbo: *mut BRUSHOBJ) -> u32; 9 #[cfg(feature = "Win32_Foundation")] CLIPOBJ_bEnum(pco: *mut CLIPOBJ, cj: u32, pul: *mut u32) -> super::super::Foundation::BOOL10 pub fn CLIPOBJ_bEnum(pco: *mut CLIPOBJ, cj: u32, pul: *mut u32) -> super::super::Foundation::BOOL; 11 #[cfg(feature = "Win32_Foundation")] CLIPOBJ_cEnumStart(pco: *mut CLIPOBJ, ball: super::super::Foundation::BOOL, itype: u32, idirection: u32, climit: u32) -> u3212 pub fn CLIPOBJ_cEnumStart(pco: *mut CLIPOBJ, ball: super::super::Foundation::BOOL, itype: u32, idirection: u32, climit: u32) -> u32; 13 #[cfg(feature = "Win32_Foundation")] CLIPOBJ_ppoGetPath(pco: *mut CLIPOBJ) -> *mut PATHOBJ14 pub fn CLIPOBJ_ppoGetPath(pco: *mut CLIPOBJ) -> *mut PATHOBJ; 15 #[cfg(feature = "Win32_Foundation")] CapabilitiesRequestAndCapabilitiesReply(hmonitor: super::super::Foundation::HANDLE, pszasciicapabilitiesstring: super::super::Foundation::PSTR, dwcapabilitiesstringlengthincharacters: u32) -> i3216 pub fn CapabilitiesRequestAndCapabilitiesReply(hmonitor: super::super::Foundation::HANDLE, pszasciicapabilitiesstring: super::super::Foundation::PSTR, dwcapabilitiesstringlengthincharacters: u32) -> i32; 17 #[cfg(feature = "Win32_Foundation")] DegaussMonitor(hmonitor: super::super::Foundation::HANDLE) -> i3218 pub fn DegaussMonitor(hmonitor: super::super::Foundation::HANDLE) -> i32; 19 #[cfg(feature = "Win32_Foundation")] DestroyPhysicalMonitor(hmonitor: super::super::Foundation::HANDLE) -> i3220 pub fn DestroyPhysicalMonitor(hmonitor: super::super::Foundation::HANDLE) -> i32; 21 #[cfg(feature = "Win32_Foundation")] DestroyPhysicalMonitors(dwphysicalmonitorarraysize: u32, pphysicalmonitorarray: *const PHYSICAL_MONITOR) -> i3222 pub fn DestroyPhysicalMonitors(dwphysicalmonitorarraysize: u32, pphysicalmonitorarray: *const PHYSICAL_MONITOR) -> i32; 23 #[cfg(feature = "Win32_Foundation")] DisplayConfigGetDeviceInfo(requestpacket: *mut DISPLAYCONFIG_DEVICE_INFO_HEADER) -> i3224 pub fn DisplayConfigGetDeviceInfo(requestpacket: *mut DISPLAYCONFIG_DEVICE_INFO_HEADER) -> i32; 25 #[cfg(feature = "Win32_Foundation")] DisplayConfigSetDeviceInfo(setpacket: *const DISPLAYCONFIG_DEVICE_INFO_HEADER) -> i3226 pub fn DisplayConfigSetDeviceInfo(setpacket: *const DISPLAYCONFIG_DEVICE_INFO_HEADER) -> i32; EngAcquireSemaphore(hsem: HSEMAPHORE)27 pub fn EngAcquireSemaphore(hsem: HSEMAPHORE); 28 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] EngAlphaBlend(psodest: *mut SURFOBJ, psosrc: *mut SURFOBJ, pco: *mut CLIPOBJ, pxlo: *mut XLATEOBJ, prcldest: *mut super::super::Foundation::RECTL, prclsrc: *mut super::super::Foundation::RECTL, pblendobj: *mut BLENDOBJ) -> super::super::Foundation::BOOL29 pub fn EngAlphaBlend(psodest: *mut SURFOBJ, psosrc: *mut SURFOBJ, pco: *mut CLIPOBJ, pxlo: *mut XLATEOBJ, prcldest: *mut super::super::Foundation::RECTL, prclsrc: *mut super::super::Foundation::RECTL, pblendobj: *mut BLENDOBJ) -> super::super::Foundation::BOOL; 30 #[cfg(feature = "Win32_Foundation")] EngAssociateSurface(hsurf: HSURF, hdev: HDEV, flhooks: u32) -> super::super::Foundation::BOOL31 pub fn EngAssociateSurface(hsurf: HSURF, hdev: HDEV, flhooks: u32) -> super::super::Foundation::BOOL; 32 #[cfg(feature = "Win32_Foundation")] EngBitBlt(psotrg: *const SURFOBJ, psosrc: *const SURFOBJ, psomask: *const SURFOBJ, pco: *const CLIPOBJ, pxlo: *const XLATEOBJ, prcltrg: *const super::super::Foundation::RECTL, pptlsrc: *const super::super::Foundation::POINTL, pptlmask: *const super::super::Foundation::POINTL, pbo: *const BRUSHOBJ, pptlbrush: *const super::super::Foundation::POINTL, rop4: u32) -> super::super::Foundation::BOOL33 pub fn EngBitBlt(psotrg: *const SURFOBJ, psosrc: *const SURFOBJ, psomask: *const SURFOBJ, pco: *const CLIPOBJ, pxlo: *const XLATEOBJ, prcltrg: *const super::super::Foundation::RECTL, pptlsrc: *const super::super::Foundation::POINTL, pptlmask: *const super::super::Foundation::POINTL, pbo: *const BRUSHOBJ, pptlbrush: *const super::super::Foundation::POINTL, rop4: u32) -> super::super::Foundation::BOOL; 34 #[cfg(feature = "Win32_Foundation")] EngCheckAbort(pso: *mut SURFOBJ) -> super::super::Foundation::BOOL35 pub fn EngCheckAbort(pso: *mut SURFOBJ) -> super::super::Foundation::BOOL; EngComputeGlyphSet(ncodepage: i32, nfirstchar: i32, cchars: i32) -> *mut FD_GLYPHSET36 pub fn EngComputeGlyphSet(ncodepage: i32, nfirstchar: i32, cchars: i32) -> *mut FD_GLYPHSET; 37 #[cfg(feature = "Win32_Foundation")] EngCopyBits(psodest: *mut SURFOBJ, psosrc: *mut SURFOBJ, pco: *mut CLIPOBJ, pxlo: *mut XLATEOBJ, prcldest: *mut super::super::Foundation::RECTL, pptlsrc: *mut super::super::Foundation::POINTL) -> super::super::Foundation::BOOL38 pub fn EngCopyBits(psodest: *mut SURFOBJ, psosrc: *mut SURFOBJ, pco: *mut CLIPOBJ, pxlo: *mut XLATEOBJ, prcldest: *mut super::super::Foundation::RECTL, pptlsrc: *mut super::super::Foundation::POINTL) -> super::super::Foundation::BOOL; 39 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] EngCreateBitmap(sizl: super::super::Foundation::SIZE, lwidth: i32, iformat: u32, fl: u32, pvbits: *mut ::core::ffi::c_void) -> super::super::Graphics::Gdi::HBITMAP40 pub fn EngCreateBitmap(sizl: super::super::Foundation::SIZE, lwidth: i32, iformat: u32, fl: u32, pvbits: *mut ::core::ffi::c_void) -> super::super::Graphics::Gdi::HBITMAP; 41 #[cfg(feature = "Win32_Foundation")] EngCreateClip() -> *mut CLIPOBJ42 pub fn EngCreateClip() -> *mut CLIPOBJ; 43 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] EngCreateDeviceBitmap(dhsurf: DHSURF, sizl: super::super::Foundation::SIZE, iformatcompat: u32) -> super::super::Graphics::Gdi::HBITMAP44 pub fn EngCreateDeviceBitmap(dhsurf: DHSURF, sizl: super::super::Foundation::SIZE, iformatcompat: u32) -> super::super::Graphics::Gdi::HBITMAP; 45 #[cfg(feature = "Win32_Foundation")] EngCreateDeviceSurface(dhsurf: DHSURF, sizl: super::super::Foundation::SIZE, iformatcompat: u32) -> HSURF46 pub fn EngCreateDeviceSurface(dhsurf: DHSURF, sizl: super::super::Foundation::SIZE, iformatcompat: u32) -> HSURF; 47 #[cfg(feature = "Win32_Graphics_Gdi")] EngCreatePalette(imode: u32, ccolors: u32, pulcolors: *mut u32, flred: u32, flgreen: u32, flblue: u32) -> super::super::Graphics::Gdi::HPALETTE48 pub fn EngCreatePalette(imode: u32, ccolors: u32, pulcolors: *mut u32, flred: u32, flgreen: u32, flblue: u32) -> super::super::Graphics::Gdi::HPALETTE; EngCreateSemaphore() -> HSEMAPHORE49 pub fn EngCreateSemaphore() -> HSEMAPHORE; 50 #[cfg(feature = "Win32_Foundation")] EngDeleteClip(pco: *const CLIPOBJ)51 pub fn EngDeleteClip(pco: *const CLIPOBJ); 52 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] EngDeletePalette(hpal: super::super::Graphics::Gdi::HPALETTE) -> super::super::Foundation::BOOL53 pub fn EngDeletePalette(hpal: super::super::Graphics::Gdi::HPALETTE) -> super::super::Foundation::BOOL; EngDeletePath(ppo: *mut PATHOBJ)54 pub fn EngDeletePath(ppo: *mut PATHOBJ); EngDeleteSemaphore(hsem: HSEMAPHORE)55 pub fn EngDeleteSemaphore(hsem: HSEMAPHORE); 56 #[cfg(feature = "Win32_Foundation")] EngDeleteSurface(hsurf: HSURF) -> super::super::Foundation::BOOL57 pub fn EngDeleteSurface(hsurf: HSURF) -> super::super::Foundation::BOOL; 58 #[cfg(feature = "Win32_Foundation")] EngEraseSurface(pso: *mut SURFOBJ, prcl: *mut super::super::Foundation::RECTL, icolor: u32) -> super::super::Foundation::BOOL59 pub fn EngEraseSurface(pso: *mut SURFOBJ, prcl: *mut super::super::Foundation::RECTL, icolor: u32) -> super::super::Foundation::BOOL; 60 #[cfg(feature = "Win32_Foundation")] EngFillPath(pso: *mut SURFOBJ, ppo: *mut PATHOBJ, pco: *mut CLIPOBJ, pbo: *mut BRUSHOBJ, pptlbrushorg: *mut super::super::Foundation::POINTL, mix: u32, floptions: u32) -> super::super::Foundation::BOOL61 pub fn EngFillPath(pso: *mut SURFOBJ, ppo: *mut PATHOBJ, pco: *mut CLIPOBJ, pbo: *mut BRUSHOBJ, pptlbrushorg: *mut super::super::Foundation::POINTL, mix: u32, floptions: u32) -> super::super::Foundation::BOOL; 62 #[cfg(feature = "Win32_Foundation")] EngFindResource(h: super::super::Foundation::HANDLE, iname: i32, itype: i32, pulsize: *mut u32) -> *mut ::core::ffi::c_void63 pub fn EngFindResource(h: super::super::Foundation::HANDLE, iname: i32, itype: i32, pulsize: *mut u32) -> *mut ::core::ffi::c_void; 64 #[cfg(feature = "Win32_Foundation")] EngFreeModule(h: super::super::Foundation::HANDLE)65 pub fn EngFreeModule(h: super::super::Foundation::HANDLE); EngGetCurrentCodePage(oemcodepage: *mut u16, ansicodepage: *mut u16)66 pub fn EngGetCurrentCodePage(oemcodepage: *mut u16, ansicodepage: *mut u16); 67 #[cfg(feature = "Win32_Foundation")] EngGetDriverName(hdev: HDEV) -> super::super::Foundation::PWSTR68 pub fn EngGetDriverName(hdev: HDEV) -> super::super::Foundation::PWSTR; 69 #[cfg(feature = "Win32_Foundation")] EngGetPrinterDataFileName(hdev: HDEV) -> super::super::Foundation::PWSTR70 pub fn EngGetPrinterDataFileName(hdev: HDEV) -> super::super::Foundation::PWSTR; 71 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] EngGradientFill(psodest: *mut SURFOBJ, pco: *mut CLIPOBJ, pxlo: *mut XLATEOBJ, pvertex: *mut super::super::Graphics::Gdi::TRIVERTEX, nvertex: u32, pmesh: *mut ::core::ffi::c_void, nmesh: u32, prclextents: *mut super::super::Foundation::RECTL, pptlditherorg: *mut super::super::Foundation::POINTL, ulmode: u32) -> super::super::Foundation::BOOL72 pub fn EngGradientFill(psodest: *mut SURFOBJ, pco: *mut CLIPOBJ, pxlo: *mut XLATEOBJ, pvertex: *mut super::super::Graphics::Gdi::TRIVERTEX, nvertex: u32, pmesh: *mut ::core::ffi::c_void, nmesh: u32, prclextents: *mut super::super::Foundation::RECTL, pptlditherorg: *mut super::super::Foundation::POINTL, ulmode: u32) -> super::super::Foundation::BOOL; 73 #[cfg(feature = "Win32_Foundation")] EngLineTo(pso: *mut SURFOBJ, pco: *mut CLIPOBJ, pbo: *mut BRUSHOBJ, x1: i32, y1: i32, x2: i32, y2: i32, prclbounds: *mut super::super::Foundation::RECTL, mix: u32) -> super::super::Foundation::BOOL74 pub fn EngLineTo(pso: *mut SURFOBJ, pco: *mut CLIPOBJ, pbo: *mut BRUSHOBJ, x1: i32, y1: i32, x2: i32, y2: i32, prclbounds: *mut super::super::Foundation::RECTL, mix: u32) -> super::super::Foundation::BOOL; 75 #[cfg(feature = "Win32_Foundation")] EngLoadModule(pwsz: super::super::Foundation::PWSTR) -> super::super::Foundation::HANDLE76 pub fn EngLoadModule(pwsz: super::super::Foundation::PWSTR) -> super::super::Foundation::HANDLE; 77 #[cfg(feature = "Win32_Foundation")] EngLockSurface(hsurf: HSURF) -> *mut SURFOBJ78 pub fn EngLockSurface(hsurf: HSURF) -> *mut SURFOBJ; 79 #[cfg(feature = "Win32_Foundation")] EngMarkBandingSurface(hsurf: HSURF) -> super::super::Foundation::BOOL80 pub fn EngMarkBandingSurface(hsurf: HSURF) -> super::super::Foundation::BOOL; 81 #[cfg(feature = "Win32_Foundation")] EngMultiByteToUnicodeN(unicodestring: super::super::Foundation::PWSTR, maxbytesinunicodestring: u32, bytesinunicodestring: *mut u32, multibytestring: super::super::Foundation::PSTR, bytesinmultibytestring: u32)82 pub fn EngMultiByteToUnicodeN(unicodestring: super::super::Foundation::PWSTR, maxbytesinunicodestring: u32, bytesinunicodestring: *mut u32, multibytestring: super::super::Foundation::PSTR, bytesinmultibytestring: u32); 83 #[cfg(feature = "Win32_Foundation")] EngMultiByteToWideChar(codepage: u32, widecharstring: super::super::Foundation::PWSTR, bytesinwidecharstring: i32, multibytestring: super::super::Foundation::PSTR, bytesinmultibytestring: i32) -> i3284 pub fn EngMultiByteToWideChar(codepage: u32, widecharstring: super::super::Foundation::PWSTR, bytesinwidecharstring: i32, multibytestring: super::super::Foundation::PSTR, bytesinmultibytestring: i32) -> i32; 85 #[cfg(feature = "Win32_Foundation")] EngPaint(pso: *mut SURFOBJ, pco: *mut CLIPOBJ, pbo: *mut BRUSHOBJ, pptlbrushorg: *mut super::super::Foundation::POINTL, mix: u32) -> super::super::Foundation::BOOL86 pub fn EngPaint(pso: *mut SURFOBJ, pco: *mut CLIPOBJ, pbo: *mut BRUSHOBJ, pptlbrushorg: *mut super::super::Foundation::POINTL, mix: u32) -> super::super::Foundation::BOOL; 87 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] EngPlgBlt(psotrg: *mut SURFOBJ, psosrc: *mut SURFOBJ, psomsk: *mut SURFOBJ, pco: *mut CLIPOBJ, pxlo: *mut XLATEOBJ, pca: *mut super::super::Graphics::Gdi::COLORADJUSTMENT, pptlbrushorg: *mut super::super::Foundation::POINTL, pptfx: *mut POINTFIX, prcl: *mut super::super::Foundation::RECTL, pptl: *mut super::super::Foundation::POINTL, imode: u32) -> super::super::Foundation::BOOL88 pub fn EngPlgBlt(psotrg: *mut SURFOBJ, psosrc: *mut SURFOBJ, psomsk: *mut SURFOBJ, pco: *mut CLIPOBJ, pxlo: *mut XLATEOBJ, pca: *mut super::super::Graphics::Gdi::COLORADJUSTMENT, pptlbrushorg: *mut super::super::Foundation::POINTL, pptfx: *mut POINTFIX, prcl: *mut super::super::Foundation::RECTL, pptl: *mut super::super::Foundation::POINTL, imode: u32) -> super::super::Foundation::BOOL; 89 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] EngQueryEMFInfo(hdev: HDEV, pemfinfo: *mut EMFINFO) -> super::super::Foundation::BOOL90 pub fn EngQueryEMFInfo(hdev: HDEV, pemfinfo: *mut EMFINFO) -> super::super::Foundation::BOOL; EngQueryLocalTime(param0: *mut ENG_TIME_FIELDS)91 pub fn EngQueryLocalTime(param0: *mut ENG_TIME_FIELDS); EngReleaseSemaphore(hsem: HSEMAPHORE)92 pub fn EngReleaseSemaphore(hsem: HSEMAPHORE); 93 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] EngStretchBlt(psodest: *mut SURFOBJ, psosrc: *mut SURFOBJ, psomask: *mut SURFOBJ, pco: *mut CLIPOBJ, pxlo: *mut XLATEOBJ, pca: *mut super::super::Graphics::Gdi::COLORADJUSTMENT, pptlhtorg: *mut super::super::Foundation::POINTL, prcldest: *mut super::super::Foundation::RECTL, prclsrc: *mut super::super::Foundation::RECTL, pptlmask: *mut super::super::Foundation::POINTL, imode: u32) -> super::super::Foundation::BOOL94 pub fn EngStretchBlt(psodest: *mut SURFOBJ, psosrc: *mut SURFOBJ, psomask: *mut SURFOBJ, pco: *mut CLIPOBJ, pxlo: *mut XLATEOBJ, pca: *mut super::super::Graphics::Gdi::COLORADJUSTMENT, pptlhtorg: *mut super::super::Foundation::POINTL, prcldest: *mut super::super::Foundation::RECTL, prclsrc: *mut super::super::Foundation::RECTL, pptlmask: *mut super::super::Foundation::POINTL, imode: u32) -> super::super::Foundation::BOOL; 95 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] EngStretchBltROP(psodest: *mut SURFOBJ, psosrc: *mut SURFOBJ, psomask: *mut SURFOBJ, pco: *mut CLIPOBJ, pxlo: *mut XLATEOBJ, pca: *mut super::super::Graphics::Gdi::COLORADJUSTMENT, pptlhtorg: *mut super::super::Foundation::POINTL, prcldest: *mut super::super::Foundation::RECTL, prclsrc: *mut super::super::Foundation::RECTL, pptlmask: *mut super::super::Foundation::POINTL, imode: u32, pbo: *mut BRUSHOBJ, rop4: u32) -> super::super::Foundation::BOOL96 pub fn EngStretchBltROP(psodest: *mut SURFOBJ, psosrc: *mut SURFOBJ, psomask: *mut SURFOBJ, pco: *mut CLIPOBJ, pxlo: *mut XLATEOBJ, pca: *mut super::super::Graphics::Gdi::COLORADJUSTMENT, pptlhtorg: *mut super::super::Foundation::POINTL, prcldest: *mut super::super::Foundation::RECTL, prclsrc: *mut super::super::Foundation::RECTL, pptlmask: *mut super::super::Foundation::POINTL, imode: u32, pbo: *mut BRUSHOBJ, rop4: u32) -> super::super::Foundation::BOOL; 97 #[cfg(feature = "Win32_Foundation")] EngStrokeAndFillPath(pso: *mut SURFOBJ, ppo: *mut PATHOBJ, pco: *mut CLIPOBJ, pxo: *mut XFORMOBJ, pbostroke: *mut BRUSHOBJ, plineattrs: *mut LINEATTRS, pbofill: *mut BRUSHOBJ, pptlbrushorg: *mut super::super::Foundation::POINTL, mixfill: u32, floptions: u32) -> super::super::Foundation::BOOL98 pub fn EngStrokeAndFillPath(pso: *mut SURFOBJ, ppo: *mut PATHOBJ, pco: *mut CLIPOBJ, pxo: *mut XFORMOBJ, pbostroke: *mut BRUSHOBJ, plineattrs: *mut LINEATTRS, pbofill: *mut BRUSHOBJ, pptlbrushorg: *mut super::super::Foundation::POINTL, mixfill: u32, floptions: u32) -> super::super::Foundation::BOOL; 99 #[cfg(feature = "Win32_Foundation")] EngStrokePath(pso: *mut SURFOBJ, ppo: *mut PATHOBJ, pco: *mut CLIPOBJ, pxo: *mut XFORMOBJ, pbo: *mut BRUSHOBJ, pptlbrushorg: *mut super::super::Foundation::POINTL, plineattrs: *mut LINEATTRS, mix: u32) -> super::super::Foundation::BOOL100 pub fn EngStrokePath(pso: *mut SURFOBJ, ppo: *mut PATHOBJ, pco: *mut CLIPOBJ, pxo: *mut XFORMOBJ, pbo: *mut BRUSHOBJ, pptlbrushorg: *mut super::super::Foundation::POINTL, plineattrs: *mut LINEATTRS, mix: u32) -> super::super::Foundation::BOOL; 101 #[cfg(feature = "Win32_Foundation")] EngTextOut(pso: *mut SURFOBJ, pstro: *mut STROBJ, pfo: *mut FONTOBJ, pco: *mut CLIPOBJ, prclextra: *mut super::super::Foundation::RECTL, prclopaque: *mut super::super::Foundation::RECTL, pbofore: *mut BRUSHOBJ, pboopaque: *mut BRUSHOBJ, pptlorg: *mut super::super::Foundation::POINTL, mix: u32) -> super::super::Foundation::BOOL102 pub fn EngTextOut(pso: *mut SURFOBJ, pstro: *mut STROBJ, pfo: *mut FONTOBJ, pco: *mut CLIPOBJ, prclextra: *mut super::super::Foundation::RECTL, prclopaque: *mut super::super::Foundation::RECTL, pbofore: *mut BRUSHOBJ, pboopaque: *mut BRUSHOBJ, pptlorg: *mut super::super::Foundation::POINTL, mix: u32) -> super::super::Foundation::BOOL; 103 #[cfg(feature = "Win32_Foundation")] EngTransparentBlt(psodst: *const SURFOBJ, psosrc: *const SURFOBJ, pco: *const CLIPOBJ, pxlo: *const XLATEOBJ, prcldst: *const super::super::Foundation::RECTL, prclsrc: *const super::super::Foundation::RECTL, transcolor: u32, bcalledfrombitblt: u32) -> super::super::Foundation::BOOL104 pub fn EngTransparentBlt(psodst: *const SURFOBJ, psosrc: *const SURFOBJ, pco: *const CLIPOBJ, pxlo: *const XLATEOBJ, prcldst: *const super::super::Foundation::RECTL, prclsrc: *const super::super::Foundation::RECTL, transcolor: u32, bcalledfrombitblt: u32) -> super::super::Foundation::BOOL; 105 #[cfg(feature = "Win32_Foundation")] EngUnicodeToMultiByteN(multibytestring: super::super::Foundation::PSTR, maxbytesinmultibytestring: u32, bytesinmultibytestring: *mut u32, unicodestring: super::super::Foundation::PWSTR, bytesinunicodestring: u32)106 pub fn EngUnicodeToMultiByteN(multibytestring: super::super::Foundation::PSTR, maxbytesinmultibytestring: u32, bytesinmultibytestring: *mut u32, unicodestring: super::super::Foundation::PWSTR, bytesinunicodestring: u32); 107 #[cfg(feature = "Win32_Foundation")] EngUnlockSurface(pso: *mut SURFOBJ)108 pub fn EngUnlockSurface(pso: *mut SURFOBJ); 109 #[cfg(feature = "Win32_Foundation")] EngWideCharToMultiByte(codepage: u32, widecharstring: super::super::Foundation::PWSTR, bytesinwidecharstring: i32, multibytestring: super::super::Foundation::PSTR, bytesinmultibytestring: i32) -> i32110 pub fn EngWideCharToMultiByte(codepage: u32, widecharstring: super::super::Foundation::PWSTR, bytesinwidecharstring: i32, multibytestring: super::super::Foundation::PSTR, bytesinmultibytestring: i32) -> i32; 111 #[cfg(feature = "Win32_Foundation")] FONTOBJ_cGetAllGlyphHandles(pfo: *mut FONTOBJ, phg: *mut u32) -> u32112 pub fn FONTOBJ_cGetAllGlyphHandles(pfo: *mut FONTOBJ, phg: *mut u32) -> u32; 113 #[cfg(feature = "Win32_Foundation")] FONTOBJ_cGetGlyphs(pfo: *mut FONTOBJ, imode: u32, cglyph: u32, phg: *mut u32, ppvglyph: *mut *mut ::core::ffi::c_void) -> u32114 pub fn FONTOBJ_cGetGlyphs(pfo: *mut FONTOBJ, imode: u32, cglyph: u32, phg: *mut u32, ppvglyph: *mut *mut ::core::ffi::c_void) -> u32; 115 #[cfg(feature = "Win32_Foundation")] FONTOBJ_pQueryGlyphAttrs(pfo: *mut FONTOBJ, imode: u32) -> *mut FD_GLYPHATTR116 pub fn FONTOBJ_pQueryGlyphAttrs(pfo: *mut FONTOBJ, imode: u32) -> *mut FD_GLYPHATTR; 117 #[cfg(feature = "Win32_Foundation")] FONTOBJ_pfdg(pfo: *mut FONTOBJ) -> *mut FD_GLYPHSET118 pub fn FONTOBJ_pfdg(pfo: *mut FONTOBJ) -> *mut FD_GLYPHSET; 119 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] FONTOBJ_pifi(pfo: *const FONTOBJ) -> *mut IFIMETRICS120 pub fn FONTOBJ_pifi(pfo: *const FONTOBJ) -> *mut IFIMETRICS; 121 #[cfg(feature = "Win32_Foundation")] FONTOBJ_pvTrueTypeFontFile(pfo: *mut FONTOBJ, pcjfile: *mut u32) -> *mut ::core::ffi::c_void122 pub fn FONTOBJ_pvTrueTypeFontFile(pfo: *mut FONTOBJ, pcjfile: *mut u32) -> *mut ::core::ffi::c_void; 123 #[cfg(feature = "Win32_Foundation")] FONTOBJ_pxoGetXform(pfo: *const FONTOBJ) -> *mut XFORMOBJ124 pub fn FONTOBJ_pxoGetXform(pfo: *const FONTOBJ) -> *mut XFORMOBJ; 125 #[cfg(feature = "Win32_Foundation")] FONTOBJ_vGetInfo(pfo: *mut FONTOBJ, cjsize: u32, pfi: *mut FONTINFO)126 pub fn FONTOBJ_vGetInfo(pfo: *mut FONTOBJ, cjsize: u32, pfi: *mut FONTINFO); 127 #[cfg(feature = "Win32_Foundation")] GetAutoRotationState(pstate: *mut AR_STATE) -> super::super::Foundation::BOOL128 pub fn GetAutoRotationState(pstate: *mut AR_STATE) -> super::super::Foundation::BOOL; 129 #[cfg(feature = "Win32_Foundation")] GetCapabilitiesStringLength(hmonitor: super::super::Foundation::HANDLE, pdwcapabilitiesstringlengthincharacters: *mut u32) -> i32130 pub fn GetCapabilitiesStringLength(hmonitor: super::super::Foundation::HANDLE, pdwcapabilitiesstringlengthincharacters: *mut u32) -> i32; 131 #[cfg(feature = "Win32_Foundation")] GetDisplayAutoRotationPreferences(porientation: *mut ORIENTATION_PREFERENCE) -> super::super::Foundation::BOOL132 pub fn GetDisplayAutoRotationPreferences(porientation: *mut ORIENTATION_PREFERENCE) -> super::super::Foundation::BOOL; GetDisplayConfigBufferSizes(flags: u32, numpatharrayelements: *mut u32, nummodeinfoarrayelements: *mut u32) -> i32133 pub fn GetDisplayConfigBufferSizes(flags: u32, numpatharrayelements: *mut u32, nummodeinfoarrayelements: *mut u32) -> i32; 134 #[cfg(feature = "Win32_Foundation")] GetMonitorBrightness(hmonitor: super::super::Foundation::HANDLE, pdwminimumbrightness: *mut u32, pdwcurrentbrightness: *mut u32, pdwmaximumbrightness: *mut u32) -> i32135 pub fn GetMonitorBrightness(hmonitor: super::super::Foundation::HANDLE, pdwminimumbrightness: *mut u32, pdwcurrentbrightness: *mut u32, pdwmaximumbrightness: *mut u32) -> i32; 136 #[cfg(feature = "Win32_Foundation")] GetMonitorCapabilities(hmonitor: super::super::Foundation::HANDLE, pdwmonitorcapabilities: *mut u32, pdwsupportedcolortemperatures: *mut u32) -> i32137 pub fn GetMonitorCapabilities(hmonitor: super::super::Foundation::HANDLE, pdwmonitorcapabilities: *mut u32, pdwsupportedcolortemperatures: *mut u32) -> i32; 138 #[cfg(feature = "Win32_Foundation")] GetMonitorColorTemperature(hmonitor: super::super::Foundation::HANDLE, pctcurrentcolortemperature: *mut MC_COLOR_TEMPERATURE) -> i32139 pub fn GetMonitorColorTemperature(hmonitor: super::super::Foundation::HANDLE, pctcurrentcolortemperature: *mut MC_COLOR_TEMPERATURE) -> i32; 140 #[cfg(feature = "Win32_Foundation")] GetMonitorContrast(hmonitor: super::super::Foundation::HANDLE, pdwminimumcontrast: *mut u32, pdwcurrentcontrast: *mut u32, pdwmaximumcontrast: *mut u32) -> i32141 pub fn GetMonitorContrast(hmonitor: super::super::Foundation::HANDLE, pdwminimumcontrast: *mut u32, pdwcurrentcontrast: *mut u32, pdwmaximumcontrast: *mut u32) -> i32; 142 #[cfg(feature = "Win32_Foundation")] GetMonitorDisplayAreaPosition(hmonitor: super::super::Foundation::HANDLE, ptpositiontype: MC_POSITION_TYPE, pdwminimumposition: *mut u32, pdwcurrentposition: *mut u32, pdwmaximumposition: *mut u32) -> i32143 pub fn GetMonitorDisplayAreaPosition(hmonitor: super::super::Foundation::HANDLE, ptpositiontype: MC_POSITION_TYPE, pdwminimumposition: *mut u32, pdwcurrentposition: *mut u32, pdwmaximumposition: *mut u32) -> i32; 144 #[cfg(feature = "Win32_Foundation")] GetMonitorDisplayAreaSize(hmonitor: super::super::Foundation::HANDLE, stsizetype: MC_SIZE_TYPE, pdwminimumwidthorheight: *mut u32, pdwcurrentwidthorheight: *mut u32, pdwmaximumwidthorheight: *mut u32) -> i32145 pub fn GetMonitorDisplayAreaSize(hmonitor: super::super::Foundation::HANDLE, stsizetype: MC_SIZE_TYPE, pdwminimumwidthorheight: *mut u32, pdwcurrentwidthorheight: *mut u32, pdwmaximumwidthorheight: *mut u32) -> i32; 146 #[cfg(feature = "Win32_Foundation")] GetMonitorRedGreenOrBlueDrive(hmonitor: super::super::Foundation::HANDLE, dtdrivetype: MC_DRIVE_TYPE, pdwminimumdrive: *mut u32, pdwcurrentdrive: *mut u32, pdwmaximumdrive: *mut u32) -> i32147 pub fn GetMonitorRedGreenOrBlueDrive(hmonitor: super::super::Foundation::HANDLE, dtdrivetype: MC_DRIVE_TYPE, pdwminimumdrive: *mut u32, pdwcurrentdrive: *mut u32, pdwmaximumdrive: *mut u32) -> i32; 148 #[cfg(feature = "Win32_Foundation")] GetMonitorRedGreenOrBlueGain(hmonitor: super::super::Foundation::HANDLE, gtgaintype: MC_GAIN_TYPE, pdwminimumgain: *mut u32, pdwcurrentgain: *mut u32, pdwmaximumgain: *mut u32) -> i32149 pub fn GetMonitorRedGreenOrBlueGain(hmonitor: super::super::Foundation::HANDLE, gtgaintype: MC_GAIN_TYPE, pdwminimumgain: *mut u32, pdwcurrentgain: *mut u32, pdwmaximumgain: *mut u32) -> i32; 150 #[cfg(feature = "Win32_Foundation")] GetMonitorTechnologyType(hmonitor: super::super::Foundation::HANDLE, pdtydisplaytechnologytype: *mut MC_DISPLAY_TECHNOLOGY_TYPE) -> i32151 pub fn GetMonitorTechnologyType(hmonitor: super::super::Foundation::HANDLE, pdtydisplaytechnologytype: *mut MC_DISPLAY_TECHNOLOGY_TYPE) -> i32; 152 #[cfg(feature = "Win32_Graphics_Gdi")] GetNumberOfPhysicalMonitorsFromHMONITOR(hmonitor: super::super::Graphics::Gdi::HMONITOR, pdwnumberofphysicalmonitors: *mut u32) -> i32153 pub fn GetNumberOfPhysicalMonitorsFromHMONITOR(hmonitor: super::super::Graphics::Gdi::HMONITOR, pdwnumberofphysicalmonitors: *mut u32) -> i32; 154 #[cfg(feature = "Win32_Graphics_Direct3D9")] GetNumberOfPhysicalMonitorsFromIDirect3DDevice9(pdirect3ddevice9: super::super::Graphics::Direct3D9::IDirect3DDevice9, pdwnumberofphysicalmonitors: *mut u32) -> ::windows_sys::core::HRESULT155 pub fn GetNumberOfPhysicalMonitorsFromIDirect3DDevice9(pdirect3ddevice9: super::super::Graphics::Direct3D9::IDirect3DDevice9, pdwnumberofphysicalmonitors: *mut u32) -> ::windows_sys::core::HRESULT; 156 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] GetPhysicalMonitorsFromHMONITOR(hmonitor: super::super::Graphics::Gdi::HMONITOR, dwphysicalmonitorarraysize: u32, pphysicalmonitorarray: *mut PHYSICAL_MONITOR) -> i32157 pub fn GetPhysicalMonitorsFromHMONITOR(hmonitor: super::super::Graphics::Gdi::HMONITOR, dwphysicalmonitorarraysize: u32, pphysicalmonitorarray: *mut PHYSICAL_MONITOR) -> i32; 158 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))] GetPhysicalMonitorsFromIDirect3DDevice9(pdirect3ddevice9: super::super::Graphics::Direct3D9::IDirect3DDevice9, dwphysicalmonitorarraysize: u32, pphysicalmonitorarray: *mut PHYSICAL_MONITOR) -> ::windows_sys::core::HRESULT159 pub fn GetPhysicalMonitorsFromIDirect3DDevice9(pdirect3ddevice9: super::super::Graphics::Direct3D9::IDirect3DDevice9, dwphysicalmonitorarraysize: u32, pphysicalmonitorarray: *mut PHYSICAL_MONITOR) -> ::windows_sys::core::HRESULT; 160 #[cfg(feature = "Win32_Foundation")] GetTimingReport(hmonitor: super::super::Foundation::HANDLE, pmtrmonitortimingreport: *mut MC_TIMING_REPORT) -> i32161 pub fn GetTimingReport(hmonitor: super::super::Foundation::HANDLE, pmtrmonitortimingreport: *mut MC_TIMING_REPORT) -> i32; 162 #[cfg(feature = "Win32_Foundation")] GetVCPFeatureAndVCPFeatureReply(hmonitor: super::super::Foundation::HANDLE, bvcpcode: u8, pvct: *mut MC_VCP_CODE_TYPE, pdwcurrentvalue: *mut u32, pdwmaximumvalue: *mut u32) -> i32163 pub fn GetVCPFeatureAndVCPFeatureReply(hmonitor: super::super::Foundation::HANDLE, bvcpcode: u8, pvct: *mut MC_VCP_CODE_TYPE, pdwcurrentvalue: *mut u32, pdwmaximumvalue: *mut u32) -> i32; 164 #[cfg(feature = "Win32_Graphics_Gdi")] HT_Get8BPPFormatPalette(ppaletteentry: *mut super::super::Graphics::Gdi::PALETTEENTRY, redgamma: u16, greengamma: u16, bluegamma: u16) -> i32165 pub fn HT_Get8BPPFormatPalette(ppaletteentry: *mut super::super::Graphics::Gdi::PALETTEENTRY, redgamma: u16, greengamma: u16, bluegamma: u16) -> i32; 166 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] HT_Get8BPPMaskPalette(ppaletteentry: *mut super::super::Graphics::Gdi::PALETTEENTRY, use8bppmaskpal: super::super::Foundation::BOOL, cmymask: u8, redgamma: u16, greengamma: u16, bluegamma: u16) -> i32167 pub fn HT_Get8BPPMaskPalette(ppaletteentry: *mut super::super::Graphics::Gdi::PALETTEENTRY, use8bppmaskpal: super::super::Foundation::BOOL, cmymask: u8, redgamma: u16, greengamma: u16, bluegamma: u16) -> i32; 168 #[cfg(feature = "Win32_Foundation")] PATHOBJ_bEnum(ppo: *mut PATHOBJ, ppd: *mut PATHDATA) -> super::super::Foundation::BOOL169 pub fn PATHOBJ_bEnum(ppo: *mut PATHOBJ, ppd: *mut PATHDATA) -> super::super::Foundation::BOOL; 170 #[cfg(feature = "Win32_Foundation")] PATHOBJ_bEnumClipLines(ppo: *mut PATHOBJ, cb: u32, pcl: *mut CLIPLINE) -> super::super::Foundation::BOOL171 pub fn PATHOBJ_bEnumClipLines(ppo: *mut PATHOBJ, cb: u32, pcl: *mut CLIPLINE) -> super::super::Foundation::BOOL; PATHOBJ_vEnumStart(ppo: *mut PATHOBJ)172 pub fn PATHOBJ_vEnumStart(ppo: *mut PATHOBJ); 173 #[cfg(feature = "Win32_Foundation")] PATHOBJ_vEnumStartClipLines(ppo: *mut PATHOBJ, pco: *mut CLIPOBJ, pso: *mut SURFOBJ, pla: *mut LINEATTRS)174 pub fn PATHOBJ_vEnumStartClipLines(ppo: *mut PATHOBJ, pco: *mut CLIPOBJ, pso: *mut SURFOBJ, pla: *mut LINEATTRS); PATHOBJ_vGetBounds(ppo: *mut PATHOBJ, prectfx: *mut RECTFX)175 pub fn PATHOBJ_vGetBounds(ppo: *mut PATHOBJ, prectfx: *mut RECTFX); 176 #[cfg(feature = "Win32_Foundation")] QueryDisplayConfig(flags: u32, numpatharrayelements: *mut u32, patharray: *mut DISPLAYCONFIG_PATH_INFO, nummodeinfoarrayelements: *mut u32, modeinfoarray: *mut DISPLAYCONFIG_MODE_INFO, currenttopologyid: *mut DISPLAYCONFIG_TOPOLOGY_ID) -> i32177 pub fn QueryDisplayConfig(flags: u32, numpatharrayelements: *mut u32, patharray: *mut DISPLAYCONFIG_PATH_INFO, nummodeinfoarrayelements: *mut u32, modeinfoarray: *mut DISPLAYCONFIG_MODE_INFO, currenttopologyid: *mut DISPLAYCONFIG_TOPOLOGY_ID) -> i32; 178 #[cfg(feature = "Win32_Foundation")] RestoreMonitorFactoryColorDefaults(hmonitor: super::super::Foundation::HANDLE) -> i32179 pub fn RestoreMonitorFactoryColorDefaults(hmonitor: super::super::Foundation::HANDLE) -> i32; 180 #[cfg(feature = "Win32_Foundation")] RestoreMonitorFactoryDefaults(hmonitor: super::super::Foundation::HANDLE) -> i32181 pub fn RestoreMonitorFactoryDefaults(hmonitor: super::super::Foundation::HANDLE) -> i32; 182 #[cfg(feature = "Win32_Foundation")] STROBJ_bEnum(pstro: *mut STROBJ, pc: *mut u32, ppgpos: *mut *mut GLYPHPOS) -> super::super::Foundation::BOOL183 pub fn STROBJ_bEnum(pstro: *mut STROBJ, pc: *mut u32, ppgpos: *mut *mut GLYPHPOS) -> super::super::Foundation::BOOL; 184 #[cfg(feature = "Win32_Foundation")] STROBJ_bEnumPositionsOnly(pstro: *mut STROBJ, pc: *mut u32, ppgpos: *mut *mut GLYPHPOS) -> super::super::Foundation::BOOL185 pub fn STROBJ_bEnumPositionsOnly(pstro: *mut STROBJ, pc: *mut u32, ppgpos: *mut *mut GLYPHPOS) -> super::super::Foundation::BOOL; 186 #[cfg(feature = "Win32_Foundation")] STROBJ_bGetAdvanceWidths(pso: *mut STROBJ, ifirst: u32, c: u32, pptqd: *mut POINTQF) -> super::super::Foundation::BOOL187 pub fn STROBJ_bGetAdvanceWidths(pso: *mut STROBJ, ifirst: u32, c: u32, pptqd: *mut POINTQF) -> super::super::Foundation::BOOL; 188 #[cfg(feature = "Win32_Foundation")] STROBJ_dwGetCodePage(pstro: *mut STROBJ) -> u32189 pub fn STROBJ_dwGetCodePage(pstro: *mut STROBJ) -> u32; 190 #[cfg(feature = "Win32_Foundation")] STROBJ_vEnumStart(pstro: *mut STROBJ)191 pub fn STROBJ_vEnumStart(pstro: *mut STROBJ); 192 #[cfg(feature = "Win32_Foundation")] SaveCurrentMonitorSettings(hmonitor: super::super::Foundation::HANDLE) -> i32193 pub fn SaveCurrentMonitorSettings(hmonitor: super::super::Foundation::HANDLE) -> i32; 194 #[cfg(feature = "Win32_Foundation")] SaveCurrentSettings(hmonitor: super::super::Foundation::HANDLE) -> i32195 pub fn SaveCurrentSettings(hmonitor: super::super::Foundation::HANDLE) -> i32; 196 #[cfg(feature = "Win32_Foundation")] SetDisplayAutoRotationPreferences(orientation: ORIENTATION_PREFERENCE) -> super::super::Foundation::BOOL197 pub fn SetDisplayAutoRotationPreferences(orientation: ORIENTATION_PREFERENCE) -> super::super::Foundation::BOOL; 198 #[cfg(feature = "Win32_Foundation")] SetDisplayConfig(numpatharrayelements: u32, patharray: *const DISPLAYCONFIG_PATH_INFO, nummodeinfoarrayelements: u32, modeinfoarray: *const DISPLAYCONFIG_MODE_INFO, flags: u32) -> i32199 pub fn SetDisplayConfig(numpatharrayelements: u32, patharray: *const DISPLAYCONFIG_PATH_INFO, nummodeinfoarrayelements: u32, modeinfoarray: *const DISPLAYCONFIG_MODE_INFO, flags: u32) -> i32; 200 #[cfg(feature = "Win32_Foundation")] SetMonitorBrightness(hmonitor: super::super::Foundation::HANDLE, dwnewbrightness: u32) -> i32201 pub fn SetMonitorBrightness(hmonitor: super::super::Foundation::HANDLE, dwnewbrightness: u32) -> i32; 202 #[cfg(feature = "Win32_Foundation")] SetMonitorColorTemperature(hmonitor: super::super::Foundation::HANDLE, ctcurrentcolortemperature: MC_COLOR_TEMPERATURE) -> i32203 pub fn SetMonitorColorTemperature(hmonitor: super::super::Foundation::HANDLE, ctcurrentcolortemperature: MC_COLOR_TEMPERATURE) -> i32; 204 #[cfg(feature = "Win32_Foundation")] SetMonitorContrast(hmonitor: super::super::Foundation::HANDLE, dwnewcontrast: u32) -> i32205 pub fn SetMonitorContrast(hmonitor: super::super::Foundation::HANDLE, dwnewcontrast: u32) -> i32; 206 #[cfg(feature = "Win32_Foundation")] SetMonitorDisplayAreaPosition(hmonitor: super::super::Foundation::HANDLE, ptpositiontype: MC_POSITION_TYPE, dwnewposition: u32) -> i32207 pub fn SetMonitorDisplayAreaPosition(hmonitor: super::super::Foundation::HANDLE, ptpositiontype: MC_POSITION_TYPE, dwnewposition: u32) -> i32; 208 #[cfg(feature = "Win32_Foundation")] SetMonitorDisplayAreaSize(hmonitor: super::super::Foundation::HANDLE, stsizetype: MC_SIZE_TYPE, dwnewdisplayareawidthorheight: u32) -> i32209 pub fn SetMonitorDisplayAreaSize(hmonitor: super::super::Foundation::HANDLE, stsizetype: MC_SIZE_TYPE, dwnewdisplayareawidthorheight: u32) -> i32; 210 #[cfg(feature = "Win32_Foundation")] SetMonitorRedGreenOrBlueDrive(hmonitor: super::super::Foundation::HANDLE, dtdrivetype: MC_DRIVE_TYPE, dwnewdrive: u32) -> i32211 pub fn SetMonitorRedGreenOrBlueDrive(hmonitor: super::super::Foundation::HANDLE, dtdrivetype: MC_DRIVE_TYPE, dwnewdrive: u32) -> i32; 212 #[cfg(feature = "Win32_Foundation")] SetMonitorRedGreenOrBlueGain(hmonitor: super::super::Foundation::HANDLE, gtgaintype: MC_GAIN_TYPE, dwnewgain: u32) -> i32213 pub fn SetMonitorRedGreenOrBlueGain(hmonitor: super::super::Foundation::HANDLE, gtgaintype: MC_GAIN_TYPE, dwnewgain: u32) -> i32; 214 #[cfg(feature = "Win32_Foundation")] SetVCPFeature(hmonitor: super::super::Foundation::HANDLE, bvcpcode: u8, dwnewvalue: u32) -> i32215 pub fn SetVCPFeature(hmonitor: super::super::Foundation::HANDLE, bvcpcode: u8, dwnewvalue: u32) -> i32; 216 #[cfg(feature = "Win32_Foundation")] XFORMOBJ_bApplyXform(pxo: *mut XFORMOBJ, imode: u32, cpoints: u32, pvin: *mut ::core::ffi::c_void, pvout: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL217 pub fn XFORMOBJ_bApplyXform(pxo: *mut XFORMOBJ, imode: u32, cpoints: u32, pvin: *mut ::core::ffi::c_void, pvout: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; XFORMOBJ_iGetXform(pxo: *const XFORMOBJ, pxform: *mut XFORML) -> u32218 pub fn XFORMOBJ_iGetXform(pxo: *const XFORMOBJ, pxform: *mut XFORML) -> u32; XLATEOBJ_cGetPalette(pxlo: *mut XLATEOBJ, ipal: u32, cpal: u32, ppal: *mut u32) -> u32219 pub fn XLATEOBJ_cGetPalette(pxlo: *mut XLATEOBJ, ipal: u32, cpal: u32, ppal: *mut u32) -> u32; 220 #[cfg(feature = "Win32_Foundation")] XLATEOBJ_hGetColorTransform(pxlo: *mut XLATEOBJ) -> super::super::Foundation::HANDLE221 pub fn XLATEOBJ_hGetColorTransform(pxlo: *mut XLATEOBJ) -> super::super::Foundation::HANDLE; XLATEOBJ_iXlate(pxlo: *mut XLATEOBJ, icolor: u32) -> u32222 pub fn XLATEOBJ_iXlate(pxlo: *mut XLATEOBJ, icolor: u32) -> u32; XLATEOBJ_piVector(pxlo: *mut XLATEOBJ) -> *mut u32223 pub fn XLATEOBJ_piVector(pxlo: *mut XLATEOBJ) -> *mut u32; 224 } 225 pub type AR_STATE = i32; 226 pub const AR_ENABLED: AR_STATE = 0i32; 227 pub const AR_DISABLED: AR_STATE = 1i32; 228 pub const AR_SUPPRESSED: AR_STATE = 2i32; 229 pub const AR_REMOTESESSION: AR_STATE = 4i32; 230 pub const AR_MULTIMON: AR_STATE = 8i32; 231 pub const AR_NOSENSOR: AR_STATE = 16i32; 232 pub const AR_NOT_SUPPORTED: AR_STATE = 32i32; 233 pub const AR_DOCKED: AR_STATE = 64i32; 234 pub const AR_LAPTOP: AR_STATE = 128i32; 235 #[repr(C)] 236 pub struct Adapter { 237 pub AdapterName: [u16; 128], 238 pub numSources: i32, 239 pub sources: [Sources; 1], 240 } 241 impl ::core::marker::Copy for Adapter {} 242 impl ::core::clone::Clone for Adapter { clone(&self) -> Self243 fn clone(&self) -> Self { 244 *self 245 } 246 } 247 #[repr(C)] 248 pub struct Adapters { 249 pub numAdapters: i32, 250 pub adapter: [Adapter; 1], 251 } 252 impl ::core::marker::Copy for Adapters {} 253 impl ::core::clone::Clone for Adapters { clone(&self) -> Self254 fn clone(&self) -> Self { 255 *self 256 } 257 } 258 pub type BACKLIGHT_OPTIMIZATION_LEVEL = i32; 259 pub const BacklightOptimizationDisable: BACKLIGHT_OPTIMIZATION_LEVEL = 0i32; 260 pub const BacklightOptimizationDesktop: BACKLIGHT_OPTIMIZATION_LEVEL = 1i32; 261 pub const BacklightOptimizationDynamic: BACKLIGHT_OPTIMIZATION_LEVEL = 2i32; 262 pub const BacklightOptimizationDimmed: BACKLIGHT_OPTIMIZATION_LEVEL = 3i32; 263 pub const BacklightOptimizationEDR: BACKLIGHT_OPTIMIZATION_LEVEL = 4i32; 264 #[repr(C)] 265 pub struct BACKLIGHT_REDUCTION_GAMMA_RAMP { 266 pub R: [u16; 256], 267 pub G: [u16; 256], 268 pub B: [u16; 256], 269 } 270 impl ::core::marker::Copy for BACKLIGHT_REDUCTION_GAMMA_RAMP {} 271 impl ::core::clone::Clone for BACKLIGHT_REDUCTION_GAMMA_RAMP { clone(&self) -> Self272 fn clone(&self) -> Self { 273 *self 274 } 275 } 276 #[repr(C)] 277 pub struct BANK_POSITION { 278 pub ReadBankPosition: u32, 279 pub WriteBankPosition: u32, 280 } 281 impl ::core::marker::Copy for BANK_POSITION {} 282 impl ::core::clone::Clone for BANK_POSITION { clone(&self) -> Self283 fn clone(&self) -> Self { 284 *self 285 } 286 } 287 pub const BITMAP_ARRAY_BYTE: u32 = 3u32; 288 pub const BITMAP_BITS_BYTE_ALIGN: u32 = 8u32; 289 pub const BITMAP_BITS_PIXEL: u32 = 1u32; 290 pub const BITMAP_BITS_WORD_ALIGN: u32 = 16u32; 291 pub const BITMAP_PLANES: u32 = 1u32; 292 #[repr(C)] 293 #[cfg(feature = "Win32_Graphics_Gdi")] 294 pub struct BLENDOBJ { 295 pub BlendFunction: super::super::Graphics::Gdi::BLENDFUNCTION, 296 } 297 #[cfg(feature = "Win32_Graphics_Gdi")] 298 impl ::core::marker::Copy for BLENDOBJ {} 299 #[cfg(feature = "Win32_Graphics_Gdi")] 300 impl ::core::clone::Clone for BLENDOBJ { clone(&self) -> Self301 fn clone(&self) -> Self { 302 *self 303 } 304 } 305 pub const BMF_16BPP: i32 = 4i32; 306 pub const BMF_1BPP: i32 = 1i32; 307 pub const BMF_24BPP: i32 = 5i32; 308 pub const BMF_32BPP: i32 = 6i32; 309 pub const BMF_4BPP: i32 = 2i32; 310 pub const BMF_4RLE: i32 = 7i32; 311 pub const BMF_8BPP: i32 = 3i32; 312 pub const BMF_8RLE: i32 = 8i32; 313 pub const BMF_ACC_NOTIFY: u32 = 32768u32; 314 pub const BMF_DONTCACHE: u32 = 4u32; 315 pub const BMF_JPEG: i32 = 9i32; 316 pub const BMF_KMSECTION: u32 = 16u32; 317 pub const BMF_NOTSYSMEM: u32 = 32u32; 318 pub const BMF_NOZEROINIT: u32 = 2u32; 319 pub const BMF_PNG: i32 = 10i32; 320 pub const BMF_RESERVED: u32 = 15872u32; 321 pub const BMF_RMT_ENTER: u32 = 16384u32; 322 pub const BMF_TEMP_ALPHA: u32 = 256u32; 323 pub const BMF_TOPDOWN: u32 = 1u32; 324 pub const BMF_UMPDMEM: u32 = 128u32; 325 pub const BMF_USERMEM: u32 = 8u32; 326 pub const BMF_WINDOW_BLT: u32 = 64u32; 327 pub type BRIGHTNESS_INTERFACE_VERSION = i32; 328 pub const BRIGHTNESS_INTERFACE_VERSION_1: BRIGHTNESS_INTERFACE_VERSION = 1i32; 329 pub const BRIGHTNESS_INTERFACE_VERSION_2: BRIGHTNESS_INTERFACE_VERSION = 2i32; 330 pub const BRIGHTNESS_INTERFACE_VERSION_3: BRIGHTNESS_INTERFACE_VERSION = 3i32; 331 #[repr(C)] 332 pub struct BRIGHTNESS_LEVEL { 333 pub Count: u8, 334 pub Level: [u8; 103], 335 } 336 impl ::core::marker::Copy for BRIGHTNESS_LEVEL {} 337 impl ::core::clone::Clone for BRIGHTNESS_LEVEL { clone(&self) -> Self338 fn clone(&self) -> Self { 339 *self 340 } 341 } 342 pub const BRIGHTNESS_MAX_LEVEL_COUNT: u32 = 103u32; 343 pub const BRIGHTNESS_MAX_NIT_RANGE_COUNT: u32 = 16u32; 344 #[repr(C)] 345 pub struct BRIGHTNESS_NIT_RANGE { 346 pub MinLevelInMillinit: u32, 347 pub MaxLevelInMillinit: u32, 348 pub StepSizeInMillinit: u32, 349 } 350 impl ::core::marker::Copy for BRIGHTNESS_NIT_RANGE {} 351 impl ::core::clone::Clone for BRIGHTNESS_NIT_RANGE { clone(&self) -> Self352 fn clone(&self) -> Self { 353 *self 354 } 355 } 356 #[repr(C)] 357 pub struct BRIGHTNESS_NIT_RANGES { 358 pub NormalRangeCount: u32, 359 pub RangeCount: u32, 360 pub PreferredMaximumBrightness: u32, 361 pub SupportedRanges: [BRIGHTNESS_NIT_RANGE; 16], 362 } 363 impl ::core::marker::Copy for BRIGHTNESS_NIT_RANGES {} 364 impl ::core::clone::Clone for BRIGHTNESS_NIT_RANGES { clone(&self) -> Self365 fn clone(&self) -> Self { 366 *self 367 } 368 } 369 #[repr(C)] 370 pub struct BRUSHOBJ { 371 pub iSolidColor: u32, 372 pub pvRbrush: *mut ::core::ffi::c_void, 373 pub flColorType: u32, 374 } 375 impl ::core::marker::Copy for BRUSHOBJ {} 376 impl ::core::clone::Clone for BRUSHOBJ { clone(&self) -> Self377 fn clone(&self) -> Self { 378 *self 379 } 380 } 381 pub const BR_CMYKCOLOR: u32 = 4u32; 382 pub const BR_DEVICE_ICM: u32 = 1u32; 383 pub const BR_HOST_ICM: u32 = 2u32; 384 pub const BR_ORIGCOLOR: u32 = 8u32; 385 pub type BlackScreenDiagnosticsCalloutParam = i32; 386 pub const BlackScreenDiagnosticsData: BlackScreenDiagnosticsCalloutParam = 1i32; 387 pub const BlackScreenDisplayRecovery: BlackScreenDiagnosticsCalloutParam = 2i32; 388 pub const CDBEX_CROSSADAPTER: u32 = 8u32; 389 pub const CDBEX_DXINTEROP: u32 = 2u32; 390 pub const CDBEX_NTSHAREDSURFACEHANDLE: u32 = 4u32; 391 pub const CDBEX_REDIRECTION: u32 = 1u32; 392 pub const CDBEX_REUSE: u32 = 16u32; 393 #[repr(C)] 394 #[cfg(feature = "Win32_Foundation")] 395 pub struct CDDDXGK_REDIRBITMAPPRESENTINFO { 396 pub NumDirtyRects: u32, 397 pub DirtyRect: *mut super::super::Foundation::RECT, 398 pub NumContexts: u32, 399 pub hContext: [super::super::Foundation::HANDLE; 65], 400 pub bDoNotSynchronizeWithDxContent: super::super::Foundation::BOOLEAN, 401 } 402 #[cfg(feature = "Win32_Foundation")] 403 impl ::core::marker::Copy for CDDDXGK_REDIRBITMAPPRESENTINFO {} 404 #[cfg(feature = "Win32_Foundation")] 405 impl ::core::clone::Clone for CDDDXGK_REDIRBITMAPPRESENTINFO { clone(&self) -> Self406 fn clone(&self) -> Self { 407 *self 408 } 409 } 410 pub const CD_ANY: i32 = 4i32; 411 pub const CD_LEFTDOWN: i32 = 1i32; 412 pub const CD_LEFTUP: i32 = 3i32; 413 pub const CD_LEFTWARDS: i32 = 1i32; 414 pub const CD_RIGHTDOWN: i32 = 0i32; 415 pub const CD_RIGHTUP: i32 = 2i32; 416 pub const CD_UPWARDS: i32 = 2i32; 417 #[repr(C)] 418 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Console"))] 419 pub struct CHAR_IMAGE_INFO { 420 pub CharInfo: super::super::System::Console::CHAR_INFO, 421 pub FontImageInfo: FONT_IMAGE_INFO, 422 } 423 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Console"))] 424 impl ::core::marker::Copy for CHAR_IMAGE_INFO {} 425 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Console"))] 426 impl ::core::clone::Clone for CHAR_IMAGE_INFO { clone(&self) -> Self427 fn clone(&self) -> Self { 428 *self 429 } 430 } 431 pub const CHAR_TYPE_LEADING: u32 = 2u32; 432 pub const CHAR_TYPE_SBCS: u32 = 0u32; 433 pub const CHAR_TYPE_TRAILING: u32 = 3u32; 434 #[repr(C)] 435 pub struct CHROMATICITY_COORDINATE { 436 pub x: f32, 437 pub y: f32, 438 } 439 impl ::core::marker::Copy for CHROMATICITY_COORDINATE {} 440 impl ::core::clone::Clone for CHROMATICITY_COORDINATE { clone(&self) -> Self441 fn clone(&self) -> Self { 442 *self 443 } 444 } 445 #[repr(C)] 446 pub struct CIECHROMA { 447 pub x: i32, 448 pub y: i32, 449 pub Y: i32, 450 } 451 impl ::core::marker::Copy for CIECHROMA {} 452 impl ::core::clone::Clone for CIECHROMA { clone(&self) -> Self453 fn clone(&self) -> Self { 454 *self 455 } 456 } 457 #[repr(C)] 458 pub struct CLIPLINE { 459 pub ptfxA: POINTFIX, 460 pub ptfxB: POINTFIX, 461 pub lStyleState: i32, 462 pub c: u32, 463 pub arun: [RUN; 1], 464 } 465 impl ::core::marker::Copy for CLIPLINE {} 466 impl ::core::clone::Clone for CLIPLINE { clone(&self) -> Self467 fn clone(&self) -> Self { 468 *self 469 } 470 } 471 #[repr(C)] 472 #[cfg(feature = "Win32_Foundation")] 473 pub struct CLIPOBJ { 474 pub iUniq: u32, 475 pub rclBounds: super::super::Foundation::RECTL, 476 pub iDComplexity: u8, 477 pub iFComplexity: u8, 478 pub iMode: u8, 479 pub fjOptions: u8, 480 } 481 #[cfg(feature = "Win32_Foundation")] 482 impl ::core::marker::Copy for CLIPOBJ {} 483 #[cfg(feature = "Win32_Foundation")] 484 impl ::core::clone::Clone for CLIPOBJ { clone(&self) -> Self485 fn clone(&self) -> Self { 486 *self 487 } 488 } 489 #[repr(C)] 490 pub struct COLORINFO { 491 pub Red: CIECHROMA, 492 pub Green: CIECHROMA, 493 pub Blue: CIECHROMA, 494 pub Cyan: CIECHROMA, 495 pub Magenta: CIECHROMA, 496 pub Yellow: CIECHROMA, 497 pub AlignmentWhite: CIECHROMA, 498 pub RedGamma: i32, 499 pub GreenGamma: i32, 500 pub BlueGamma: i32, 501 pub MagentaInCyanDye: i32, 502 pub YellowInCyanDye: i32, 503 pub CyanInMagentaDye: i32, 504 pub YellowInMagentaDye: i32, 505 pub CyanInYellowDye: i32, 506 pub MagentaInYellowDye: i32, 507 } 508 impl ::core::marker::Copy for COLORINFO {} 509 impl ::core::clone::Clone for COLORINFO { clone(&self) -> Self510 fn clone(&self) -> Self { 511 *self 512 } 513 } 514 #[repr(C)] 515 pub struct COLORSPACE_TRANSFORM { 516 pub Type: COLORSPACE_TRANSFORM_TYPE, 517 pub Data: COLORSPACE_TRANSFORM_0, 518 } 519 impl ::core::marker::Copy for COLORSPACE_TRANSFORM {} 520 impl ::core::clone::Clone for COLORSPACE_TRANSFORM { clone(&self) -> Self521 fn clone(&self) -> Self { 522 *self 523 } 524 } 525 #[repr(C)] 526 pub union COLORSPACE_TRANSFORM_0 { 527 pub Rgb256x3x16: GAMMA_RAMP_RGB256x3x16, 528 pub Dxgi1: GAMMA_RAMP_DXGI_1, 529 pub T3x4: COLORSPACE_TRANSFORM_3x4, 530 pub MatrixV2: COLORSPACE_TRANSFORM_MATRIX_V2, 531 } 532 impl ::core::marker::Copy for COLORSPACE_TRANSFORM_0 {} 533 impl ::core::clone::Clone for COLORSPACE_TRANSFORM_0 { clone(&self) -> Self534 fn clone(&self) -> Self { 535 *self 536 } 537 } 538 #[repr(C)] 539 pub struct COLORSPACE_TRANSFORM_1DLUT_CAP { 540 pub NumberOfLUTEntries: u32, 541 pub DataCap: COLORSPACE_TRANSFORM_DATA_CAP, 542 } 543 impl ::core::marker::Copy for COLORSPACE_TRANSFORM_1DLUT_CAP {} 544 impl ::core::clone::Clone for COLORSPACE_TRANSFORM_1DLUT_CAP { clone(&self) -> Self545 fn clone(&self) -> Self { 546 *self 547 } 548 } 549 #[repr(C)] 550 pub struct COLORSPACE_TRANSFORM_3x4 { 551 pub ColorMatrix3x4: [f32; 12], 552 pub ScalarMultiplier: f32, 553 pub LookupTable1D: [GAMMA_RAMP_RGB; 4096], 554 } 555 impl ::core::marker::Copy for COLORSPACE_TRANSFORM_3x4 {} 556 impl ::core::clone::Clone for COLORSPACE_TRANSFORM_3x4 { clone(&self) -> Self557 fn clone(&self) -> Self { 558 *self 559 } 560 } 561 #[repr(C)] 562 pub struct COLORSPACE_TRANSFORM_DATA_CAP { 563 pub DataType: COLORSPACE_TRANSFORM_DATA_TYPE, 564 pub Anonymous: COLORSPACE_TRANSFORM_DATA_CAP_0, 565 pub NumericRangeMin: f32, 566 pub NumericRangeMax: f32, 567 } 568 impl ::core::marker::Copy for COLORSPACE_TRANSFORM_DATA_CAP {} 569 impl ::core::clone::Clone for COLORSPACE_TRANSFORM_DATA_CAP { clone(&self) -> Self570 fn clone(&self) -> Self { 571 *self 572 } 573 } 574 #[repr(C)] 575 pub union COLORSPACE_TRANSFORM_DATA_CAP_0 { 576 pub Anonymous1: COLORSPACE_TRANSFORM_DATA_CAP_0_0, 577 pub Anonymous2: COLORSPACE_TRANSFORM_DATA_CAP_0_1, 578 pub Value: u32, 579 } 580 impl ::core::marker::Copy for COLORSPACE_TRANSFORM_DATA_CAP_0 {} 581 impl ::core::clone::Clone for COLORSPACE_TRANSFORM_DATA_CAP_0 { clone(&self) -> Self582 fn clone(&self) -> Self { 583 *self 584 } 585 } 586 #[repr(C)] 587 pub struct COLORSPACE_TRANSFORM_DATA_CAP_0_0 { 588 pub _bitfield: u32, 589 } 590 impl ::core::marker::Copy for COLORSPACE_TRANSFORM_DATA_CAP_0_0 {} 591 impl ::core::clone::Clone for COLORSPACE_TRANSFORM_DATA_CAP_0_0 { clone(&self) -> Self592 fn clone(&self) -> Self { 593 *self 594 } 595 } 596 #[repr(C)] 597 pub struct COLORSPACE_TRANSFORM_DATA_CAP_0_1 { 598 pub _bitfield: u32, 599 } 600 impl ::core::marker::Copy for COLORSPACE_TRANSFORM_DATA_CAP_0_1 {} 601 impl ::core::clone::Clone for COLORSPACE_TRANSFORM_DATA_CAP_0_1 { clone(&self) -> Self602 fn clone(&self) -> Self { 603 *self 604 } 605 } 606 pub type COLORSPACE_TRANSFORM_DATA_TYPE = i32; 607 pub const COLORSPACE_TRANSFORM_DATA_TYPE_FIXED_POINT: COLORSPACE_TRANSFORM_DATA_TYPE = 0i32; 608 pub const COLORSPACE_TRANSFORM_DATA_TYPE_FLOAT: COLORSPACE_TRANSFORM_DATA_TYPE = 1i32; 609 #[repr(C)] 610 pub struct COLORSPACE_TRANSFORM_MATRIX_CAP { 611 pub Anonymous: COLORSPACE_TRANSFORM_MATRIX_CAP_0, 612 pub DataCap: COLORSPACE_TRANSFORM_DATA_CAP, 613 } 614 impl ::core::marker::Copy for COLORSPACE_TRANSFORM_MATRIX_CAP {} 615 impl ::core::clone::Clone for COLORSPACE_TRANSFORM_MATRIX_CAP { clone(&self) -> Self616 fn clone(&self) -> Self { 617 *self 618 } 619 } 620 #[repr(C)] 621 pub union COLORSPACE_TRANSFORM_MATRIX_CAP_0 { 622 pub Anonymous: COLORSPACE_TRANSFORM_MATRIX_CAP_0_0, 623 pub Value: u32, 624 } 625 impl ::core::marker::Copy for COLORSPACE_TRANSFORM_MATRIX_CAP_0 {} 626 impl ::core::clone::Clone for COLORSPACE_TRANSFORM_MATRIX_CAP_0 { clone(&self) -> Self627 fn clone(&self) -> Self { 628 *self 629 } 630 } 631 #[repr(C)] 632 pub struct COLORSPACE_TRANSFORM_MATRIX_CAP_0_0 { 633 pub _bitfield: u32, 634 } 635 impl ::core::marker::Copy for COLORSPACE_TRANSFORM_MATRIX_CAP_0_0 {} 636 impl ::core::clone::Clone for COLORSPACE_TRANSFORM_MATRIX_CAP_0_0 { clone(&self) -> Self637 fn clone(&self) -> Self { 638 *self 639 } 640 } 641 #[repr(C)] 642 pub struct COLORSPACE_TRANSFORM_MATRIX_V2 { 643 pub StageControlLookupTable1DDegamma: COLORSPACE_TRANSFORM_STAGE_CONTROL, 644 pub LookupTable1DDegamma: [GAMMA_RAMP_RGB; 4096], 645 pub StageControlColorMatrix3x3: COLORSPACE_TRANSFORM_STAGE_CONTROL, 646 pub ColorMatrix3x3: [f32; 9], 647 pub StageControlLookupTable1DRegamma: COLORSPACE_TRANSFORM_STAGE_CONTROL, 648 pub LookupTable1DRegamma: [GAMMA_RAMP_RGB; 4096], 649 } 650 impl ::core::marker::Copy for COLORSPACE_TRANSFORM_MATRIX_V2 {} 651 impl ::core::clone::Clone for COLORSPACE_TRANSFORM_MATRIX_V2 { clone(&self) -> Self652 fn clone(&self) -> Self { 653 *self 654 } 655 } 656 #[repr(C)] 657 pub struct COLORSPACE_TRANSFORM_SET_INPUT { 658 pub OutputWireColorSpaceExpected: OUTPUT_WIRE_COLOR_SPACE_TYPE, 659 pub OutputWireFormatExpected: OUTPUT_WIRE_FORMAT, 660 pub ColorSpaceTransform: COLORSPACE_TRANSFORM, 661 } 662 impl ::core::marker::Copy for COLORSPACE_TRANSFORM_SET_INPUT {} 663 impl ::core::clone::Clone for COLORSPACE_TRANSFORM_SET_INPUT { clone(&self) -> Self664 fn clone(&self) -> Self { 665 *self 666 } 667 } 668 pub type COLORSPACE_TRANSFORM_STAGE_CONTROL = i32; 669 pub const ColorSpaceTransformStageControl_No_Change: COLORSPACE_TRANSFORM_STAGE_CONTROL = 0i32; 670 pub const ColorSpaceTransformStageControl_Enable: COLORSPACE_TRANSFORM_STAGE_CONTROL = 1i32; 671 pub const ColorSpaceTransformStageControl_Bypass: COLORSPACE_TRANSFORM_STAGE_CONTROL = 2i32; 672 #[repr(C)] 673 pub struct COLORSPACE_TRANSFORM_TARGET_CAPS { 674 pub Version: COLORSPACE_TRANSFORM_TARGET_CAPS_VERSION, 675 pub LookupTable1DDegammaCap: COLORSPACE_TRANSFORM_1DLUT_CAP, 676 pub ColorMatrix3x3Cap: COLORSPACE_TRANSFORM_MATRIX_CAP, 677 pub LookupTable1DRegammaCap: COLORSPACE_TRANSFORM_1DLUT_CAP, 678 } 679 impl ::core::marker::Copy for COLORSPACE_TRANSFORM_TARGET_CAPS {} 680 impl ::core::clone::Clone for COLORSPACE_TRANSFORM_TARGET_CAPS { clone(&self) -> Self681 fn clone(&self) -> Self { 682 *self 683 } 684 } 685 pub type COLORSPACE_TRANSFORM_TARGET_CAPS_VERSION = i32; 686 pub const COLORSPACE_TRANSFORM_VERSION_DEFAULT: COLORSPACE_TRANSFORM_TARGET_CAPS_VERSION = 0i32; 687 pub const COLORSPACE_TRANSFORM_VERSION_1: COLORSPACE_TRANSFORM_TARGET_CAPS_VERSION = 1i32; 688 pub const COLORSPACE_TRANSFORM_VERSION_NOT_SUPPORTED: COLORSPACE_TRANSFORM_TARGET_CAPS_VERSION = 0i32; 689 pub type COLORSPACE_TRANSFORM_TYPE = i32; 690 pub const COLORSPACE_TRANSFORM_TYPE_UNINITIALIZED: COLORSPACE_TRANSFORM_TYPE = 0i32; 691 pub const COLORSPACE_TRANSFORM_TYPE_DEFAULT: COLORSPACE_TRANSFORM_TYPE = 1i32; 692 pub const COLORSPACE_TRANSFORM_TYPE_RGB256x3x16: COLORSPACE_TRANSFORM_TYPE = 2i32; 693 pub const COLORSPACE_TRANSFORM_TYPE_DXGI_1: COLORSPACE_TRANSFORM_TYPE = 3i32; 694 pub const COLORSPACE_TRANSFORM_TYPE_MATRIX_3x4: COLORSPACE_TRANSFORM_TYPE = 4i32; 695 pub const COLORSPACE_TRANSFORM_TYPE_MATRIX_V2: COLORSPACE_TRANSFORM_TYPE = 5i32; 696 pub const CT_RECTANGLES: i32 = 0i32; 697 pub const DCR_DRIVER: u32 = 1u32; 698 pub const DCR_HALFTONE: u32 = 2u32; 699 pub const DCR_SOLID: u32 = 0u32; 700 pub const DC_COMPLEX: u32 = 3u32; 701 pub const DC_RECT: u32 = 1u32; 702 pub const DC_TRIVIAL: u32 = 0u32; 703 pub const DDI_DRIVER_VERSION_NT4: u32 = 131072u32; 704 pub const DDI_DRIVER_VERSION_NT5: u32 = 196608u32; 705 pub const DDI_DRIVER_VERSION_NT5_01: u32 = 196864u32; 706 pub const DDI_DRIVER_VERSION_NT5_01_SP1: u32 = 196865u32; 707 pub const DDI_DRIVER_VERSION_SP3: u32 = 131075u32; 708 pub const DDI_ERROR: u32 = 4294967295u32; 709 #[repr(C)] 710 pub struct DEVHTADJDATA { 711 pub DeviceFlags: u32, 712 pub DeviceXDPI: u32, 713 pub DeviceYDPI: u32, 714 pub pDefHTInfo: *mut DEVHTINFO, 715 pub pAdjHTInfo: *mut DEVHTINFO, 716 } 717 impl ::core::marker::Copy for DEVHTADJDATA {} 718 impl ::core::clone::Clone for DEVHTADJDATA { clone(&self) -> Self719 fn clone(&self) -> Self { 720 *self 721 } 722 } 723 pub const DEVHTADJF_ADDITIVE_DEVICE: u32 = 2u32; 724 pub const DEVHTADJF_COLOR_DEVICE: u32 = 1u32; 725 #[repr(C)] 726 pub struct DEVHTINFO { 727 pub HTFlags: u32, 728 pub HTPatternSize: u32, 729 pub DevPelsDPI: u32, 730 pub ColorInfo: COLORINFO, 731 } 732 impl ::core::marker::Copy for DEVHTINFO {} 733 impl ::core::clone::Clone for DEVHTINFO { clone(&self) -> Self734 fn clone(&self) -> Self { 735 *self 736 } 737 } 738 #[repr(C)] 739 #[cfg(feature = "Win32_Graphics_Gdi")] 740 pub struct DEVINFO { 741 pub flGraphicsCaps: u32, 742 pub lfDefaultFont: super::super::Graphics::Gdi::LOGFONTW, 743 pub lfAnsiVarFont: super::super::Graphics::Gdi::LOGFONTW, 744 pub lfAnsiFixFont: super::super::Graphics::Gdi::LOGFONTW, 745 pub cFonts: u32, 746 pub iDitherFormat: u32, 747 pub cxDither: u16, 748 pub cyDither: u16, 749 pub hpalDefault: super::super::Graphics::Gdi::HPALETTE, 750 pub flGraphicsCaps2: u32, 751 } 752 #[cfg(feature = "Win32_Graphics_Gdi")] 753 impl ::core::marker::Copy for DEVINFO {} 754 #[cfg(feature = "Win32_Graphics_Gdi")] 755 impl ::core::clone::Clone for DEVINFO { clone(&self) -> Self756 fn clone(&self) -> Self { 757 *self 758 } 759 } 760 #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] 761 pub const DEVPKEY_Device_ActivityId: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { 762 fmtid: ::windows_sys::core::GUID { 763 data1: 3305783056, 764 data2: 43612, 765 data3: 16967, 766 data4: [184, 48, 214, 166, 248, 234, 163, 16], 767 }, 768 pid: 4u32, 769 }; 770 #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] 771 pub const DEVPKEY_Device_AdapterLuid: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { 772 fmtid: ::windows_sys::core::GUID { 773 data1: 3305783056, 774 data2: 43612, 775 data3: 16967, 776 data4: [184, 48, 214, 166, 248, 234, 163, 16], 777 }, 778 pid: 3u32, 779 }; 780 #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] 781 pub const DEVPKEY_Device_TerminalLuid: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { 782 fmtid: ::windows_sys::core::GUID { 783 data1: 3305783056, 784 data2: 43612, 785 data3: 16967, 786 data4: [184, 48, 214, 166, 248, 234, 163, 16], 787 }, 788 pid: 2u32, 789 }; 790 #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] 791 pub const DEVPKEY_IndirectDisplay: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { 792 fmtid: ::windows_sys::core::GUID { 793 data1: 3305783056, 794 data2: 43612, 795 data3: 16967, 796 data4: [184, 48, 214, 166, 248, 234, 163, 16], 797 }, 798 pid: 1u32, 799 }; 800 pub type DHPDEV = isize; 801 pub type DHSURF = isize; 802 #[repr(C)] 803 pub struct DISPLAYCONFIG_2DREGION { 804 pub cx: u32, 805 pub cy: u32, 806 } 807 impl ::core::marker::Copy for DISPLAYCONFIG_2DREGION {} 808 impl ::core::clone::Clone for DISPLAYCONFIG_2DREGION { clone(&self) -> Self809 fn clone(&self) -> Self { 810 *self 811 } 812 } 813 #[repr(C)] 814 #[cfg(feature = "Win32_Foundation")] 815 pub struct DISPLAYCONFIG_ADAPTER_NAME { 816 pub header: DISPLAYCONFIG_DEVICE_INFO_HEADER, 817 pub adapterDevicePath: [u16; 128], 818 } 819 #[cfg(feature = "Win32_Foundation")] 820 impl ::core::marker::Copy for DISPLAYCONFIG_ADAPTER_NAME {} 821 #[cfg(feature = "Win32_Foundation")] 822 impl ::core::clone::Clone for DISPLAYCONFIG_ADAPTER_NAME { clone(&self) -> Self823 fn clone(&self) -> Self { 824 *self 825 } 826 } 827 #[repr(C)] 828 #[cfg(feature = "Win32_Foundation")] 829 pub struct DISPLAYCONFIG_DESKTOP_IMAGE_INFO { 830 pub PathSourceSize: super::super::Foundation::POINTL, 831 pub DesktopImageRegion: super::super::Foundation::RECTL, 832 pub DesktopImageClip: super::super::Foundation::RECTL, 833 } 834 #[cfg(feature = "Win32_Foundation")] 835 impl ::core::marker::Copy for DISPLAYCONFIG_DESKTOP_IMAGE_INFO {} 836 #[cfg(feature = "Win32_Foundation")] 837 impl ::core::clone::Clone for DISPLAYCONFIG_DESKTOP_IMAGE_INFO { clone(&self) -> Self838 fn clone(&self) -> Self { 839 *self 840 } 841 } 842 #[repr(C)] 843 #[cfg(feature = "Win32_Foundation")] 844 pub struct DISPLAYCONFIG_DEVICE_INFO_HEADER { 845 pub r#type: DISPLAYCONFIG_DEVICE_INFO_TYPE, 846 pub size: u32, 847 pub adapterId: super::super::Foundation::LUID, 848 pub id: u32, 849 } 850 #[cfg(feature = "Win32_Foundation")] 851 impl ::core::marker::Copy for DISPLAYCONFIG_DEVICE_INFO_HEADER {} 852 #[cfg(feature = "Win32_Foundation")] 853 impl ::core::clone::Clone for DISPLAYCONFIG_DEVICE_INFO_HEADER { clone(&self) -> Self854 fn clone(&self) -> Self { 855 *self 856 } 857 } 858 pub type DISPLAYCONFIG_DEVICE_INFO_TYPE = i32; 859 pub const DISPLAYCONFIG_DEVICE_INFO_GET_SOURCE_NAME: DISPLAYCONFIG_DEVICE_INFO_TYPE = 1i32; 860 pub const DISPLAYCONFIG_DEVICE_INFO_GET_TARGET_NAME: DISPLAYCONFIG_DEVICE_INFO_TYPE = 2i32; 861 pub const DISPLAYCONFIG_DEVICE_INFO_GET_TARGET_PREFERRED_MODE: DISPLAYCONFIG_DEVICE_INFO_TYPE = 3i32; 862 pub const DISPLAYCONFIG_DEVICE_INFO_GET_ADAPTER_NAME: DISPLAYCONFIG_DEVICE_INFO_TYPE = 4i32; 863 pub const DISPLAYCONFIG_DEVICE_INFO_SET_TARGET_PERSISTENCE: DISPLAYCONFIG_DEVICE_INFO_TYPE = 5i32; 864 pub const DISPLAYCONFIG_DEVICE_INFO_GET_TARGET_BASE_TYPE: DISPLAYCONFIG_DEVICE_INFO_TYPE = 6i32; 865 pub const DISPLAYCONFIG_DEVICE_INFO_GET_SUPPORT_VIRTUAL_RESOLUTION: DISPLAYCONFIG_DEVICE_INFO_TYPE = 7i32; 866 pub const DISPLAYCONFIG_DEVICE_INFO_SET_SUPPORT_VIRTUAL_RESOLUTION: DISPLAYCONFIG_DEVICE_INFO_TYPE = 8i32; 867 pub const DISPLAYCONFIG_DEVICE_INFO_GET_ADVANCED_COLOR_INFO: DISPLAYCONFIG_DEVICE_INFO_TYPE = 9i32; 868 pub const DISPLAYCONFIG_DEVICE_INFO_SET_ADVANCED_COLOR_STATE: DISPLAYCONFIG_DEVICE_INFO_TYPE = 10i32; 869 pub const DISPLAYCONFIG_DEVICE_INFO_GET_SDR_WHITE_LEVEL: DISPLAYCONFIG_DEVICE_INFO_TYPE = 11i32; 870 pub const DISPLAYCONFIG_DEVICE_INFO_GET_MONITOR_SPECIALIZATION: DISPLAYCONFIG_DEVICE_INFO_TYPE = 12i32; 871 pub const DISPLAYCONFIG_DEVICE_INFO_SET_MONITOR_SPECIALIZATION: DISPLAYCONFIG_DEVICE_INFO_TYPE = 13i32; 872 pub const DISPLAYCONFIG_DEVICE_INFO_FORCE_UINT32: DISPLAYCONFIG_DEVICE_INFO_TYPE = -1i32; 873 #[repr(C)] 874 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] 875 pub struct DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO { 876 pub header: DISPLAYCONFIG_DEVICE_INFO_HEADER, 877 pub Anonymous: DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0, 878 pub colorEncoding: super::super::Graphics::Gdi::DISPLAYCONFIG_COLOR_ENCODING, 879 pub bitsPerColorChannel: u32, 880 } 881 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] 882 impl ::core::marker::Copy for DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO {} 883 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] 884 impl ::core::clone::Clone for DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO { clone(&self) -> Self885 fn clone(&self) -> Self { 886 *self 887 } 888 } 889 #[repr(C)] 890 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] 891 pub union DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0 { 892 pub Anonymous: DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0_0, 893 pub value: u32, 894 } 895 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] 896 impl ::core::marker::Copy for DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0 {} 897 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] 898 impl ::core::clone::Clone for DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0 { clone(&self) -> Self899 fn clone(&self) -> Self { 900 *self 901 } 902 } 903 #[repr(C)] 904 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] 905 pub struct DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0_0 { 906 pub _bitfield: u32, 907 } 908 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] 909 impl ::core::marker::Copy for DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0_0 {} 910 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] 911 impl ::core::clone::Clone for DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0_0 { clone(&self) -> Self912 fn clone(&self) -> Self { 913 *self 914 } 915 } 916 #[repr(C)] 917 #[cfg(feature = "Win32_Foundation")] 918 pub struct DISPLAYCONFIG_GET_MONITOR_SPECIALIZATION { 919 pub header: DISPLAYCONFIG_DEVICE_INFO_HEADER, 920 pub Anonymous: DISPLAYCONFIG_GET_MONITOR_SPECIALIZATION_0, 921 } 922 #[cfg(feature = "Win32_Foundation")] 923 impl ::core::marker::Copy for DISPLAYCONFIG_GET_MONITOR_SPECIALIZATION {} 924 #[cfg(feature = "Win32_Foundation")] 925 impl ::core::clone::Clone for DISPLAYCONFIG_GET_MONITOR_SPECIALIZATION { clone(&self) -> Self926 fn clone(&self) -> Self { 927 *self 928 } 929 } 930 #[repr(C)] 931 #[cfg(feature = "Win32_Foundation")] 932 pub union DISPLAYCONFIG_GET_MONITOR_SPECIALIZATION_0 { 933 pub Anonymous: DISPLAYCONFIG_GET_MONITOR_SPECIALIZATION_0_0, 934 pub value: u32, 935 } 936 #[cfg(feature = "Win32_Foundation")] 937 impl ::core::marker::Copy for DISPLAYCONFIG_GET_MONITOR_SPECIALIZATION_0 {} 938 #[cfg(feature = "Win32_Foundation")] 939 impl ::core::clone::Clone for DISPLAYCONFIG_GET_MONITOR_SPECIALIZATION_0 { clone(&self) -> Self940 fn clone(&self) -> Self { 941 *self 942 } 943 } 944 #[repr(C)] 945 #[cfg(feature = "Win32_Foundation")] 946 pub struct DISPLAYCONFIG_GET_MONITOR_SPECIALIZATION_0_0 { 947 pub _bitfield: u32, 948 } 949 #[cfg(feature = "Win32_Foundation")] 950 impl ::core::marker::Copy for DISPLAYCONFIG_GET_MONITOR_SPECIALIZATION_0_0 {} 951 #[cfg(feature = "Win32_Foundation")] 952 impl ::core::clone::Clone for DISPLAYCONFIG_GET_MONITOR_SPECIALIZATION_0_0 { clone(&self) -> Self953 fn clone(&self) -> Self { 954 *self 955 } 956 } 957 #[repr(C)] 958 #[cfg(feature = "Win32_Foundation")] 959 pub struct DISPLAYCONFIG_MODE_INFO { 960 pub infoType: DISPLAYCONFIG_MODE_INFO_TYPE, 961 pub id: u32, 962 pub adapterId: super::super::Foundation::LUID, 963 pub Anonymous: DISPLAYCONFIG_MODE_INFO_0, 964 } 965 #[cfg(feature = "Win32_Foundation")] 966 impl ::core::marker::Copy for DISPLAYCONFIG_MODE_INFO {} 967 #[cfg(feature = "Win32_Foundation")] 968 impl ::core::clone::Clone for DISPLAYCONFIG_MODE_INFO { clone(&self) -> Self969 fn clone(&self) -> Self { 970 *self 971 } 972 } 973 #[repr(C)] 974 #[cfg(feature = "Win32_Foundation")] 975 pub union DISPLAYCONFIG_MODE_INFO_0 { 976 pub targetMode: DISPLAYCONFIG_TARGET_MODE, 977 pub sourceMode: DISPLAYCONFIG_SOURCE_MODE, 978 pub desktopImageInfo: DISPLAYCONFIG_DESKTOP_IMAGE_INFO, 979 } 980 #[cfg(feature = "Win32_Foundation")] 981 impl ::core::marker::Copy for DISPLAYCONFIG_MODE_INFO_0 {} 982 #[cfg(feature = "Win32_Foundation")] 983 impl ::core::clone::Clone for DISPLAYCONFIG_MODE_INFO_0 { clone(&self) -> Self984 fn clone(&self) -> Self { 985 *self 986 } 987 } 988 pub type DISPLAYCONFIG_MODE_INFO_TYPE = i32; 989 pub const DISPLAYCONFIG_MODE_INFO_TYPE_SOURCE: DISPLAYCONFIG_MODE_INFO_TYPE = 1i32; 990 pub const DISPLAYCONFIG_MODE_INFO_TYPE_TARGET: DISPLAYCONFIG_MODE_INFO_TYPE = 2i32; 991 pub const DISPLAYCONFIG_MODE_INFO_TYPE_DESKTOP_IMAGE: DISPLAYCONFIG_MODE_INFO_TYPE = 3i32; 992 pub const DISPLAYCONFIG_MODE_INFO_TYPE_FORCE_UINT32: DISPLAYCONFIG_MODE_INFO_TYPE = -1i32; 993 #[repr(C)] 994 #[cfg(feature = "Win32_Foundation")] 995 pub struct DISPLAYCONFIG_PATH_INFO { 996 pub sourceInfo: DISPLAYCONFIG_PATH_SOURCE_INFO, 997 pub targetInfo: DISPLAYCONFIG_PATH_TARGET_INFO, 998 pub flags: u32, 999 } 1000 #[cfg(feature = "Win32_Foundation")] 1001 impl ::core::marker::Copy for DISPLAYCONFIG_PATH_INFO {} 1002 #[cfg(feature = "Win32_Foundation")] 1003 impl ::core::clone::Clone for DISPLAYCONFIG_PATH_INFO { clone(&self) -> Self1004 fn clone(&self) -> Self { 1005 *self 1006 } 1007 } 1008 #[repr(C)] 1009 #[cfg(feature = "Win32_Foundation")] 1010 pub struct DISPLAYCONFIG_PATH_SOURCE_INFO { 1011 pub adapterId: super::super::Foundation::LUID, 1012 pub id: u32, 1013 pub Anonymous: DISPLAYCONFIG_PATH_SOURCE_INFO_0, 1014 pub statusFlags: u32, 1015 } 1016 #[cfg(feature = "Win32_Foundation")] 1017 impl ::core::marker::Copy for DISPLAYCONFIG_PATH_SOURCE_INFO {} 1018 #[cfg(feature = "Win32_Foundation")] 1019 impl ::core::clone::Clone for DISPLAYCONFIG_PATH_SOURCE_INFO { clone(&self) -> Self1020 fn clone(&self) -> Self { 1021 *self 1022 } 1023 } 1024 #[repr(C)] 1025 #[cfg(feature = "Win32_Foundation")] 1026 pub union DISPLAYCONFIG_PATH_SOURCE_INFO_0 { 1027 pub modeInfoIdx: u32, 1028 pub Anonymous: DISPLAYCONFIG_PATH_SOURCE_INFO_0_0, 1029 } 1030 #[cfg(feature = "Win32_Foundation")] 1031 impl ::core::marker::Copy for DISPLAYCONFIG_PATH_SOURCE_INFO_0 {} 1032 #[cfg(feature = "Win32_Foundation")] 1033 impl ::core::clone::Clone for DISPLAYCONFIG_PATH_SOURCE_INFO_0 { clone(&self) -> Self1034 fn clone(&self) -> Self { 1035 *self 1036 } 1037 } 1038 #[repr(C)] 1039 #[cfg(feature = "Win32_Foundation")] 1040 pub struct DISPLAYCONFIG_PATH_SOURCE_INFO_0_0 { 1041 pub _bitfield: u32, 1042 } 1043 #[cfg(feature = "Win32_Foundation")] 1044 impl ::core::marker::Copy for DISPLAYCONFIG_PATH_SOURCE_INFO_0_0 {} 1045 #[cfg(feature = "Win32_Foundation")] 1046 impl ::core::clone::Clone for DISPLAYCONFIG_PATH_SOURCE_INFO_0_0 { clone(&self) -> Self1047 fn clone(&self) -> Self { 1048 *self 1049 } 1050 } 1051 #[repr(C)] 1052 #[cfg(feature = "Win32_Foundation")] 1053 pub struct DISPLAYCONFIG_PATH_TARGET_INFO { 1054 pub adapterId: super::super::Foundation::LUID, 1055 pub id: u32, 1056 pub Anonymous: DISPLAYCONFIG_PATH_TARGET_INFO_0, 1057 pub outputTechnology: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY, 1058 pub rotation: DISPLAYCONFIG_ROTATION, 1059 pub scaling: DISPLAYCONFIG_SCALING, 1060 pub refreshRate: DISPLAYCONFIG_RATIONAL, 1061 pub scanLineOrdering: DISPLAYCONFIG_SCANLINE_ORDERING, 1062 pub targetAvailable: super::super::Foundation::BOOL, 1063 pub statusFlags: u32, 1064 } 1065 #[cfg(feature = "Win32_Foundation")] 1066 impl ::core::marker::Copy for DISPLAYCONFIG_PATH_TARGET_INFO {} 1067 #[cfg(feature = "Win32_Foundation")] 1068 impl ::core::clone::Clone for DISPLAYCONFIG_PATH_TARGET_INFO { clone(&self) -> Self1069 fn clone(&self) -> Self { 1070 *self 1071 } 1072 } 1073 #[repr(C)] 1074 #[cfg(feature = "Win32_Foundation")] 1075 pub union DISPLAYCONFIG_PATH_TARGET_INFO_0 { 1076 pub modeInfoIdx: u32, 1077 pub Anonymous: DISPLAYCONFIG_PATH_TARGET_INFO_0_0, 1078 } 1079 #[cfg(feature = "Win32_Foundation")] 1080 impl ::core::marker::Copy for DISPLAYCONFIG_PATH_TARGET_INFO_0 {} 1081 #[cfg(feature = "Win32_Foundation")] 1082 impl ::core::clone::Clone for DISPLAYCONFIG_PATH_TARGET_INFO_0 { clone(&self) -> Self1083 fn clone(&self) -> Self { 1084 *self 1085 } 1086 } 1087 #[repr(C)] 1088 #[cfg(feature = "Win32_Foundation")] 1089 pub struct DISPLAYCONFIG_PATH_TARGET_INFO_0_0 { 1090 pub _bitfield: u32, 1091 } 1092 #[cfg(feature = "Win32_Foundation")] 1093 impl ::core::marker::Copy for DISPLAYCONFIG_PATH_TARGET_INFO_0_0 {} 1094 #[cfg(feature = "Win32_Foundation")] 1095 impl ::core::clone::Clone for DISPLAYCONFIG_PATH_TARGET_INFO_0_0 { clone(&self) -> Self1096 fn clone(&self) -> Self { 1097 *self 1098 } 1099 } 1100 pub type DISPLAYCONFIG_PIXELFORMAT = i32; 1101 pub const DISPLAYCONFIG_PIXELFORMAT_8BPP: DISPLAYCONFIG_PIXELFORMAT = 1i32; 1102 pub const DISPLAYCONFIG_PIXELFORMAT_16BPP: DISPLAYCONFIG_PIXELFORMAT = 2i32; 1103 pub const DISPLAYCONFIG_PIXELFORMAT_24BPP: DISPLAYCONFIG_PIXELFORMAT = 3i32; 1104 pub const DISPLAYCONFIG_PIXELFORMAT_32BPP: DISPLAYCONFIG_PIXELFORMAT = 4i32; 1105 pub const DISPLAYCONFIG_PIXELFORMAT_NONGDI: DISPLAYCONFIG_PIXELFORMAT = 5i32; 1106 pub const DISPLAYCONFIG_PIXELFORMAT_FORCE_UINT32: DISPLAYCONFIG_PIXELFORMAT = -1i32; 1107 #[repr(C)] 1108 pub struct DISPLAYCONFIG_RATIONAL { 1109 pub Numerator: u32, 1110 pub Denominator: u32, 1111 } 1112 impl ::core::marker::Copy for DISPLAYCONFIG_RATIONAL {} 1113 impl ::core::clone::Clone for DISPLAYCONFIG_RATIONAL { clone(&self) -> Self1114 fn clone(&self) -> Self { 1115 *self 1116 } 1117 } 1118 pub type DISPLAYCONFIG_ROTATION = i32; 1119 pub const DISPLAYCONFIG_ROTATION_IDENTITY: DISPLAYCONFIG_ROTATION = 1i32; 1120 pub const DISPLAYCONFIG_ROTATION_ROTATE90: DISPLAYCONFIG_ROTATION = 2i32; 1121 pub const DISPLAYCONFIG_ROTATION_ROTATE180: DISPLAYCONFIG_ROTATION = 3i32; 1122 pub const DISPLAYCONFIG_ROTATION_ROTATE270: DISPLAYCONFIG_ROTATION = 4i32; 1123 pub const DISPLAYCONFIG_ROTATION_FORCE_UINT32: DISPLAYCONFIG_ROTATION = -1i32; 1124 pub type DISPLAYCONFIG_SCALING = i32; 1125 pub const DISPLAYCONFIG_SCALING_IDENTITY: DISPLAYCONFIG_SCALING = 1i32; 1126 pub const DISPLAYCONFIG_SCALING_CENTERED: DISPLAYCONFIG_SCALING = 2i32; 1127 pub const DISPLAYCONFIG_SCALING_STRETCHED: DISPLAYCONFIG_SCALING = 3i32; 1128 pub const DISPLAYCONFIG_SCALING_ASPECTRATIOCENTEREDMAX: DISPLAYCONFIG_SCALING = 4i32; 1129 pub const DISPLAYCONFIG_SCALING_CUSTOM: DISPLAYCONFIG_SCALING = 5i32; 1130 pub const DISPLAYCONFIG_SCALING_PREFERRED: DISPLAYCONFIG_SCALING = 128i32; 1131 pub const DISPLAYCONFIG_SCALING_FORCE_UINT32: DISPLAYCONFIG_SCALING = -1i32; 1132 pub type DISPLAYCONFIG_SCANLINE_ORDERING = i32; 1133 pub const DISPLAYCONFIG_SCANLINE_ORDERING_UNSPECIFIED: DISPLAYCONFIG_SCANLINE_ORDERING = 0i32; 1134 pub const DISPLAYCONFIG_SCANLINE_ORDERING_PROGRESSIVE: DISPLAYCONFIG_SCANLINE_ORDERING = 1i32; 1135 pub const DISPLAYCONFIG_SCANLINE_ORDERING_INTERLACED: DISPLAYCONFIG_SCANLINE_ORDERING = 2i32; 1136 pub const DISPLAYCONFIG_SCANLINE_ORDERING_INTERLACED_UPPERFIELDFIRST: DISPLAYCONFIG_SCANLINE_ORDERING = 2i32; 1137 pub const DISPLAYCONFIG_SCANLINE_ORDERING_INTERLACED_LOWERFIELDFIRST: DISPLAYCONFIG_SCANLINE_ORDERING = 3i32; 1138 pub const DISPLAYCONFIG_SCANLINE_ORDERING_FORCE_UINT32: DISPLAYCONFIG_SCANLINE_ORDERING = -1i32; 1139 #[repr(C)] 1140 #[cfg(feature = "Win32_Foundation")] 1141 pub struct DISPLAYCONFIG_SDR_WHITE_LEVEL { 1142 pub header: DISPLAYCONFIG_DEVICE_INFO_HEADER, 1143 pub SDRWhiteLevel: u32, 1144 } 1145 #[cfg(feature = "Win32_Foundation")] 1146 impl ::core::marker::Copy for DISPLAYCONFIG_SDR_WHITE_LEVEL {} 1147 #[cfg(feature = "Win32_Foundation")] 1148 impl ::core::clone::Clone for DISPLAYCONFIG_SDR_WHITE_LEVEL { clone(&self) -> Self1149 fn clone(&self) -> Self { 1150 *self 1151 } 1152 } 1153 #[repr(C)] 1154 #[cfg(feature = "Win32_Foundation")] 1155 pub struct DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE { 1156 pub header: DISPLAYCONFIG_DEVICE_INFO_HEADER, 1157 pub Anonymous: DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0, 1158 } 1159 #[cfg(feature = "Win32_Foundation")] 1160 impl ::core::marker::Copy for DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE {} 1161 #[cfg(feature = "Win32_Foundation")] 1162 impl ::core::clone::Clone for DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE { clone(&self) -> Self1163 fn clone(&self) -> Self { 1164 *self 1165 } 1166 } 1167 #[repr(C)] 1168 #[cfg(feature = "Win32_Foundation")] 1169 pub union DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0 { 1170 pub Anonymous: DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0_0, 1171 pub value: u32, 1172 } 1173 #[cfg(feature = "Win32_Foundation")] 1174 impl ::core::marker::Copy for DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0 {} 1175 #[cfg(feature = "Win32_Foundation")] 1176 impl ::core::clone::Clone for DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0 { clone(&self) -> Self1177 fn clone(&self) -> Self { 1178 *self 1179 } 1180 } 1181 #[repr(C)] 1182 #[cfg(feature = "Win32_Foundation")] 1183 pub struct DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0_0 { 1184 pub _bitfield: u32, 1185 } 1186 #[cfg(feature = "Win32_Foundation")] 1187 impl ::core::marker::Copy for DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0_0 {} 1188 #[cfg(feature = "Win32_Foundation")] 1189 impl ::core::clone::Clone for DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0_0 { clone(&self) -> Self1190 fn clone(&self) -> Self { 1191 *self 1192 } 1193 } 1194 #[repr(C)] 1195 #[cfg(feature = "Win32_Foundation")] 1196 pub struct DISPLAYCONFIG_SET_MONITOR_SPECIALIZATION { 1197 pub header: DISPLAYCONFIG_DEVICE_INFO_HEADER, 1198 pub Anonymous: DISPLAYCONFIG_SET_MONITOR_SPECIALIZATION_0, 1199 pub specializationType: ::windows_sys::core::GUID, 1200 pub specializationSubType: ::windows_sys::core::GUID, 1201 pub specializationApplicationName: [u16; 128], 1202 } 1203 #[cfg(feature = "Win32_Foundation")] 1204 impl ::core::marker::Copy for DISPLAYCONFIG_SET_MONITOR_SPECIALIZATION {} 1205 #[cfg(feature = "Win32_Foundation")] 1206 impl ::core::clone::Clone for DISPLAYCONFIG_SET_MONITOR_SPECIALIZATION { clone(&self) -> Self1207 fn clone(&self) -> Self { 1208 *self 1209 } 1210 } 1211 #[repr(C)] 1212 #[cfg(feature = "Win32_Foundation")] 1213 pub union DISPLAYCONFIG_SET_MONITOR_SPECIALIZATION_0 { 1214 pub Anonymous: DISPLAYCONFIG_SET_MONITOR_SPECIALIZATION_0_0, 1215 pub value: u32, 1216 } 1217 #[cfg(feature = "Win32_Foundation")] 1218 impl ::core::marker::Copy for DISPLAYCONFIG_SET_MONITOR_SPECIALIZATION_0 {} 1219 #[cfg(feature = "Win32_Foundation")] 1220 impl ::core::clone::Clone for DISPLAYCONFIG_SET_MONITOR_SPECIALIZATION_0 { clone(&self) -> Self1221 fn clone(&self) -> Self { 1222 *self 1223 } 1224 } 1225 #[repr(C)] 1226 #[cfg(feature = "Win32_Foundation")] 1227 pub struct DISPLAYCONFIG_SET_MONITOR_SPECIALIZATION_0_0 { 1228 pub _bitfield: u32, 1229 } 1230 #[cfg(feature = "Win32_Foundation")] 1231 impl ::core::marker::Copy for DISPLAYCONFIG_SET_MONITOR_SPECIALIZATION_0_0 {} 1232 #[cfg(feature = "Win32_Foundation")] 1233 impl ::core::clone::Clone for DISPLAYCONFIG_SET_MONITOR_SPECIALIZATION_0_0 { clone(&self) -> Self1234 fn clone(&self) -> Self { 1235 *self 1236 } 1237 } 1238 #[repr(C)] 1239 #[cfg(feature = "Win32_Foundation")] 1240 pub struct DISPLAYCONFIG_SET_TARGET_PERSISTENCE { 1241 pub header: DISPLAYCONFIG_DEVICE_INFO_HEADER, 1242 pub Anonymous: DISPLAYCONFIG_SET_TARGET_PERSISTENCE_0, 1243 } 1244 #[cfg(feature = "Win32_Foundation")] 1245 impl ::core::marker::Copy for DISPLAYCONFIG_SET_TARGET_PERSISTENCE {} 1246 #[cfg(feature = "Win32_Foundation")] 1247 impl ::core::clone::Clone for DISPLAYCONFIG_SET_TARGET_PERSISTENCE { clone(&self) -> Self1248 fn clone(&self) -> Self { 1249 *self 1250 } 1251 } 1252 #[repr(C)] 1253 #[cfg(feature = "Win32_Foundation")] 1254 pub union DISPLAYCONFIG_SET_TARGET_PERSISTENCE_0 { 1255 pub Anonymous: DISPLAYCONFIG_SET_TARGET_PERSISTENCE_0_0, 1256 pub value: u32, 1257 } 1258 #[cfg(feature = "Win32_Foundation")] 1259 impl ::core::marker::Copy for DISPLAYCONFIG_SET_TARGET_PERSISTENCE_0 {} 1260 #[cfg(feature = "Win32_Foundation")] 1261 impl ::core::clone::Clone for DISPLAYCONFIG_SET_TARGET_PERSISTENCE_0 { clone(&self) -> Self1262 fn clone(&self) -> Self { 1263 *self 1264 } 1265 } 1266 #[repr(C)] 1267 #[cfg(feature = "Win32_Foundation")] 1268 pub struct DISPLAYCONFIG_SET_TARGET_PERSISTENCE_0_0 { 1269 pub _bitfield: u32, 1270 } 1271 #[cfg(feature = "Win32_Foundation")] 1272 impl ::core::marker::Copy for DISPLAYCONFIG_SET_TARGET_PERSISTENCE_0_0 {} 1273 #[cfg(feature = "Win32_Foundation")] 1274 impl ::core::clone::Clone for DISPLAYCONFIG_SET_TARGET_PERSISTENCE_0_0 { clone(&self) -> Self1275 fn clone(&self) -> Self { 1276 *self 1277 } 1278 } 1279 #[repr(C)] 1280 #[cfg(feature = "Win32_Foundation")] 1281 pub struct DISPLAYCONFIG_SOURCE_DEVICE_NAME { 1282 pub header: DISPLAYCONFIG_DEVICE_INFO_HEADER, 1283 pub viewGdiDeviceName: [u16; 32], 1284 } 1285 #[cfg(feature = "Win32_Foundation")] 1286 impl ::core::marker::Copy for DISPLAYCONFIG_SOURCE_DEVICE_NAME {} 1287 #[cfg(feature = "Win32_Foundation")] 1288 impl ::core::clone::Clone for DISPLAYCONFIG_SOURCE_DEVICE_NAME { clone(&self) -> Self1289 fn clone(&self) -> Self { 1290 *self 1291 } 1292 } 1293 #[repr(C)] 1294 #[cfg(feature = "Win32_Foundation")] 1295 pub struct DISPLAYCONFIG_SOURCE_MODE { 1296 pub width: u32, 1297 pub height: u32, 1298 pub pixelFormat: DISPLAYCONFIG_PIXELFORMAT, 1299 pub position: super::super::Foundation::POINTL, 1300 } 1301 #[cfg(feature = "Win32_Foundation")] 1302 impl ::core::marker::Copy for DISPLAYCONFIG_SOURCE_MODE {} 1303 #[cfg(feature = "Win32_Foundation")] 1304 impl ::core::clone::Clone for DISPLAYCONFIG_SOURCE_MODE { clone(&self) -> Self1305 fn clone(&self) -> Self { 1306 *self 1307 } 1308 } 1309 #[repr(C)] 1310 #[cfg(feature = "Win32_Foundation")] 1311 pub struct DISPLAYCONFIG_SUPPORT_VIRTUAL_RESOLUTION { 1312 pub header: DISPLAYCONFIG_DEVICE_INFO_HEADER, 1313 pub Anonymous: DISPLAYCONFIG_SUPPORT_VIRTUAL_RESOLUTION_0, 1314 } 1315 #[cfg(feature = "Win32_Foundation")] 1316 impl ::core::marker::Copy for DISPLAYCONFIG_SUPPORT_VIRTUAL_RESOLUTION {} 1317 #[cfg(feature = "Win32_Foundation")] 1318 impl ::core::clone::Clone for DISPLAYCONFIG_SUPPORT_VIRTUAL_RESOLUTION { clone(&self) -> Self1319 fn clone(&self) -> Self { 1320 *self 1321 } 1322 } 1323 #[repr(C)] 1324 #[cfg(feature = "Win32_Foundation")] 1325 pub union DISPLAYCONFIG_SUPPORT_VIRTUAL_RESOLUTION_0 { 1326 pub Anonymous: DISPLAYCONFIG_SUPPORT_VIRTUAL_RESOLUTION_0_0, 1327 pub value: u32, 1328 } 1329 #[cfg(feature = "Win32_Foundation")] 1330 impl ::core::marker::Copy for DISPLAYCONFIG_SUPPORT_VIRTUAL_RESOLUTION_0 {} 1331 #[cfg(feature = "Win32_Foundation")] 1332 impl ::core::clone::Clone for DISPLAYCONFIG_SUPPORT_VIRTUAL_RESOLUTION_0 { clone(&self) -> Self1333 fn clone(&self) -> Self { 1334 *self 1335 } 1336 } 1337 #[repr(C)] 1338 #[cfg(feature = "Win32_Foundation")] 1339 pub struct DISPLAYCONFIG_SUPPORT_VIRTUAL_RESOLUTION_0_0 { 1340 pub _bitfield: u32, 1341 } 1342 #[cfg(feature = "Win32_Foundation")] 1343 impl ::core::marker::Copy for DISPLAYCONFIG_SUPPORT_VIRTUAL_RESOLUTION_0_0 {} 1344 #[cfg(feature = "Win32_Foundation")] 1345 impl ::core::clone::Clone for DISPLAYCONFIG_SUPPORT_VIRTUAL_RESOLUTION_0_0 { clone(&self) -> Self1346 fn clone(&self) -> Self { 1347 *self 1348 } 1349 } 1350 #[repr(C)] 1351 #[cfg(feature = "Win32_Foundation")] 1352 pub struct DISPLAYCONFIG_TARGET_BASE_TYPE { 1353 pub header: DISPLAYCONFIG_DEVICE_INFO_HEADER, 1354 pub baseOutputTechnology: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY, 1355 } 1356 #[cfg(feature = "Win32_Foundation")] 1357 impl ::core::marker::Copy for DISPLAYCONFIG_TARGET_BASE_TYPE {} 1358 #[cfg(feature = "Win32_Foundation")] 1359 impl ::core::clone::Clone for DISPLAYCONFIG_TARGET_BASE_TYPE { clone(&self) -> Self1360 fn clone(&self) -> Self { 1361 *self 1362 } 1363 } 1364 #[repr(C)] 1365 #[cfg(feature = "Win32_Foundation")] 1366 pub struct DISPLAYCONFIG_TARGET_DEVICE_NAME { 1367 pub header: DISPLAYCONFIG_DEVICE_INFO_HEADER, 1368 pub flags: DISPLAYCONFIG_TARGET_DEVICE_NAME_FLAGS, 1369 pub outputTechnology: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY, 1370 pub edidManufactureId: u16, 1371 pub edidProductCodeId: u16, 1372 pub connectorInstance: u32, 1373 pub monitorFriendlyDeviceName: [u16; 64], 1374 pub monitorDevicePath: [u16; 128], 1375 } 1376 #[cfg(feature = "Win32_Foundation")] 1377 impl ::core::marker::Copy for DISPLAYCONFIG_TARGET_DEVICE_NAME {} 1378 #[cfg(feature = "Win32_Foundation")] 1379 impl ::core::clone::Clone for DISPLAYCONFIG_TARGET_DEVICE_NAME { clone(&self) -> Self1380 fn clone(&self) -> Self { 1381 *self 1382 } 1383 } 1384 #[repr(C)] 1385 pub struct DISPLAYCONFIG_TARGET_DEVICE_NAME_FLAGS { 1386 pub Anonymous: DISPLAYCONFIG_TARGET_DEVICE_NAME_FLAGS_0, 1387 } 1388 impl ::core::marker::Copy for DISPLAYCONFIG_TARGET_DEVICE_NAME_FLAGS {} 1389 impl ::core::clone::Clone for DISPLAYCONFIG_TARGET_DEVICE_NAME_FLAGS { clone(&self) -> Self1390 fn clone(&self) -> Self { 1391 *self 1392 } 1393 } 1394 #[repr(C)] 1395 pub union DISPLAYCONFIG_TARGET_DEVICE_NAME_FLAGS_0 { 1396 pub Anonymous: DISPLAYCONFIG_TARGET_DEVICE_NAME_FLAGS_0_0, 1397 pub value: u32, 1398 } 1399 impl ::core::marker::Copy for DISPLAYCONFIG_TARGET_DEVICE_NAME_FLAGS_0 {} 1400 impl ::core::clone::Clone for DISPLAYCONFIG_TARGET_DEVICE_NAME_FLAGS_0 { clone(&self) -> Self1401 fn clone(&self) -> Self { 1402 *self 1403 } 1404 } 1405 #[repr(C)] 1406 pub struct DISPLAYCONFIG_TARGET_DEVICE_NAME_FLAGS_0_0 { 1407 pub _bitfield: u32, 1408 } 1409 impl ::core::marker::Copy for DISPLAYCONFIG_TARGET_DEVICE_NAME_FLAGS_0_0 {} 1410 impl ::core::clone::Clone for DISPLAYCONFIG_TARGET_DEVICE_NAME_FLAGS_0_0 { clone(&self) -> Self1411 fn clone(&self) -> Self { 1412 *self 1413 } 1414 } 1415 #[repr(C)] 1416 pub struct DISPLAYCONFIG_TARGET_MODE { 1417 pub targetVideoSignalInfo: DISPLAYCONFIG_VIDEO_SIGNAL_INFO, 1418 } 1419 impl ::core::marker::Copy for DISPLAYCONFIG_TARGET_MODE {} 1420 impl ::core::clone::Clone for DISPLAYCONFIG_TARGET_MODE { clone(&self) -> Self1421 fn clone(&self) -> Self { 1422 *self 1423 } 1424 } 1425 #[repr(C)] 1426 #[cfg(feature = "Win32_Foundation")] 1427 pub struct DISPLAYCONFIG_TARGET_PREFERRED_MODE { 1428 pub header: DISPLAYCONFIG_DEVICE_INFO_HEADER, 1429 pub width: u32, 1430 pub height: u32, 1431 pub targetMode: DISPLAYCONFIG_TARGET_MODE, 1432 } 1433 #[cfg(feature = "Win32_Foundation")] 1434 impl ::core::marker::Copy for DISPLAYCONFIG_TARGET_PREFERRED_MODE {} 1435 #[cfg(feature = "Win32_Foundation")] 1436 impl ::core::clone::Clone for DISPLAYCONFIG_TARGET_PREFERRED_MODE { clone(&self) -> Self1437 fn clone(&self) -> Self { 1438 *self 1439 } 1440 } 1441 pub type DISPLAYCONFIG_TOPOLOGY_ID = i32; 1442 pub const DISPLAYCONFIG_TOPOLOGY_INTERNAL: DISPLAYCONFIG_TOPOLOGY_ID = 1i32; 1443 pub const DISPLAYCONFIG_TOPOLOGY_CLONE: DISPLAYCONFIG_TOPOLOGY_ID = 2i32; 1444 pub const DISPLAYCONFIG_TOPOLOGY_EXTEND: DISPLAYCONFIG_TOPOLOGY_ID = 4i32; 1445 pub const DISPLAYCONFIG_TOPOLOGY_EXTERNAL: DISPLAYCONFIG_TOPOLOGY_ID = 8i32; 1446 pub const DISPLAYCONFIG_TOPOLOGY_FORCE_UINT32: DISPLAYCONFIG_TOPOLOGY_ID = -1i32; 1447 pub type DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = i32; 1448 pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_OTHER: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = -1i32; 1449 pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_HD15: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 0i32; 1450 pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_SVIDEO: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 1i32; 1451 pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_COMPOSITE_VIDEO: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 2i32; 1452 pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_COMPONENT_VIDEO: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 3i32; 1453 pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_DVI: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 4i32; 1454 pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_HDMI: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 5i32; 1455 pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_LVDS: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 6i32; 1456 pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_D_JPN: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 8i32; 1457 pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_SDI: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 9i32; 1458 pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_DISPLAYPORT_EXTERNAL: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 10i32; 1459 pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_DISPLAYPORT_EMBEDDED: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 11i32; 1460 pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_UDI_EXTERNAL: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 12i32; 1461 pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_UDI_EMBEDDED: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 13i32; 1462 pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_SDTVDONGLE: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 14i32; 1463 pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_MIRACAST: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 15i32; 1464 pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_INDIRECT_WIRED: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 16i32; 1465 pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_INDIRECT_VIRTUAL: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 17i32; 1466 pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_DISPLAYPORT_USB_TUNNEL: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 18i32; 1467 pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_INTERNAL: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = -2147483648i32; 1468 pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_FORCE_UINT32: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = -1i32; 1469 #[repr(C)] 1470 pub struct DISPLAYCONFIG_VIDEO_SIGNAL_INFO { 1471 pub pixelRate: u64, 1472 pub hSyncFreq: DISPLAYCONFIG_RATIONAL, 1473 pub vSyncFreq: DISPLAYCONFIG_RATIONAL, 1474 pub activeSize: DISPLAYCONFIG_2DREGION, 1475 pub totalSize: DISPLAYCONFIG_2DREGION, 1476 pub Anonymous: DISPLAYCONFIG_VIDEO_SIGNAL_INFO_0, 1477 pub scanLineOrdering: DISPLAYCONFIG_SCANLINE_ORDERING, 1478 } 1479 impl ::core::marker::Copy for DISPLAYCONFIG_VIDEO_SIGNAL_INFO {} 1480 impl ::core::clone::Clone for DISPLAYCONFIG_VIDEO_SIGNAL_INFO { clone(&self) -> Self1481 fn clone(&self) -> Self { 1482 *self 1483 } 1484 } 1485 #[repr(C)] 1486 pub union DISPLAYCONFIG_VIDEO_SIGNAL_INFO_0 { 1487 pub AdditionalSignalInfo: DISPLAYCONFIG_VIDEO_SIGNAL_INFO_0_0, 1488 pub videoStandard: u32, 1489 } 1490 impl ::core::marker::Copy for DISPLAYCONFIG_VIDEO_SIGNAL_INFO_0 {} 1491 impl ::core::clone::Clone for DISPLAYCONFIG_VIDEO_SIGNAL_INFO_0 { clone(&self) -> Self1492 fn clone(&self) -> Self { 1493 *self 1494 } 1495 } 1496 #[repr(C)] 1497 pub struct DISPLAYCONFIG_VIDEO_SIGNAL_INFO_0_0 { 1498 pub _bitfield: u32, 1499 } 1500 impl ::core::marker::Copy for DISPLAYCONFIG_VIDEO_SIGNAL_INFO_0_0 {} 1501 impl ::core::clone::Clone for DISPLAYCONFIG_VIDEO_SIGNAL_INFO_0_0 { clone(&self) -> Self1502 fn clone(&self) -> Self { 1503 *self 1504 } 1505 } 1506 pub const DISPLAYPOLICY_AC: u32 = 1u32; 1507 pub const DISPLAYPOLICY_DC: u32 = 2u32; 1508 #[repr(C)] 1509 pub struct DISPLAY_BRIGHTNESS { 1510 pub ucDisplayPolicy: u8, 1511 pub ucACBrightness: u8, 1512 pub ucDCBrightness: u8, 1513 } 1514 impl ::core::marker::Copy for DISPLAY_BRIGHTNESS {} 1515 impl ::core::clone::Clone for DISPLAY_BRIGHTNESS { clone(&self) -> Self1516 fn clone(&self) -> Self { 1517 *self 1518 } 1519 } 1520 pub const DM_DEFAULT: u32 = 1u32; 1521 pub const DM_MONOCHROME: u32 = 2u32; 1522 pub const DN_ACCELERATION_LEVEL: u32 = 1u32; 1523 pub const DN_ASSOCIATE_WINDOW: u32 = 5u32; 1524 pub const DN_COMPOSITION_CHANGED: u32 = 6u32; 1525 pub const DN_DEVICE_ORIGIN: u32 = 2u32; 1526 pub const DN_DRAWING_BEGIN: u32 = 4u32; 1527 pub const DN_DRAWING_BEGIN_APIBITMAP: u32 = 7u32; 1528 pub const DN_SLEEP_MODE: u32 = 3u32; 1529 pub const DN_SURFOBJ_DESTRUCTION: u32 = 8u32; 1530 pub const DRD_ERROR: u32 = 1u32; 1531 pub const DRD_SUCCESS: u32 = 0u32; 1532 pub const DRH_APIBITMAP: u32 = 1u32; 1533 #[repr(C)] 1534 #[cfg(feature = "Win32_Foundation")] 1535 pub struct DRH_APIBITMAPDATA { 1536 pub pso: *mut SURFOBJ, 1537 pub b: super::super::Foundation::BOOL, 1538 } 1539 #[cfg(feature = "Win32_Foundation")] 1540 impl ::core::marker::Copy for DRH_APIBITMAPDATA {} 1541 #[cfg(feature = "Win32_Foundation")] 1542 impl ::core::clone::Clone for DRH_APIBITMAPDATA { clone(&self) -> Self1543 fn clone(&self) -> Self { 1544 *self 1545 } 1546 } 1547 #[repr(C)] 1548 #[cfg(feature = "Win32_Foundation")] 1549 pub struct DRIVEROBJ { 1550 pub pvObj: *mut ::core::ffi::c_void, 1551 pub pFreeProc: FREEOBJPROC, 1552 pub hdev: HDEV, 1553 pub dhpdev: DHPDEV, 1554 } 1555 #[cfg(feature = "Win32_Foundation")] 1556 impl ::core::marker::Copy for DRIVEROBJ {} 1557 #[cfg(feature = "Win32_Foundation")] 1558 impl ::core::clone::Clone for DRIVEROBJ { clone(&self) -> Self1559 fn clone(&self) -> Self { 1560 *self 1561 } 1562 } 1563 #[repr(C)] 1564 pub struct DRVENABLEDATA { 1565 pub iDriverVersion: u32, 1566 pub c: u32, 1567 pub pdrvfn: *mut DRVFN, 1568 } 1569 impl ::core::marker::Copy for DRVENABLEDATA {} 1570 impl ::core::clone::Clone for DRVENABLEDATA { clone(&self) -> Self1571 fn clone(&self) -> Self { 1572 *self 1573 } 1574 } 1575 #[repr(C)] 1576 pub struct DRVFN { 1577 pub iFunc: u32, 1578 pub pfn: PFN, 1579 } 1580 impl ::core::marker::Copy for DRVFN {} 1581 impl ::core::clone::Clone for DRVFN { clone(&self) -> Self1582 fn clone(&self) -> Self { 1583 *self 1584 } 1585 } 1586 pub const DRVQUERY_USERMODE: u32 = 1u32; 1587 pub const DSI_CHECKSUM_ERROR_CORRECTED: u32 = 256u32; 1588 pub const DSI_CHECKSUM_ERROR_NOT_CORRECTED: u32 = 512u32; 1589 pub const DSI_CONTENTION_DETECTED: u32 = 128u32; 1590 pub type DSI_CONTROL_TRANSMISSION_MODE = i32; 1591 pub const DCT_DEFAULT: DSI_CONTROL_TRANSMISSION_MODE = 0i32; 1592 pub const DCT_FORCE_LOW_POWER: DSI_CONTROL_TRANSMISSION_MODE = 1i32; 1593 pub const DCT_FORCE_HIGH_PERFORMANCE: DSI_CONTROL_TRANSMISSION_MODE = 2i32; 1594 pub const DSI_DSI_DATA_TYPE_NOT_RECOGNIZED: u32 = 2048u32; 1595 pub const DSI_DSI_PROTOCOL_VIOLATION: u32 = 32768u32; 1596 pub const DSI_DSI_VC_ID_INVALID: u32 = 4096u32; 1597 pub const DSI_EOT_SYNC_ERROR: u32 = 4u32; 1598 pub const DSI_ESCAPE_MODE_ENTRY_COMMAND_ERROR: u32 = 8u32; 1599 pub const DSI_FALSE_CONTROL_ERROR: u32 = 64u32; 1600 pub const DSI_INVALID_PACKET_INDEX: u32 = 255u32; 1601 pub const DSI_INVALID_TRANSMISSION_LENGTH: u32 = 8192u32; 1602 pub const DSI_LONG_PACKET_PAYLOAD_CHECKSUM_ERROR: u32 = 1024u32; 1603 pub const DSI_LOW_POWER_TRANSMIT_SYNC_ERROR: u32 = 16u32; 1604 pub const DSI_PACKET_EMBEDDED_PAYLOAD_SIZE: u32 = 8u32; 1605 pub const DSI_PERIPHERAL_TIMEOUT_ERROR: u32 = 32u32; 1606 pub const DSI_SOT_ERROR: u32 = 1u32; 1607 pub const DSI_SOT_SYNC_ERROR: u32 = 2u32; 1608 pub const DSS_FLUSH_EVENT: u32 = 2u32; 1609 pub const DSS_RESERVED: u32 = 4u32; 1610 pub const DSS_RESERVED1: u32 = 8u32; 1611 pub const DSS_RESERVED2: u32 = 16u32; 1612 pub const DSS_TIMER_EVENT: u32 = 1u32; 1613 #[repr(C)] 1614 pub struct DXGK_WIN32K_PARAM_DATA { 1615 pub PathsArray: *mut ::core::ffi::c_void, 1616 pub ModesArray: *mut ::core::ffi::c_void, 1617 pub NumPathArrayElements: u32, 1618 pub NumModeArrayElements: u32, 1619 pub SDCFlags: u32, 1620 } 1621 impl ::core::marker::Copy for DXGK_WIN32K_PARAM_DATA {} 1622 impl ::core::clone::Clone for DXGK_WIN32K_PARAM_DATA { clone(&self) -> Self1623 fn clone(&self) -> Self { 1624 *self 1625 } 1626 } 1627 pub const DXGK_WIN32K_PARAM_FLAG_DISABLEVIEW: u32 = 4u32; 1628 pub const DXGK_WIN32K_PARAM_FLAG_MODESWITCH: u32 = 2u32; 1629 pub const DXGK_WIN32K_PARAM_FLAG_UPDATEREGISTRY: u32 = 1u32; 1630 #[repr(C)] 1631 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] 1632 pub struct DisplayMode { 1633 pub DeviceName: [u16; 32], 1634 pub devMode: super::super::Graphics::Gdi::DEVMODEW, 1635 } 1636 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] 1637 impl ::core::marker::Copy for DisplayMode {} 1638 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] 1639 impl ::core::clone::Clone for DisplayMode { clone(&self) -> Self1640 fn clone(&self) -> Self { 1641 *self 1642 } 1643 } 1644 #[repr(C)] 1645 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] 1646 pub struct DisplayModes { 1647 pub numDisplayModes: i32, 1648 pub displayMode: [DisplayMode; 1], 1649 } 1650 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] 1651 impl ::core::marker::Copy for DisplayModes {} 1652 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] 1653 impl ::core::clone::Clone for DisplayModes { clone(&self) -> Self1654 fn clone(&self) -> Self { 1655 *self 1656 } 1657 } 1658 pub const ECS_REDRAW: u32 = 2u32; 1659 pub const ECS_TEARDOWN: u32 = 1u32; 1660 pub const ED_ABORTDOC: u32 = 1u32; 1661 pub const EHN_ERROR: u32 = 1u32; 1662 pub const EHN_RESTORED: u32 = 0u32; 1663 #[repr(C)] 1664 #[cfg(feature = "Win32_Graphics_Gdi")] 1665 pub struct EMFINFO { 1666 pub nSize: u32, 1667 pub hdc: super::super::Graphics::Gdi::HDC, 1668 pub pvEMF: *mut u8, 1669 pub pvCurrentRecord: *mut u8, 1670 } 1671 #[cfg(feature = "Win32_Graphics_Gdi")] 1672 impl ::core::marker::Copy for EMFINFO {} 1673 #[cfg(feature = "Win32_Graphics_Gdi")] 1674 impl ::core::clone::Clone for EMFINFO { clone(&self) -> Self1675 fn clone(&self) -> Self { 1676 *self 1677 } 1678 } 1679 pub const ENDCAP_BUTT: i32 = 2i32; 1680 pub const ENDCAP_ROUND: i32 = 0i32; 1681 pub const ENDCAP_SQUARE: i32 = 1i32; 1682 #[repr(C)] 1683 pub struct ENGSAFESEMAPHORE { 1684 pub hsem: HSEMAPHORE, 1685 pub lCount: i32, 1686 } 1687 impl ::core::marker::Copy for ENGSAFESEMAPHORE {} 1688 impl ::core::clone::Clone for ENGSAFESEMAPHORE { clone(&self) -> Self1689 fn clone(&self) -> Self { 1690 *self 1691 } 1692 } 1693 pub type ENG_DEVICE_ATTRIBUTE = i32; 1694 pub const QDA_RESERVED: ENG_DEVICE_ATTRIBUTE = 0i32; 1695 pub const QDA_ACCELERATION_LEVEL: ENG_DEVICE_ATTRIBUTE = 1i32; 1696 #[repr(C)] 1697 pub struct ENG_EVENT { 1698 pub pKEvent: *mut ::core::ffi::c_void, 1699 pub fFlags: u32, 1700 } 1701 impl ::core::marker::Copy for ENG_EVENT {} 1702 impl ::core::clone::Clone for ENG_EVENT { clone(&self) -> Self1703 fn clone(&self) -> Self { 1704 *self 1705 } 1706 } 1707 pub const ENG_FNT_CACHE_READ_FAULT: u32 = 1u32; 1708 pub const ENG_FNT_CACHE_WRITE_FAULT: u32 = 2u32; 1709 pub type ENG_SYSTEM_ATTRIBUTE = i32; 1710 pub const EngProcessorFeature: ENG_SYSTEM_ATTRIBUTE = 1i32; 1711 pub const EngNumberOfProcessors: ENG_SYSTEM_ATTRIBUTE = 2i32; 1712 pub const EngOptimumAvailableUserMemory: ENG_SYSTEM_ATTRIBUTE = 3i32; 1713 pub const EngOptimumAvailableSystemMemory: ENG_SYSTEM_ATTRIBUTE = 4i32; 1714 #[repr(C)] 1715 pub struct ENG_TIME_FIELDS { 1716 pub usYear: u16, 1717 pub usMonth: u16, 1718 pub usDay: u16, 1719 pub usHour: u16, 1720 pub usMinute: u16, 1721 pub usSecond: u16, 1722 pub usMilliseconds: u16, 1723 pub usWeekday: u16, 1724 } 1725 impl ::core::marker::Copy for ENG_TIME_FIELDS {} 1726 impl ::core::clone::Clone for ENG_TIME_FIELDS { clone(&self) -> Self1727 fn clone(&self) -> Self { 1728 *self 1729 } 1730 } 1731 #[repr(C)] 1732 #[cfg(feature = "Win32_Foundation")] 1733 pub struct ENUMRECTS { 1734 pub c: u32, 1735 pub arcl: [super::super::Foundation::RECTL; 1], 1736 } 1737 #[cfg(feature = "Win32_Foundation")] 1738 impl ::core::marker::Copy for ENUMRECTS {} 1739 #[cfg(feature = "Win32_Foundation")] 1740 impl ::core::clone::Clone for ENUMRECTS { clone(&self) -> Self1741 fn clone(&self) -> Self { 1742 *self 1743 } 1744 } 1745 pub const FC_COMPLEX: u32 = 3u32; 1746 pub const FC_RECT: u32 = 1u32; 1747 pub const FC_RECT4: u32 = 2u32; 1748 pub const FDM_TYPE_BM_SIDE_CONST: u32 = 1u32; 1749 pub const FDM_TYPE_CHAR_INC_EQUAL_BM_BASE: u32 = 4u32; 1750 pub const FDM_TYPE_CONST_BEARINGS: u32 = 16u32; 1751 pub const FDM_TYPE_MAXEXT_EQUAL_BM_SIDE: u32 = 2u32; 1752 pub const FDM_TYPE_ZERO_BEARINGS: u32 = 8u32; 1753 #[repr(C)] 1754 #[cfg(feature = "Win32_Foundation")] 1755 pub struct FD_DEVICEMETRICS { 1756 pub flRealizedType: u32, 1757 pub pteBase: POINTE, 1758 pub pteSide: POINTE, 1759 pub lD: i32, 1760 pub fxMaxAscender: i32, 1761 pub fxMaxDescender: i32, 1762 pub ptlUnderline1: super::super::Foundation::POINTL, 1763 pub ptlStrikeOut: super::super::Foundation::POINTL, 1764 pub ptlULThickness: super::super::Foundation::POINTL, 1765 pub ptlSOThickness: super::super::Foundation::POINTL, 1766 pub cxMax: u32, 1767 pub cyMax: u32, 1768 pub cjGlyphMax: u32, 1769 pub fdxQuantized: FD_XFORM, 1770 pub lNonLinearExtLeading: i32, 1771 pub lNonLinearIntLeading: i32, 1772 pub lNonLinearMaxCharWidth: i32, 1773 pub lNonLinearAvgCharWidth: i32, 1774 pub lMinA: i32, 1775 pub lMinC: i32, 1776 pub lMinD: i32, 1777 pub alReserved: [i32; 1], 1778 } 1779 #[cfg(feature = "Win32_Foundation")] 1780 impl ::core::marker::Copy for FD_DEVICEMETRICS {} 1781 #[cfg(feature = "Win32_Foundation")] 1782 impl ::core::clone::Clone for FD_DEVICEMETRICS { clone(&self) -> Self1783 fn clone(&self) -> Self { 1784 *self 1785 } 1786 } 1787 pub const FD_ERROR: u32 = 4294967295u32; 1788 #[repr(C)] 1789 pub struct FD_GLYPHATTR { 1790 pub cjThis: u32, 1791 pub cGlyphs: u32, 1792 pub iMode: u32, 1793 pub aGlyphAttr: [u8; 1], 1794 } 1795 impl ::core::marker::Copy for FD_GLYPHATTR {} 1796 impl ::core::clone::Clone for FD_GLYPHATTR { clone(&self) -> Self1797 fn clone(&self) -> Self { 1798 *self 1799 } 1800 } 1801 #[repr(C)] 1802 pub struct FD_GLYPHSET { 1803 pub cjThis: u32, 1804 pub flAccel: u32, 1805 pub cGlyphsSupported: u32, 1806 pub cRuns: u32, 1807 pub awcrun: [WCRUN; 1], 1808 } 1809 impl ::core::marker::Copy for FD_GLYPHSET {} 1810 impl ::core::clone::Clone for FD_GLYPHSET { clone(&self) -> Self1811 fn clone(&self) -> Self { 1812 *self 1813 } 1814 } 1815 #[repr(C)] 1816 pub struct FD_KERNINGPAIR { 1817 pub wcFirst: u16, 1818 pub wcSecond: u16, 1819 pub fwdKern: i16, 1820 } 1821 impl ::core::marker::Copy for FD_KERNINGPAIR {} 1822 impl ::core::clone::Clone for FD_KERNINGPAIR { clone(&self) -> Self1823 fn clone(&self) -> Self { 1824 *self 1825 } 1826 } 1827 #[repr(C)] 1828 #[cfg(feature = "Win32_Foundation")] 1829 pub struct FD_LIGATURE { 1830 pub culThis: u32, 1831 pub ulType: u32, 1832 pub cLigatures: u32, 1833 pub alig: [LIGATURE; 1], 1834 } 1835 #[cfg(feature = "Win32_Foundation")] 1836 impl ::core::marker::Copy for FD_LIGATURE {} 1837 #[cfg(feature = "Win32_Foundation")] 1838 impl ::core::clone::Clone for FD_LIGATURE { clone(&self) -> Self1839 fn clone(&self) -> Self { 1840 *self 1841 } 1842 } 1843 pub const FD_NEGATIVE_FONT: i32 = 1i32; 1844 #[repr(C)] 1845 #[cfg(any(target_arch = "x86_64", target_arch = "aarch64",))] 1846 pub struct FD_XFORM { 1847 pub eXX: f32, 1848 pub eXY: f32, 1849 pub eYX: f32, 1850 pub eYY: f32, 1851 } 1852 #[cfg(any(target_arch = "x86_64", target_arch = "aarch64",))] 1853 impl ::core::marker::Copy for FD_XFORM {} 1854 #[cfg(any(target_arch = "x86_64", target_arch = "aarch64",))] 1855 impl ::core::clone::Clone for FD_XFORM { clone(&self) -> Self1856 fn clone(&self) -> Self { 1857 *self 1858 } 1859 } 1860 #[repr(C)] 1861 #[cfg(any(target_arch = "x86",))] 1862 pub struct FD_XFORM { 1863 pub eXX: u32, 1864 pub eXY: u32, 1865 pub eYX: u32, 1866 pub eYY: u32, 1867 } 1868 #[cfg(any(target_arch = "x86",))] 1869 impl ::core::marker::Copy for FD_XFORM {} 1870 #[cfg(any(target_arch = "x86",))] 1871 impl ::core::clone::Clone for FD_XFORM { clone(&self) -> Self1872 fn clone(&self) -> Self { 1873 *self 1874 } 1875 } 1876 pub const FF_IGNORED_SIGNATURE: u32 = 2u32; 1877 pub const FF_SIGNATURE_VERIFIED: u32 = 1u32; 1878 #[repr(C)] 1879 #[cfg(any(target_arch = "x86",))] 1880 pub struct FLOATOBJ { 1881 pub ul1: u32, 1882 pub ul2: u32, 1883 } 1884 #[cfg(any(target_arch = "x86",))] 1885 impl ::core::marker::Copy for FLOATOBJ {} 1886 #[cfg(any(target_arch = "x86",))] 1887 impl ::core::clone::Clone for FLOATOBJ { clone(&self) -> Self1888 fn clone(&self) -> Self { 1889 *self 1890 } 1891 } 1892 #[repr(C)] 1893 #[cfg(any(target_arch = "x86_64", target_arch = "aarch64",))] 1894 pub struct FLOATOBJ_XFORM { 1895 pub eM11: f32, 1896 pub eM12: f32, 1897 pub eM21: f32, 1898 pub eM22: f32, 1899 pub eDx: f32, 1900 pub eDy: f32, 1901 } 1902 #[cfg(any(target_arch = "x86_64", target_arch = "aarch64",))] 1903 impl ::core::marker::Copy for FLOATOBJ_XFORM {} 1904 #[cfg(any(target_arch = "x86_64", target_arch = "aarch64",))] 1905 impl ::core::clone::Clone for FLOATOBJ_XFORM { clone(&self) -> Self1906 fn clone(&self) -> Self { 1907 *self 1908 } 1909 } 1910 #[repr(C)] 1911 #[cfg(any(target_arch = "x86",))] 1912 pub struct FLOATOBJ_XFORM { 1913 pub eM11: FLOATOBJ, 1914 pub eM12: FLOATOBJ, 1915 pub eM21: FLOATOBJ, 1916 pub eM22: FLOATOBJ, 1917 pub eDx: FLOATOBJ, 1918 pub eDy: FLOATOBJ, 1919 } 1920 #[cfg(any(target_arch = "x86",))] 1921 impl ::core::marker::Copy for FLOATOBJ_XFORM {} 1922 #[cfg(any(target_arch = "x86",))] 1923 impl ::core::clone::Clone for FLOATOBJ_XFORM { clone(&self) -> Self1924 fn clone(&self) -> Self { 1925 *self 1926 } 1927 } 1928 #[repr(C)] 1929 #[cfg(any(target_arch = "x86_64", target_arch = "aarch64",))] 1930 pub union FLOAT_LONG { 1931 pub e: f32, 1932 pub l: i32, 1933 } 1934 #[cfg(any(target_arch = "x86_64", target_arch = "aarch64",))] 1935 impl ::core::marker::Copy for FLOAT_LONG {} 1936 #[cfg(any(target_arch = "x86_64", target_arch = "aarch64",))] 1937 impl ::core::clone::Clone for FLOAT_LONG { clone(&self) -> Self1938 fn clone(&self) -> Self { 1939 *self 1940 } 1941 } 1942 #[repr(C)] 1943 #[cfg(any(target_arch = "x86",))] 1944 pub union FLOAT_LONG { 1945 pub e: u32, 1946 pub l: i32, 1947 } 1948 #[cfg(any(target_arch = "x86",))] 1949 impl ::core::marker::Copy for FLOAT_LONG {} 1950 #[cfg(any(target_arch = "x86",))] 1951 impl ::core::clone::Clone for FLOAT_LONG { clone(&self) -> Self1952 fn clone(&self) -> Self { 1953 *self 1954 } 1955 } 1956 pub const FL_NONPAGED_MEMORY: u32 = 2u32; 1957 pub const FL_NON_SESSION: u32 = 4u32; 1958 pub const FL_ZERO_MEMORY: u32 = 1u32; 1959 pub const FM_EDITABLE_EMBED: u32 = 8u32; 1960 pub const FM_INFO_16BPP: u32 = 256u32; 1961 pub const FM_INFO_1BPP: u32 = 32u32; 1962 pub const FM_INFO_24BPP: u32 = 512u32; 1963 pub const FM_INFO_32BPP: u32 = 1024u32; 1964 pub const FM_INFO_4BPP: u32 = 64u32; 1965 pub const FM_INFO_8BPP: u32 = 128u32; 1966 pub const FM_INFO_90DEGREE_ROTATIONS: u32 = 2097152u32; 1967 pub const FM_INFO_ANISOTROPIC_SCALING_ONLY: u32 = 33554432u32; 1968 pub const FM_INFO_ARB_XFORMS: u32 = 16u32; 1969 pub const FM_INFO_CONSTANT_WIDTH: u32 = 4096u32; 1970 pub const FM_INFO_DBCS_FIXED_PITCH: u32 = 268435456u32; 1971 pub const FM_INFO_DO_NOT_ENUMERATE: u32 = 8388608u32; 1972 pub const FM_INFO_DSIG: u32 = 262144u32; 1973 pub const FM_INFO_FAMILY_EQUIV: u32 = 134217728u32; 1974 pub const FM_INFO_IGNORE_TC_RA_ABLE: u32 = 1073741824u32; 1975 pub const FM_INFO_INTEGER_WIDTH: u32 = 2048u32; 1976 pub const FM_INFO_INTEGRAL_SCALING: u32 = 1048576u32; 1977 pub const FM_INFO_ISOTROPIC_SCALING_ONLY: u32 = 16777216u32; 1978 pub const FM_INFO_NONNEGATIVE_AC: u32 = 536870912u32; 1979 pub const FM_INFO_NOT_CONTIGUOUS: u32 = 8192u32; 1980 pub const FM_INFO_OPTICALLY_FIXED_PITCH: u32 = 4194304u32; 1981 pub const FM_INFO_RETURNS_BITMAPS: u32 = 131072u32; 1982 pub const FM_INFO_RETURNS_OUTLINES: u32 = 32768u32; 1983 pub const FM_INFO_RETURNS_STROKES: u32 = 65536u32; 1984 pub const FM_INFO_RIGHT_HANDED: u32 = 524288u32; 1985 pub const FM_INFO_TECH_BITMAP: u32 = 2u32; 1986 pub const FM_INFO_TECH_CFF: u32 = 67108864u32; 1987 pub const FM_INFO_TECH_MM: u32 = 16384u32; 1988 pub const FM_INFO_TECH_OUTLINE_NOT_TRUETYPE: u32 = 8u32; 1989 pub const FM_INFO_TECH_STROKE: u32 = 4u32; 1990 pub const FM_INFO_TECH_TRUETYPE: u32 = 1u32; 1991 pub const FM_INFO_TECH_TYPE1: u32 = 2147483648u32; 1992 pub const FM_NO_EMBEDDING: u32 = 2u32; 1993 pub const FM_PANOSE_CULTURE_LATIN: u32 = 0u32; 1994 pub const FM_READONLY_EMBED: u32 = 4u32; 1995 pub const FM_SEL_BOLD: u32 = 32u32; 1996 pub const FM_SEL_ITALIC: u32 = 1u32; 1997 pub const FM_SEL_NEGATIVE: u32 = 4u32; 1998 pub const FM_SEL_OUTLINED: u32 = 8u32; 1999 pub const FM_SEL_REGULAR: u32 = 64u32; 2000 pub const FM_SEL_STRIKEOUT: u32 = 16u32; 2001 pub const FM_SEL_UNDERSCORE: u32 = 2u32; 2002 pub const FM_TYPE_LICENSED: u32 = 2u32; 2003 pub const FM_VERSION_NUMBER: u32 = 0u32; 2004 #[repr(C)] 2005 #[cfg(feature = "Win32_Foundation")] 2006 pub struct FONTDIFF { 2007 pub jReserved1: u8, 2008 pub jReserved2: u8, 2009 pub jReserved3: u8, 2010 pub bWeight: u8, 2011 pub usWinWeight: u16, 2012 pub fsSelection: u16, 2013 pub fwdAveCharWidth: i16, 2014 pub fwdMaxCharInc: i16, 2015 pub ptlCaret: super::super::Foundation::POINTL, 2016 } 2017 #[cfg(feature = "Win32_Foundation")] 2018 impl ::core::marker::Copy for FONTDIFF {} 2019 #[cfg(feature = "Win32_Foundation")] 2020 impl ::core::clone::Clone for FONTDIFF { clone(&self) -> Self2021 fn clone(&self) -> Self { 2022 *self 2023 } 2024 } 2025 #[repr(C)] 2026 pub struct FONTINFO { 2027 pub cjThis: u32, 2028 pub flCaps: u32, 2029 pub cGlyphsSupported: u32, 2030 pub cjMaxGlyph1: u32, 2031 pub cjMaxGlyph4: u32, 2032 pub cjMaxGlyph8: u32, 2033 pub cjMaxGlyph32: u32, 2034 } 2035 impl ::core::marker::Copy for FONTINFO {} 2036 impl ::core::clone::Clone for FONTINFO { clone(&self) -> Self2037 fn clone(&self) -> Self { 2038 *self 2039 } 2040 } 2041 #[repr(C)] 2042 #[cfg(feature = "Win32_Foundation")] 2043 pub struct FONTOBJ { 2044 pub iUniq: u32, 2045 pub iFace: u32, 2046 pub cxMax: u32, 2047 pub flFontType: u32, 2048 pub iTTUniq: usize, 2049 pub iFile: usize, 2050 pub sizLogResPpi: super::super::Foundation::SIZE, 2051 pub ulStyleSize: u32, 2052 pub pvConsumer: *mut ::core::ffi::c_void, 2053 pub pvProducer: *mut ::core::ffi::c_void, 2054 } 2055 #[cfg(feature = "Win32_Foundation")] 2056 impl ::core::marker::Copy for FONTOBJ {} 2057 #[cfg(feature = "Win32_Foundation")] 2058 impl ::core::clone::Clone for FONTOBJ { clone(&self) -> Self2059 fn clone(&self) -> Self { 2060 *self 2061 } 2062 } 2063 #[repr(C)] 2064 pub struct FONTSIM { 2065 pub dpBold: i32, 2066 pub dpItalic: i32, 2067 pub dpBoldItalic: i32, 2068 } 2069 impl ::core::marker::Copy for FONTSIM {} 2070 impl ::core::clone::Clone for FONTSIM { clone(&self) -> Self2071 fn clone(&self) -> Self { 2072 *self 2073 } 2074 } 2075 #[repr(C)] 2076 #[cfg(feature = "Win32_System_Console")] 2077 pub struct FONT_IMAGE_INFO { 2078 pub FontSize: super::super::System::Console::COORD, 2079 pub ImageBits: *mut u8, 2080 } 2081 #[cfg(feature = "Win32_System_Console")] 2082 impl ::core::marker::Copy for FONT_IMAGE_INFO {} 2083 #[cfg(feature = "Win32_System_Console")] 2084 impl ::core::clone::Clone for FONT_IMAGE_INFO { clone(&self) -> Self2085 fn clone(&self) -> Self { 2086 *self 2087 } 2088 } 2089 pub const FO_ATTR_MODE_ROTATE: u32 = 1u32; 2090 pub const FO_CFF: u32 = 1048576u32; 2091 pub const FO_CLEARTYPENATURAL_X: u32 = 1073741824u32; 2092 pub const FO_CLEARTYPE_X: u32 = 268435456u32; 2093 pub const FO_CLEARTYPE_Y: u32 = 536870912u32; 2094 pub const FO_DBCS_FONT: u32 = 16777216u32; 2095 pub const FO_DEVICE_FONT: i32 = 1i32; 2096 pub const FO_EM_HEIGHT: u32 = 32768u32; 2097 pub const FO_GLYPHBITS: i32 = 1i32; 2098 pub const FO_GRAY16: u32 = 65536u32; 2099 pub const FO_HGLYPHS: i32 = 0i32; 2100 pub const FO_MULTIPLEMASTER: u32 = 4194304u32; 2101 pub const FO_NOCLEARTYPE: u32 = 33554432u32; 2102 pub const FO_NOGRAY16: u32 = 131072u32; 2103 pub const FO_NOHINTS: u32 = 262144u32; 2104 pub const FO_NO_CHOICE: u32 = 524288u32; 2105 pub const FO_OUTLINE_CAPABLE: i32 = 2i32; 2106 pub const FO_PATHOBJ: i32 = 2i32; 2107 pub const FO_POSTSCRIPT: u32 = 2097152u32; 2108 pub const FO_SIM_BOLD: u32 = 8192u32; 2109 pub const FO_SIM_ITALIC: u32 = 16384u32; 2110 pub const FO_VERT_FACE: u32 = 8388608u32; 2111 pub const FP_ALTERNATEMODE: i32 = 1i32; 2112 pub const FP_WINDINGMODE: i32 = 2i32; 2113 #[cfg(feature = "Win32_Foundation")] 2114 pub type FREEOBJPROC = unsafe extern "system" fn(pdriverobj: *mut DRIVEROBJ) -> super::super::Foundation::BOOL; 2115 #[repr(C)] 2116 #[cfg(feature = "Win32_System_Console")] 2117 pub struct FSCNTL_SCREEN_INFO { 2118 pub Position: super::super::System::Console::COORD, 2119 pub ScreenSize: super::super::System::Console::COORD, 2120 pub nNumberOfChars: u32, 2121 } 2122 #[cfg(feature = "Win32_System_Console")] 2123 impl ::core::marker::Copy for FSCNTL_SCREEN_INFO {} 2124 #[cfg(feature = "Win32_System_Console")] 2125 impl ::core::clone::Clone for FSCNTL_SCREEN_INFO { clone(&self) -> Self2126 fn clone(&self) -> Self { 2127 *self 2128 } 2129 } 2130 #[repr(C)] 2131 #[cfg(feature = "Win32_System_Console")] 2132 pub struct FSVIDEO_COPY_FRAME_BUFFER { 2133 pub SrcScreen: FSCNTL_SCREEN_INFO, 2134 pub DestScreen: FSCNTL_SCREEN_INFO, 2135 } 2136 #[cfg(feature = "Win32_System_Console")] 2137 impl ::core::marker::Copy for FSVIDEO_COPY_FRAME_BUFFER {} 2138 #[cfg(feature = "Win32_System_Console")] 2139 impl ::core::clone::Clone for FSVIDEO_COPY_FRAME_BUFFER { clone(&self) -> Self2140 fn clone(&self) -> Self { 2141 *self 2142 } 2143 } 2144 #[repr(C)] 2145 pub struct FSVIDEO_CURSOR_POSITION { 2146 pub Coord: VIDEO_CURSOR_POSITION, 2147 pub dwType: u32, 2148 } 2149 impl ::core::marker::Copy for FSVIDEO_CURSOR_POSITION {} 2150 impl ::core::clone::Clone for FSVIDEO_CURSOR_POSITION { clone(&self) -> Self2151 fn clone(&self) -> Self { 2152 *self 2153 } 2154 } 2155 #[repr(C)] 2156 pub struct FSVIDEO_MODE_INFORMATION { 2157 pub VideoMode: VIDEO_MODE_INFORMATION, 2158 pub VideoMemory: VIDEO_MEMORY_INFORMATION, 2159 } 2160 impl ::core::marker::Copy for FSVIDEO_MODE_INFORMATION {} 2161 impl ::core::clone::Clone for FSVIDEO_MODE_INFORMATION { clone(&self) -> Self2162 fn clone(&self) -> Self { 2163 *self 2164 } 2165 } 2166 #[repr(C)] 2167 #[cfg(feature = "Win32_System_Console")] 2168 pub struct FSVIDEO_REVERSE_MOUSE_POINTER { 2169 pub Screen: FSCNTL_SCREEN_INFO, 2170 pub dwType: u32, 2171 } 2172 #[cfg(feature = "Win32_System_Console")] 2173 impl ::core::marker::Copy for FSVIDEO_REVERSE_MOUSE_POINTER {} 2174 #[cfg(feature = "Win32_System_Console")] 2175 impl ::core::clone::Clone for FSVIDEO_REVERSE_MOUSE_POINTER { clone(&self) -> Self2176 fn clone(&self) -> Self { 2177 *self 2178 } 2179 } 2180 #[repr(C)] 2181 #[cfg(feature = "Win32_System_Console")] 2182 pub struct FSVIDEO_SCREEN_INFORMATION { 2183 pub ScreenSize: super::super::System::Console::COORD, 2184 pub FontSize: super::super::System::Console::COORD, 2185 } 2186 #[cfg(feature = "Win32_System_Console")] 2187 impl ::core::marker::Copy for FSVIDEO_SCREEN_INFORMATION {} 2188 #[cfg(feature = "Win32_System_Console")] 2189 impl ::core::clone::Clone for FSVIDEO_SCREEN_INFORMATION { clone(&self) -> Self2190 fn clone(&self) -> Self { 2191 *self 2192 } 2193 } 2194 #[repr(C)] 2195 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Console"))] 2196 pub struct FSVIDEO_WRITE_TO_FRAME_BUFFER { 2197 pub SrcBuffer: *mut CHAR_IMAGE_INFO, 2198 pub DestScreen: FSCNTL_SCREEN_INFO, 2199 } 2200 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Console"))] 2201 impl ::core::marker::Copy for FSVIDEO_WRITE_TO_FRAME_BUFFER {} 2202 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Console"))] 2203 impl ::core::clone::Clone for FSVIDEO_WRITE_TO_FRAME_BUFFER { clone(&self) -> Self2204 fn clone(&self) -> Self { 2205 *self 2206 } 2207 } 2208 #[repr(C)] 2209 pub struct GAMMARAMP { 2210 pub Red: [u16; 256], 2211 pub Green: [u16; 256], 2212 pub Blue: [u16; 256], 2213 } 2214 impl ::core::marker::Copy for GAMMARAMP {} 2215 impl ::core::clone::Clone for GAMMARAMP { clone(&self) -> Self2216 fn clone(&self) -> Self { 2217 *self 2218 } 2219 } 2220 #[repr(C)] 2221 pub struct GAMMA_RAMP_DXGI_1 { 2222 pub Scale: GAMMA_RAMP_RGB, 2223 pub Offset: GAMMA_RAMP_RGB, 2224 pub GammaCurve: [GAMMA_RAMP_RGB; 1025], 2225 } 2226 impl ::core::marker::Copy for GAMMA_RAMP_DXGI_1 {} 2227 impl ::core::clone::Clone for GAMMA_RAMP_DXGI_1 { clone(&self) -> Self2228 fn clone(&self) -> Self { 2229 *self 2230 } 2231 } 2232 #[repr(C)] 2233 pub struct GAMMA_RAMP_RGB { 2234 pub Red: f32, 2235 pub Green: f32, 2236 pub Blue: f32, 2237 } 2238 impl ::core::marker::Copy for GAMMA_RAMP_RGB {} 2239 impl ::core::clone::Clone for GAMMA_RAMP_RGB { clone(&self) -> Self2240 fn clone(&self) -> Self { 2241 *self 2242 } 2243 } 2244 #[repr(C)] 2245 pub struct GAMMA_RAMP_RGB256x3x16 { 2246 pub Red: [u16; 256], 2247 pub Green: [u16; 256], 2248 pub Blue: [u16; 256], 2249 } 2250 impl ::core::marker::Copy for GAMMA_RAMP_RGB256x3x16 {} 2251 impl ::core::clone::Clone for GAMMA_RAMP_RGB256x3x16 { clone(&self) -> Self2252 fn clone(&self) -> Self { 2253 *self 2254 } 2255 } 2256 pub const GCAPS2_ACC_DRIVER: u32 = 32768u32; 2257 pub const GCAPS2_ALPHACURSOR: u32 = 32u32; 2258 pub const GCAPS2_BITMAPEXREUSE: u32 = 65536u32; 2259 pub const GCAPS2_CHANGEGAMMARAMP: u32 = 16u32; 2260 pub const GCAPS2_CLEARTYPE: u32 = 16384u32; 2261 pub const GCAPS2_EXCLUDELAYERED: u32 = 2048u32; 2262 pub const GCAPS2_ICD_MULTIMON: u32 = 256u32; 2263 pub const GCAPS2_INCLUDEAPIBITMAPS: u32 = 4096u32; 2264 pub const GCAPS2_JPEGSRC: u32 = 1u32; 2265 pub const GCAPS2_MOUSETRAILS: u32 = 512u32; 2266 pub const GCAPS2_PNGSRC: u32 = 8u32; 2267 pub const GCAPS2_REMOTEDRIVER: u32 = 1024u32; 2268 pub const GCAPS2_RESERVED1: u32 = 1024u32; 2269 pub const GCAPS2_SHOWHIDDENPOINTER: u32 = 8192u32; 2270 pub const GCAPS2_SYNCFLUSH: u32 = 64u32; 2271 pub const GCAPS2_SYNCTIMER: u32 = 128u32; 2272 pub const GCAPS2_xxxx: u32 = 2u32; 2273 pub const GCAPS_ALTERNATEFILL: u32 = 4u32; 2274 pub const GCAPS_ARBRUSHOPAQUE: u32 = 32768u32; 2275 pub const GCAPS_ARBRUSHTEXT: u32 = 268435456u32; 2276 pub const GCAPS_ASYNCCHANGE: u32 = 2048u32; 2277 pub const GCAPS_ASYNCMOVE: u32 = 4096u32; 2278 pub const GCAPS_BEZIERS: u32 = 1u32; 2279 pub const GCAPS_CMYKCOLOR: u32 = 67108864u32; 2280 pub const GCAPS_COLOR_DITHER: u32 = 32u32; 2281 pub const GCAPS_DIRECTDRAW: u32 = 16384u32; 2282 pub const GCAPS_DITHERONREALIZE: u32 = 2097152u32; 2283 pub const GCAPS_DONTJOURNAL: u32 = 8192u32; 2284 pub const GCAPS_FONT_RASTERIZER: u32 = 1073741824u32; 2285 pub const GCAPS_FORCEDITHER: u32 = 8388608u32; 2286 pub const GCAPS_GEOMETRICWIDE: u32 = 2u32; 2287 pub const GCAPS_GRAY16: u32 = 16777216u32; 2288 pub const GCAPS_HALFTONE: u32 = 16u32; 2289 pub const GCAPS_HIGHRESTEXT: u32 = 262144u32; 2290 pub const GCAPS_HORIZSTRIKE: u32 = 64u32; 2291 pub const GCAPS_ICM: u32 = 33554432u32; 2292 pub const GCAPS_LAYERED: u32 = 134217728u32; 2293 pub const GCAPS_MONO_DITHER: u32 = 1024u32; 2294 pub const GCAPS_NO64BITMEMACCESS: u32 = 4194304u32; 2295 pub const GCAPS_NUP: u32 = 2147483648u32; 2296 pub const GCAPS_OPAQUERECT: u32 = 256u32; 2297 pub const GCAPS_PALMANAGED: u32 = 524288u32; 2298 pub const GCAPS_PANNING: u32 = 65536u32; 2299 pub const GCAPS_SCREENPRECISION: u32 = 536870912u32; 2300 pub const GCAPS_VECTORFONT: u32 = 512u32; 2301 pub const GCAPS_VERTSTRIKE: u32 = 128u32; 2302 pub const GCAPS_WINDINGFILL: u32 = 8u32; 2303 #[repr(C)] 2304 #[cfg(feature = "Win32_Foundation")] 2305 pub struct GDIINFO { 2306 pub ulVersion: u32, 2307 pub ulTechnology: u32, 2308 pub ulHorzSize: u32, 2309 pub ulVertSize: u32, 2310 pub ulHorzRes: u32, 2311 pub ulVertRes: u32, 2312 pub cBitsPixel: u32, 2313 pub cPlanes: u32, 2314 pub ulNumColors: u32, 2315 pub flRaster: u32, 2316 pub ulLogPixelsX: u32, 2317 pub ulLogPixelsY: u32, 2318 pub flTextCaps: u32, 2319 pub ulDACRed: u32, 2320 pub ulDACGreen: u32, 2321 pub ulDACBlue: u32, 2322 pub ulAspectX: u32, 2323 pub ulAspectY: u32, 2324 pub ulAspectXY: u32, 2325 pub xStyleStep: i32, 2326 pub yStyleStep: i32, 2327 pub denStyleStep: i32, 2328 pub ptlPhysOffset: super::super::Foundation::POINTL, 2329 pub szlPhysSize: super::super::Foundation::SIZE, 2330 pub ulNumPalReg: u32, 2331 pub ciDevice: COLORINFO, 2332 pub ulDevicePelsDPI: u32, 2333 pub ulPrimaryOrder: u32, 2334 pub ulHTPatternSize: u32, 2335 pub ulHTOutputFormat: u32, 2336 pub flHTFlags: u32, 2337 pub ulVRefresh: u32, 2338 pub ulBltAlignment: u32, 2339 pub ulPanningHorzRes: u32, 2340 pub ulPanningVertRes: u32, 2341 pub xPanningAlignment: u32, 2342 pub yPanningAlignment: u32, 2343 pub cxHTPat: u32, 2344 pub cyHTPat: u32, 2345 pub pHTPatA: *mut u8, 2346 pub pHTPatB: *mut u8, 2347 pub pHTPatC: *mut u8, 2348 pub flShadeBlend: u32, 2349 pub ulPhysicalPixelCharacteristics: u32, 2350 pub ulPhysicalPixelGamma: u32, 2351 } 2352 #[cfg(feature = "Win32_Foundation")] 2353 impl ::core::marker::Copy for GDIINFO {} 2354 #[cfg(feature = "Win32_Foundation")] 2355 impl ::core::clone::Clone for GDIINFO { clone(&self) -> Self2356 fn clone(&self) -> Self { 2357 *self 2358 } 2359 } 2360 pub const GDI_DRIVER_VERSION: u32 = 16384u32; 2361 pub const GETCONNECTEDIDS_SOURCE: u32 = 1u32; 2362 pub const GETCONNECTEDIDS_TARGET: u32 = 0u32; 2363 #[repr(C)] 2364 #[cfg(feature = "Win32_Foundation")] 2365 pub struct GLYPHBITS { 2366 pub ptlOrigin: super::super::Foundation::POINTL, 2367 pub sizlBitmap: super::super::Foundation::SIZE, 2368 pub aj: [u8; 1], 2369 } 2370 #[cfg(feature = "Win32_Foundation")] 2371 impl ::core::marker::Copy for GLYPHBITS {} 2372 #[cfg(feature = "Win32_Foundation")] 2373 impl ::core::clone::Clone for GLYPHBITS { clone(&self) -> Self2374 fn clone(&self) -> Self { 2375 *self 2376 } 2377 } 2378 #[repr(C)] 2379 #[cfg(feature = "Win32_Foundation")] 2380 pub struct GLYPHDATA { 2381 pub gdf: GLYPHDEF, 2382 pub hg: u32, 2383 pub fxD: i32, 2384 pub fxA: i32, 2385 pub fxAB: i32, 2386 pub fxInkTop: i32, 2387 pub fxInkBottom: i32, 2388 pub rclInk: super::super::Foundation::RECTL, 2389 pub ptqD: POINTQF, 2390 } 2391 #[cfg(feature = "Win32_Foundation")] 2392 impl ::core::marker::Copy for GLYPHDATA {} 2393 #[cfg(feature = "Win32_Foundation")] 2394 impl ::core::clone::Clone for GLYPHDATA { clone(&self) -> Self2395 fn clone(&self) -> Self { 2396 *self 2397 } 2398 } 2399 #[repr(C)] 2400 #[cfg(feature = "Win32_Foundation")] 2401 pub union GLYPHDEF { 2402 pub pgb: *mut GLYPHBITS, 2403 pub ppo: *mut PATHOBJ, 2404 } 2405 #[cfg(feature = "Win32_Foundation")] 2406 impl ::core::marker::Copy for GLYPHDEF {} 2407 #[cfg(feature = "Win32_Foundation")] 2408 impl ::core::clone::Clone for GLYPHDEF { clone(&self) -> Self2409 fn clone(&self) -> Self { 2410 *self 2411 } 2412 } 2413 #[repr(C)] 2414 #[cfg(feature = "Win32_Foundation")] 2415 pub struct GLYPHPOS { 2416 pub hg: u32, 2417 pub pgdf: *mut GLYPHDEF, 2418 pub ptl: super::super::Foundation::POINTL, 2419 } 2420 #[cfg(feature = "Win32_Foundation")] 2421 impl ::core::marker::Copy for GLYPHPOS {} 2422 #[cfg(feature = "Win32_Foundation")] 2423 impl ::core::clone::Clone for GLYPHPOS { clone(&self) -> Self2424 fn clone(&self) -> Self { 2425 *self 2426 } 2427 } 2428 pub const GS_16BIT_HANDLES: u32 = 4u32; 2429 pub const GS_8BIT_HANDLES: u32 = 2u32; 2430 pub const GS_UNICODE_HANDLES: u32 = 1u32; 2431 pub const GUID_DEVINTERFACE_DISPLAY_ADAPTER: ::windows_sys::core::GUID = ::windows_sys::core::GUID { 2432 data1: 1531256861, 2433 data2: 62194, 2434 data3: 20283, 2435 data4: [133, 187, 48, 255, 31, 149, 53, 153], 2436 }; 2437 pub const GUID_DEVINTERFACE_MONITOR: ::windows_sys::core::GUID = ::windows_sys::core::GUID { 2438 data1: 3874519903, 2439 data2: 61079, 2440 data3: 19088, 2441 data4: [176, 118, 51, 245, 123, 244, 234, 167], 2442 }; 2443 pub const GUID_DEVINTERFACE_VIDEO_OUTPUT_ARRIVAL: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 450487536, data2: 63629, data3: 17248, data4: [186, 185, 76, 45, 85, 229, 100, 205] }; 2444 pub const GUID_DISPLAY_DEVICE_ARRIVAL: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 480268672, data2: 42649, data3: 17674, data4: [154, 12, 222, 79, 190, 61, 221, 137] }; 2445 pub const GUID_MONITOR_OVERRIDE_PSEUDO_SPECIALIZED: ::windows_sys::core::GUID = ::windows_sys::core::GUID { 2446 data1: 4053188655, 2447 data2: 63599, 2448 data3: 20378, 2449 data4: [170, 21, 233, 206, 189, 254, 59, 150], 2450 }; 2451 pub const GX_GENERAL: i32 = 3i32; 2452 pub const GX_IDENTITY: i32 = 0i32; 2453 pub const GX_OFFSET: i32 = 1i32; 2454 pub const GX_SCALE: i32 = 2i32; 2455 pub type HBM = isize; 2456 pub type HDEV = isize; 2457 pub type HDRVOBJ = isize; 2458 pub type HFASTMUTEX = isize; 2459 pub const HOOK_ALPHABLEND: u32 = 65536u32; 2460 pub const HOOK_BITBLT: u32 = 1u32; 2461 pub const HOOK_COPYBITS: u32 = 1024u32; 2462 pub const HOOK_FILLPATH: u32 = 64u32; 2463 pub const HOOK_FLAGS: u32 = 243199u32; 2464 pub const HOOK_GRADIENTFILL: u32 = 131072u32; 2465 pub const HOOK_LINETO: u32 = 256u32; 2466 pub const HOOK_MOVEPANNING: u32 = 2048u32; 2467 pub const HOOK_PAINT: u32 = 16u32; 2468 pub const HOOK_PLGBLT: u32 = 4u32; 2469 pub const HOOK_STRETCHBLT: u32 = 2u32; 2470 pub const HOOK_STRETCHBLTROP: u32 = 8192u32; 2471 pub const HOOK_STROKEANDFILLPATH: u32 = 128u32; 2472 pub const HOOK_STROKEPATH: u32 = 32u32; 2473 pub const HOOK_SYNCHRONIZE: u32 = 4096u32; 2474 pub const HOOK_SYNCHRONIZEACCESS: u32 = 16384u32; 2475 pub const HOOK_TEXTOUT: u32 = 8u32; 2476 pub const HOOK_TRANSPARENTBLT: u32 = 32768u32; 2477 pub const HOST_DSI_BAD_TRANSMISSION_MODE: u32 = 4096u32; 2478 pub const HOST_DSI_DEVICE_NOT_READY: u32 = 1u32; 2479 pub const HOST_DSI_DEVICE_RESET: u32 = 4u32; 2480 pub const HOST_DSI_DRIVER_REJECTED_PACKET: u32 = 1024u32; 2481 pub const HOST_DSI_INTERFACE_RESET: u32 = 2u32; 2482 pub const HOST_DSI_INVALID_TRANSMISSION: u32 = 256u32; 2483 pub const HOST_DSI_OS_REJECTED_PACKET: u32 = 512u32; 2484 pub const HOST_DSI_TRANSMISSION_CANCELLED: u32 = 16u32; 2485 pub const HOST_DSI_TRANSMISSION_DROPPED: u32 = 32u32; 2486 pub const HOST_DSI_TRANSMISSION_TIMEOUT: u32 = 64u32; 2487 pub type HSEMAPHORE = isize; 2488 pub type HSURF = isize; 2489 pub const HS_DDI_MAX: u32 = 6u32; 2490 pub const HT_FLAG_8BPP_CMY332_MASK: u32 = 4278190080u32; 2491 pub const HT_FLAG_ADDITIVE_PRIMS: u32 = 4u32; 2492 pub const HT_FLAG_DO_DEVCLR_XFORM: u32 = 128u32; 2493 pub const HT_FLAG_HAS_BLACK_DYE: u32 = 2u32; 2494 pub const HT_FLAG_INK_ABSORPTION_IDX0: u32 = 0u32; 2495 pub const HT_FLAG_INK_ABSORPTION_IDX1: u32 = 32u32; 2496 pub const HT_FLAG_INK_ABSORPTION_IDX2: u32 = 64u32; 2497 pub const HT_FLAG_INK_ABSORPTION_IDX3: u32 = 96u32; 2498 pub const HT_FLAG_INK_ABSORPTION_INDICES: u32 = 96u32; 2499 pub const HT_FLAG_INK_HIGH_ABSORPTION: u32 = 16u32; 2500 pub const HT_FLAG_INVERT_8BPP_BITMASK_IDX: u32 = 1024u32; 2501 pub const HT_FLAG_LOWER_INK_ABSORPTION: u32 = 64u32; 2502 pub const HT_FLAG_LOWEST_INK_ABSORPTION: u32 = 96u32; 2503 pub const HT_FLAG_LOW_INK_ABSORPTION: u32 = 32u32; 2504 pub const HT_FLAG_NORMAL_INK_ABSORPTION: u32 = 0u32; 2505 pub const HT_FLAG_OUTPUT_CMY: u32 = 256u32; 2506 pub const HT_FLAG_PRINT_DRAFT_MODE: u32 = 512u32; 2507 pub const HT_FLAG_SQUARE_DEVICE_PEL: u32 = 1u32; 2508 pub const HT_FLAG_USE_8BPP_BITMASK: u32 = 8u32; 2509 pub const HT_FORMAT_16BPP: u32 = 5u32; 2510 pub const HT_FORMAT_1BPP: u32 = 0u32; 2511 pub const HT_FORMAT_24BPP: u32 = 6u32; 2512 pub const HT_FORMAT_32BPP: u32 = 7u32; 2513 pub const HT_FORMAT_4BPP: u32 = 2u32; 2514 pub const HT_FORMAT_4BPP_IRGB: u32 = 3u32; 2515 pub const HT_FORMAT_8BPP: u32 = 4u32; 2516 pub const HT_PATSIZE_10x10: u32 = 8u32; 2517 pub const HT_PATSIZE_10x10_M: u32 = 9u32; 2518 pub const HT_PATSIZE_12x12: u32 = 10u32; 2519 pub const HT_PATSIZE_12x12_M: u32 = 11u32; 2520 pub const HT_PATSIZE_14x14: u32 = 12u32; 2521 pub const HT_PATSIZE_14x14_M: u32 = 13u32; 2522 pub const HT_PATSIZE_16x16: u32 = 14u32; 2523 pub const HT_PATSIZE_16x16_M: u32 = 15u32; 2524 pub const HT_PATSIZE_2x2: u32 = 0u32; 2525 pub const HT_PATSIZE_2x2_M: u32 = 1u32; 2526 pub const HT_PATSIZE_4x4: u32 = 2u32; 2527 pub const HT_PATSIZE_4x4_M: u32 = 3u32; 2528 pub const HT_PATSIZE_6x6: u32 = 4u32; 2529 pub const HT_PATSIZE_6x6_M: u32 = 5u32; 2530 pub const HT_PATSIZE_8x8: u32 = 6u32; 2531 pub const HT_PATSIZE_8x8_M: u32 = 7u32; 2532 pub const HT_PATSIZE_DEFAULT: u32 = 17u32; 2533 pub const HT_PATSIZE_MAX_INDEX: u32 = 18u32; 2534 pub const HT_PATSIZE_SUPERCELL: u32 = 16u32; 2535 pub const HT_PATSIZE_SUPERCELL_M: u32 = 17u32; 2536 pub const HT_PATSIZE_USER: u32 = 18u32; 2537 pub const HT_USERPAT_CX_MAX: u32 = 256u32; 2538 pub const HT_USERPAT_CX_MIN: u32 = 4u32; 2539 pub const HT_USERPAT_CY_MAX: u32 = 256u32; 2540 pub const HT_USERPAT_CY_MIN: u32 = 4u32; 2541 pub type ICloneViewHelper = *mut ::core::ffi::c_void; 2542 #[repr(C)] 2543 pub struct IFIEXTRA { 2544 pub ulIdentifier: u32, 2545 pub dpFontSig: i32, 2546 pub cig: u32, 2547 pub dpDesignVector: i32, 2548 pub dpAxesInfoW: i32, 2549 pub aulReserved: [u32; 1], 2550 } 2551 impl ::core::marker::Copy for IFIEXTRA {} 2552 impl ::core::clone::Clone for IFIEXTRA { clone(&self) -> Self2553 fn clone(&self) -> Self { 2554 *self 2555 } 2556 } 2557 #[repr(C)] 2558 #[cfg(any(target_arch = "x86_64", target_arch = "aarch64",))] 2559 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] 2560 pub struct IFIMETRICS { 2561 pub cjThis: u32, 2562 pub cjIfiExtra: u32, 2563 pub dpwszFamilyName: i32, 2564 pub dpwszStyleName: i32, 2565 pub dpwszFaceName: i32, 2566 pub dpwszUniqueName: i32, 2567 pub dpFontSim: i32, 2568 pub lEmbedId: i32, 2569 pub lItalicAngle: i32, 2570 pub lCharBias: i32, 2571 pub dpCharSets: i32, 2572 pub jWinCharSet: u8, 2573 pub jWinPitchAndFamily: u8, 2574 pub usWinWeight: u16, 2575 pub flInfo: u32, 2576 pub fsSelection: u16, 2577 pub fsType: u16, 2578 pub fwdUnitsPerEm: i16, 2579 pub fwdLowestPPEm: i16, 2580 pub fwdWinAscender: i16, 2581 pub fwdWinDescender: i16, 2582 pub fwdMacAscender: i16, 2583 pub fwdMacDescender: i16, 2584 pub fwdMacLineGap: i16, 2585 pub fwdTypoAscender: i16, 2586 pub fwdTypoDescender: i16, 2587 pub fwdTypoLineGap: i16, 2588 pub fwdAveCharWidth: i16, 2589 pub fwdMaxCharInc: i16, 2590 pub fwdCapHeight: i16, 2591 pub fwdXHeight: i16, 2592 pub fwdSubscriptXSize: i16, 2593 pub fwdSubscriptYSize: i16, 2594 pub fwdSubscriptXOffset: i16, 2595 pub fwdSubscriptYOffset: i16, 2596 pub fwdSuperscriptXSize: i16, 2597 pub fwdSuperscriptYSize: i16, 2598 pub fwdSuperscriptXOffset: i16, 2599 pub fwdSuperscriptYOffset: i16, 2600 pub fwdUnderscoreSize: i16, 2601 pub fwdUnderscorePosition: i16, 2602 pub fwdStrikeoutSize: i16, 2603 pub fwdStrikeoutPosition: i16, 2604 pub chFirstChar: u8, 2605 pub chLastChar: u8, 2606 pub chDefaultChar: u8, 2607 pub chBreakChar: u8, 2608 pub wcFirstChar: u16, 2609 pub wcLastChar: u16, 2610 pub wcDefaultChar: u16, 2611 pub wcBreakChar: u16, 2612 pub ptlBaseline: super::super::Foundation::POINTL, 2613 pub ptlAspect: super::super::Foundation::POINTL, 2614 pub ptlCaret: super::super::Foundation::POINTL, 2615 pub rclFontBox: super::super::Foundation::RECTL, 2616 pub achVendId: [u8; 4], 2617 pub cKerningPairs: u32, 2618 pub ulPanoseCulture: u32, 2619 pub panose: super::super::Graphics::Gdi::PANOSE, 2620 pub Align: *mut ::core::ffi::c_void, 2621 } 2622 #[cfg(any(target_arch = "x86_64", target_arch = "aarch64",))] 2623 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] 2624 impl ::core::marker::Copy for IFIMETRICS {} 2625 #[cfg(any(target_arch = "x86_64", target_arch = "aarch64",))] 2626 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] 2627 impl ::core::clone::Clone for IFIMETRICS { clone(&self) -> Self2628 fn clone(&self) -> Self { 2629 *self 2630 } 2631 } 2632 #[repr(C)] 2633 #[cfg(any(target_arch = "x86",))] 2634 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] 2635 pub struct IFIMETRICS { 2636 pub cjThis: u32, 2637 pub cjIfiExtra: u32, 2638 pub dpwszFamilyName: i32, 2639 pub dpwszStyleName: i32, 2640 pub dpwszFaceName: i32, 2641 pub dpwszUniqueName: i32, 2642 pub dpFontSim: i32, 2643 pub lEmbedId: i32, 2644 pub lItalicAngle: i32, 2645 pub lCharBias: i32, 2646 pub dpCharSets: i32, 2647 pub jWinCharSet: u8, 2648 pub jWinPitchAndFamily: u8, 2649 pub usWinWeight: u16, 2650 pub flInfo: u32, 2651 pub fsSelection: u16, 2652 pub fsType: u16, 2653 pub fwdUnitsPerEm: i16, 2654 pub fwdLowestPPEm: i16, 2655 pub fwdWinAscender: i16, 2656 pub fwdWinDescender: i16, 2657 pub fwdMacAscender: i16, 2658 pub fwdMacDescender: i16, 2659 pub fwdMacLineGap: i16, 2660 pub fwdTypoAscender: i16, 2661 pub fwdTypoDescender: i16, 2662 pub fwdTypoLineGap: i16, 2663 pub fwdAveCharWidth: i16, 2664 pub fwdMaxCharInc: i16, 2665 pub fwdCapHeight: i16, 2666 pub fwdXHeight: i16, 2667 pub fwdSubscriptXSize: i16, 2668 pub fwdSubscriptYSize: i16, 2669 pub fwdSubscriptXOffset: i16, 2670 pub fwdSubscriptYOffset: i16, 2671 pub fwdSuperscriptXSize: i16, 2672 pub fwdSuperscriptYSize: i16, 2673 pub fwdSuperscriptXOffset: i16, 2674 pub fwdSuperscriptYOffset: i16, 2675 pub fwdUnderscoreSize: i16, 2676 pub fwdUnderscorePosition: i16, 2677 pub fwdStrikeoutSize: i16, 2678 pub fwdStrikeoutPosition: i16, 2679 pub chFirstChar: u8, 2680 pub chLastChar: u8, 2681 pub chDefaultChar: u8, 2682 pub chBreakChar: u8, 2683 pub wcFirstChar: u16, 2684 pub wcLastChar: u16, 2685 pub wcDefaultChar: u16, 2686 pub wcBreakChar: u16, 2687 pub ptlBaseline: super::super::Foundation::POINTL, 2688 pub ptlAspect: super::super::Foundation::POINTL, 2689 pub ptlCaret: super::super::Foundation::POINTL, 2690 pub rclFontBox: super::super::Foundation::RECTL, 2691 pub achVendId: [u8; 4], 2692 pub cKerningPairs: u32, 2693 pub ulPanoseCulture: u32, 2694 pub panose: super::super::Graphics::Gdi::PANOSE, 2695 } 2696 #[cfg(any(target_arch = "x86",))] 2697 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] 2698 impl ::core::marker::Copy for IFIMETRICS {} 2699 #[cfg(any(target_arch = "x86",))] 2700 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] 2701 impl ::core::clone::Clone for IFIMETRICS { clone(&self) -> Self2702 fn clone(&self) -> Self { 2703 *self 2704 } 2705 } 2706 pub const IGRF_RGB_256BYTES: u32 = 0u32; 2707 pub const IGRF_RGB_256WORDS: u32 = 1u32; 2708 pub const INDEX_DrvAccumulateD3DDirtyRect: i32 = 98i32; 2709 pub const INDEX_DrvAlphaBlend: i32 = 71i32; 2710 pub const INDEX_DrvAssertMode: i32 = 5i32; 2711 pub const INDEX_DrvAssociateSharedSurface: i32 = 96i32; 2712 pub const INDEX_DrvBitBlt: i32 = 18i32; 2713 pub const INDEX_DrvCompletePDEV: i32 = 1i32; 2714 pub const INDEX_DrvCopyBits: i32 = 19i32; 2715 pub const INDEX_DrvCreateDeviceBitmap: i32 = 10i32; 2716 pub const INDEX_DrvCreateDeviceBitmapEx: i32 = 94i32; 2717 pub const INDEX_DrvDeleteDeviceBitmap: i32 = 11i32; 2718 pub const INDEX_DrvDeleteDeviceBitmapEx: i32 = 95i32; 2719 pub const INDEX_DrvDeriveSurface: i32 = 85i32; 2720 pub const INDEX_DrvDescribePixelFormat: i32 = 55i32; 2721 pub const INDEX_DrvDestroyFont: i32 = 43i32; 2722 pub const INDEX_DrvDisableDirectDraw: i32 = 61i32; 2723 pub const INDEX_DrvDisableDriver: i32 = 8i32; 2724 pub const INDEX_DrvDisablePDEV: i32 = 2i32; 2725 pub const INDEX_DrvDisableSurface: i32 = 4i32; 2726 pub const INDEX_DrvDitherColor: i32 = 13i32; 2727 pub const INDEX_DrvDrawEscape: i32 = 25i32; 2728 pub const INDEX_DrvEnableDirectDraw: i32 = 60i32; 2729 pub const INDEX_DrvEnablePDEV: i32 = 0i32; 2730 pub const INDEX_DrvEnableSurface: i32 = 3i32; 2731 pub const INDEX_DrvEndDoc: i32 = 34i32; 2732 pub const INDEX_DrvEndDxInterop: i32 = 100i32; 2733 pub const INDEX_DrvEscape: i32 = 24i32; 2734 pub const INDEX_DrvFillPath: i32 = 15i32; 2735 pub const INDEX_DrvFontManagement: i32 = 47i32; 2736 pub const INDEX_DrvFree: i32 = 42i32; 2737 pub const INDEX_DrvGetDirectDrawInfo: i32 = 59i32; 2738 pub const INDEX_DrvGetGlyphMode: i32 = 37i32; 2739 pub const INDEX_DrvGetModes: i32 = 41i32; 2740 pub const INDEX_DrvGetSynthesizedFontFiles: i32 = 73i32; 2741 pub const INDEX_DrvGetTrueTypeFile: i32 = 50i32; 2742 pub const INDEX_DrvGradientFill: i32 = 68i32; 2743 pub const INDEX_DrvIcmCheckBitmapBits: i32 = 66i32; 2744 pub const INDEX_DrvIcmCreateColorTransform: i32 = 64i32; 2745 pub const INDEX_DrvIcmDeleteColorTransform: i32 = 65i32; 2746 pub const INDEX_DrvIcmSetDeviceGammaRamp: i32 = 67i32; 2747 pub const INDEX_DrvLineTo: i32 = 31i32; 2748 pub const INDEX_DrvLoadFontFile: i32 = 45i32; 2749 pub const INDEX_DrvLockDisplayArea: i32 = 101i32; 2750 pub const INDEX_DrvMovePanning: i32 = 52i32; 2751 pub const INDEX_DrvMovePointer: i32 = 30i32; 2752 pub const INDEX_DrvNextBand: i32 = 58i32; 2753 pub const INDEX_DrvNotify: i32 = 87i32; 2754 pub const INDEX_DrvOffset: i32 = 6i32; 2755 pub const INDEX_DrvPaint: i32 = 17i32; 2756 pub const INDEX_DrvPlgBlt: i32 = 70i32; 2757 pub const INDEX_DrvQueryAdvanceWidths: i32 = 53i32; 2758 pub const INDEX_DrvQueryDeviceSupport: i32 = 76i32; 2759 pub const INDEX_DrvQueryFont: i32 = 26i32; 2760 pub const INDEX_DrvQueryFontCaps: i32 = 44i32; 2761 pub const INDEX_DrvQueryFontData: i32 = 28i32; 2762 pub const INDEX_DrvQueryFontFile: i32 = 51i32; 2763 pub const INDEX_DrvQueryFontTree: i32 = 27i32; 2764 pub const INDEX_DrvQueryGlyphAttrs: i32 = 86i32; 2765 pub const INDEX_DrvQueryPerBandInfo: i32 = 75i32; 2766 pub const INDEX_DrvQuerySpoolType: i32 = 62i32; 2767 pub const INDEX_DrvQueryTrueTypeOutline: i32 = 49i32; 2768 pub const INDEX_DrvQueryTrueTypeTable: i32 = 48i32; 2769 pub const INDEX_DrvRealizeBrush: i32 = 12i32; 2770 pub const INDEX_DrvRenderHint: i32 = 93i32; 2771 pub const INDEX_DrvReserved1: i32 = 77i32; 2772 pub const INDEX_DrvReserved10: i32 = 91i32; 2773 pub const INDEX_DrvReserved11: i32 = 92i32; 2774 pub const INDEX_DrvReserved2: i32 = 78i32; 2775 pub const INDEX_DrvReserved3: i32 = 79i32; 2776 pub const INDEX_DrvReserved4: i32 = 80i32; 2777 pub const INDEX_DrvReserved5: i32 = 81i32; 2778 pub const INDEX_DrvReserved6: i32 = 82i32; 2779 pub const INDEX_DrvReserved7: i32 = 83i32; 2780 pub const INDEX_DrvReserved8: i32 = 84i32; 2781 pub const INDEX_DrvReserved9: i32 = 90i32; 2782 pub const INDEX_DrvResetDevice: i32 = 89i32; 2783 pub const INDEX_DrvResetPDEV: i32 = 7i32; 2784 pub const INDEX_DrvSaveScreenBits: i32 = 40i32; 2785 pub const INDEX_DrvSendPage: i32 = 32i32; 2786 pub const INDEX_DrvSetPalette: i32 = 22i32; 2787 pub const INDEX_DrvSetPixelFormat: i32 = 54i32; 2788 pub const INDEX_DrvSetPointerShape: i32 = 29i32; 2789 pub const INDEX_DrvStartBanding: i32 = 57i32; 2790 pub const INDEX_DrvStartDoc: i32 = 35i32; 2791 pub const INDEX_DrvStartDxInterop: i32 = 99i32; 2792 pub const INDEX_DrvStartPage: i32 = 33i32; 2793 pub const INDEX_DrvStretchBlt: i32 = 20i32; 2794 pub const INDEX_DrvStretchBltROP: i32 = 69i32; 2795 pub const INDEX_DrvStrokeAndFillPath: i32 = 16i32; 2796 pub const INDEX_DrvStrokePath: i32 = 14i32; 2797 pub const INDEX_DrvSurfaceComplete: i32 = 103i32; 2798 pub const INDEX_DrvSwapBuffers: i32 = 56i32; 2799 pub const INDEX_DrvSynchronize: i32 = 38i32; 2800 pub const INDEX_DrvSynchronizeRedirectionBitmaps: i32 = 97i32; 2801 pub const INDEX_DrvSynchronizeSurface: i32 = 88i32; 2802 pub const INDEX_DrvSynthesizeFont: i32 = 72i32; 2803 pub const INDEX_DrvTextOut: i32 = 23i32; 2804 pub const INDEX_DrvTransparentBlt: i32 = 74i32; 2805 pub const INDEX_DrvUnloadFontFile: i32 = 46i32; 2806 pub const INDEX_DrvUnlockDisplayArea: i32 = 102i32; 2807 pub const INDEX_LAST: i32 = 89i32; 2808 #[repr(C)] 2809 #[cfg(feature = "Win32_Foundation")] 2810 pub struct INDIRECT_DISPLAY_INFO { 2811 pub DisplayAdapterLuid: super::super::Foundation::LUID, 2812 pub Flags: u32, 2813 pub NumMonitors: u32, 2814 pub DisplayAdapterTargetBase: u32, 2815 } 2816 #[cfg(feature = "Win32_Foundation")] 2817 impl ::core::marker::Copy for INDIRECT_DISPLAY_INFO {} 2818 #[cfg(feature = "Win32_Foundation")] 2819 impl ::core::clone::Clone for INDIRECT_DISPLAY_INFO { clone(&self) -> Self2820 fn clone(&self) -> Self { 2821 *self 2822 } 2823 } 2824 pub const INDIRECT_DISPLAY_INFO_FLAGS_CREATED_IDDCX_ADAPTER: u32 = 1u32; 2825 pub const IOCTL_COLORSPACE_TRANSFORM_QUERY_TARGET_CAPS: u32 = 2297856u32; 2826 pub const IOCTL_COLORSPACE_TRANSFORM_SET: u32 = 2297860u32; 2827 pub const IOCTL_FSVIDEO_COPY_FRAME_BUFFER: u32 = 3409920u32; 2828 pub const IOCTL_FSVIDEO_REVERSE_MOUSE_POINTER: u32 = 3409928u32; 2829 pub const IOCTL_FSVIDEO_SET_CURRENT_MODE: u32 = 3409932u32; 2830 pub const IOCTL_FSVIDEO_SET_CURSOR_POSITION: u32 = 3409940u32; 2831 pub const IOCTL_FSVIDEO_SET_SCREEN_INFORMATION: u32 = 3409936u32; 2832 pub const IOCTL_FSVIDEO_WRITE_TO_FRAME_BUFFER: u32 = 3409924u32; 2833 pub const IOCTL_MIPI_DSI_QUERY_CAPS: u32 = 2298880u32; 2834 pub const IOCTL_MIPI_DSI_RESET: u32 = 2298888u32; 2835 pub const IOCTL_MIPI_DSI_TRANSMISSION: u32 = 2298884u32; 2836 pub const IOCTL_PANEL_GET_BACKLIGHT_REDUCTION: u32 = 2296856u32; 2837 pub const IOCTL_PANEL_GET_BRIGHTNESS: u32 = 2296840u32; 2838 pub const IOCTL_PANEL_QUERY_BRIGHTNESS_CAPS: u32 = 2296832u32; 2839 pub const IOCTL_PANEL_QUERY_BRIGHTNESS_RANGES: u32 = 2296836u32; 2840 pub const IOCTL_PANEL_SET_BACKLIGHT_OPTIMIZATION: u32 = 2296852u32; 2841 pub const IOCTL_PANEL_SET_BRIGHTNESS: u32 = 2296844u32; 2842 pub const IOCTL_PANEL_SET_BRIGHTNESS_STATE: u32 = 2296848u32; 2843 pub const IOCTL_SET_ACTIVE_COLOR_PROFILE_NAME: u32 = 2297864u32; 2844 pub const IOCTL_VIDEO_DISABLE_CURSOR: u32 = 2294820u32; 2845 pub const IOCTL_VIDEO_DISABLE_POINTER: u32 = 2294844u32; 2846 pub const IOCTL_VIDEO_DISABLE_VDM: u32 = 2293764u32; 2847 pub const IOCTL_VIDEO_ENABLE_CURSOR: u32 = 2294816u32; 2848 pub const IOCTL_VIDEO_ENABLE_POINTER: u32 = 2294840u32; 2849 pub const IOCTL_VIDEO_ENABLE_VDM: u32 = 2293760u32; 2850 pub const IOCTL_VIDEO_ENUM_MONITOR_PDO: u32 = 2293784u32; 2851 pub const IOCTL_VIDEO_FREE_PUBLIC_ACCESS_RANGES: u32 = 2294884u32; 2852 pub const IOCTL_VIDEO_GET_BANK_SELECT_CODE: u32 = 2294868u32; 2853 pub const IOCTL_VIDEO_GET_CHILD_STATE: u32 = 2294912u32; 2854 pub const IOCTL_VIDEO_GET_OUTPUT_DEVICE_POWER_STATE: u32 = 2293776u32; 2855 pub const IOCTL_VIDEO_GET_POWER_MANAGEMENT: u32 = 2294896u32; 2856 pub const IOCTL_VIDEO_HANDLE_VIDEOPARAMETERS: u32 = 2293792u32; 2857 pub const IOCTL_VIDEO_INIT_WIN32K_CALLBACKS: u32 = 2293788u32; 2858 pub const IOCTL_VIDEO_IS_VGA_DEVICE: u32 = 2293796u32; 2859 pub const IOCTL_VIDEO_LOAD_AND_SET_FONT: u32 = 2294804u32; 2860 pub const IOCTL_VIDEO_MAP_VIDEO_MEMORY: u32 = 2294872u32; 2861 pub const IOCTL_VIDEO_MONITOR_DEVICE: u32 = 2293780u32; 2862 pub const IOCTL_VIDEO_PREPARE_FOR_EARECOVERY: u32 = 2293804u32; 2863 pub const IOCTL_VIDEO_QUERY_AVAIL_MODES: u32 = 2294784u32; 2864 pub const IOCTL_VIDEO_QUERY_COLOR_CAPABILITIES: u32 = 2294888u32; 2865 pub const IOCTL_VIDEO_QUERY_CURRENT_MODE: u32 = 2294792u32; 2866 pub const IOCTL_VIDEO_QUERY_CURSOR_ATTR: u32 = 2294828u32; 2867 pub const IOCTL_VIDEO_QUERY_CURSOR_POSITION: u32 = 2294836u32; 2868 pub const IOCTL_VIDEO_QUERY_DISPLAY_BRIGHTNESS: u32 = 2294936u32; 2869 pub const IOCTL_VIDEO_QUERY_NUM_AVAIL_MODES: u32 = 2294788u32; 2870 pub const IOCTL_VIDEO_QUERY_POINTER_ATTR: u32 = 2294852u32; 2871 pub const IOCTL_VIDEO_QUERY_POINTER_CAPABILITIES: u32 = 2294864u32; 2872 pub const IOCTL_VIDEO_QUERY_POINTER_POSITION: u32 = 2294860u32; 2873 pub const IOCTL_VIDEO_QUERY_PUBLIC_ACCESS_RANGES: u32 = 2294880u32; 2874 pub const IOCTL_VIDEO_QUERY_SUPPORTED_BRIGHTNESS: u32 = 2294932u32; 2875 pub const IOCTL_VIDEO_REGISTER_VDM: u32 = 2293768u32; 2876 pub const IOCTL_VIDEO_RESET_DEVICE: u32 = 2294800u32; 2877 pub const IOCTL_VIDEO_RESTORE_HARDWARE_STATE: u32 = 2294276u32; 2878 pub const IOCTL_VIDEO_SAVE_HARDWARE_STATE: u32 = 2294272u32; 2879 pub const IOCTL_VIDEO_SET_BANK_POSITION: u32 = 2294928u32; 2880 pub const IOCTL_VIDEO_SET_CHILD_STATE_CONFIGURATION: u32 = 2294920u32; 2881 pub const IOCTL_VIDEO_SET_COLOR_LUT_DATA: u32 = 2294908u32; 2882 pub const IOCTL_VIDEO_SET_COLOR_REGISTERS: u32 = 2294812u32; 2883 pub const IOCTL_VIDEO_SET_CURRENT_MODE: u32 = 2294796u32; 2884 pub const IOCTL_VIDEO_SET_CURSOR_ATTR: u32 = 2294824u32; 2885 pub const IOCTL_VIDEO_SET_CURSOR_POSITION: u32 = 2294832u32; 2886 pub const IOCTL_VIDEO_SET_DISPLAY_BRIGHTNESS: u32 = 2294940u32; 2887 pub const IOCTL_VIDEO_SET_OUTPUT_DEVICE_POWER_STATE: u32 = 2293772u32; 2888 pub const IOCTL_VIDEO_SET_PALETTE_REGISTERS: u32 = 2294808u32; 2889 pub const IOCTL_VIDEO_SET_POINTER_ATTR: u32 = 2294848u32; 2890 pub const IOCTL_VIDEO_SET_POINTER_POSITION: u32 = 2294856u32; 2891 pub const IOCTL_VIDEO_SET_POWER_MANAGEMENT: u32 = 2294892u32; 2892 pub const IOCTL_VIDEO_SHARE_VIDEO_MEMORY: u32 = 2294900u32; 2893 pub const IOCTL_VIDEO_SWITCH_DUALVIEW: u32 = 2294924u32; 2894 pub const IOCTL_VIDEO_UNMAP_VIDEO_MEMORY: u32 = 2294876u32; 2895 pub const IOCTL_VIDEO_UNSHARE_VIDEO_MEMORY: u32 = 2294904u32; 2896 pub const IOCTL_VIDEO_USE_DEVICE_IN_SESSION: u32 = 2293800u32; 2897 pub const IOCTL_VIDEO_VALIDATE_CHILD_STATE_CONFIGURATION: u32 = 2294916u32; 2898 pub type IViewHelper = *mut ::core::ffi::c_void; 2899 pub const JOIN_BEVEL: i32 = 1i32; 2900 pub const JOIN_MITER: i32 = 2i32; 2901 pub const JOIN_ROUND: i32 = 0i32; 2902 pub const LA_ALTERNATE: u32 = 2u32; 2903 pub const LA_GEOMETRIC: u32 = 1u32; 2904 pub const LA_STARTGAP: u32 = 4u32; 2905 pub const LA_STYLED: u32 = 8u32; 2906 #[repr(C)] 2907 #[cfg(feature = "Win32_Foundation")] 2908 pub struct LIGATURE { 2909 pub culSize: u32, 2910 pub pwsz: super::super::Foundation::PWSTR, 2911 pub chglyph: u32, 2912 pub ahglyph: [u32; 1], 2913 } 2914 #[cfg(feature = "Win32_Foundation")] 2915 impl ::core::marker::Copy for LIGATURE {} 2916 #[cfg(feature = "Win32_Foundation")] 2917 impl ::core::clone::Clone for LIGATURE { clone(&self) -> Self2918 fn clone(&self) -> Self { 2919 *self 2920 } 2921 } 2922 #[repr(C)] 2923 #[cfg(any(target_arch = "x86_64", target_arch = "aarch64",))] 2924 pub struct LINEATTRS { 2925 pub fl: u32, 2926 pub iJoin: u32, 2927 pub iEndCap: u32, 2928 pub elWidth: FLOAT_LONG, 2929 pub eMiterLimit: f32, 2930 pub cstyle: u32, 2931 pub pstyle: *mut FLOAT_LONG, 2932 pub elStyleState: FLOAT_LONG, 2933 } 2934 #[cfg(any(target_arch = "x86_64", target_arch = "aarch64",))] 2935 impl ::core::marker::Copy for LINEATTRS {} 2936 #[cfg(any(target_arch = "x86_64", target_arch = "aarch64",))] 2937 impl ::core::clone::Clone for LINEATTRS { clone(&self) -> Self2938 fn clone(&self) -> Self { 2939 *self 2940 } 2941 } 2942 #[repr(C)] 2943 #[cfg(any(target_arch = "x86",))] 2944 pub struct LINEATTRS { 2945 pub fl: u32, 2946 pub iJoin: u32, 2947 pub iEndCap: u32, 2948 pub elWidth: FLOAT_LONG, 2949 pub eMiterLimit: u32, 2950 pub cstyle: u32, 2951 pub pstyle: *mut FLOAT_LONG, 2952 pub elStyleState: FLOAT_LONG, 2953 } 2954 #[cfg(any(target_arch = "x86",))] 2955 impl ::core::marker::Copy for LINEATTRS {} 2956 #[cfg(any(target_arch = "x86",))] 2957 impl ::core::clone::Clone for LINEATTRS { clone(&self) -> Self2958 fn clone(&self) -> Self { 2959 *self 2960 } 2961 } 2962 pub const MAXCHARSETS: u32 = 16u32; 2963 pub const MAX_PACKET_COUNT: u32 = 128u32; 2964 pub const MC_CAPS_BRIGHTNESS: u32 = 2u32; 2965 pub const MC_CAPS_COLOR_TEMPERATURE: u32 = 8u32; 2966 pub const MC_CAPS_CONTRAST: u32 = 4u32; 2967 pub const MC_CAPS_DEGAUSS: u32 = 64u32; 2968 pub const MC_CAPS_DISPLAY_AREA_POSITION: u32 = 128u32; 2969 pub const MC_CAPS_DISPLAY_AREA_SIZE: u32 = 256u32; 2970 pub const MC_CAPS_MONITOR_TECHNOLOGY_TYPE: u32 = 1u32; 2971 pub const MC_CAPS_NONE: u32 = 0u32; 2972 pub const MC_CAPS_RED_GREEN_BLUE_DRIVE: u32 = 32u32; 2973 pub const MC_CAPS_RED_GREEN_BLUE_GAIN: u32 = 16u32; 2974 pub const MC_CAPS_RESTORE_FACTORY_COLOR_DEFAULTS: u32 = 2048u32; 2975 pub const MC_CAPS_RESTORE_FACTORY_DEFAULTS: u32 = 1024u32; 2976 pub type MC_COLOR_TEMPERATURE = i32; 2977 pub const MC_COLOR_TEMPERATURE_UNKNOWN: MC_COLOR_TEMPERATURE = 0i32; 2978 pub const MC_COLOR_TEMPERATURE_4000K: MC_COLOR_TEMPERATURE = 1i32; 2979 pub const MC_COLOR_TEMPERATURE_5000K: MC_COLOR_TEMPERATURE = 2i32; 2980 pub const MC_COLOR_TEMPERATURE_6500K: MC_COLOR_TEMPERATURE = 3i32; 2981 pub const MC_COLOR_TEMPERATURE_7500K: MC_COLOR_TEMPERATURE = 4i32; 2982 pub const MC_COLOR_TEMPERATURE_8200K: MC_COLOR_TEMPERATURE = 5i32; 2983 pub const MC_COLOR_TEMPERATURE_9300K: MC_COLOR_TEMPERATURE = 6i32; 2984 pub const MC_COLOR_TEMPERATURE_10000K: MC_COLOR_TEMPERATURE = 7i32; 2985 pub const MC_COLOR_TEMPERATURE_11500K: MC_COLOR_TEMPERATURE = 8i32; 2986 pub type MC_DISPLAY_TECHNOLOGY_TYPE = i32; 2987 pub const MC_SHADOW_MASK_CATHODE_RAY_TUBE: MC_DISPLAY_TECHNOLOGY_TYPE = 0i32; 2988 pub const MC_APERTURE_GRILL_CATHODE_RAY_TUBE: MC_DISPLAY_TECHNOLOGY_TYPE = 1i32; 2989 pub const MC_THIN_FILM_TRANSISTOR: MC_DISPLAY_TECHNOLOGY_TYPE = 2i32; 2990 pub const MC_LIQUID_CRYSTAL_ON_SILICON: MC_DISPLAY_TECHNOLOGY_TYPE = 3i32; 2991 pub const MC_PLASMA: MC_DISPLAY_TECHNOLOGY_TYPE = 4i32; 2992 pub const MC_ORGANIC_LIGHT_EMITTING_DIODE: MC_DISPLAY_TECHNOLOGY_TYPE = 5i32; 2993 pub const MC_ELECTROLUMINESCENT: MC_DISPLAY_TECHNOLOGY_TYPE = 6i32; 2994 pub const MC_MICROELECTROMECHANICAL: MC_DISPLAY_TECHNOLOGY_TYPE = 7i32; 2995 pub const MC_FIELD_EMISSION_DEVICE: MC_DISPLAY_TECHNOLOGY_TYPE = 8i32; 2996 pub type MC_DRIVE_TYPE = i32; 2997 pub const MC_RED_DRIVE: MC_DRIVE_TYPE = 0i32; 2998 pub const MC_GREEN_DRIVE: MC_DRIVE_TYPE = 1i32; 2999 pub const MC_BLUE_DRIVE: MC_DRIVE_TYPE = 2i32; 3000 pub type MC_GAIN_TYPE = i32; 3001 pub const MC_RED_GAIN: MC_GAIN_TYPE = 0i32; 3002 pub const MC_GREEN_GAIN: MC_GAIN_TYPE = 1i32; 3003 pub const MC_BLUE_GAIN: MC_GAIN_TYPE = 2i32; 3004 pub type MC_POSITION_TYPE = i32; 3005 pub const MC_HORIZONTAL_POSITION: MC_POSITION_TYPE = 0i32; 3006 pub const MC_VERTICAL_POSITION: MC_POSITION_TYPE = 1i32; 3007 pub const MC_RESTORE_FACTORY_DEFAULTS_ENABLES_MONITOR_SETTINGS: u32 = 4096u32; 3008 pub type MC_SIZE_TYPE = i32; 3009 pub const MC_WIDTH: MC_SIZE_TYPE = 0i32; 3010 pub const MC_HEIGHT: MC_SIZE_TYPE = 1i32; 3011 pub const MC_SUPPORTED_COLOR_TEMPERATURE_10000K: u32 = 64u32; 3012 pub const MC_SUPPORTED_COLOR_TEMPERATURE_11500K: u32 = 128u32; 3013 pub const MC_SUPPORTED_COLOR_TEMPERATURE_4000K: u32 = 1u32; 3014 pub const MC_SUPPORTED_COLOR_TEMPERATURE_5000K: u32 = 2u32; 3015 pub const MC_SUPPORTED_COLOR_TEMPERATURE_6500K: u32 = 4u32; 3016 pub const MC_SUPPORTED_COLOR_TEMPERATURE_7500K: u32 = 8u32; 3017 pub const MC_SUPPORTED_COLOR_TEMPERATURE_8200K: u32 = 16u32; 3018 pub const MC_SUPPORTED_COLOR_TEMPERATURE_9300K: u32 = 32u32; 3019 pub const MC_SUPPORTED_COLOR_TEMPERATURE_NONE: u32 = 0u32; 3020 #[repr(C, packed(1))] 3021 pub struct MC_TIMING_REPORT { 3022 pub dwHorizontalFrequencyInHZ: u32, 3023 pub dwVerticalFrequencyInHZ: u32, 3024 pub bTimingStatusByte: u8, 3025 } 3026 impl ::core::marker::Copy for MC_TIMING_REPORT {} 3027 impl ::core::clone::Clone for MC_TIMING_REPORT { clone(&self) -> Self3028 fn clone(&self) -> Self { 3029 *self 3030 } 3031 } 3032 pub type MC_VCP_CODE_TYPE = i32; 3033 pub const MC_MOMENTARY: MC_VCP_CODE_TYPE = 0i32; 3034 pub const MC_SET_PARAMETER: MC_VCP_CODE_TYPE = 1i32; 3035 #[repr(C)] 3036 pub struct MIPI_DSI_CAPS { 3037 pub DSITypeMajor: u8, 3038 pub DSITypeMinor: u8, 3039 pub SpecVersionMajor: u8, 3040 pub SpecVersionMinor: u8, 3041 pub SpecVersionPatch: u8, 3042 pub TargetMaximumReturnPacketSize: u16, 3043 pub ResultCodeFlags: u8, 3044 pub ResultCodeStatus: u8, 3045 pub Revision: u8, 3046 pub Level: u8, 3047 pub DeviceClassHi: u8, 3048 pub DeviceClassLo: u8, 3049 pub ManufacturerHi: u8, 3050 pub ManufacturerLo: u8, 3051 pub ProductHi: u8, 3052 pub ProductLo: u8, 3053 pub LengthHi: u8, 3054 pub LengthLo: u8, 3055 } 3056 impl ::core::marker::Copy for MIPI_DSI_CAPS {} 3057 impl ::core::clone::Clone for MIPI_DSI_CAPS { clone(&self) -> Self3058 fn clone(&self) -> Self { 3059 *self 3060 } 3061 } 3062 #[repr(C)] 3063 pub struct MIPI_DSI_PACKET { 3064 pub Anonymous1: MIPI_DSI_PACKET_0, 3065 pub Anonymous2: MIPI_DSI_PACKET_1, 3066 pub EccFiller: u8, 3067 pub Payload: [u8; 8], 3068 } 3069 impl ::core::marker::Copy for MIPI_DSI_PACKET {} 3070 impl ::core::clone::Clone for MIPI_DSI_PACKET { clone(&self) -> Self3071 fn clone(&self) -> Self { 3072 *self 3073 } 3074 } 3075 #[repr(C)] 3076 pub union MIPI_DSI_PACKET_0 { 3077 pub DataId: u8, 3078 pub Anonymous: MIPI_DSI_PACKET_0_0, 3079 } 3080 impl ::core::marker::Copy for MIPI_DSI_PACKET_0 {} 3081 impl ::core::clone::Clone for MIPI_DSI_PACKET_0 { clone(&self) -> Self3082 fn clone(&self) -> Self { 3083 *self 3084 } 3085 } 3086 #[repr(C)] 3087 pub struct MIPI_DSI_PACKET_0_0 { 3088 pub _bitfield: u8, 3089 } 3090 impl ::core::marker::Copy for MIPI_DSI_PACKET_0_0 {} 3091 impl ::core::clone::Clone for MIPI_DSI_PACKET_0_0 { clone(&self) -> Self3092 fn clone(&self) -> Self { 3093 *self 3094 } 3095 } 3096 #[repr(C)] 3097 pub union MIPI_DSI_PACKET_1 { 3098 pub Anonymous: MIPI_DSI_PACKET_1_0, 3099 pub LongWriteWordCount: u16, 3100 } 3101 impl ::core::marker::Copy for MIPI_DSI_PACKET_1 {} 3102 impl ::core::clone::Clone for MIPI_DSI_PACKET_1 { clone(&self) -> Self3103 fn clone(&self) -> Self { 3104 *self 3105 } 3106 } 3107 #[repr(C)] 3108 pub struct MIPI_DSI_PACKET_1_0 { 3109 pub Data0: u8, 3110 pub Data1: u8, 3111 } 3112 impl ::core::marker::Copy for MIPI_DSI_PACKET_1_0 {} 3113 impl ::core::clone::Clone for MIPI_DSI_PACKET_1_0 { clone(&self) -> Self3114 fn clone(&self) -> Self { 3115 *self 3116 } 3117 } 3118 #[repr(C)] 3119 pub struct MIPI_DSI_RESET { 3120 pub Flags: u32, 3121 pub Anonymous: MIPI_DSI_RESET_0, 3122 } 3123 impl ::core::marker::Copy for MIPI_DSI_RESET {} 3124 impl ::core::clone::Clone for MIPI_DSI_RESET { clone(&self) -> Self3125 fn clone(&self) -> Self { 3126 *self 3127 } 3128 } 3129 #[repr(C)] 3130 pub union MIPI_DSI_RESET_0 { 3131 pub Anonymous: MIPI_DSI_RESET_0_0, 3132 pub Results: u32, 3133 } 3134 impl ::core::marker::Copy for MIPI_DSI_RESET_0 {} 3135 impl ::core::clone::Clone for MIPI_DSI_RESET_0 { clone(&self) -> Self3136 fn clone(&self) -> Self { 3137 *self 3138 } 3139 } 3140 #[repr(C)] 3141 pub struct MIPI_DSI_RESET_0_0 { 3142 pub _bitfield: u32, 3143 } 3144 impl ::core::marker::Copy for MIPI_DSI_RESET_0_0 {} 3145 impl ::core::clone::Clone for MIPI_DSI_RESET_0_0 { clone(&self) -> Self3146 fn clone(&self) -> Self { 3147 *self 3148 } 3149 } 3150 #[repr(C)] 3151 pub struct MIPI_DSI_TRANSMISSION { 3152 pub TotalBufferSize: u32, 3153 pub PacketCount: u8, 3154 pub FailedPacket: u8, 3155 pub Anonymous: MIPI_DSI_TRANSMISSION_0, 3156 pub ReadWordCount: u16, 3157 pub FinalCommandExtraPayload: u16, 3158 pub MipiErrors: u16, 3159 pub HostErrors: u16, 3160 pub Packets: [MIPI_DSI_PACKET; 1], 3161 } 3162 impl ::core::marker::Copy for MIPI_DSI_TRANSMISSION {} 3163 impl ::core::clone::Clone for MIPI_DSI_TRANSMISSION { clone(&self) -> Self3164 fn clone(&self) -> Self { 3165 *self 3166 } 3167 } 3168 #[repr(C)] 3169 pub struct MIPI_DSI_TRANSMISSION_0 { 3170 pub _bitfield: u16, 3171 } 3172 impl ::core::marker::Copy for MIPI_DSI_TRANSMISSION_0 {} 3173 impl ::core::clone::Clone for MIPI_DSI_TRANSMISSION_0 { clone(&self) -> Self3174 fn clone(&self) -> Self { 3175 *self 3176 } 3177 } 3178 pub const MS_CDDDEVICEBITMAP: u32 = 4u32; 3179 pub const MS_NOTSYSTEMMEMORY: u32 = 1u32; 3180 pub const MS_REUSEDDEVICEBITMAP: u32 = 8u32; 3181 pub const MS_SHAREDACCESS: u32 = 2u32; 3182 pub const OC_BANK_CLIP: u32 = 1u32; 3183 pub const OPENGL_CMD: u32 = 4352u32; 3184 pub const OPENGL_GETINFO: u32 = 4353u32; 3185 pub type ORIENTATION_PREFERENCE = i32; 3186 pub const ORIENTATION_PREFERENCE_NONE: ORIENTATION_PREFERENCE = 0i32; 3187 pub const ORIENTATION_PREFERENCE_LANDSCAPE: ORIENTATION_PREFERENCE = 1i32; 3188 pub const ORIENTATION_PREFERENCE_PORTRAIT: ORIENTATION_PREFERENCE = 2i32; 3189 pub const ORIENTATION_PREFERENCE_LANDSCAPE_FLIPPED: ORIENTATION_PREFERENCE = 4i32; 3190 pub const ORIENTATION_PREFERENCE_PORTRAIT_FLIPPED: ORIENTATION_PREFERENCE = 8i32; 3191 pub type OUTPUT_COLOR_ENCODING = i32; 3192 pub const OUTPUT_COLOR_ENCODING_RGB: OUTPUT_COLOR_ENCODING = 0i32; 3193 pub const OUTPUT_COLOR_ENCODING_YCBCR444: OUTPUT_COLOR_ENCODING = 1i32; 3194 pub const OUTPUT_COLOR_ENCODING_YCBCR422: OUTPUT_COLOR_ENCODING = 2i32; 3195 pub const OUTPUT_COLOR_ENCODING_YCBCR420: OUTPUT_COLOR_ENCODING = 3i32; 3196 pub const OUTPUT_COLOR_ENCODING_INTENSITY: OUTPUT_COLOR_ENCODING = 4i32; 3197 pub const OUTPUT_COLOR_ENCODING_FORCE_UINT32: OUTPUT_COLOR_ENCODING = -1i32; 3198 pub type OUTPUT_WIRE_COLOR_SPACE_TYPE = i32; 3199 pub const OUTPUT_WIRE_COLOR_SPACE_G22_P709: OUTPUT_WIRE_COLOR_SPACE_TYPE = 0i32; 3200 pub const OUTPUT_WIRE_COLOR_SPACE_RESERVED: OUTPUT_WIRE_COLOR_SPACE_TYPE = 4i32; 3201 pub const OUTPUT_WIRE_COLOR_SPACE_G2084_P2020: OUTPUT_WIRE_COLOR_SPACE_TYPE = 12i32; 3202 pub const OUTPUT_WIRE_COLOR_SPACE_G22_P709_WCG: OUTPUT_WIRE_COLOR_SPACE_TYPE = 30i32; 3203 pub const OUTPUT_WIRE_COLOR_SPACE_G22_P2020: OUTPUT_WIRE_COLOR_SPACE_TYPE = 31i32; 3204 pub const OUTPUT_WIRE_COLOR_SPACE_G2084_P2020_HDR10PLUS: OUTPUT_WIRE_COLOR_SPACE_TYPE = 32i32; 3205 pub const OUTPUT_WIRE_COLOR_SPACE_G2084_P2020_DVLL: OUTPUT_WIRE_COLOR_SPACE_TYPE = 33i32; 3206 #[repr(C)] 3207 pub struct OUTPUT_WIRE_FORMAT { 3208 pub ColorEncoding: OUTPUT_COLOR_ENCODING, 3209 pub BitsPerPixel: u32, 3210 } 3211 impl ::core::marker::Copy for OUTPUT_WIRE_FORMAT {} 3212 impl ::core::clone::Clone for OUTPUT_WIRE_FORMAT { clone(&self) -> Self3213 fn clone(&self) -> Self { 3214 *self 3215 } 3216 } 3217 #[repr(C)] 3218 pub struct PALOBJ { 3219 pub ulReserved: u32, 3220 } 3221 impl ::core::marker::Copy for PALOBJ {} 3222 impl ::core::clone::Clone for PALOBJ { clone(&self) -> Self3223 fn clone(&self) -> Self { 3224 *self 3225 } 3226 } 3227 pub const PAL_BGR: u32 = 8u32; 3228 pub const PAL_BITFIELDS: u32 = 2u32; 3229 pub const PAL_CMYK: u32 = 16u32; 3230 pub const PAL_INDEXED: u32 = 1u32; 3231 pub const PAL_RGB: u32 = 4u32; 3232 #[repr(C)] 3233 pub struct PANEL_BRIGHTNESS_SENSOR_DATA { 3234 pub Anonymous: PANEL_BRIGHTNESS_SENSOR_DATA_0, 3235 pub AlsReading: f32, 3236 pub ChromaticityCoordinate: CHROMATICITY_COORDINATE, 3237 pub ColorTemperature: f32, 3238 } 3239 impl ::core::marker::Copy for PANEL_BRIGHTNESS_SENSOR_DATA {} 3240 impl ::core::clone::Clone for PANEL_BRIGHTNESS_SENSOR_DATA { clone(&self) -> Self3241 fn clone(&self) -> Self { 3242 *self 3243 } 3244 } 3245 #[repr(C)] 3246 pub union PANEL_BRIGHTNESS_SENSOR_DATA_0 { 3247 pub Anonymous: PANEL_BRIGHTNESS_SENSOR_DATA_0_0, 3248 pub Value: u32, 3249 } 3250 impl ::core::marker::Copy for PANEL_BRIGHTNESS_SENSOR_DATA_0 {} 3251 impl ::core::clone::Clone for PANEL_BRIGHTNESS_SENSOR_DATA_0 { clone(&self) -> Self3252 fn clone(&self) -> Self { 3253 *self 3254 } 3255 } 3256 #[repr(C)] 3257 pub struct PANEL_BRIGHTNESS_SENSOR_DATA_0_0 { 3258 pub _bitfield: u32, 3259 } 3260 impl ::core::marker::Copy for PANEL_BRIGHTNESS_SENSOR_DATA_0_0 {} 3261 impl ::core::clone::Clone for PANEL_BRIGHTNESS_SENSOR_DATA_0_0 { clone(&self) -> Self3262 fn clone(&self) -> Self { 3263 *self 3264 } 3265 } 3266 #[repr(C)] 3267 pub struct PANEL_GET_BACKLIGHT_REDUCTION { 3268 pub BacklightUsersetting: u16, 3269 pub BacklightEffective: u16, 3270 pub GammaRamp: BACKLIGHT_REDUCTION_GAMMA_RAMP, 3271 } 3272 impl ::core::marker::Copy for PANEL_GET_BACKLIGHT_REDUCTION {} 3273 impl ::core::clone::Clone for PANEL_GET_BACKLIGHT_REDUCTION { clone(&self) -> Self3274 fn clone(&self) -> Self { 3275 *self 3276 } 3277 } 3278 #[repr(C)] 3279 pub struct PANEL_GET_BRIGHTNESS { 3280 pub Version: BRIGHTNESS_INTERFACE_VERSION, 3281 pub Anonymous: PANEL_GET_BRIGHTNESS_0, 3282 } 3283 impl ::core::marker::Copy for PANEL_GET_BRIGHTNESS {} 3284 impl ::core::clone::Clone for PANEL_GET_BRIGHTNESS { clone(&self) -> Self3285 fn clone(&self) -> Self { 3286 *self 3287 } 3288 } 3289 #[repr(C)] 3290 pub union PANEL_GET_BRIGHTNESS_0 { 3291 pub Level: u8, 3292 pub Anonymous: PANEL_GET_BRIGHTNESS_0_0, 3293 } 3294 impl ::core::marker::Copy for PANEL_GET_BRIGHTNESS_0 {} 3295 impl ::core::clone::Clone for PANEL_GET_BRIGHTNESS_0 { clone(&self) -> Self3296 fn clone(&self) -> Self { 3297 *self 3298 } 3299 } 3300 #[repr(C)] 3301 pub struct PANEL_GET_BRIGHTNESS_0_0 { 3302 pub CurrentInMillinits: u32, 3303 pub TargetInMillinits: u32, 3304 } 3305 impl ::core::marker::Copy for PANEL_GET_BRIGHTNESS_0_0 {} 3306 impl ::core::clone::Clone for PANEL_GET_BRIGHTNESS_0_0 { clone(&self) -> Self3307 fn clone(&self) -> Self { 3308 *self 3309 } 3310 } 3311 #[repr(C)] 3312 pub struct PANEL_QUERY_BRIGHTNESS_CAPS { 3313 pub Version: BRIGHTNESS_INTERFACE_VERSION, 3314 pub Anonymous: PANEL_QUERY_BRIGHTNESS_CAPS_0, 3315 } 3316 impl ::core::marker::Copy for PANEL_QUERY_BRIGHTNESS_CAPS {} 3317 impl ::core::clone::Clone for PANEL_QUERY_BRIGHTNESS_CAPS { clone(&self) -> Self3318 fn clone(&self) -> Self { 3319 *self 3320 } 3321 } 3322 #[repr(C)] 3323 pub union PANEL_QUERY_BRIGHTNESS_CAPS_0 { 3324 pub Anonymous: PANEL_QUERY_BRIGHTNESS_CAPS_0_0, 3325 pub Value: u32, 3326 } 3327 impl ::core::marker::Copy for PANEL_QUERY_BRIGHTNESS_CAPS_0 {} 3328 impl ::core::clone::Clone for PANEL_QUERY_BRIGHTNESS_CAPS_0 { clone(&self) -> Self3329 fn clone(&self) -> Self { 3330 *self 3331 } 3332 } 3333 #[repr(C)] 3334 pub struct PANEL_QUERY_BRIGHTNESS_CAPS_0_0 { 3335 pub _bitfield: u32, 3336 } 3337 impl ::core::marker::Copy for PANEL_QUERY_BRIGHTNESS_CAPS_0_0 {} 3338 impl ::core::clone::Clone for PANEL_QUERY_BRIGHTNESS_CAPS_0_0 { clone(&self) -> Self3339 fn clone(&self) -> Self { 3340 *self 3341 } 3342 } 3343 #[repr(C)] 3344 pub struct PANEL_QUERY_BRIGHTNESS_RANGES { 3345 pub Version: BRIGHTNESS_INTERFACE_VERSION, 3346 pub Anonymous: PANEL_QUERY_BRIGHTNESS_RANGES_0, 3347 } 3348 impl ::core::marker::Copy for PANEL_QUERY_BRIGHTNESS_RANGES {} 3349 impl ::core::clone::Clone for PANEL_QUERY_BRIGHTNESS_RANGES { clone(&self) -> Self3350 fn clone(&self) -> Self { 3351 *self 3352 } 3353 } 3354 #[repr(C)] 3355 pub union PANEL_QUERY_BRIGHTNESS_RANGES_0 { 3356 pub BrightnessLevel: BRIGHTNESS_LEVEL, 3357 pub NitRanges: BRIGHTNESS_NIT_RANGES, 3358 } 3359 impl ::core::marker::Copy for PANEL_QUERY_BRIGHTNESS_RANGES_0 {} 3360 impl ::core::clone::Clone for PANEL_QUERY_BRIGHTNESS_RANGES_0 { clone(&self) -> Self3361 fn clone(&self) -> Self { 3362 *self 3363 } 3364 } 3365 #[repr(C)] 3366 pub struct PANEL_SET_BACKLIGHT_OPTIMIZATION { 3367 pub Level: BACKLIGHT_OPTIMIZATION_LEVEL, 3368 } 3369 impl ::core::marker::Copy for PANEL_SET_BACKLIGHT_OPTIMIZATION {} 3370 impl ::core::clone::Clone for PANEL_SET_BACKLIGHT_OPTIMIZATION { clone(&self) -> Self3371 fn clone(&self) -> Self { 3372 *self 3373 } 3374 } 3375 #[repr(C)] 3376 pub struct PANEL_SET_BRIGHTNESS { 3377 pub Version: BRIGHTNESS_INTERFACE_VERSION, 3378 pub Anonymous: PANEL_SET_BRIGHTNESS_0, 3379 } 3380 impl ::core::marker::Copy for PANEL_SET_BRIGHTNESS {} 3381 impl ::core::clone::Clone for PANEL_SET_BRIGHTNESS { clone(&self) -> Self3382 fn clone(&self) -> Self { 3383 *self 3384 } 3385 } 3386 #[repr(C)] 3387 pub union PANEL_SET_BRIGHTNESS_0 { 3388 pub Level: u8, 3389 pub Anonymous: PANEL_SET_BRIGHTNESS_0_0, 3390 } 3391 impl ::core::marker::Copy for PANEL_SET_BRIGHTNESS_0 {} 3392 impl ::core::clone::Clone for PANEL_SET_BRIGHTNESS_0 { clone(&self) -> Self3393 fn clone(&self) -> Self { 3394 *self 3395 } 3396 } 3397 #[repr(C)] 3398 pub struct PANEL_SET_BRIGHTNESS_0_0 { 3399 pub Millinits: u32, 3400 pub TransitionTimeInMs: u32, 3401 pub SensorData: PANEL_BRIGHTNESS_SENSOR_DATA, 3402 } 3403 impl ::core::marker::Copy for PANEL_SET_BRIGHTNESS_0_0 {} 3404 impl ::core::clone::Clone for PANEL_SET_BRIGHTNESS_0_0 { clone(&self) -> Self3405 fn clone(&self) -> Self { 3406 *self 3407 } 3408 } 3409 #[repr(C)] 3410 pub struct PANEL_SET_BRIGHTNESS_STATE { 3411 pub Anonymous: PANEL_SET_BRIGHTNESS_STATE_0, 3412 } 3413 impl ::core::marker::Copy for PANEL_SET_BRIGHTNESS_STATE {} 3414 impl ::core::clone::Clone for PANEL_SET_BRIGHTNESS_STATE { clone(&self) -> Self3415 fn clone(&self) -> Self { 3416 *self 3417 } 3418 } 3419 #[repr(C)] 3420 pub union PANEL_SET_BRIGHTNESS_STATE_0 { 3421 pub Anonymous: PANEL_SET_BRIGHTNESS_STATE_0_0, 3422 pub Value: u32, 3423 } 3424 impl ::core::marker::Copy for PANEL_SET_BRIGHTNESS_STATE_0 {} 3425 impl ::core::clone::Clone for PANEL_SET_BRIGHTNESS_STATE_0 { clone(&self) -> Self3426 fn clone(&self) -> Self { 3427 *self 3428 } 3429 } 3430 #[repr(C)] 3431 pub struct PANEL_SET_BRIGHTNESS_STATE_0_0 { 3432 pub _bitfield: u32, 3433 } 3434 impl ::core::marker::Copy for PANEL_SET_BRIGHTNESS_STATE_0_0 {} 3435 impl ::core::clone::Clone for PANEL_SET_BRIGHTNESS_STATE_0_0 { clone(&self) -> Self3436 fn clone(&self) -> Self { 3437 *self 3438 } 3439 } 3440 #[repr(C)] 3441 pub struct PATHDATA { 3442 pub flags: u32, 3443 pub count: u32, 3444 pub pptfx: *mut POINTFIX, 3445 } 3446 impl ::core::marker::Copy for PATHDATA {} 3447 impl ::core::clone::Clone for PATHDATA { clone(&self) -> Self3448 fn clone(&self) -> Self { 3449 *self 3450 } 3451 } 3452 #[repr(C)] 3453 pub struct PATHOBJ { 3454 pub fl: u32, 3455 pub cCurves: u32, 3456 } 3457 impl ::core::marker::Copy for PATHOBJ {} 3458 impl ::core::clone::Clone for PATHOBJ { clone(&self) -> Self3459 fn clone(&self) -> Self { 3460 *self 3461 } 3462 } 3463 pub const PD_BEGINSUBPATH: u32 = 1u32; 3464 pub const PD_BEZIERS: u32 = 16u32; 3465 pub const PD_CLOSEFIGURE: u32 = 8u32; 3466 pub const PD_ENDSUBPATH: u32 = 2u32; 3467 pub const PD_RESETSTYLE: u32 = 4u32; 3468 #[repr(C)] 3469 #[cfg(feature = "Win32_Foundation")] 3470 pub struct PERBANDINFO { 3471 pub bRepeatThisBand: super::super::Foundation::BOOL, 3472 pub szlBand: super::super::Foundation::SIZE, 3473 pub ulHorzRes: u32, 3474 pub ulVertRes: u32, 3475 } 3476 #[cfg(feature = "Win32_Foundation")] 3477 impl ::core::marker::Copy for PERBANDINFO {} 3478 #[cfg(feature = "Win32_Foundation")] 3479 impl ::core::clone::Clone for PERBANDINFO { clone(&self) -> Self3480 fn clone(&self) -> Self { 3481 *self 3482 } 3483 } 3484 pub type PFN = unsafe extern "system" fn() -> isize; 3485 #[cfg(feature = "Win32_Foundation")] 3486 pub type PFN_DrvAccumulateD3DDirtyRect = unsafe extern "system" fn(param0: *mut SURFOBJ, param1: *mut CDDDXGK_REDIRBITMAPPRESENTINFO) -> super::super::Foundation::BOOL; 3487 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] 3488 pub type PFN_DrvAlphaBlend = unsafe extern "system" fn(param0: *mut SURFOBJ, param1: *mut SURFOBJ, param2: *mut CLIPOBJ, param3: *mut XLATEOBJ, param4: *mut super::super::Foundation::RECTL, param5: *mut super::super::Foundation::RECTL, param6: *mut BLENDOBJ) -> super::super::Foundation::BOOL; 3489 #[cfg(feature = "Win32_Foundation")] 3490 pub type PFN_DrvAssertMode = unsafe extern "system" fn(param0: DHPDEV, param1: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; 3491 #[cfg(feature = "Win32_Foundation")] 3492 pub type PFN_DrvAssociateSharedSurface = unsafe extern "system" fn(param0: *mut SURFOBJ, param1: super::super::Foundation::HANDLE, param2: super::super::Foundation::HANDLE, param3: super::super::Foundation::SIZE) -> super::super::Foundation::BOOL; 3493 #[cfg(feature = "Win32_Foundation")] 3494 pub type PFN_DrvBitBlt = unsafe extern "system" fn(param0: *mut SURFOBJ, param1: *mut SURFOBJ, param2: *mut SURFOBJ, param3: *mut CLIPOBJ, param4: *mut XLATEOBJ, param5: *mut super::super::Foundation::RECTL, param6: *mut super::super::Foundation::POINTL, param7: *mut super::super::Foundation::POINTL, param8: *mut BRUSHOBJ, param9: *mut super::super::Foundation::POINTL, param10: u32) -> super::super::Foundation::BOOL; 3495 pub type PFN_DrvCompletePDEV = unsafe extern "system" fn(param0: DHPDEV, param1: HDEV); 3496 #[cfg(feature = "Win32_Foundation")] 3497 pub type PFN_DrvCopyBits = unsafe extern "system" fn(param0: *mut SURFOBJ, param1: *mut SURFOBJ, param2: *mut CLIPOBJ, param3: *mut XLATEOBJ, param4: *mut super::super::Foundation::RECTL, param5: *mut super::super::Foundation::POINTL) -> super::super::Foundation::BOOL; 3498 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] 3499 pub type PFN_DrvCreateDeviceBitmap = unsafe extern "system" fn(param0: DHPDEV, param1: super::super::Foundation::SIZE, param2: u32) -> super::super::Graphics::Gdi::HBITMAP; 3500 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] 3501 pub type PFN_DrvCreateDeviceBitmapEx = unsafe extern "system" fn(param0: DHPDEV, param1: super::super::Foundation::SIZE, param2: u32, param3: u32, param4: DHSURF, param5: u32, param6: u32, param7: *mut super::super::Foundation::HANDLE) -> super::super::Graphics::Gdi::HBITMAP; 3502 pub type PFN_DrvDeleteDeviceBitmap = unsafe extern "system" fn(param0: DHSURF); 3503 pub type PFN_DrvDeleteDeviceBitmapEx = unsafe extern "system" fn(param0: DHSURF); 3504 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))] 3505 pub type PFN_DrvDeriveSurface = unsafe extern "system" fn(param0: *mut super::super::Graphics::DirectDraw::DD_DIRECTDRAW_GLOBAL, param1: *mut super::super::Graphics::DirectDraw::DD_SURFACE_LOCAL) -> super::super::Graphics::Gdi::HBITMAP; 3506 #[cfg(feature = "Win32_Graphics_OpenGL")] 3507 pub type PFN_DrvDescribePixelFormat = unsafe extern "system" fn(param0: DHPDEV, param1: i32, param2: u32, param3: *mut super::super::Graphics::OpenGL::PIXELFORMATDESCRIPTOR) -> i32; 3508 #[cfg(feature = "Win32_Foundation")] 3509 pub type PFN_DrvDestroyFont = unsafe extern "system" fn(param0: *mut FONTOBJ); 3510 pub type PFN_DrvDisableDirectDraw = unsafe extern "system" fn(param0: DHPDEV); 3511 pub type PFN_DrvDisableDriver = unsafe extern "system" fn(); 3512 pub type PFN_DrvDisablePDEV = unsafe extern "system" fn(param0: DHPDEV); 3513 pub type PFN_DrvDisableSurface = unsafe extern "system" fn(param0: DHPDEV); 3514 pub type PFN_DrvDitherColor = unsafe extern "system" fn(param0: DHPDEV, param1: u32, param2: u32, param3: *mut u32) -> u32; 3515 #[cfg(feature = "Win32_Foundation")] 3516 pub type PFN_DrvDrawEscape = unsafe extern "system" fn(param0: *mut SURFOBJ, param1: u32, param2: *mut CLIPOBJ, param3: *mut super::super::Foundation::RECTL, param4: u32, param5: *mut ::core::ffi::c_void) -> u32; 3517 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))] 3518 pub type PFN_DrvEnableDirectDraw = unsafe extern "system" fn(param0: DHPDEV, param1: *mut super::super::Graphics::DirectDraw::DD_CALLBACKS, param2: *mut super::super::Graphics::DirectDraw::DD_SURFACECALLBACKS, param3: *mut super::super::Graphics::DirectDraw::DD_PALETTECALLBACKS) -> super::super::Foundation::BOOL; 3519 #[cfg(feature = "Win32_Foundation")] 3520 pub type PFN_DrvEnableDriver = unsafe extern "system" fn(param0: u32, param1: u32, param2: *mut DRVENABLEDATA) -> super::super::Foundation::BOOL; 3521 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] 3522 pub type PFN_DrvEnablePDEV = unsafe extern "system" fn(param0: *mut super::super::Graphics::Gdi::DEVMODEW, param1: super::super::Foundation::PWSTR, param2: u32, param3: *mut HSURF, param4: u32, param5: *mut GDIINFO, param6: u32, param7: *mut DEVINFO, param8: HDEV, param9: super::super::Foundation::PWSTR, param10: super::super::Foundation::HANDLE) -> DHPDEV; 3523 pub type PFN_DrvEnableSurface = unsafe extern "system" fn(param0: DHPDEV) -> HSURF; 3524 #[cfg(feature = "Win32_Foundation")] 3525 pub type PFN_DrvEndDoc = unsafe extern "system" fn(pso: *mut SURFOBJ, fl: u32) -> super::super::Foundation::BOOL; 3526 #[cfg(feature = "Win32_Foundation")] 3527 pub type PFN_DrvEndDxInterop = unsafe extern "system" fn(param0: *mut SURFOBJ, param1: super::super::Foundation::BOOL, param2: *mut super::super::Foundation::BOOL, kernelmodedevicehandle: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; 3528 #[cfg(feature = "Win32_Foundation")] 3529 pub type PFN_DrvEscape = unsafe extern "system" fn(param0: *mut SURFOBJ, param1: u32, param2: u32, param3: *mut ::core::ffi::c_void, param4: u32, param5: *mut ::core::ffi::c_void) -> u32; 3530 #[cfg(feature = "Win32_Foundation")] 3531 pub type PFN_DrvFillPath = unsafe extern "system" fn(param0: *mut SURFOBJ, param1: *mut PATHOBJ, param2: *mut CLIPOBJ, param3: *mut BRUSHOBJ, param4: *mut super::super::Foundation::POINTL, param5: u32, param6: u32) -> super::super::Foundation::BOOL; 3532 #[cfg(feature = "Win32_Foundation")] 3533 pub type PFN_DrvFontManagement = unsafe extern "system" fn(param0: *mut SURFOBJ, param1: *mut FONTOBJ, param2: u32, param3: u32, param4: *mut ::core::ffi::c_void, param5: u32, param6: *mut ::core::ffi::c_void) -> u32; 3534 pub type PFN_DrvFree = unsafe extern "system" fn(param0: *mut ::core::ffi::c_void, param1: usize); 3535 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))] 3536 pub type PFN_DrvGetDirectDrawInfo = unsafe extern "system" fn(param0: DHPDEV, param1: *mut super::super::Graphics::DirectDraw::DD_HALINFO, param2: *mut u32, param3: *mut super::super::Graphics::DirectDraw::VIDEOMEMORY, param4: *mut u32, param5: *mut u32) -> super::super::Foundation::BOOL; 3537 #[cfg(feature = "Win32_Foundation")] 3538 pub type PFN_DrvGetGlyphMode = unsafe extern "system" fn(dhpdev: DHPDEV, pfo: *mut FONTOBJ) -> u32; 3539 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] 3540 pub type PFN_DrvGetModes = unsafe extern "system" fn(param0: super::super::Foundation::HANDLE, param1: u32, param2: *mut super::super::Graphics::Gdi::DEVMODEW) -> u32; 3541 pub type PFN_DrvGetTrueTypeFile = unsafe extern "system" fn(param0: usize, param1: *mut u32) -> *mut ::core::ffi::c_void; 3542 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] 3543 pub type PFN_DrvGradientFill = unsafe extern "system" fn(param0: *mut SURFOBJ, param1: *mut CLIPOBJ, param2: *mut XLATEOBJ, param3: *mut super::super::Graphics::Gdi::TRIVERTEX, param4: u32, param5: *mut ::core::ffi::c_void, param6: u32, param7: *mut super::super::Foundation::RECTL, param8: *mut super::super::Foundation::POINTL, param9: u32) -> super::super::Foundation::BOOL; 3544 #[cfg(feature = "Win32_Foundation")] 3545 pub type PFN_DrvIcmCheckBitmapBits = unsafe extern "system" fn(param0: DHPDEV, param1: super::super::Foundation::HANDLE, param2: *mut SURFOBJ, param3: *mut u8) -> super::super::Foundation::BOOL; 3546 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_ColorSystem"))] 3547 pub type PFN_DrvIcmCreateColorTransform = unsafe extern "system" fn(param0: DHPDEV, param1: *mut super::super::UI::ColorSystem::LOGCOLORSPACEW, param2: *mut ::core::ffi::c_void, param3: u32, param4: *mut ::core::ffi::c_void, param5: u32, param6: *mut ::core::ffi::c_void, param7: u32, param8: u32) -> super::super::Foundation::HANDLE; 3548 #[cfg(feature = "Win32_Foundation")] 3549 pub type PFN_DrvIcmDeleteColorTransform = unsafe extern "system" fn(param0: DHPDEV, param1: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; 3550 #[cfg(feature = "Win32_Foundation")] 3551 pub type PFN_DrvIcmSetDeviceGammaRamp = unsafe extern "system" fn(param0: DHPDEV, param1: u32, param2: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; 3552 #[cfg(feature = "Win32_Foundation")] 3553 pub type PFN_DrvLineTo = unsafe extern "system" fn(param0: *mut SURFOBJ, param1: *mut CLIPOBJ, param2: *mut BRUSHOBJ, param3: i32, param4: i32, param5: i32, param6: i32, param7: *mut super::super::Foundation::RECTL, param8: u32) -> super::super::Foundation::BOOL; 3554 #[cfg(feature = "Win32_Graphics_Gdi")] 3555 pub type PFN_DrvLoadFontFile = unsafe extern "system" fn(param0: u32, param1: *mut usize, param2: *mut *mut ::core::ffi::c_void, param3: *mut u32, param4: *mut super::super::Graphics::Gdi::DESIGNVECTOR, param5: u32, param6: u32) -> usize; 3556 #[cfg(feature = "Win32_Foundation")] 3557 pub type PFN_DrvLockDisplayArea = unsafe extern "system" fn(param0: DHPDEV, param1: *mut super::super::Foundation::RECTL); 3558 #[cfg(feature = "Win32_Foundation")] 3559 pub type PFN_DrvMovePointer = unsafe extern "system" fn(pso: *mut SURFOBJ, x: i32, y: i32, prcl: *mut super::super::Foundation::RECTL); 3560 #[cfg(feature = "Win32_Foundation")] 3561 pub type PFN_DrvNextBand = unsafe extern "system" fn(param0: *mut SURFOBJ, ppointl: *mut super::super::Foundation::POINTL) -> super::super::Foundation::BOOL; 3562 #[cfg(feature = "Win32_Foundation")] 3563 pub type PFN_DrvNotify = unsafe extern "system" fn(param0: *mut SURFOBJ, param1: u32, param2: *mut ::core::ffi::c_void); 3564 #[cfg(feature = "Win32_Foundation")] 3565 pub type PFN_DrvPaint = unsafe extern "system" fn(param0: *mut SURFOBJ, param1: *mut CLIPOBJ, param2: *mut BRUSHOBJ, param3: *mut super::super::Foundation::POINTL, param4: u32) -> super::super::Foundation::BOOL; 3566 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] 3567 pub type PFN_DrvPlgBlt = unsafe extern "system" fn(param0: *mut SURFOBJ, param1: *mut SURFOBJ, param2: *mut SURFOBJ, param3: *mut CLIPOBJ, param4: *mut XLATEOBJ, param5: *mut super::super::Graphics::Gdi::COLORADJUSTMENT, param6: *mut super::super::Foundation::POINTL, param7: *mut POINTFIX, param8: *mut super::super::Foundation::RECTL, param9: *mut super::super::Foundation::POINTL, param10: u32) -> super::super::Foundation::BOOL; 3568 #[cfg(feature = "Win32_Foundation")] 3569 pub type PFN_DrvQueryAdvanceWidths = unsafe extern "system" fn(param0: DHPDEV, param1: *mut FONTOBJ, param2: u32, param3: *mut u32, param4: *mut ::core::ffi::c_void, param5: u32) -> super::super::Foundation::BOOL; 3570 #[cfg(feature = "Win32_Foundation")] 3571 pub type PFN_DrvQueryDeviceSupport = unsafe extern "system" fn(param0: *mut SURFOBJ, param1: *mut XLATEOBJ, param2: *mut XFORMOBJ, param3: u32, param4: u32, param5: *mut ::core::ffi::c_void, param6: u32, param7: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; 3572 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] 3573 pub type PFN_DrvQueryFont = unsafe extern "system" fn(param0: DHPDEV, param1: usize, param2: u32, param3: *mut usize) -> *mut IFIMETRICS; 3574 pub type PFN_DrvQueryFontCaps = unsafe extern "system" fn(param0: u32, param1: *mut u32) -> i32; 3575 #[cfg(feature = "Win32_Foundation")] 3576 pub type PFN_DrvQueryFontData = unsafe extern "system" fn(param0: DHPDEV, param1: *mut FONTOBJ, param2: u32, param3: u32, param4: *mut GLYPHDATA, param5: *mut ::core::ffi::c_void, param6: u32) -> i32; 3577 pub type PFN_DrvQueryFontFile = unsafe extern "system" fn(param0: usize, param1: u32, param2: u32, param3: *mut u32) -> i32; 3578 pub type PFN_DrvQueryFontTree = unsafe extern "system" fn(param0: DHPDEV, param1: usize, param2: u32, param3: u32, param4: *mut usize) -> *mut ::core::ffi::c_void; 3579 #[cfg(feature = "Win32_Foundation")] 3580 pub type PFN_DrvQueryGlyphAttrs = unsafe extern "system" fn(param0: *mut FONTOBJ, param1: u32) -> *mut FD_GLYPHATTR; 3581 #[cfg(feature = "Win32_Foundation")] 3582 pub type PFN_DrvQueryPerBandInfo = unsafe extern "system" fn(param0: *mut SURFOBJ, param1: *mut PERBANDINFO) -> super::super::Foundation::BOOL; 3583 #[cfg(feature = "Win32_Foundation")] 3584 pub type PFN_DrvQuerySpoolType = unsafe extern "system" fn(dhpdev: DHPDEV, pwchtype: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL; 3585 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] 3586 pub type PFN_DrvQueryTrueTypeOutline = unsafe extern "system" fn(param0: DHPDEV, param1: *mut FONTOBJ, param2: u32, param3: super::super::Foundation::BOOL, param4: *mut GLYPHDATA, param5: u32, param6: *mut super::super::Graphics::Gdi::TTPOLYGONHEADER) -> i32; 3587 #[cfg(feature = "Win32_Foundation")] 3588 pub type PFN_DrvQueryTrueTypeSection = unsafe extern "system" fn(param0: u32, param1: u32, param2: u32, param3: *mut super::super::Foundation::HANDLE, param4: *mut i32) -> i32; 3589 pub type PFN_DrvQueryTrueTypeTable = unsafe extern "system" fn(param0: usize, param1: u32, param2: u32, param3: i32, param4: u32, param5: *mut u8, param6: *mut *mut u8, param7: *mut u32) -> i32; 3590 #[cfg(feature = "Win32_Foundation")] 3591 pub type PFN_DrvRealizeBrush = unsafe extern "system" fn(param0: *mut BRUSHOBJ, param1: *mut SURFOBJ, param2: *mut SURFOBJ, param3: *mut SURFOBJ, param4: *mut XLATEOBJ, param5: u32) -> super::super::Foundation::BOOL; 3592 pub type PFN_DrvRenderHint = unsafe extern "system" fn(dhpdev: DHPDEV, notifycode: u32, length: usize, data: *const ::core::ffi::c_void) -> i32; 3593 pub type PFN_DrvResetDevice = unsafe extern "system" fn(param0: DHPDEV, param1: *mut ::core::ffi::c_void) -> u32; 3594 #[cfg(feature = "Win32_Foundation")] 3595 pub type PFN_DrvResetPDEV = unsafe extern "system" fn(dhpdevold: DHPDEV, dhpdevnew: DHPDEV) -> super::super::Foundation::BOOL; 3596 #[cfg(feature = "Win32_Foundation")] 3597 pub type PFN_DrvSaveScreenBits = unsafe extern "system" fn(param0: *mut SURFOBJ, param1: u32, param2: usize, param3: *mut super::super::Foundation::RECTL) -> usize; 3598 #[cfg(feature = "Win32_Foundation")] 3599 pub type PFN_DrvSendPage = unsafe extern "system" fn(param0: *mut SURFOBJ) -> super::super::Foundation::BOOL; 3600 #[cfg(feature = "Win32_Foundation")] 3601 pub type PFN_DrvSetPalette = unsafe extern "system" fn(param0: DHPDEV, param1: *mut PALOBJ, param2: u32, param3: u32, param4: u32) -> super::super::Foundation::BOOL; 3602 #[cfg(feature = "Win32_Foundation")] 3603 pub type PFN_DrvSetPixelFormat = unsafe extern "system" fn(param0: *mut SURFOBJ, param1: i32, param2: super::super::Foundation::HWND) -> super::super::Foundation::BOOL; 3604 #[cfg(feature = "Win32_Foundation")] 3605 pub type PFN_DrvSetPointerShape = unsafe extern "system" fn(param0: *mut SURFOBJ, param1: *mut SURFOBJ, param2: *mut SURFOBJ, param3: *mut XLATEOBJ, param4: i32, param5: i32, param6: i32, param7: i32, param8: *mut super::super::Foundation::RECTL, param9: u32) -> u32; 3606 #[cfg(feature = "Win32_Foundation")] 3607 pub type PFN_DrvStartBanding = unsafe extern "system" fn(param0: *mut SURFOBJ, ppointl: *mut super::super::Foundation::POINTL) -> super::super::Foundation::BOOL; 3608 #[cfg(feature = "Win32_Foundation")] 3609 pub type PFN_DrvStartDoc = unsafe extern "system" fn(pso: *mut SURFOBJ, pwszdocname: super::super::Foundation::PWSTR, dwjobid: u32) -> super::super::Foundation::BOOL; 3610 #[cfg(feature = "Win32_Foundation")] 3611 pub type PFN_DrvStartDxInterop = unsafe extern "system" fn(param0: *mut SURFOBJ, param1: super::super::Foundation::BOOL, kernelmodedevicehandle: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; 3612 #[cfg(feature = "Win32_Foundation")] 3613 pub type PFN_DrvStartPage = unsafe extern "system" fn(pso: *mut SURFOBJ) -> super::super::Foundation::BOOL; 3614 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] 3615 pub type PFN_DrvStretchBlt = unsafe extern "system" fn(param0: *mut SURFOBJ, param1: *mut SURFOBJ, param2: *mut SURFOBJ, param3: *mut CLIPOBJ, param4: *mut XLATEOBJ, param5: *mut super::super::Graphics::Gdi::COLORADJUSTMENT, param6: *mut super::super::Foundation::POINTL, param7: *mut super::super::Foundation::RECTL, param8: *mut super::super::Foundation::RECTL, param9: *mut super::super::Foundation::POINTL, param10: u32) -> super::super::Foundation::BOOL; 3616 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] 3617 pub type PFN_DrvStretchBltROP = unsafe extern "system" fn(param0: *mut SURFOBJ, param1: *mut SURFOBJ, param2: *mut SURFOBJ, param3: *mut CLIPOBJ, param4: *mut XLATEOBJ, param5: *mut super::super::Graphics::Gdi::COLORADJUSTMENT, param6: *mut super::super::Foundation::POINTL, param7: *mut super::super::Foundation::RECTL, param8: *mut super::super::Foundation::RECTL, param9: *mut super::super::Foundation::POINTL, param10: u32, param11: *mut BRUSHOBJ, param12: u32) -> super::super::Foundation::BOOL; 3618 #[cfg(feature = "Win32_Foundation")] 3619 pub type PFN_DrvStrokeAndFillPath = unsafe extern "system" fn(param0: *mut SURFOBJ, param1: *mut PATHOBJ, param2: *mut CLIPOBJ, param3: *mut XFORMOBJ, param4: *mut BRUSHOBJ, param5: *mut LINEATTRS, param6: *mut BRUSHOBJ, param7: *mut super::super::Foundation::POINTL, param8: u32, param9: u32) -> super::super::Foundation::BOOL; 3620 #[cfg(feature = "Win32_Foundation")] 3621 pub type PFN_DrvStrokePath = unsafe extern "system" fn(param0: *mut SURFOBJ, param1: *mut PATHOBJ, param2: *mut CLIPOBJ, param3: *mut XFORMOBJ, param4: *mut BRUSHOBJ, param5: *mut super::super::Foundation::POINTL, param6: *mut LINEATTRS, param7: u32) -> super::super::Foundation::BOOL; 3622 #[cfg(feature = "Win32_Foundation")] 3623 pub type PFN_DrvSurfaceComplete = unsafe extern "system" fn(param0: DHPDEV, param1: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; 3624 #[cfg(feature = "Win32_Foundation")] 3625 pub type PFN_DrvSwapBuffers = unsafe extern "system" fn(param0: *mut SURFOBJ, param1: *mut WNDOBJ) -> super::super::Foundation::BOOL; 3626 #[cfg(feature = "Win32_Foundation")] 3627 pub type PFN_DrvSynchronize = unsafe extern "system" fn(param0: DHPDEV, param1: *mut super::super::Foundation::RECTL); 3628 #[cfg(feature = "Win32_Foundation")] 3629 pub type PFN_DrvSynchronizeRedirectionBitmaps = unsafe extern "system" fn(param0: DHPDEV, param1: *mut u64) -> super::super::Foundation::NTSTATUS; 3630 #[cfg(feature = "Win32_Foundation")] 3631 pub type PFN_DrvSynchronizeSurface = unsafe extern "system" fn(param0: *mut SURFOBJ, param1: *mut super::super::Foundation::RECTL, param2: u32); 3632 #[cfg(feature = "Win32_Foundation")] 3633 pub type PFN_DrvTextOut = unsafe extern "system" fn(param0: *mut SURFOBJ, param1: *mut STROBJ, param2: *mut FONTOBJ, param3: *mut CLIPOBJ, param4: *mut super::super::Foundation::RECTL, param5: *mut super::super::Foundation::RECTL, param6: *mut BRUSHOBJ, param7: *mut BRUSHOBJ, param8: *mut super::super::Foundation::POINTL, param9: u32) -> super::super::Foundation::BOOL; 3634 #[cfg(feature = "Win32_Foundation")] 3635 pub type PFN_DrvTransparentBlt = unsafe extern "system" fn(param0: *mut SURFOBJ, param1: *mut SURFOBJ, param2: *mut CLIPOBJ, param3: *mut XLATEOBJ, param4: *mut super::super::Foundation::RECTL, param5: *mut super::super::Foundation::RECTL, param6: u32, param7: u32) -> super::super::Foundation::BOOL; 3636 #[cfg(feature = "Win32_Foundation")] 3637 pub type PFN_DrvUnloadFontFile = unsafe extern "system" fn(param0: usize) -> super::super::Foundation::BOOL; 3638 #[cfg(feature = "Win32_Foundation")] 3639 pub type PFN_DrvUnlockDisplayArea = unsafe extern "system" fn(param0: DHPDEV, param1: *mut super::super::Foundation::RECTL); 3640 #[cfg(feature = "Win32_Foundation")] 3641 pub type PFN_EngCombineRgn = unsafe extern "system" fn(hrgntrg: super::super::Foundation::HANDLE, hrgnsrc1: super::super::Foundation::HANDLE, hrgnsrc2: super::super::Foundation::HANDLE, imode: i32) -> i32; 3642 #[cfg(feature = "Win32_Foundation")] 3643 pub type PFN_EngCopyRgn = unsafe extern "system" fn(hrgndst: super::super::Foundation::HANDLE, hrgnsrc: super::super::Foundation::HANDLE) -> i32; 3644 #[cfg(feature = "Win32_Foundation")] 3645 pub type PFN_EngCreateRectRgn = unsafe extern "system" fn(left: i32, top: i32, right: i32, bottom: i32) -> super::super::Foundation::HANDLE; 3646 #[cfg(feature = "Win32_Foundation")] 3647 pub type PFN_EngDeleteRgn = unsafe extern "system" fn(hrgn: super::super::Foundation::HANDLE); 3648 #[cfg(feature = "Win32_Foundation")] 3649 pub type PFN_EngIntersectRgn = unsafe extern "system" fn(hrgnresult: super::super::Foundation::HANDLE, hrgna: super::super::Foundation::HANDLE, hrgnb: super::super::Foundation::HANDLE) -> i32; 3650 #[cfg(feature = "Win32_Foundation")] 3651 pub type PFN_EngSubtractRgn = unsafe extern "system" fn(hrgnresult: super::super::Foundation::HANDLE, hrgna: super::super::Foundation::HANDLE, hrgnb: super::super::Foundation::HANDLE) -> i32; 3652 #[cfg(feature = "Win32_Foundation")] 3653 pub type PFN_EngUnionRgn = unsafe extern "system" fn(hrgnresult: super::super::Foundation::HANDLE, hrgna: super::super::Foundation::HANDLE, hrgnb: super::super::Foundation::HANDLE) -> i32; 3654 #[cfg(feature = "Win32_Foundation")] 3655 pub type PFN_EngXorRgn = unsafe extern "system" fn(hrgnresult: super::super::Foundation::HANDLE, hrgna: super::super::Foundation::HANDLE, hrgnb: super::super::Foundation::HANDLE) -> i32; 3656 #[repr(C, packed(1))] 3657 #[cfg(feature = "Win32_Foundation")] 3658 pub struct PHYSICAL_MONITOR { 3659 pub hPhysicalMonitor: super::super::Foundation::HANDLE, 3660 pub szPhysicalMonitorDescription: [u16; 128], 3661 } 3662 #[cfg(feature = "Win32_Foundation")] 3663 impl ::core::marker::Copy for PHYSICAL_MONITOR {} 3664 #[cfg(feature = "Win32_Foundation")] 3665 impl ::core::clone::Clone for PHYSICAL_MONITOR { clone(&self) -> Self3666 fn clone(&self) -> Self { 3667 *self 3668 } 3669 } 3670 pub const PHYSICAL_MONITOR_DESCRIPTION_SIZE: u32 = 128u32; 3671 pub const PLANAR_HC: u32 = 1u32; 3672 #[repr(C)] 3673 #[cfg(any(target_arch = "x86_64", target_arch = "aarch64",))] 3674 pub struct POINTE { 3675 pub x: f32, 3676 pub y: f32, 3677 } 3678 #[cfg(any(target_arch = "x86_64", target_arch = "aarch64",))] 3679 impl ::core::marker::Copy for POINTE {} 3680 #[cfg(any(target_arch = "x86_64", target_arch = "aarch64",))] 3681 impl ::core::clone::Clone for POINTE { clone(&self) -> Self3682 fn clone(&self) -> Self { 3683 *self 3684 } 3685 } 3686 #[repr(C)] 3687 #[cfg(any(target_arch = "x86",))] 3688 pub struct POINTE { 3689 pub x: u32, 3690 pub y: u32, 3691 } 3692 #[cfg(any(target_arch = "x86",))] 3693 impl ::core::marker::Copy for POINTE {} 3694 #[cfg(any(target_arch = "x86",))] 3695 impl ::core::clone::Clone for POINTE { clone(&self) -> Self3696 fn clone(&self) -> Self { 3697 *self 3698 } 3699 } 3700 #[repr(C)] 3701 pub struct POINTFIX { 3702 pub x: i32, 3703 pub y: i32, 3704 } 3705 impl ::core::marker::Copy for POINTFIX {} 3706 impl ::core::clone::Clone for POINTFIX { clone(&self) -> Self3707 fn clone(&self) -> Self { 3708 *self 3709 } 3710 } 3711 #[repr(C)] 3712 pub struct POINTQF { 3713 pub x: i64, 3714 pub y: i64, 3715 } 3716 impl ::core::marker::Copy for POINTQF {} 3717 impl ::core::clone::Clone for POINTQF { clone(&self) -> Self3718 fn clone(&self) -> Self { 3719 *self 3720 } 3721 } 3722 pub const PO_ALL_INTEGERS: u32 = 4u32; 3723 pub const PO_BEZIERS: u32 = 1u32; 3724 pub const PO_ELLIPSE: u32 = 2u32; 3725 pub const PO_ENUM_AS_INTEGERS: u32 = 8u32; 3726 pub const PO_WIDENED: u32 = 16u32; 3727 pub const PPC_BGR_ORDER_HORIZONTAL_STRIPES: u32 = 5u32; 3728 pub const PPC_BGR_ORDER_VERTICAL_STRIPES: u32 = 3u32; 3729 pub const PPC_DEFAULT: u32 = 0u32; 3730 pub const PPC_RGB_ORDER_HORIZONTAL_STRIPES: u32 = 4u32; 3731 pub const PPC_RGB_ORDER_VERTICAL_STRIPES: u32 = 2u32; 3732 pub const PPC_UNDEFINED: u32 = 1u32; 3733 pub const PPG_DEFAULT: u32 = 0u32; 3734 pub const PPG_SRGB: u32 = 1u32; 3735 pub const PRIMARY_ORDER_ABC: u32 = 0u32; 3736 pub const PRIMARY_ORDER_ACB: u32 = 1u32; 3737 pub const PRIMARY_ORDER_BAC: u32 = 2u32; 3738 pub const PRIMARY_ORDER_BCA: u32 = 3u32; 3739 pub const PRIMARY_ORDER_CAB: u32 = 5u32; 3740 pub const PRIMARY_ORDER_CBA: u32 = 4u32; 3741 pub type PVIDEO_WIN32K_CALLOUT = unsafe extern "system" fn(params: *mut ::core::ffi::c_void); 3742 pub const QAW_GETEASYWIDTHS: u32 = 1u32; 3743 pub const QAW_GETWIDTHS: u32 = 0u32; 3744 pub const QC_1BIT: u32 = 2u32; 3745 pub const QC_4BIT: u32 = 4u32; 3746 pub const QC_OUTLINES: u32 = 1u32; 3747 pub const QDS_CHECKJPEGFORMAT: u32 = 0u32; 3748 pub const QDS_CHECKPNGFORMAT: u32 = 1u32; 3749 pub const QFD_GLYPHANDBITMAP: i32 = 1i32; 3750 pub const QFD_GLYPHANDOUTLINE: i32 = 2i32; 3751 pub const QFD_MAXEXTENTS: i32 = 3i32; 3752 pub const QFD_TT_GLYPHANDBITMAP: i32 = 4i32; 3753 pub const QFD_TT_GRAY1_BITMAP: i32 = 5i32; 3754 pub const QFD_TT_GRAY2_BITMAP: i32 = 6i32; 3755 pub const QFD_TT_GRAY4_BITMAP: i32 = 8i32; 3756 pub const QFD_TT_GRAY8_BITMAP: i32 = 9i32; 3757 pub const QFD_TT_MONO_BITMAP: i32 = 5i32; 3758 pub const QFF_DESCRIPTION: i32 = 1i32; 3759 pub const QFF_NUMFACES: i32 = 2i32; 3760 pub const QFT_GLYPHSET: i32 = 3i32; 3761 pub const QFT_KERNPAIRS: i32 = 2i32; 3762 pub const QFT_LIGATURES: i32 = 1i32; 3763 pub const QSA_3DNOW: u32 = 16384u32; 3764 pub const QSA_MMX: u32 = 256u32; 3765 pub const QSA_SSE: u32 = 8192u32; 3766 pub const QSA_SSE1: u32 = 8192u32; 3767 pub const QSA_SSE2: u32 = 65536u32; 3768 pub const QSA_SSE3: u32 = 524288u32; 3769 pub const RB_DITHERCOLOR: i32 = -2147483648i32; 3770 #[repr(C)] 3771 pub struct RECTFX { 3772 pub xLeft: i32, 3773 pub yTop: i32, 3774 pub xRight: i32, 3775 pub yBottom: i32, 3776 } 3777 impl ::core::marker::Copy for RECTFX {} 3778 impl ::core::clone::Clone for RECTFX { clone(&self) -> Self3779 fn clone(&self) -> Self { 3780 *self 3781 } 3782 } 3783 #[repr(C)] 3784 pub struct RUN { 3785 pub iStart: i32, 3786 pub iStop: i32, 3787 } 3788 impl ::core::marker::Copy for RUN {} 3789 impl ::core::clone::Clone for RUN { clone(&self) -> Self3790 fn clone(&self) -> Self { 3791 *self 3792 } 3793 } 3794 pub const SETCONFIGURATION_STATUS_ADDITIONAL: u32 = 1u32; 3795 pub const SETCONFIGURATION_STATUS_APPLIED: u32 = 0u32; 3796 pub const SETCONFIGURATION_STATUS_OVERRIDDEN: u32 = 2u32; 3797 #[repr(C)] 3798 pub struct SET_ACTIVE_COLOR_PROFILE_NAME { 3799 pub ColorProfileName: [u16; 1], 3800 } 3801 impl ::core::marker::Copy for SET_ACTIVE_COLOR_PROFILE_NAME {} 3802 impl ::core::clone::Clone for SET_ACTIVE_COLOR_PROFILE_NAME { clone(&self) -> Self3803 fn clone(&self) -> Self { 3804 *self 3805 } 3806 } 3807 pub const SGI_EXTRASPACE: u32 = 0u32; 3808 pub type SORTCOMP = unsafe extern "system" fn(pv1: *const ::core::ffi::c_void, pv2: *const ::core::ffi::c_void) -> i32; 3809 pub const SO_BREAK_EXTRA: u32 = 4096u32; 3810 pub const SO_CHARACTER_EXTRA: u32 = 2048u32; 3811 pub const SO_CHAR_INC_EQUAL_BM_BASE: u32 = 32u32; 3812 pub const SO_DO_NOT_SUBSTITUTE_DEVICE_FONT: u32 = 128u32; 3813 pub const SO_DXDY: u32 = 1024u32; 3814 pub const SO_ESC_NOT_ORIENT: u32 = 512u32; 3815 pub const SO_FLAG_DEFAULT_PLACEMENT: u32 = 1u32; 3816 pub const SO_GLYPHINDEX_TEXTOUT: u32 = 256u32; 3817 pub const SO_HORIZONTAL: u32 = 2u32; 3818 pub const SO_MAXEXT_EQUAL_BM_SIDE: u32 = 64u32; 3819 pub const SO_REVERSED: u32 = 8u32; 3820 pub const SO_VERTICAL: u32 = 4u32; 3821 pub const SO_ZERO_BEARINGS: u32 = 16u32; 3822 pub const SPS_ACCEPT_EXCLUDE: u32 = 3u32; 3823 pub const SPS_ACCEPT_NOEXCLUDE: u32 = 2u32; 3824 pub const SPS_ACCEPT_SYNCHRONOUS: u32 = 4u32; 3825 pub const SPS_ALPHA: i32 = 16i32; 3826 pub const SPS_ANIMATESTART: i32 = 4i32; 3827 pub const SPS_ANIMATEUPDATE: i32 = 8i32; 3828 pub const SPS_ASYNCCHANGE: i32 = 2i32; 3829 pub const SPS_CHANGE: i32 = 1i32; 3830 pub const SPS_DECLINE: u32 = 1u32; 3831 pub const SPS_ERROR: u32 = 0u32; 3832 pub const SPS_FLAGSMASK: i32 = 255i32; 3833 pub const SPS_FREQMASK: i32 = 1044480i32; 3834 pub const SPS_LENGTHMASK: i32 = 3840i32; 3835 pub const SPS_RESERVED: i32 = 32i32; 3836 pub const SPS_RESERVED1: i32 = 64i32; 3837 pub const SS_FREE: u32 = 2u32; 3838 pub const SS_RESTORE: u32 = 1u32; 3839 pub const SS_SAVE: u32 = 0u32; 3840 #[repr(C)] 3841 #[cfg(feature = "Win32_Foundation")] 3842 pub struct STROBJ { 3843 pub cGlyphs: u32, 3844 pub flAccel: u32, 3845 pub ulCharInc: u32, 3846 pub rclBkGround: super::super::Foundation::RECTL, 3847 pub pgp: *mut GLYPHPOS, 3848 pub pwszOrg: super::super::Foundation::PWSTR, 3849 } 3850 #[cfg(feature = "Win32_Foundation")] 3851 impl ::core::marker::Copy for STROBJ {} 3852 #[cfg(feature = "Win32_Foundation")] 3853 impl ::core::clone::Clone for STROBJ { clone(&self) -> Self3854 fn clone(&self) -> Self { 3855 *self 3856 } 3857 } 3858 pub const STYPE_BITMAP: i32 = 0i32; 3859 pub const STYPE_DEVBITMAP: i32 = 3i32; 3860 #[repr(C)] 3861 #[cfg(feature = "Win32_Foundation")] 3862 pub struct SURFOBJ { 3863 pub dhsurf: DHSURF, 3864 pub hsurf: HSURF, 3865 pub dhpdev: DHPDEV, 3866 pub hdev: HDEV, 3867 pub sizlBitmap: super::super::Foundation::SIZE, 3868 pub cjBits: u32, 3869 pub pvBits: *mut ::core::ffi::c_void, 3870 pub pvScan0: *mut ::core::ffi::c_void, 3871 pub lDelta: i32, 3872 pub iUniq: u32, 3873 pub iBitmapFormat: u32, 3874 pub iType: u16, 3875 pub fjBitmap: u16, 3876 } 3877 #[cfg(feature = "Win32_Foundation")] 3878 impl ::core::marker::Copy for SURFOBJ {} 3879 #[cfg(feature = "Win32_Foundation")] 3880 impl ::core::clone::Clone for SURFOBJ { clone(&self) -> Self3881 fn clone(&self) -> Self { 3882 *self 3883 } 3884 } 3885 pub const S_INIT: u32 = 2u32; 3886 #[repr(C)] 3887 pub struct Sources { 3888 pub sourceId: u32, 3889 pub numTargets: i32, 3890 pub aTargets: [u32; 1], 3891 } 3892 impl ::core::marker::Copy for Sources {} 3893 impl ::core::clone::Clone for Sources { clone(&self) -> Self3894 fn clone(&self) -> Self { 3895 *self 3896 } 3897 } 3898 pub const TC_PATHOBJ: u32 = 2u32; 3899 pub const TC_RECTANGLES: u32 = 0u32; 3900 pub const TTO_METRICS_ONLY: u32 = 1u32; 3901 pub const TTO_QUBICS: u32 = 2u32; 3902 pub const TTO_UNHINTED: u32 = 4u32; 3903 #[repr(C)] 3904 #[cfg(feature = "Win32_Foundation")] 3905 pub struct TYPE1_FONT { 3906 pub hPFM: super::super::Foundation::HANDLE, 3907 pub hPFB: super::super::Foundation::HANDLE, 3908 pub ulIdentifier: u32, 3909 } 3910 #[cfg(feature = "Win32_Foundation")] 3911 impl ::core::marker::Copy for TYPE1_FONT {} 3912 #[cfg(feature = "Win32_Foundation")] 3913 impl ::core::clone::Clone for TYPE1_FONT { clone(&self) -> Self3914 fn clone(&self) -> Self { 3915 *self 3916 } 3917 } 3918 #[repr(C)] 3919 #[cfg(feature = "Win32_Foundation")] 3920 pub struct VGA_CHAR { 3921 pub Char: super::super::Foundation::CHAR, 3922 pub Attributes: super::super::Foundation::CHAR, 3923 } 3924 #[cfg(feature = "Win32_Foundation")] 3925 impl ::core::marker::Copy for VGA_CHAR {} 3926 #[cfg(feature = "Win32_Foundation")] 3927 impl ::core::clone::Clone for VGA_CHAR { clone(&self) -> Self3928 fn clone(&self) -> Self { 3929 *self 3930 } 3931 } 3932 #[repr(C)] 3933 pub struct VIDEOPARAMETERS { 3934 pub Guid: ::windows_sys::core::GUID, 3935 pub dwOffset: u32, 3936 pub dwCommand: u32, 3937 pub dwFlags: u32, 3938 pub dwMode: u32, 3939 pub dwTVStandard: u32, 3940 pub dwAvailableModes: u32, 3941 pub dwAvailableTVStandard: u32, 3942 pub dwFlickerFilter: u32, 3943 pub dwOverScanX: u32, 3944 pub dwOverScanY: u32, 3945 pub dwMaxUnscaledX: u32, 3946 pub dwMaxUnscaledY: u32, 3947 pub dwPositionX: u32, 3948 pub dwPositionY: u32, 3949 pub dwBrightness: u32, 3950 pub dwContrast: u32, 3951 pub dwCPType: u32, 3952 pub dwCPCommand: u32, 3953 pub dwCPStandard: u32, 3954 pub dwCPKey: u32, 3955 pub bCP_APSTriggerBits: u32, 3956 pub bOEMCopyProtection: [u8; 256], 3957 } 3958 impl ::core::marker::Copy for VIDEOPARAMETERS {} 3959 impl ::core::clone::Clone for VIDEOPARAMETERS { clone(&self) -> Self3960 fn clone(&self) -> Self { 3961 *self 3962 } 3963 } 3964 #[repr(C)] 3965 pub struct VIDEO_BANK_SELECT { 3966 pub Length: u32, 3967 pub Size: u32, 3968 pub BankingFlags: u32, 3969 pub BankingType: u32, 3970 pub PlanarHCBankingType: u32, 3971 pub BitmapWidthInBytes: u32, 3972 pub BitmapSize: u32, 3973 pub Granularity: u32, 3974 pub PlanarHCGranularity: u32, 3975 pub CodeOffset: u32, 3976 pub PlanarHCBankCodeOffset: u32, 3977 pub PlanarHCEnableCodeOffset: u32, 3978 pub PlanarHCDisableCodeOffset: u32, 3979 } 3980 impl ::core::marker::Copy for VIDEO_BANK_SELECT {} 3981 impl ::core::clone::Clone for VIDEO_BANK_SELECT { clone(&self) -> Self3982 fn clone(&self) -> Self { 3983 *self 3984 } 3985 } 3986 pub type VIDEO_BANK_TYPE = i32; 3987 pub const VideoNotBanked: VIDEO_BANK_TYPE = 0i32; 3988 pub const VideoBanked1RW: VIDEO_BANK_TYPE = 1i32; 3989 pub const VideoBanked1R1W: VIDEO_BANK_TYPE = 2i32; 3990 pub const VideoBanked2RW: VIDEO_BANK_TYPE = 3i32; 3991 pub const NumVideoBankTypes: VIDEO_BANK_TYPE = 4i32; 3992 #[repr(C)] 3993 #[cfg(feature = "Win32_Foundation")] 3994 pub struct VIDEO_BRIGHTNESS_POLICY { 3995 pub DefaultToBiosPolicy: super::super::Foundation::BOOLEAN, 3996 pub LevelCount: u8, 3997 pub Level: [VIDEO_BRIGHTNESS_POLICY_0; 1], 3998 } 3999 #[cfg(feature = "Win32_Foundation")] 4000 impl ::core::marker::Copy for VIDEO_BRIGHTNESS_POLICY {} 4001 #[cfg(feature = "Win32_Foundation")] 4002 impl ::core::clone::Clone for VIDEO_BRIGHTNESS_POLICY { clone(&self) -> Self4003 fn clone(&self) -> Self { 4004 *self 4005 } 4006 } 4007 #[repr(C)] 4008 #[cfg(feature = "Win32_Foundation")] 4009 pub struct VIDEO_BRIGHTNESS_POLICY_0 { 4010 pub BatteryLevel: u8, 4011 pub Brightness: u8, 4012 } 4013 #[cfg(feature = "Win32_Foundation")] 4014 impl ::core::marker::Copy for VIDEO_BRIGHTNESS_POLICY_0 {} 4015 #[cfg(feature = "Win32_Foundation")] 4016 impl ::core::clone::Clone for VIDEO_BRIGHTNESS_POLICY_0 { clone(&self) -> Self4017 fn clone(&self) -> Self { 4018 *self 4019 } 4020 } 4021 #[repr(C)] 4022 pub struct VIDEO_CLUT { 4023 pub NumEntries: u16, 4024 pub FirstEntry: u16, 4025 pub LookupTable: [VIDEO_CLUT_0; 1], 4026 } 4027 impl ::core::marker::Copy for VIDEO_CLUT {} 4028 impl ::core::clone::Clone for VIDEO_CLUT { clone(&self) -> Self4029 fn clone(&self) -> Self { 4030 *self 4031 } 4032 } 4033 #[repr(C)] 4034 pub union VIDEO_CLUT_0 { 4035 pub RgbArray: VIDEO_CLUTDATA, 4036 pub RgbLong: u32, 4037 } 4038 impl ::core::marker::Copy for VIDEO_CLUT_0 {} 4039 impl ::core::clone::Clone for VIDEO_CLUT_0 { clone(&self) -> Self4040 fn clone(&self) -> Self { 4041 *self 4042 } 4043 } 4044 #[repr(C)] 4045 pub struct VIDEO_CLUTDATA { 4046 pub Red: u8, 4047 pub Green: u8, 4048 pub Blue: u8, 4049 pub Unused: u8, 4050 } 4051 impl ::core::marker::Copy for VIDEO_CLUTDATA {} 4052 impl ::core::clone::Clone for VIDEO_CLUTDATA { clone(&self) -> Self4053 fn clone(&self) -> Self { 4054 *self 4055 } 4056 } 4057 #[repr(C)] 4058 pub struct VIDEO_COLOR_CAPABILITIES { 4059 pub Length: u32, 4060 pub AttributeFlags: u32, 4061 pub RedPhosphoreDecay: i32, 4062 pub GreenPhosphoreDecay: i32, 4063 pub BluePhosphoreDecay: i32, 4064 pub WhiteChromaticity_x: i32, 4065 pub WhiteChromaticity_y: i32, 4066 pub WhiteChromaticity_Y: i32, 4067 pub RedChromaticity_x: i32, 4068 pub RedChromaticity_y: i32, 4069 pub GreenChromaticity_x: i32, 4070 pub GreenChromaticity_y: i32, 4071 pub BlueChromaticity_x: i32, 4072 pub BlueChromaticity_y: i32, 4073 pub WhiteGamma: i32, 4074 pub RedGamma: i32, 4075 pub GreenGamma: i32, 4076 pub BlueGamma: i32, 4077 } 4078 impl ::core::marker::Copy for VIDEO_COLOR_CAPABILITIES {} 4079 impl ::core::clone::Clone for VIDEO_COLOR_CAPABILITIES { clone(&self) -> Self4080 fn clone(&self) -> Self { 4081 *self 4082 } 4083 } 4084 #[repr(C)] 4085 pub struct VIDEO_COLOR_LUT_DATA { 4086 pub Length: u32, 4087 pub LutDataFormat: u32, 4088 pub LutData: [u8; 1], 4089 } 4090 impl ::core::marker::Copy for VIDEO_COLOR_LUT_DATA {} 4091 impl ::core::clone::Clone for VIDEO_COLOR_LUT_DATA { clone(&self) -> Self4092 fn clone(&self) -> Self { 4093 *self 4094 } 4095 } 4096 pub const VIDEO_COLOR_LUT_DATA_FORMAT_PRIVATEFORMAT: u32 = 2147483648u32; 4097 pub const VIDEO_COLOR_LUT_DATA_FORMAT_RGB256WORDS: u32 = 1u32; 4098 #[repr(C)] 4099 pub struct VIDEO_CURSOR_ATTRIBUTES { 4100 pub Width: u16, 4101 pub Height: u16, 4102 pub Column: i16, 4103 pub Row: i16, 4104 pub Rate: u8, 4105 pub Enable: u8, 4106 } 4107 impl ::core::marker::Copy for VIDEO_CURSOR_ATTRIBUTES {} 4108 impl ::core::clone::Clone for VIDEO_CURSOR_ATTRIBUTES { clone(&self) -> Self4109 fn clone(&self) -> Self { 4110 *self 4111 } 4112 } 4113 #[repr(C)] 4114 pub struct VIDEO_CURSOR_POSITION { 4115 pub Column: i16, 4116 pub Row: i16, 4117 } 4118 impl ::core::marker::Copy for VIDEO_CURSOR_POSITION {} 4119 impl ::core::clone::Clone for VIDEO_CURSOR_POSITION { clone(&self) -> Self4120 fn clone(&self) -> Self { 4121 *self 4122 } 4123 } 4124 pub const VIDEO_DEVICE_COLOR: u32 = 1u32; 4125 #[repr(C)] 4126 pub struct VIDEO_DEVICE_SESSION_STATUS { 4127 pub bEnable: u32, 4128 pub bSuccess: u32, 4129 } 4130 impl ::core::marker::Copy for VIDEO_DEVICE_SESSION_STATUS {} 4131 impl ::core::clone::Clone for VIDEO_DEVICE_SESSION_STATUS { clone(&self) -> Self4132 fn clone(&self) -> Self { 4133 *self 4134 } 4135 } 4136 pub const VIDEO_DUALVIEW_PRIMARY: u32 = 2147483648u32; 4137 pub const VIDEO_DUALVIEW_REMOVABLE: u32 = 1u32; 4138 pub const VIDEO_DUALVIEW_SECONDARY: u32 = 1073741824u32; 4139 pub const VIDEO_DUALVIEW_WDDM_VGA: u32 = 536870912u32; 4140 #[repr(C)] 4141 pub struct VIDEO_HARDWARE_STATE { 4142 pub StateHeader: *mut VIDEO_HARDWARE_STATE_HEADER, 4143 pub StateLength: u32, 4144 } 4145 impl ::core::marker::Copy for VIDEO_HARDWARE_STATE {} 4146 impl ::core::clone::Clone for VIDEO_HARDWARE_STATE { clone(&self) -> Self4147 fn clone(&self) -> Self { 4148 *self 4149 } 4150 } 4151 #[repr(C)] 4152 pub struct VIDEO_HARDWARE_STATE_HEADER { 4153 pub Length: u32, 4154 pub PortValue: [u8; 48], 4155 pub AttribIndexDataState: u32, 4156 pub BasicSequencerOffset: u32, 4157 pub BasicCrtContOffset: u32, 4158 pub BasicGraphContOffset: u32, 4159 pub BasicAttribContOffset: u32, 4160 pub BasicDacOffset: u32, 4161 pub BasicLatchesOffset: u32, 4162 pub ExtendedSequencerOffset: u32, 4163 pub ExtendedCrtContOffset: u32, 4164 pub ExtendedGraphContOffset: u32, 4165 pub ExtendedAttribContOffset: u32, 4166 pub ExtendedDacOffset: u32, 4167 pub ExtendedValidatorStateOffset: u32, 4168 pub ExtendedMiscDataOffset: u32, 4169 pub PlaneLength: u32, 4170 pub Plane1Offset: u32, 4171 pub Plane2Offset: u32, 4172 pub Plane3Offset: u32, 4173 pub Plane4Offset: u32, 4174 pub VGAStateFlags: u32, 4175 pub DIBOffset: u32, 4176 pub DIBBitsPerPixel: u32, 4177 pub DIBXResolution: u32, 4178 pub DIBYResolution: u32, 4179 pub DIBXlatOffset: u32, 4180 pub DIBXlatLength: u32, 4181 pub VesaInfoOffset: u32, 4182 pub FrameBufferData: *mut ::core::ffi::c_void, 4183 } 4184 impl ::core::marker::Copy for VIDEO_HARDWARE_STATE_HEADER {} 4185 impl ::core::clone::Clone for VIDEO_HARDWARE_STATE_HEADER { clone(&self) -> Self4186 fn clone(&self) -> Self { 4187 *self 4188 } 4189 } 4190 #[repr(C)] 4191 pub struct VIDEO_LOAD_FONT_INFORMATION { 4192 pub WidthInPixels: u16, 4193 pub HeightInPixels: u16, 4194 pub FontSize: u32, 4195 pub Font: [u8; 1], 4196 } 4197 impl ::core::marker::Copy for VIDEO_LOAD_FONT_INFORMATION {} 4198 impl ::core::clone::Clone for VIDEO_LOAD_FONT_INFORMATION { clone(&self) -> Self4199 fn clone(&self) -> Self { 4200 *self 4201 } 4202 } 4203 #[repr(C)] 4204 pub struct VIDEO_LUT_RGB256WORDS { 4205 pub Red: [u16; 256], 4206 pub Green: [u16; 256], 4207 pub Blue: [u16; 256], 4208 } 4209 impl ::core::marker::Copy for VIDEO_LUT_RGB256WORDS {} 4210 impl ::core::clone::Clone for VIDEO_LUT_RGB256WORDS { clone(&self) -> Self4211 fn clone(&self) -> Self { 4212 *self 4213 } 4214 } 4215 pub const VIDEO_MAX_REASON: u32 = 9u32; 4216 #[repr(C)] 4217 pub struct VIDEO_MEMORY { 4218 pub RequestedVirtualAddress: *mut ::core::ffi::c_void, 4219 } 4220 impl ::core::marker::Copy for VIDEO_MEMORY {} 4221 impl ::core::clone::Clone for VIDEO_MEMORY { clone(&self) -> Self4222 fn clone(&self) -> Self { 4223 *self 4224 } 4225 } 4226 #[repr(C)] 4227 pub struct VIDEO_MEMORY_INFORMATION { 4228 pub VideoRamBase: *mut ::core::ffi::c_void, 4229 pub VideoRamLength: u32, 4230 pub FrameBufferBase: *mut ::core::ffi::c_void, 4231 pub FrameBufferLength: u32, 4232 } 4233 impl ::core::marker::Copy for VIDEO_MEMORY_INFORMATION {} 4234 impl ::core::clone::Clone for VIDEO_MEMORY_INFORMATION { clone(&self) -> Self4235 fn clone(&self) -> Self { 4236 *self 4237 } 4238 } 4239 #[repr(C)] 4240 pub struct VIDEO_MODE { 4241 pub RequestedMode: u32, 4242 } 4243 impl ::core::marker::Copy for VIDEO_MODE {} 4244 impl ::core::clone::Clone for VIDEO_MODE { clone(&self) -> Self4245 fn clone(&self) -> Self { 4246 *self 4247 } 4248 } 4249 pub const VIDEO_MODE_ANIMATE_START: u32 = 8u32; 4250 pub const VIDEO_MODE_ANIMATE_UPDATE: u32 = 16u32; 4251 pub const VIDEO_MODE_ASYNC_POINTER: u32 = 1u32; 4252 pub const VIDEO_MODE_BANKED: u32 = 128u32; 4253 pub const VIDEO_MODE_COLOR: u32 = 1u32; 4254 pub const VIDEO_MODE_COLOR_POINTER: u32 = 4u32; 4255 pub const VIDEO_MODE_GRAPHICS: u32 = 2u32; 4256 #[repr(C)] 4257 pub struct VIDEO_MODE_INFORMATION { 4258 pub Length: u32, 4259 pub ModeIndex: u32, 4260 pub VisScreenWidth: u32, 4261 pub VisScreenHeight: u32, 4262 pub ScreenStride: u32, 4263 pub NumberOfPlanes: u32, 4264 pub BitsPerPlane: u32, 4265 pub Frequency: u32, 4266 pub XMillimeter: u32, 4267 pub YMillimeter: u32, 4268 pub NumberRedBits: u32, 4269 pub NumberGreenBits: u32, 4270 pub NumberBlueBits: u32, 4271 pub RedMask: u32, 4272 pub GreenMask: u32, 4273 pub BlueMask: u32, 4274 pub AttributeFlags: u32, 4275 pub VideoMemoryBitmapWidth: u32, 4276 pub VideoMemoryBitmapHeight: u32, 4277 pub DriverSpecificAttributeFlags: u32, 4278 } 4279 impl ::core::marker::Copy for VIDEO_MODE_INFORMATION {} 4280 impl ::core::clone::Clone for VIDEO_MODE_INFORMATION { clone(&self) -> Self4281 fn clone(&self) -> Self { 4282 *self 4283 } 4284 } 4285 pub const VIDEO_MODE_INTERLACED: u32 = 16u32; 4286 pub const VIDEO_MODE_LINEAR: u32 = 256u32; 4287 pub const VIDEO_MODE_MANAGED_PALETTE: u32 = 8u32; 4288 pub const VIDEO_MODE_MAP_MEM_LINEAR: u32 = 1073741824u32; 4289 pub const VIDEO_MODE_MONO_POINTER: u32 = 2u32; 4290 pub const VIDEO_MODE_NO_64_BIT_ACCESS: u32 = 64u32; 4291 pub const VIDEO_MODE_NO_OFF_SCREEN: u32 = 32u32; 4292 pub const VIDEO_MODE_NO_ZERO_MEMORY: u32 = 2147483648u32; 4293 pub const VIDEO_MODE_PALETTE_DRIVEN: u32 = 4u32; 4294 #[repr(C)] 4295 pub struct VIDEO_MONITOR_DESCRIPTOR { 4296 pub DescriptorSize: u32, 4297 pub Descriptor: [u8; 1], 4298 } 4299 impl ::core::marker::Copy for VIDEO_MONITOR_DESCRIPTOR {} 4300 impl ::core::clone::Clone for VIDEO_MONITOR_DESCRIPTOR { clone(&self) -> Self4301 fn clone(&self) -> Self { 4302 *self 4303 } 4304 } 4305 #[repr(C)] 4306 pub struct VIDEO_NUM_MODES { 4307 pub NumModes: u32, 4308 pub ModeInformationLength: u32, 4309 } 4310 impl ::core::marker::Copy for VIDEO_NUM_MODES {} 4311 impl ::core::clone::Clone for VIDEO_NUM_MODES { clone(&self) -> Self4312 fn clone(&self) -> Self { 4313 *self 4314 } 4315 } 4316 pub const VIDEO_OPTIONAL_GAMMET_TABLE: u32 = 2u32; 4317 #[repr(C)] 4318 pub struct VIDEO_PALETTE_DATA { 4319 pub NumEntries: u16, 4320 pub FirstEntry: u16, 4321 pub Colors: [u16; 1], 4322 } 4323 impl ::core::marker::Copy for VIDEO_PALETTE_DATA {} 4324 impl ::core::clone::Clone for VIDEO_PALETTE_DATA { clone(&self) -> Self4325 fn clone(&self) -> Self { 4326 *self 4327 } 4328 } 4329 #[repr(C)] 4330 pub struct VIDEO_PERFORMANCE_COUNTER { 4331 pub NbOfAllocationEvicted: [u64; 10], 4332 pub NbOfAllocationMarked: [u64; 10], 4333 pub NbOfAllocationRestored: [u64; 10], 4334 pub KBytesEvicted: [u64; 10], 4335 pub KBytesMarked: [u64; 10], 4336 pub KBytesRestored: [u64; 10], 4337 pub NbProcessCommited: u64, 4338 pub NbAllocationCommited: u64, 4339 pub NbAllocationMarked: u64, 4340 pub KBytesAllocated: u64, 4341 pub KBytesAvailable: u64, 4342 pub KBytesCurMarked: u64, 4343 pub Reference: u64, 4344 pub Unreference: u64, 4345 pub TrueReference: u64, 4346 pub NbOfPageIn: u64, 4347 pub KBytesPageIn: u64, 4348 pub NbOfPageOut: u64, 4349 pub KBytesPageOut: u64, 4350 pub NbOfRotateOut: u64, 4351 pub KBytesRotateOut: u64, 4352 } 4353 impl ::core::marker::Copy for VIDEO_PERFORMANCE_COUNTER {} 4354 impl ::core::clone::Clone for VIDEO_PERFORMANCE_COUNTER { clone(&self) -> Self4355 fn clone(&self) -> Self { 4356 *self 4357 } 4358 } 4359 #[repr(C)] 4360 pub struct VIDEO_POINTER_ATTRIBUTES { 4361 pub Flags: u32, 4362 pub Width: u32, 4363 pub Height: u32, 4364 pub WidthInBytes: u32, 4365 pub Enable: u32, 4366 pub Column: i16, 4367 pub Row: i16, 4368 pub Pixels: [u8; 1], 4369 } 4370 impl ::core::marker::Copy for VIDEO_POINTER_ATTRIBUTES {} 4371 impl ::core::clone::Clone for VIDEO_POINTER_ATTRIBUTES { clone(&self) -> Self4372 fn clone(&self) -> Self { 4373 *self 4374 } 4375 } 4376 #[repr(C)] 4377 pub struct VIDEO_POINTER_CAPABILITIES { 4378 pub Flags: u32, 4379 pub MaxWidth: u32, 4380 pub MaxHeight: u32, 4381 pub HWPtrBitmapStart: u32, 4382 pub HWPtrBitmapEnd: u32, 4383 } 4384 impl ::core::marker::Copy for VIDEO_POINTER_CAPABILITIES {} 4385 impl ::core::clone::Clone for VIDEO_POINTER_CAPABILITIES { clone(&self) -> Self4386 fn clone(&self) -> Self { 4387 *self 4388 } 4389 } 4390 #[repr(C)] 4391 pub struct VIDEO_POINTER_POSITION { 4392 pub Column: i16, 4393 pub Row: i16, 4394 } 4395 impl ::core::marker::Copy for VIDEO_POINTER_POSITION {} 4396 impl ::core::clone::Clone for VIDEO_POINTER_POSITION { clone(&self) -> Self4397 fn clone(&self) -> Self { 4398 *self 4399 } 4400 } 4401 #[repr(C)] 4402 pub struct VIDEO_POWER_MANAGEMENT { 4403 pub Length: u32, 4404 pub DPMSVersion: u32, 4405 pub PowerState: u32, 4406 } 4407 impl ::core::marker::Copy for VIDEO_POWER_MANAGEMENT {} 4408 impl ::core::clone::Clone for VIDEO_POWER_MANAGEMENT { clone(&self) -> Self4409 fn clone(&self) -> Self { 4410 *self 4411 } 4412 } 4413 pub type VIDEO_POWER_STATE = i32; 4414 pub const VideoPowerUnspecified: VIDEO_POWER_STATE = 0i32; 4415 pub const VideoPowerOn: VIDEO_POWER_STATE = 1i32; 4416 pub const VideoPowerStandBy: VIDEO_POWER_STATE = 2i32; 4417 pub const VideoPowerSuspend: VIDEO_POWER_STATE = 3i32; 4418 pub const VideoPowerOff: VIDEO_POWER_STATE = 4i32; 4419 pub const VideoPowerHibernate: VIDEO_POWER_STATE = 5i32; 4420 pub const VideoPowerShutdown: VIDEO_POWER_STATE = 6i32; 4421 pub const VideoPowerMaximum: VIDEO_POWER_STATE = 7i32; 4422 #[repr(C)] 4423 pub struct VIDEO_PUBLIC_ACCESS_RANGES { 4424 pub InIoSpace: u32, 4425 pub MappedInIoSpace: u32, 4426 pub VirtualAddress: *mut ::core::ffi::c_void, 4427 } 4428 impl ::core::marker::Copy for VIDEO_PUBLIC_ACCESS_RANGES {} 4429 impl ::core::clone::Clone for VIDEO_PUBLIC_ACCESS_RANGES { clone(&self) -> Self4430 fn clone(&self) -> Self { 4431 *self 4432 } 4433 } 4434 #[repr(C)] 4435 pub struct VIDEO_QUERY_PERFORMANCE_COUNTER { 4436 pub BufferSize: u32, 4437 pub Buffer: *mut VIDEO_PERFORMANCE_COUNTER, 4438 } 4439 impl ::core::marker::Copy for VIDEO_QUERY_PERFORMANCE_COUNTER {} 4440 impl ::core::clone::Clone for VIDEO_QUERY_PERFORMANCE_COUNTER { clone(&self) -> Self4441 fn clone(&self) -> Self { 4442 *self 4443 } 4444 } 4445 pub const VIDEO_REASON_ALLOCATION: u32 = 6u32; 4446 pub const VIDEO_REASON_CONFIGURATION: u32 = 9u32; 4447 pub const VIDEO_REASON_FAILED_ROTATION: u32 = 5u32; 4448 pub const VIDEO_REASON_LOCK: u32 = 5u32; 4449 pub const VIDEO_REASON_NONE: u32 = 0u32; 4450 pub const VIDEO_REASON_POLICY1: u32 = 1u32; 4451 pub const VIDEO_REASON_POLICY2: u32 = 2u32; 4452 pub const VIDEO_REASON_POLICY3: u32 = 3u32; 4453 pub const VIDEO_REASON_POLICY4: u32 = 4u32; 4454 pub const VIDEO_REASON_SCRATCH: u32 = 8u32; 4455 #[repr(C)] 4456 pub struct VIDEO_REGISTER_VDM { 4457 pub MinimumStateSize: u32, 4458 } 4459 impl ::core::marker::Copy for VIDEO_REGISTER_VDM {} 4460 impl ::core::clone::Clone for VIDEO_REGISTER_VDM { clone(&self) -> Self4461 fn clone(&self) -> Self { 4462 *self 4463 } 4464 } 4465 #[repr(C)] 4466 #[cfg(feature = "Win32_Foundation")] 4467 pub struct VIDEO_SHARE_MEMORY { 4468 pub ProcessHandle: super::super::Foundation::HANDLE, 4469 pub ViewOffset: u32, 4470 pub ViewSize: u32, 4471 pub RequestedVirtualAddress: *mut ::core::ffi::c_void, 4472 } 4473 #[cfg(feature = "Win32_Foundation")] 4474 impl ::core::marker::Copy for VIDEO_SHARE_MEMORY {} 4475 #[cfg(feature = "Win32_Foundation")] 4476 impl ::core::clone::Clone for VIDEO_SHARE_MEMORY { clone(&self) -> Self4477 fn clone(&self) -> Self { 4478 *self 4479 } 4480 } 4481 #[repr(C)] 4482 pub struct VIDEO_SHARE_MEMORY_INFORMATION { 4483 pub SharedViewOffset: u32, 4484 pub SharedViewSize: u32, 4485 pub VirtualAddress: *mut ::core::ffi::c_void, 4486 } 4487 impl ::core::marker::Copy for VIDEO_SHARE_MEMORY_INFORMATION {} 4488 impl ::core::clone::Clone for VIDEO_SHARE_MEMORY_INFORMATION { clone(&self) -> Self4489 fn clone(&self) -> Self { 4490 *self 4491 } 4492 } 4493 pub const VIDEO_STATE_NON_STANDARD_VGA: u32 = 1u32; 4494 pub const VIDEO_STATE_PACKED_CHAIN4_MODE: u32 = 4u32; 4495 pub const VIDEO_STATE_UNEMULATED_VGA_STATE: u32 = 2u32; 4496 #[repr(C)] 4497 #[cfg(feature = "Win32_Foundation")] 4498 pub struct VIDEO_VDM { 4499 pub ProcessHandle: super::super::Foundation::HANDLE, 4500 } 4501 #[cfg(feature = "Win32_Foundation")] 4502 impl ::core::marker::Copy for VIDEO_VDM {} 4503 #[cfg(feature = "Win32_Foundation")] 4504 impl ::core::clone::Clone for VIDEO_VDM { clone(&self) -> Self4505 fn clone(&self) -> Self { 4506 *self 4507 } 4508 } 4509 #[repr(C)] 4510 #[cfg(feature = "Win32_Foundation")] 4511 pub struct VIDEO_WIN32K_CALLBACKS { 4512 pub PhysDisp: *mut ::core::ffi::c_void, 4513 pub Callout: PVIDEO_WIN32K_CALLOUT, 4514 pub bACPI: u32, 4515 pub pPhysDeviceObject: super::super::Foundation::HANDLE, 4516 pub DualviewFlags: u32, 4517 } 4518 #[cfg(feature = "Win32_Foundation")] 4519 impl ::core::marker::Copy for VIDEO_WIN32K_CALLBACKS {} 4520 #[cfg(feature = "Win32_Foundation")] 4521 impl ::core::clone::Clone for VIDEO_WIN32K_CALLBACKS { clone(&self) -> Self4522 fn clone(&self) -> Self { 4523 *self 4524 } 4525 } 4526 #[repr(C)] 4527 #[cfg(feature = "Win32_Foundation")] 4528 pub struct VIDEO_WIN32K_CALLBACKS_PARAMS { 4529 pub CalloutType: VIDEO_WIN32K_CALLBACKS_PARAMS_TYPE, 4530 pub PhysDisp: *mut ::core::ffi::c_void, 4531 pub Param: usize, 4532 pub Status: i32, 4533 pub LockUserSession: super::super::Foundation::BOOLEAN, 4534 pub IsPostDevice: super::super::Foundation::BOOLEAN, 4535 pub SurpriseRemoval: super::super::Foundation::BOOLEAN, 4536 pub WaitForQueueReady: super::super::Foundation::BOOLEAN, 4537 } 4538 #[cfg(feature = "Win32_Foundation")] 4539 impl ::core::marker::Copy for VIDEO_WIN32K_CALLBACKS_PARAMS {} 4540 #[cfg(feature = "Win32_Foundation")] 4541 impl ::core::clone::Clone for VIDEO_WIN32K_CALLBACKS_PARAMS { clone(&self) -> Self4542 fn clone(&self) -> Self { 4543 *self 4544 } 4545 } 4546 pub type VIDEO_WIN32K_CALLBACKS_PARAMS_TYPE = i32; 4547 pub const VideoPowerNotifyCallout: VIDEO_WIN32K_CALLBACKS_PARAMS_TYPE = 1i32; 4548 pub const VideoEnumChildPdoNotifyCallout: VIDEO_WIN32K_CALLBACKS_PARAMS_TYPE = 3i32; 4549 pub const VideoFindAdapterCallout: VIDEO_WIN32K_CALLBACKS_PARAMS_TYPE = 4i32; 4550 pub const VideoPnpNotifyCallout: VIDEO_WIN32K_CALLBACKS_PARAMS_TYPE = 7i32; 4551 pub const VideoDxgkDisplaySwitchCallout: VIDEO_WIN32K_CALLBACKS_PARAMS_TYPE = 8i32; 4552 pub const VideoDxgkFindAdapterTdrCallout: VIDEO_WIN32K_CALLBACKS_PARAMS_TYPE = 10i32; 4553 pub const VideoDxgkHardwareProtectionTeardown: VIDEO_WIN32K_CALLBACKS_PARAMS_TYPE = 11i32; 4554 pub const VideoRepaintDesktop: VIDEO_WIN32K_CALLBACKS_PARAMS_TYPE = 12i32; 4555 pub const VideoUpdateCursor: VIDEO_WIN32K_CALLBACKS_PARAMS_TYPE = 13i32; 4556 pub const VideoDisableMultiPlaneOverlay: VIDEO_WIN32K_CALLBACKS_PARAMS_TYPE = 14i32; 4557 pub const VideoDesktopDuplicationChange: VIDEO_WIN32K_CALLBACKS_PARAMS_TYPE = 15i32; 4558 pub const VideoBlackScreenDiagnostics: VIDEO_WIN32K_CALLBACKS_PARAMS_TYPE = 16i32; 4559 #[repr(C)] 4560 pub struct WCRUN { 4561 pub wcLow: u16, 4562 pub cGlyphs: u16, 4563 pub phg: *mut u32, 4564 } 4565 impl ::core::marker::Copy for WCRUN {} 4566 impl ::core::clone::Clone for WCRUN { clone(&self) -> Self4567 fn clone(&self) -> Self { 4568 *self 4569 } 4570 } 4571 pub const WINDDI_MAXSETPALETTECOLORINDEX: u32 = 255u32; 4572 pub const WINDDI_MAXSETPALETTECOLORS: u32 = 256u32; 4573 pub const WINDDI_MAX_BROADCAST_CONTEXT: u32 = 64u32; 4574 #[repr(C)] 4575 #[cfg(feature = "Win32_Foundation")] 4576 pub struct WNDOBJ { 4577 pub coClient: CLIPOBJ, 4578 pub pvConsumer: *mut ::core::ffi::c_void, 4579 pub rclClient: super::super::Foundation::RECTL, 4580 pub psoOwner: *mut SURFOBJ, 4581 } 4582 #[cfg(feature = "Win32_Foundation")] 4583 impl ::core::marker::Copy for WNDOBJ {} 4584 #[cfg(feature = "Win32_Foundation")] 4585 impl ::core::clone::Clone for WNDOBJ { clone(&self) -> Self4586 fn clone(&self) -> Self { 4587 *self 4588 } 4589 } 4590 #[cfg(feature = "Win32_Foundation")] 4591 pub type WNDOBJCHANGEPROC = unsafe extern "system" fn(pwo: *mut WNDOBJ, fl: u32); 4592 pub const WNDOBJ_SETUP: u32 = 4354u32; 4593 pub const WOC_CHANGED: u32 = 16u32; 4594 pub const WOC_DELETE: u32 = 32u32; 4595 pub const WOC_DRAWN: u32 = 64u32; 4596 pub const WOC_RGN_CLIENT: u32 = 2u32; 4597 pub const WOC_RGN_CLIENT_DELTA: u32 = 1u32; 4598 pub const WOC_RGN_SPRITE: u32 = 512u32; 4599 pub const WOC_RGN_SURFACE: u32 = 8u32; 4600 pub const WOC_RGN_SURFACE_DELTA: u32 = 4u32; 4601 pub const WOC_SPRITE_NO_OVERLAP: u32 = 256u32; 4602 pub const WOC_SPRITE_OVERLAP: u32 = 128u32; 4603 pub const WO_DRAW_NOTIFY: u32 = 64u32; 4604 pub const WO_RGN_CLIENT: u32 = 2u32; 4605 pub const WO_RGN_CLIENT_DELTA: u32 = 1u32; 4606 pub const WO_RGN_DESKTOP_COORD: u32 = 256u32; 4607 pub const WO_RGN_SPRITE: u32 = 512u32; 4608 pub const WO_RGN_SURFACE: u32 = 8u32; 4609 pub const WO_RGN_SURFACE_DELTA: u32 = 4u32; 4610 pub const WO_RGN_UPDATE_ALL: u32 = 16u32; 4611 pub const WO_RGN_WINDOW: u32 = 32u32; 4612 pub const WO_SPRITE_NOTIFY: u32 = 128u32; 4613 #[repr(C)] 4614 #[cfg(any(target_arch = "x86_64", target_arch = "aarch64",))] 4615 pub struct XFORML { 4616 pub eM11: f32, 4617 pub eM12: f32, 4618 pub eM21: f32, 4619 pub eM22: f32, 4620 pub eDx: f32, 4621 pub eDy: f32, 4622 } 4623 #[cfg(any(target_arch = "x86_64", target_arch = "aarch64",))] 4624 impl ::core::marker::Copy for XFORML {} 4625 #[cfg(any(target_arch = "x86_64", target_arch = "aarch64",))] 4626 impl ::core::clone::Clone for XFORML { clone(&self) -> Self4627 fn clone(&self) -> Self { 4628 *self 4629 } 4630 } 4631 #[repr(C)] 4632 #[cfg(any(target_arch = "x86",))] 4633 pub struct XFORML { 4634 pub eM11: u32, 4635 pub eM12: u32, 4636 pub eM21: u32, 4637 pub eM22: u32, 4638 pub eDx: u32, 4639 pub eDy: u32, 4640 } 4641 #[cfg(any(target_arch = "x86",))] 4642 impl ::core::marker::Copy for XFORML {} 4643 #[cfg(any(target_arch = "x86",))] 4644 impl ::core::clone::Clone for XFORML { clone(&self) -> Self4645 fn clone(&self) -> Self { 4646 *self 4647 } 4648 } 4649 #[repr(C)] 4650 pub struct XFORMOBJ { 4651 pub ulReserved: u32, 4652 } 4653 impl ::core::marker::Copy for XFORMOBJ {} 4654 impl ::core::clone::Clone for XFORMOBJ { clone(&self) -> Self4655 fn clone(&self) -> Self { 4656 *self 4657 } 4658 } 4659 pub const XF_INV_FXTOL: i32 = 3i32; 4660 pub const XF_INV_LTOL: i32 = 1i32; 4661 pub const XF_LTOFX: i32 = 2i32; 4662 pub const XF_LTOL: i32 = 0i32; 4663 #[repr(C)] 4664 pub struct XLATEOBJ { 4665 pub iUniq: u32, 4666 pub flXlate: u32, 4667 pub iSrcType: u16, 4668 pub iDstType: u16, 4669 pub cEntries: u32, 4670 pub pulXlate: *mut u32, 4671 } 4672 impl ::core::marker::Copy for XLATEOBJ {} 4673 impl ::core::clone::Clone for XLATEOBJ { clone(&self) -> Self4674 fn clone(&self) -> Self { 4675 *self 4676 } 4677 } 4678 pub const XO_DESTBITFIELDS: u32 = 5u32; 4679 pub const XO_DESTDCPALETTE: u32 = 3u32; 4680 pub const XO_DESTPALETTE: u32 = 2u32; 4681 pub const XO_DEVICE_ICM: u32 = 16u32; 4682 pub const XO_FROM_CMYK: u32 = 8u32; 4683 pub const XO_HOST_ICM: u32 = 32u32; 4684 pub const XO_SRCBITFIELDS: u32 = 4u32; 4685 pub const XO_SRCPALETTE: u32 = 1u32; 4686 pub const XO_TABLE: u32 = 2u32; 4687 pub const XO_TO_MONO: u32 = 4u32; 4688 pub const XO_TRIVIAL: u32 = 1u32; 4689