summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys/src/Windows/Win32/Devices/Display/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/windows-sys/src/Windows/Win32/Devices/Display/mod.rs')
-rw-r--r--vendor/windows-sys/src/Windows/Win32/Devices/Display/mod.rs6021
1 files changed, 6021 insertions, 0 deletions
diff --git a/vendor/windows-sys/src/Windows/Win32/Devices/Display/mod.rs b/vendor/windows-sys/src/Windows/Win32/Devices/Display/mod.rs
new file mode 100644
index 000000000..d018f2077
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Win32/Devices/Display/mod.rs
@@ -0,0 +1,6021 @@
+#[link(name = "windows")]
+extern "system" {
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BRUSHOBJ_hGetColorTransform(pbo: *mut BRUSHOBJ) -> super::super::Foundation::HANDLE;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+ pub fn BRUSHOBJ_pvAllocRbrush(pbo: *mut BRUSHOBJ, cj: u32) -> *mut ::core::ffi::c_void;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+ pub fn BRUSHOBJ_pvGetRbrush(pbo: *mut BRUSHOBJ) -> *mut ::core::ffi::c_void;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+ pub fn BRUSHOBJ_ulGetBrushColor(pbo: *mut BRUSHOBJ) -> u32;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CLIPOBJ_bEnum(pco: *mut CLIPOBJ, cj: u32, pul: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CLIPOBJ_cEnumStart(pco: *mut CLIPOBJ, ball: super::super::Foundation::BOOL, itype: u32, idirection: u32, climit: u32) -> u32;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CLIPOBJ_ppoGetPath(pco: *mut CLIPOBJ) -> *mut PATHOBJ;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CapabilitiesRequestAndCapabilitiesReply(hmonitor: super::super::Foundation::HANDLE, pszasciicapabilitiesstring: ::windows_sys::core::PSTR, dwcapabilitiesstringlengthincharacters: u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn DegaussMonitor(hmonitor: super::super::Foundation::HANDLE) -> i32;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn DestroyPhysicalMonitor(hmonitor: super::super::Foundation::HANDLE) -> i32;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn DestroyPhysicalMonitors(dwphysicalmonitorarraysize: u32, pphysicalmonitorarray: *const PHYSICAL_MONITOR) -> i32;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn DisplayConfigGetDeviceInfo(requestpacket: *mut DISPLAYCONFIG_DEVICE_INFO_HEADER) -> i32;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn DisplayConfigSetDeviceInfo(setpacket: *const DISPLAYCONFIG_DEVICE_INFO_HEADER) -> i32;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+ pub fn EngAcquireSemaphore(hsem: HSEMAPHORE);
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+ 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;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn EngAssociateSurface(hsurf: HSURF, hdev: HDEV, flhooks: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn EngCheckAbort(pso: *mut SURFOBJ) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+ pub fn EngComputeGlyphSet(ncodepage: i32, nfirstchar: i32, cchars: i32) -> *mut FD_GLYPHSET;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+ 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;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn EngCreateClip() -> *mut CLIPOBJ;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+ pub fn EngCreateDeviceBitmap(dhsurf: DHSURF, sizl: super::super::Foundation::SIZE, iformatcompat: u32) -> super::super::Graphics::Gdi::HBITMAP;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn EngCreateDeviceSurface(dhsurf: DHSURF, sizl: super::super::Foundation::SIZE, iformatcompat: u32) -> HSURF;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Graphics_Gdi\"`*"]
+ #[cfg(feature = "Win32_Graphics_Gdi")]
+ pub fn EngCreatePalette(imode: u32, ccolors: u32, pulcolors: *mut u32, flred: u32, flgreen: u32, flblue: u32) -> super::super::Graphics::Gdi::HPALETTE;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+ pub fn EngCreateSemaphore() -> HSEMAPHORE;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn EngDeleteClip(pco: *const CLIPOBJ);
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+ pub fn EngDeletePalette(hpal: super::super::Graphics::Gdi::HPALETTE) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+ pub fn EngDeletePath(ppo: *mut PATHOBJ);
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+ pub fn EngDeleteSemaphore(hsem: HSEMAPHORE);
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn EngDeleteSurface(hsurf: HSURF) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn EngEraseSurface(pso: *mut SURFOBJ, prcl: *mut super::super::Foundation::RECTL, icolor: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn EngFindResource(h: super::super::Foundation::HANDLE, iname: i32, itype: i32, pulsize: *mut u32) -> *mut ::core::ffi::c_void;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn EngFreeModule(h: super::super::Foundation::HANDLE);
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+ pub fn EngGetCurrentCodePage(oemcodepage: *mut u16, ansicodepage: *mut u16);
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+ pub fn EngGetDriverName(hdev: HDEV) -> ::windows_sys::core::PWSTR;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+ pub fn EngGetPrinterDataFileName(hdev: HDEV) -> ::windows_sys::core::PWSTR;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+ 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;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn EngLoadModule(pwsz: ::windows_sys::core::PCWSTR) -> super::super::Foundation::HANDLE;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn EngLockSurface(hsurf: HSURF) -> *mut SURFOBJ;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn EngMarkBandingSurface(hsurf: HSURF) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+ pub fn EngMultiByteToUnicodeN(unicodestring: ::windows_sys::core::PWSTR, maxbytesinunicodestring: u32, bytesinunicodestring: *mut u32, multibytestring: ::windows_sys::core::PCSTR, bytesinmultibytestring: u32);
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+ pub fn EngMultiByteToWideChar(codepage: u32, widecharstring: ::windows_sys::core::PWSTR, bytesinwidecharstring: i32, multibytestring: ::windows_sys::core::PCSTR, bytesinmultibytestring: i32) -> i32;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn EngPaint(pso: *mut SURFOBJ, pco: *mut CLIPOBJ, pbo: *mut BRUSHOBJ, pptlbrushorg: *mut super::super::Foundation::POINTL, mix: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+ 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;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+ pub fn EngQueryEMFInfo(hdev: HDEV, pemfinfo: *mut EMFINFO) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+ pub fn EngQueryLocalTime(param0: *mut ENG_TIME_FIELDS);
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+ pub fn EngReleaseSemaphore(hsem: HSEMAPHORE);
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+ 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;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+ 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;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+ pub fn EngUnicodeToMultiByteN(multibytestring: ::windows_sys::core::PSTR, maxbytesinmultibytestring: u32, bytesinmultibytestring: *mut u32, unicodestring: ::windows_sys::core::PCWSTR, bytesinunicodestring: u32);
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn EngUnlockSurface(pso: *mut SURFOBJ);
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+ pub fn EngWideCharToMultiByte(codepage: u32, widecharstring: ::windows_sys::core::PCWSTR, bytesinwidecharstring: i32, multibytestring: ::windows_sys::core::PSTR, bytesinmultibytestring: i32) -> i32;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn FONTOBJ_cGetAllGlyphHandles(pfo: *mut FONTOBJ, phg: *mut u32) -> u32;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn FONTOBJ_cGetGlyphs(pfo: *mut FONTOBJ, imode: u32, cglyph: u32, phg: *mut u32, ppvglyph: *mut *mut ::core::ffi::c_void) -> u32;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn FONTOBJ_pQueryGlyphAttrs(pfo: *mut FONTOBJ, imode: u32) -> *mut FD_GLYPHATTR;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn FONTOBJ_pfdg(pfo: *mut FONTOBJ) -> *mut FD_GLYPHSET;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+ pub fn FONTOBJ_pifi(pfo: *const FONTOBJ) -> *mut IFIMETRICS;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn FONTOBJ_pvTrueTypeFontFile(pfo: *mut FONTOBJ, pcjfile: *mut u32) -> *mut ::core::ffi::c_void;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn FONTOBJ_pxoGetXform(pfo: *const FONTOBJ) -> *mut XFORMOBJ;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn FONTOBJ_vGetInfo(pfo: *mut FONTOBJ, cjsize: u32, pfi: *mut FONTINFO);
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn GetAutoRotationState(pstate: *mut AR_STATE) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn GetCapabilitiesStringLength(hmonitor: super::super::Foundation::HANDLE, pdwcapabilitiesstringlengthincharacters: *mut u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn GetDisplayAutoRotationPreferences(porientation: *mut ORIENTATION_PREFERENCE) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+ pub fn GetDisplayConfigBufferSizes(flags: u32, numpatharrayelements: *mut u32, nummodeinfoarrayelements: *mut u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn GetMonitorBrightness(hmonitor: super::super::Foundation::HANDLE, pdwminimumbrightness: *mut u32, pdwcurrentbrightness: *mut u32, pdwmaximumbrightness: *mut u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn GetMonitorCapabilities(hmonitor: super::super::Foundation::HANDLE, pdwmonitorcapabilities: *mut u32, pdwsupportedcolortemperatures: *mut u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn GetMonitorColorTemperature(hmonitor: super::super::Foundation::HANDLE, pctcurrentcolortemperature: *mut MC_COLOR_TEMPERATURE) -> i32;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn GetMonitorContrast(hmonitor: super::super::Foundation::HANDLE, pdwminimumcontrast: *mut u32, pdwcurrentcontrast: *mut u32, pdwmaximumcontrast: *mut u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn GetMonitorDisplayAreaPosition(hmonitor: super::super::Foundation::HANDLE, ptpositiontype: MC_POSITION_TYPE, pdwminimumposition: *mut u32, pdwcurrentposition: *mut u32, pdwmaximumposition: *mut u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn GetMonitorDisplayAreaSize(hmonitor: super::super::Foundation::HANDLE, stsizetype: MC_SIZE_TYPE, pdwminimumwidthorheight: *mut u32, pdwcurrentwidthorheight: *mut u32, pdwmaximumwidthorheight: *mut u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn GetMonitorRedGreenOrBlueDrive(hmonitor: super::super::Foundation::HANDLE, dtdrivetype: MC_DRIVE_TYPE, pdwminimumdrive: *mut u32, pdwcurrentdrive: *mut u32, pdwmaximumdrive: *mut u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn GetMonitorRedGreenOrBlueGain(hmonitor: super::super::Foundation::HANDLE, gtgaintype: MC_GAIN_TYPE, pdwminimumgain: *mut u32, pdwcurrentgain: *mut u32, pdwmaximumgain: *mut u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn GetMonitorTechnologyType(hmonitor: super::super::Foundation::HANDLE, pdtydisplaytechnologytype: *mut MC_DISPLAY_TECHNOLOGY_TYPE) -> i32;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Graphics_Gdi\"`*"]
+ #[cfg(feature = "Win32_Graphics_Gdi")]
+ pub fn GetNumberOfPhysicalMonitorsFromHMONITOR(hmonitor: super::super::Graphics::Gdi::HMONITOR, pdwnumberofphysicalmonitors: *mut u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Graphics_Direct3D9\"`*"]
+ #[cfg(feature = "Win32_Graphics_Direct3D9")]
+ pub fn GetNumberOfPhysicalMonitorsFromIDirect3DDevice9(pdirect3ddevice9: super::super::Graphics::Direct3D9::IDirect3DDevice9, pdwnumberofphysicalmonitors: *mut u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+ pub fn GetPhysicalMonitorsFromHMONITOR(hmonitor: super::super::Graphics::Gdi::HMONITOR, dwphysicalmonitorarraysize: u32, pphysicalmonitorarray: *mut PHYSICAL_MONITOR) -> i32;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
+ pub fn GetPhysicalMonitorsFromIDirect3DDevice9(pdirect3ddevice9: super::super::Graphics::Direct3D9::IDirect3DDevice9, dwphysicalmonitorarraysize: u32, pphysicalmonitorarray: *mut PHYSICAL_MONITOR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn GetTimingReport(hmonitor: super::super::Foundation::HANDLE, pmtrmonitortimingreport: *mut MC_TIMING_REPORT) -> i32;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn GetVCPFeatureAndVCPFeatureReply(hmonitor: super::super::Foundation::HANDLE, bvcpcode: u8, pvct: *mut MC_VCP_CODE_TYPE, pdwcurrentvalue: *mut u32, pdwmaximumvalue: *mut u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Graphics_Gdi\"`*"]
+ #[cfg(feature = "Win32_Graphics_Gdi")]
+ pub fn HT_Get8BPPFormatPalette(ppaletteentry: *mut super::super::Graphics::Gdi::PALETTEENTRY, redgamma: u16, greengamma: u16, bluegamma: u16) -> i32;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+ 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;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn PATHOBJ_bEnum(ppo: *mut PATHOBJ, ppd: *mut PATHDATA) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn PATHOBJ_bEnumClipLines(ppo: *mut PATHOBJ, cb: u32, pcl: *mut CLIPLINE) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+ pub fn PATHOBJ_vEnumStart(ppo: *mut PATHOBJ);
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn PATHOBJ_vEnumStartClipLines(ppo: *mut PATHOBJ, pco: *mut CLIPOBJ, pso: *mut SURFOBJ, pla: *mut LINEATTRS);
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+ pub fn PATHOBJ_vGetBounds(ppo: *mut PATHOBJ, prectfx: *mut RECTFX);
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn RestoreMonitorFactoryColorDefaults(hmonitor: super::super::Foundation::HANDLE) -> i32;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn RestoreMonitorFactoryDefaults(hmonitor: super::super::Foundation::HANDLE) -> i32;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn STROBJ_bEnum(pstro: *mut STROBJ, pc: *mut u32, ppgpos: *mut *mut GLYPHPOS) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn STROBJ_bEnumPositionsOnly(pstro: *mut STROBJ, pc: *mut u32, ppgpos: *mut *mut GLYPHPOS) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn STROBJ_bGetAdvanceWidths(pso: *mut STROBJ, ifirst: u32, c: u32, pptqd: *mut POINTQF) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn STROBJ_dwGetCodePage(pstro: *mut STROBJ) -> u32;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn STROBJ_vEnumStart(pstro: *mut STROBJ);
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SaveCurrentMonitorSettings(hmonitor: super::super::Foundation::HANDLE) -> i32;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SaveCurrentSettings(hmonitor: super::super::Foundation::HANDLE) -> i32;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SetDisplayAutoRotationPreferences(orientation: ORIENTATION_PREFERENCE) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SetDisplayConfig(numpatharrayelements: u32, patharray: *const DISPLAYCONFIG_PATH_INFO, nummodeinfoarrayelements: u32, modeinfoarray: *const DISPLAYCONFIG_MODE_INFO, flags: u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SetMonitorBrightness(hmonitor: super::super::Foundation::HANDLE, dwnewbrightness: u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SetMonitorColorTemperature(hmonitor: super::super::Foundation::HANDLE, ctcurrentcolortemperature: MC_COLOR_TEMPERATURE) -> i32;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SetMonitorContrast(hmonitor: super::super::Foundation::HANDLE, dwnewcontrast: u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SetMonitorDisplayAreaPosition(hmonitor: super::super::Foundation::HANDLE, ptpositiontype: MC_POSITION_TYPE, dwnewposition: u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SetMonitorDisplayAreaSize(hmonitor: super::super::Foundation::HANDLE, stsizetype: MC_SIZE_TYPE, dwnewdisplayareawidthorheight: u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SetMonitorRedGreenOrBlueDrive(hmonitor: super::super::Foundation::HANDLE, dtdrivetype: MC_DRIVE_TYPE, dwnewdrive: u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SetMonitorRedGreenOrBlueGain(hmonitor: super::super::Foundation::HANDLE, gtgaintype: MC_GAIN_TYPE, dwnewgain: u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SetVCPFeature(hmonitor: super::super::Foundation::HANDLE, bvcpcode: u8, dwnewvalue: u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+ pub fn XFORMOBJ_iGetXform(pxo: *const XFORMOBJ, pxform: *mut XFORML) -> u32;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+ pub fn XLATEOBJ_cGetPalette(pxlo: *mut XLATEOBJ, ipal: u32, cpal: u32, ppal: *mut u32) -> u32;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn XLATEOBJ_hGetColorTransform(pxlo: *mut XLATEOBJ) -> super::super::Foundation::HANDLE;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+ pub fn XLATEOBJ_iXlate(pxlo: *mut XLATEOBJ, icolor: u32) -> u32;
+ #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+ pub fn XLATEOBJ_piVector(pxlo: *mut XLATEOBJ) -> *mut u32;
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type AR_STATE = i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const AR_ENABLED: AR_STATE = 0i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const AR_DISABLED: AR_STATE = 1i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const AR_SUPPRESSED: AR_STATE = 2i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const AR_REMOTESESSION: AR_STATE = 4i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const AR_MULTIMON: AR_STATE = 8i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const AR_NOSENSOR: AR_STATE = 16i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const AR_NOT_SUPPORTED: AR_STATE = 32i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const AR_DOCKED: AR_STATE = 64i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const AR_LAPTOP: AR_STATE = 128i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct Adapter {
+ pub AdapterName: [u16; 128],
+ pub numSources: i32,
+ pub sources: [Sources; 1],
+}
+impl ::core::marker::Copy for Adapter {}
+impl ::core::clone::Clone for Adapter {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct Adapters {
+ pub numAdapters: i32,
+ pub adapter: [Adapter; 1],
+}
+impl ::core::marker::Copy for Adapters {}
+impl ::core::clone::Clone for Adapters {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type BACKLIGHT_OPTIMIZATION_LEVEL = i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const BacklightOptimizationDisable: BACKLIGHT_OPTIMIZATION_LEVEL = 0i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const BacklightOptimizationDesktop: BACKLIGHT_OPTIMIZATION_LEVEL = 1i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const BacklightOptimizationDynamic: BACKLIGHT_OPTIMIZATION_LEVEL = 2i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const BacklightOptimizationDimmed: BACKLIGHT_OPTIMIZATION_LEVEL = 3i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const BacklightOptimizationEDR: BACKLIGHT_OPTIMIZATION_LEVEL = 4i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct BACKLIGHT_REDUCTION_GAMMA_RAMP {
+ pub R: [u16; 256],
+ pub G: [u16; 256],
+ pub B: [u16; 256],
+}
+impl ::core::marker::Copy for BACKLIGHT_REDUCTION_GAMMA_RAMP {}
+impl ::core::clone::Clone for BACKLIGHT_REDUCTION_GAMMA_RAMP {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct BANK_POSITION {
+ pub ReadBankPosition: u32,
+ pub WriteBankPosition: u32,
+}
+impl ::core::marker::Copy for BANK_POSITION {}
+impl ::core::clone::Clone for BANK_POSITION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const BITMAP_ARRAY_BYTE: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const BITMAP_BITS_BYTE_ALIGN: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const BITMAP_BITS_PIXEL: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const BITMAP_BITS_WORD_ALIGN: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const BITMAP_PLANES: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Graphics_Gdi\"`*"]
+#[cfg(feature = "Win32_Graphics_Gdi")]
+pub struct BLENDOBJ {
+ pub BlendFunction: super::super::Graphics::Gdi::BLENDFUNCTION,
+}
+#[cfg(feature = "Win32_Graphics_Gdi")]
+impl ::core::marker::Copy for BLENDOBJ {}
+#[cfg(feature = "Win32_Graphics_Gdi")]
+impl ::core::clone::Clone for BLENDOBJ {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const BMF_16BPP: i32 = 4i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const BMF_1BPP: i32 = 1i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const BMF_24BPP: i32 = 5i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const BMF_32BPP: i32 = 6i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const BMF_4BPP: i32 = 2i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const BMF_4RLE: i32 = 7i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const BMF_8BPP: i32 = 3i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const BMF_8RLE: i32 = 8i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const BMF_ACC_NOTIFY: u32 = 32768u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const BMF_DONTCACHE: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const BMF_JPEG: i32 = 9i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const BMF_KMSECTION: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const BMF_NOTSYSMEM: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const BMF_NOZEROINIT: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const BMF_PNG: i32 = 10i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const BMF_RESERVED: u32 = 15872u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const BMF_RMT_ENTER: u32 = 16384u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const BMF_TEMP_ALPHA: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const BMF_TOPDOWN: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const BMF_UMPDMEM: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const BMF_USERMEM: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const BMF_WINDOW_BLT: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type BRIGHTNESS_INTERFACE_VERSION = i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const BRIGHTNESS_INTERFACE_VERSION_1: BRIGHTNESS_INTERFACE_VERSION = 1i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const BRIGHTNESS_INTERFACE_VERSION_2: BRIGHTNESS_INTERFACE_VERSION = 2i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const BRIGHTNESS_INTERFACE_VERSION_3: BRIGHTNESS_INTERFACE_VERSION = 3i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct BRIGHTNESS_LEVEL {
+ pub Count: u8,
+ pub Level: [u8; 103],
+}
+impl ::core::marker::Copy for BRIGHTNESS_LEVEL {}
+impl ::core::clone::Clone for BRIGHTNESS_LEVEL {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const BRIGHTNESS_MAX_LEVEL_COUNT: u32 = 103u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const BRIGHTNESS_MAX_NIT_RANGE_COUNT: u32 = 16u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct BRIGHTNESS_NIT_RANGE {
+ pub MinLevelInMillinit: u32,
+ pub MaxLevelInMillinit: u32,
+ pub StepSizeInMillinit: u32,
+}
+impl ::core::marker::Copy for BRIGHTNESS_NIT_RANGE {}
+impl ::core::clone::Clone for BRIGHTNESS_NIT_RANGE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct BRIGHTNESS_NIT_RANGES {
+ pub NormalRangeCount: u32,
+ pub RangeCount: u32,
+ pub PreferredMaximumBrightness: u32,
+ pub SupportedRanges: [BRIGHTNESS_NIT_RANGE; 16],
+}
+impl ::core::marker::Copy for BRIGHTNESS_NIT_RANGES {}
+impl ::core::clone::Clone for BRIGHTNESS_NIT_RANGES {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct BRUSHOBJ {
+ pub iSolidColor: u32,
+ pub pvRbrush: *mut ::core::ffi::c_void,
+ pub flColorType: u32,
+}
+impl ::core::marker::Copy for BRUSHOBJ {}
+impl ::core::clone::Clone for BRUSHOBJ {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const BR_CMYKCOLOR: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const BR_DEVICE_ICM: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const BR_HOST_ICM: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const BR_ORIGCOLOR: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type BlackScreenDiagnosticsCalloutParam = i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const BlackScreenDiagnosticsData: BlackScreenDiagnosticsCalloutParam = 1i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const BlackScreenDisplayRecovery: BlackScreenDiagnosticsCalloutParam = 2i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const CDBEX_CROSSADAPTER: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const CDBEX_DXINTEROP: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const CDBEX_NTSHAREDSURFACEHANDLE: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const CDBEX_REDIRECTION: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const CDBEX_REUSE: u32 = 16u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CDDDXGK_REDIRBITMAPPRESENTINFO {
+ pub NumDirtyRects: u32,
+ pub DirtyRect: *mut super::super::Foundation::RECT,
+ pub NumContexts: u32,
+ pub hContext: [super::super::Foundation::HANDLE; 65],
+ pub bDoNotSynchronizeWithDxContent: super::super::Foundation::BOOLEAN,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CDDDXGK_REDIRBITMAPPRESENTINFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CDDDXGK_REDIRBITMAPPRESENTINFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const CD_ANY: i32 = 4i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const CD_LEFTDOWN: i32 = 1i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const CD_LEFTUP: i32 = 3i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const CD_LEFTWARDS: i32 = 1i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const CD_RIGHTDOWN: i32 = 0i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const CD_RIGHTUP: i32 = 2i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const CD_UPWARDS: i32 = 2i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_System_Console\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Console"))]
+pub struct CHAR_IMAGE_INFO {
+ pub CharInfo: super::super::System::Console::CHAR_INFO,
+ pub FontImageInfo: FONT_IMAGE_INFO,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Console"))]
+impl ::core::marker::Copy for CHAR_IMAGE_INFO {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Console"))]
+impl ::core::clone::Clone for CHAR_IMAGE_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const CHAR_TYPE_LEADING: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const CHAR_TYPE_SBCS: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const CHAR_TYPE_TRAILING: u32 = 3u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct CHROMATICITY_COORDINATE {
+ pub x: f32,
+ pub y: f32,
+}
+impl ::core::marker::Copy for CHROMATICITY_COORDINATE {}
+impl ::core::clone::Clone for CHROMATICITY_COORDINATE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct CIECHROMA {
+ pub x: i32,
+ pub y: i32,
+ pub Y: i32,
+}
+impl ::core::marker::Copy for CIECHROMA {}
+impl ::core::clone::Clone for CIECHROMA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct CLIPLINE {
+ pub ptfxA: POINTFIX,
+ pub ptfxB: POINTFIX,
+ pub lStyleState: i32,
+ pub c: u32,
+ pub arun: [RUN; 1],
+}
+impl ::core::marker::Copy for CLIPLINE {}
+impl ::core::clone::Clone for CLIPLINE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CLIPOBJ {
+ pub iUniq: u32,
+ pub rclBounds: super::super::Foundation::RECTL,
+ pub iDComplexity: u8,
+ pub iFComplexity: u8,
+ pub iMode: u8,
+ pub fjOptions: u8,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CLIPOBJ {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CLIPOBJ {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct COLORINFO {
+ pub Red: CIECHROMA,
+ pub Green: CIECHROMA,
+ pub Blue: CIECHROMA,
+ pub Cyan: CIECHROMA,
+ pub Magenta: CIECHROMA,
+ pub Yellow: CIECHROMA,
+ pub AlignmentWhite: CIECHROMA,
+ pub RedGamma: i32,
+ pub GreenGamma: i32,
+ pub BlueGamma: i32,
+ pub MagentaInCyanDye: i32,
+ pub YellowInCyanDye: i32,
+ pub CyanInMagentaDye: i32,
+ pub YellowInMagentaDye: i32,
+ pub CyanInYellowDye: i32,
+ pub MagentaInYellowDye: i32,
+}
+impl ::core::marker::Copy for COLORINFO {}
+impl ::core::clone::Clone for COLORINFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct COLORSPACE_TRANSFORM {
+ pub Type: COLORSPACE_TRANSFORM_TYPE,
+ pub Data: COLORSPACE_TRANSFORM_0,
+}
+impl ::core::marker::Copy for COLORSPACE_TRANSFORM {}
+impl ::core::clone::Clone for COLORSPACE_TRANSFORM {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub union COLORSPACE_TRANSFORM_0 {
+ pub Rgb256x3x16: GAMMA_RAMP_RGB256x3x16,
+ pub Dxgi1: GAMMA_RAMP_DXGI_1,
+ pub T3x4: COLORSPACE_TRANSFORM_3x4,
+ pub MatrixV2: COLORSPACE_TRANSFORM_MATRIX_V2,
+}
+impl ::core::marker::Copy for COLORSPACE_TRANSFORM_0 {}
+impl ::core::clone::Clone for COLORSPACE_TRANSFORM_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct COLORSPACE_TRANSFORM_1DLUT_CAP {
+ pub NumberOfLUTEntries: u32,
+ pub DataCap: COLORSPACE_TRANSFORM_DATA_CAP,
+}
+impl ::core::marker::Copy for COLORSPACE_TRANSFORM_1DLUT_CAP {}
+impl ::core::clone::Clone for COLORSPACE_TRANSFORM_1DLUT_CAP {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct COLORSPACE_TRANSFORM_3x4 {
+ pub ColorMatrix3x4: [f32; 12],
+ pub ScalarMultiplier: f32,
+ pub LookupTable1D: [GAMMA_RAMP_RGB; 4096],
+}
+impl ::core::marker::Copy for COLORSPACE_TRANSFORM_3x4 {}
+impl ::core::clone::Clone for COLORSPACE_TRANSFORM_3x4 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct COLORSPACE_TRANSFORM_DATA_CAP {
+ pub DataType: COLORSPACE_TRANSFORM_DATA_TYPE,
+ pub Anonymous: COLORSPACE_TRANSFORM_DATA_CAP_0,
+ pub NumericRangeMin: f32,
+ pub NumericRangeMax: f32,
+}
+impl ::core::marker::Copy for COLORSPACE_TRANSFORM_DATA_CAP {}
+impl ::core::clone::Clone for COLORSPACE_TRANSFORM_DATA_CAP {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub union COLORSPACE_TRANSFORM_DATA_CAP_0 {
+ pub Anonymous1: COLORSPACE_TRANSFORM_DATA_CAP_0_0,
+ pub Anonymous2: COLORSPACE_TRANSFORM_DATA_CAP_0_1,
+ pub Value: u32,
+}
+impl ::core::marker::Copy for COLORSPACE_TRANSFORM_DATA_CAP_0 {}
+impl ::core::clone::Clone for COLORSPACE_TRANSFORM_DATA_CAP_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct COLORSPACE_TRANSFORM_DATA_CAP_0_0 {
+ pub _bitfield: u32,
+}
+impl ::core::marker::Copy for COLORSPACE_TRANSFORM_DATA_CAP_0_0 {}
+impl ::core::clone::Clone for COLORSPACE_TRANSFORM_DATA_CAP_0_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct COLORSPACE_TRANSFORM_DATA_CAP_0_1 {
+ pub _bitfield: u32,
+}
+impl ::core::marker::Copy for COLORSPACE_TRANSFORM_DATA_CAP_0_1 {}
+impl ::core::clone::Clone for COLORSPACE_TRANSFORM_DATA_CAP_0_1 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type COLORSPACE_TRANSFORM_DATA_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const COLORSPACE_TRANSFORM_DATA_TYPE_FIXED_POINT: COLORSPACE_TRANSFORM_DATA_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const COLORSPACE_TRANSFORM_DATA_TYPE_FLOAT: COLORSPACE_TRANSFORM_DATA_TYPE = 1i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct COLORSPACE_TRANSFORM_MATRIX_CAP {
+ pub Anonymous: COLORSPACE_TRANSFORM_MATRIX_CAP_0,
+ pub DataCap: COLORSPACE_TRANSFORM_DATA_CAP,
+}
+impl ::core::marker::Copy for COLORSPACE_TRANSFORM_MATRIX_CAP {}
+impl ::core::clone::Clone for COLORSPACE_TRANSFORM_MATRIX_CAP {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub union COLORSPACE_TRANSFORM_MATRIX_CAP_0 {
+ pub Anonymous: COLORSPACE_TRANSFORM_MATRIX_CAP_0_0,
+ pub Value: u32,
+}
+impl ::core::marker::Copy for COLORSPACE_TRANSFORM_MATRIX_CAP_0 {}
+impl ::core::clone::Clone for COLORSPACE_TRANSFORM_MATRIX_CAP_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct COLORSPACE_TRANSFORM_MATRIX_CAP_0_0 {
+ pub _bitfield: u32,
+}
+impl ::core::marker::Copy for COLORSPACE_TRANSFORM_MATRIX_CAP_0_0 {}
+impl ::core::clone::Clone for COLORSPACE_TRANSFORM_MATRIX_CAP_0_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct COLORSPACE_TRANSFORM_MATRIX_V2 {
+ pub StageControlLookupTable1DDegamma: COLORSPACE_TRANSFORM_STAGE_CONTROL,
+ pub LookupTable1DDegamma: [GAMMA_RAMP_RGB; 4096],
+ pub StageControlColorMatrix3x3: COLORSPACE_TRANSFORM_STAGE_CONTROL,
+ pub ColorMatrix3x3: [f32; 9],
+ pub StageControlLookupTable1DRegamma: COLORSPACE_TRANSFORM_STAGE_CONTROL,
+ pub LookupTable1DRegamma: [GAMMA_RAMP_RGB; 4096],
+}
+impl ::core::marker::Copy for COLORSPACE_TRANSFORM_MATRIX_V2 {}
+impl ::core::clone::Clone for COLORSPACE_TRANSFORM_MATRIX_V2 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct COLORSPACE_TRANSFORM_SET_INPUT {
+ pub OutputWireColorSpaceExpected: OUTPUT_WIRE_COLOR_SPACE_TYPE,
+ pub OutputWireFormatExpected: OUTPUT_WIRE_FORMAT,
+ pub ColorSpaceTransform: COLORSPACE_TRANSFORM,
+}
+impl ::core::marker::Copy for COLORSPACE_TRANSFORM_SET_INPUT {}
+impl ::core::clone::Clone for COLORSPACE_TRANSFORM_SET_INPUT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type COLORSPACE_TRANSFORM_STAGE_CONTROL = i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const ColorSpaceTransformStageControl_No_Change: COLORSPACE_TRANSFORM_STAGE_CONTROL = 0i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const ColorSpaceTransformStageControl_Enable: COLORSPACE_TRANSFORM_STAGE_CONTROL = 1i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const ColorSpaceTransformStageControl_Bypass: COLORSPACE_TRANSFORM_STAGE_CONTROL = 2i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct COLORSPACE_TRANSFORM_TARGET_CAPS {
+ pub Version: COLORSPACE_TRANSFORM_TARGET_CAPS_VERSION,
+ pub LookupTable1DDegammaCap: COLORSPACE_TRANSFORM_1DLUT_CAP,
+ pub ColorMatrix3x3Cap: COLORSPACE_TRANSFORM_MATRIX_CAP,
+ pub LookupTable1DRegammaCap: COLORSPACE_TRANSFORM_1DLUT_CAP,
+}
+impl ::core::marker::Copy for COLORSPACE_TRANSFORM_TARGET_CAPS {}
+impl ::core::clone::Clone for COLORSPACE_TRANSFORM_TARGET_CAPS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type COLORSPACE_TRANSFORM_TARGET_CAPS_VERSION = i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const COLORSPACE_TRANSFORM_VERSION_DEFAULT: COLORSPACE_TRANSFORM_TARGET_CAPS_VERSION = 0i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const COLORSPACE_TRANSFORM_VERSION_1: COLORSPACE_TRANSFORM_TARGET_CAPS_VERSION = 1i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const COLORSPACE_TRANSFORM_VERSION_NOT_SUPPORTED: COLORSPACE_TRANSFORM_TARGET_CAPS_VERSION = 0i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type COLORSPACE_TRANSFORM_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const COLORSPACE_TRANSFORM_TYPE_UNINITIALIZED: COLORSPACE_TRANSFORM_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const COLORSPACE_TRANSFORM_TYPE_DEFAULT: COLORSPACE_TRANSFORM_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const COLORSPACE_TRANSFORM_TYPE_RGB256x3x16: COLORSPACE_TRANSFORM_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const COLORSPACE_TRANSFORM_TYPE_DXGI_1: COLORSPACE_TRANSFORM_TYPE = 3i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const COLORSPACE_TRANSFORM_TYPE_MATRIX_3x4: COLORSPACE_TRANSFORM_TYPE = 4i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const COLORSPACE_TRANSFORM_TYPE_MATRIX_V2: COLORSPACE_TRANSFORM_TYPE = 5i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const CT_RECTANGLES: i32 = 0i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DCR_DRIVER: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DCR_HALFTONE: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DCR_SOLID: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DC_COMPLEX: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DC_RECT: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DC_TRIVIAL: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DDI_DRIVER_VERSION_NT4: u32 = 131072u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DDI_DRIVER_VERSION_NT5: u32 = 196608u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DDI_DRIVER_VERSION_NT5_01: u32 = 196864u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DDI_DRIVER_VERSION_NT5_01_SP1: u32 = 196865u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DDI_DRIVER_VERSION_SP3: u32 = 131075u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DDI_ERROR: u32 = 4294967295u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DD_FULLSCREEN_VIDEO_DEVICE_NAME: &str = "\\Device\\FSVideo";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct DEVHTADJDATA {
+ pub DeviceFlags: u32,
+ pub DeviceXDPI: u32,
+ pub DeviceYDPI: u32,
+ pub pDefHTInfo: *mut DEVHTINFO,
+ pub pAdjHTInfo: *mut DEVHTINFO,
+}
+impl ::core::marker::Copy for DEVHTADJDATA {}
+impl ::core::clone::Clone for DEVHTADJDATA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DEVHTADJF_ADDITIVE_DEVICE: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DEVHTADJF_COLOR_DEVICE: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct DEVHTINFO {
+ pub HTFlags: u32,
+ pub HTPatternSize: u32,
+ pub DevPelsDPI: u32,
+ pub ColorInfo: COLORINFO,
+}
+impl ::core::marker::Copy for DEVHTINFO {}
+impl ::core::clone::Clone for DEVHTINFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Graphics_Gdi\"`*"]
+#[cfg(feature = "Win32_Graphics_Gdi")]
+pub struct DEVINFO {
+ pub flGraphicsCaps: u32,
+ pub lfDefaultFont: super::super::Graphics::Gdi::LOGFONTW,
+ pub lfAnsiVarFont: super::super::Graphics::Gdi::LOGFONTW,
+ pub lfAnsiFixFont: super::super::Graphics::Gdi::LOGFONTW,
+ pub cFonts: u32,
+ pub iDitherFormat: u32,
+ pub cxDither: u16,
+ pub cyDither: u16,
+ pub hpalDefault: super::super::Graphics::Gdi::HPALETTE,
+ pub flGraphicsCaps2: u32,
+}
+#[cfg(feature = "Win32_Graphics_Gdi")]
+impl ::core::marker::Copy for DEVINFO {}
+#[cfg(feature = "Win32_Graphics_Gdi")]
+impl ::core::clone::Clone for DEVINFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Devices_Properties\"`*"]
+#[cfg(feature = "Win32_Devices_Properties")]
+pub const DEVPKEY_Device_ActivityId: super::Properties::DEVPROPKEY = super::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID { data1: 3305783056, data2: 43612, data3: 16967, data4: [184, 48, 214, 166, 248, 234, 163, 16] }, pid: 4u32 };
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Devices_Properties\"`*"]
+#[cfg(feature = "Win32_Devices_Properties")]
+pub const DEVPKEY_Device_AdapterLuid: super::Properties::DEVPROPKEY = super::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID { data1: 3305783056, data2: 43612, data3: 16967, data4: [184, 48, 214, 166, 248, 234, 163, 16] }, pid: 3u32 };
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Devices_Properties\"`*"]
+#[cfg(feature = "Win32_Devices_Properties")]
+pub const DEVPKEY_Device_TerminalLuid: super::Properties::DEVPROPKEY = super::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID { data1: 3305783056, data2: 43612, data3: 16967, data4: [184, 48, 214, 166, 248, 234, 163, 16] }, pid: 2u32 };
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Devices_Properties\"`*"]
+#[cfg(feature = "Win32_Devices_Properties")]
+pub const DEVPKEY_IndirectDisplay: super::Properties::DEVPROPKEY = super::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID { data1: 3305783056, data2: 43612, data3: 16967, data4: [184, 48, 214, 166, 248, 234, 163, 16] }, pid: 1u32 };
+pub type DHPDEV = isize;
+pub type DHSURF = isize;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct DISPLAYCONFIG_2DREGION {
+ pub cx: u32,
+ pub cy: u32,
+}
+impl ::core::marker::Copy for DISPLAYCONFIG_2DREGION {}
+impl ::core::clone::Clone for DISPLAYCONFIG_2DREGION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct DISPLAYCONFIG_ADAPTER_NAME {
+ pub header: DISPLAYCONFIG_DEVICE_INFO_HEADER,
+ pub adapterDevicePath: [u16; 128],
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for DISPLAYCONFIG_ADAPTER_NAME {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for DISPLAYCONFIG_ADAPTER_NAME {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct DISPLAYCONFIG_DESKTOP_IMAGE_INFO {
+ pub PathSourceSize: super::super::Foundation::POINTL,
+ pub DesktopImageRegion: super::super::Foundation::RECTL,
+ pub DesktopImageClip: super::super::Foundation::RECTL,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for DISPLAYCONFIG_DESKTOP_IMAGE_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for DISPLAYCONFIG_DESKTOP_IMAGE_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct DISPLAYCONFIG_DEVICE_INFO_HEADER {
+ pub r#type: DISPLAYCONFIG_DEVICE_INFO_TYPE,
+ pub size: u32,
+ pub adapterId: super::super::Foundation::LUID,
+ pub id: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for DISPLAYCONFIG_DEVICE_INFO_HEADER {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for DISPLAYCONFIG_DEVICE_INFO_HEADER {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type DISPLAYCONFIG_DEVICE_INFO_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_DEVICE_INFO_GET_SOURCE_NAME: DISPLAYCONFIG_DEVICE_INFO_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_DEVICE_INFO_GET_TARGET_NAME: DISPLAYCONFIG_DEVICE_INFO_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_DEVICE_INFO_GET_TARGET_PREFERRED_MODE: DISPLAYCONFIG_DEVICE_INFO_TYPE = 3i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_DEVICE_INFO_GET_ADAPTER_NAME: DISPLAYCONFIG_DEVICE_INFO_TYPE = 4i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_DEVICE_INFO_SET_TARGET_PERSISTENCE: DISPLAYCONFIG_DEVICE_INFO_TYPE = 5i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_DEVICE_INFO_GET_TARGET_BASE_TYPE: DISPLAYCONFIG_DEVICE_INFO_TYPE = 6i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_DEVICE_INFO_GET_SUPPORT_VIRTUAL_RESOLUTION: DISPLAYCONFIG_DEVICE_INFO_TYPE = 7i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_DEVICE_INFO_SET_SUPPORT_VIRTUAL_RESOLUTION: DISPLAYCONFIG_DEVICE_INFO_TYPE = 8i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_DEVICE_INFO_GET_ADVANCED_COLOR_INFO: DISPLAYCONFIG_DEVICE_INFO_TYPE = 9i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_DEVICE_INFO_SET_ADVANCED_COLOR_STATE: DISPLAYCONFIG_DEVICE_INFO_TYPE = 10i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_DEVICE_INFO_GET_SDR_WHITE_LEVEL: DISPLAYCONFIG_DEVICE_INFO_TYPE = 11i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_DEVICE_INFO_GET_MONITOR_SPECIALIZATION: DISPLAYCONFIG_DEVICE_INFO_TYPE = 12i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_DEVICE_INFO_SET_MONITOR_SPECIALIZATION: DISPLAYCONFIG_DEVICE_INFO_TYPE = 13i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_DEVICE_INFO_FORCE_UINT32: DISPLAYCONFIG_DEVICE_INFO_TYPE = -1i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+pub struct DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO {
+ pub header: DISPLAYCONFIG_DEVICE_INFO_HEADER,
+ pub Anonymous: DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0,
+ pub colorEncoding: super::super::Graphics::Gdi::DISPLAYCONFIG_COLOR_ENCODING,
+ pub bitsPerColorChannel: u32,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+impl ::core::marker::Copy for DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+impl ::core::clone::Clone for DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+pub union DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0 {
+ pub Anonymous: DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0_0,
+ pub value: u32,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+impl ::core::marker::Copy for DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0 {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+impl ::core::clone::Clone for DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+pub struct DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0_0 {
+ pub _bitfield: u32,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+impl ::core::marker::Copy for DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0_0 {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+impl ::core::clone::Clone for DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct DISPLAYCONFIG_GET_MONITOR_SPECIALIZATION {
+ pub header: DISPLAYCONFIG_DEVICE_INFO_HEADER,
+ pub Anonymous: DISPLAYCONFIG_GET_MONITOR_SPECIALIZATION_0,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for DISPLAYCONFIG_GET_MONITOR_SPECIALIZATION {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for DISPLAYCONFIG_GET_MONITOR_SPECIALIZATION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub union DISPLAYCONFIG_GET_MONITOR_SPECIALIZATION_0 {
+ pub Anonymous: DISPLAYCONFIG_GET_MONITOR_SPECIALIZATION_0_0,
+ pub value: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for DISPLAYCONFIG_GET_MONITOR_SPECIALIZATION_0 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for DISPLAYCONFIG_GET_MONITOR_SPECIALIZATION_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct DISPLAYCONFIG_GET_MONITOR_SPECIALIZATION_0_0 {
+ pub _bitfield: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for DISPLAYCONFIG_GET_MONITOR_SPECIALIZATION_0_0 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for DISPLAYCONFIG_GET_MONITOR_SPECIALIZATION_0_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct DISPLAYCONFIG_MODE_INFO {
+ pub infoType: DISPLAYCONFIG_MODE_INFO_TYPE,
+ pub id: u32,
+ pub adapterId: super::super::Foundation::LUID,
+ pub Anonymous: DISPLAYCONFIG_MODE_INFO_0,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for DISPLAYCONFIG_MODE_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for DISPLAYCONFIG_MODE_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub union DISPLAYCONFIG_MODE_INFO_0 {
+ pub targetMode: DISPLAYCONFIG_TARGET_MODE,
+ pub sourceMode: DISPLAYCONFIG_SOURCE_MODE,
+ pub desktopImageInfo: DISPLAYCONFIG_DESKTOP_IMAGE_INFO,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for DISPLAYCONFIG_MODE_INFO_0 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for DISPLAYCONFIG_MODE_INFO_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type DISPLAYCONFIG_MODE_INFO_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_MODE_INFO_TYPE_SOURCE: DISPLAYCONFIG_MODE_INFO_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_MODE_INFO_TYPE_TARGET: DISPLAYCONFIG_MODE_INFO_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_MODE_INFO_TYPE_DESKTOP_IMAGE: DISPLAYCONFIG_MODE_INFO_TYPE = 3i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_MODE_INFO_TYPE_FORCE_UINT32: DISPLAYCONFIG_MODE_INFO_TYPE = -1i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct DISPLAYCONFIG_PATH_INFO {
+ pub sourceInfo: DISPLAYCONFIG_PATH_SOURCE_INFO,
+ pub targetInfo: DISPLAYCONFIG_PATH_TARGET_INFO,
+ pub flags: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for DISPLAYCONFIG_PATH_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for DISPLAYCONFIG_PATH_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct DISPLAYCONFIG_PATH_SOURCE_INFO {
+ pub adapterId: super::super::Foundation::LUID,
+ pub id: u32,
+ pub Anonymous: DISPLAYCONFIG_PATH_SOURCE_INFO_0,
+ pub statusFlags: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for DISPLAYCONFIG_PATH_SOURCE_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for DISPLAYCONFIG_PATH_SOURCE_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub union DISPLAYCONFIG_PATH_SOURCE_INFO_0 {
+ pub modeInfoIdx: u32,
+ pub Anonymous: DISPLAYCONFIG_PATH_SOURCE_INFO_0_0,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for DISPLAYCONFIG_PATH_SOURCE_INFO_0 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for DISPLAYCONFIG_PATH_SOURCE_INFO_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct DISPLAYCONFIG_PATH_SOURCE_INFO_0_0 {
+ pub _bitfield: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for DISPLAYCONFIG_PATH_SOURCE_INFO_0_0 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for DISPLAYCONFIG_PATH_SOURCE_INFO_0_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct DISPLAYCONFIG_PATH_TARGET_INFO {
+ pub adapterId: super::super::Foundation::LUID,
+ pub id: u32,
+ pub Anonymous: DISPLAYCONFIG_PATH_TARGET_INFO_0,
+ pub outputTechnology: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY,
+ pub rotation: DISPLAYCONFIG_ROTATION,
+ pub scaling: DISPLAYCONFIG_SCALING,
+ pub refreshRate: DISPLAYCONFIG_RATIONAL,
+ pub scanLineOrdering: DISPLAYCONFIG_SCANLINE_ORDERING,
+ pub targetAvailable: super::super::Foundation::BOOL,
+ pub statusFlags: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for DISPLAYCONFIG_PATH_TARGET_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for DISPLAYCONFIG_PATH_TARGET_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub union DISPLAYCONFIG_PATH_TARGET_INFO_0 {
+ pub modeInfoIdx: u32,
+ pub Anonymous: DISPLAYCONFIG_PATH_TARGET_INFO_0_0,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for DISPLAYCONFIG_PATH_TARGET_INFO_0 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for DISPLAYCONFIG_PATH_TARGET_INFO_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct DISPLAYCONFIG_PATH_TARGET_INFO_0_0 {
+ pub _bitfield: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for DISPLAYCONFIG_PATH_TARGET_INFO_0_0 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for DISPLAYCONFIG_PATH_TARGET_INFO_0_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type DISPLAYCONFIG_PIXELFORMAT = i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_PIXELFORMAT_8BPP: DISPLAYCONFIG_PIXELFORMAT = 1i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_PIXELFORMAT_16BPP: DISPLAYCONFIG_PIXELFORMAT = 2i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_PIXELFORMAT_24BPP: DISPLAYCONFIG_PIXELFORMAT = 3i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_PIXELFORMAT_32BPP: DISPLAYCONFIG_PIXELFORMAT = 4i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_PIXELFORMAT_NONGDI: DISPLAYCONFIG_PIXELFORMAT = 5i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_PIXELFORMAT_FORCE_UINT32: DISPLAYCONFIG_PIXELFORMAT = -1i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct DISPLAYCONFIG_RATIONAL {
+ pub Numerator: u32,
+ pub Denominator: u32,
+}
+impl ::core::marker::Copy for DISPLAYCONFIG_RATIONAL {}
+impl ::core::clone::Clone for DISPLAYCONFIG_RATIONAL {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type DISPLAYCONFIG_ROTATION = i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_ROTATION_IDENTITY: DISPLAYCONFIG_ROTATION = 1i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_ROTATION_ROTATE90: DISPLAYCONFIG_ROTATION = 2i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_ROTATION_ROTATE180: DISPLAYCONFIG_ROTATION = 3i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_ROTATION_ROTATE270: DISPLAYCONFIG_ROTATION = 4i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_ROTATION_FORCE_UINT32: DISPLAYCONFIG_ROTATION = -1i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type DISPLAYCONFIG_SCALING = i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_SCALING_IDENTITY: DISPLAYCONFIG_SCALING = 1i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_SCALING_CENTERED: DISPLAYCONFIG_SCALING = 2i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_SCALING_STRETCHED: DISPLAYCONFIG_SCALING = 3i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_SCALING_ASPECTRATIOCENTEREDMAX: DISPLAYCONFIG_SCALING = 4i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_SCALING_CUSTOM: DISPLAYCONFIG_SCALING = 5i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_SCALING_PREFERRED: DISPLAYCONFIG_SCALING = 128i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_SCALING_FORCE_UINT32: DISPLAYCONFIG_SCALING = -1i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type DISPLAYCONFIG_SCANLINE_ORDERING = i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_SCANLINE_ORDERING_UNSPECIFIED: DISPLAYCONFIG_SCANLINE_ORDERING = 0i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_SCANLINE_ORDERING_PROGRESSIVE: DISPLAYCONFIG_SCANLINE_ORDERING = 1i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_SCANLINE_ORDERING_INTERLACED: DISPLAYCONFIG_SCANLINE_ORDERING = 2i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_SCANLINE_ORDERING_INTERLACED_UPPERFIELDFIRST: DISPLAYCONFIG_SCANLINE_ORDERING = 2i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_SCANLINE_ORDERING_INTERLACED_LOWERFIELDFIRST: DISPLAYCONFIG_SCANLINE_ORDERING = 3i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_SCANLINE_ORDERING_FORCE_UINT32: DISPLAYCONFIG_SCANLINE_ORDERING = -1i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct DISPLAYCONFIG_SDR_WHITE_LEVEL {
+ pub header: DISPLAYCONFIG_DEVICE_INFO_HEADER,
+ pub SDRWhiteLevel: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for DISPLAYCONFIG_SDR_WHITE_LEVEL {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for DISPLAYCONFIG_SDR_WHITE_LEVEL {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE {
+ pub header: DISPLAYCONFIG_DEVICE_INFO_HEADER,
+ pub Anonymous: DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub union DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0 {
+ pub Anonymous: DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0_0,
+ pub value: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0_0 {
+ pub _bitfield: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0_0 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct DISPLAYCONFIG_SET_MONITOR_SPECIALIZATION {
+ pub header: DISPLAYCONFIG_DEVICE_INFO_HEADER,
+ pub Anonymous: DISPLAYCONFIG_SET_MONITOR_SPECIALIZATION_0,
+ pub specializationType: ::windows_sys::core::GUID,
+ pub specializationSubType: ::windows_sys::core::GUID,
+ pub specializationApplicationName: [u16; 128],
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for DISPLAYCONFIG_SET_MONITOR_SPECIALIZATION {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for DISPLAYCONFIG_SET_MONITOR_SPECIALIZATION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub union DISPLAYCONFIG_SET_MONITOR_SPECIALIZATION_0 {
+ pub Anonymous: DISPLAYCONFIG_SET_MONITOR_SPECIALIZATION_0_0,
+ pub value: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for DISPLAYCONFIG_SET_MONITOR_SPECIALIZATION_0 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for DISPLAYCONFIG_SET_MONITOR_SPECIALIZATION_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct DISPLAYCONFIG_SET_MONITOR_SPECIALIZATION_0_0 {
+ pub _bitfield: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for DISPLAYCONFIG_SET_MONITOR_SPECIALIZATION_0_0 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for DISPLAYCONFIG_SET_MONITOR_SPECIALIZATION_0_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct DISPLAYCONFIG_SET_TARGET_PERSISTENCE {
+ pub header: DISPLAYCONFIG_DEVICE_INFO_HEADER,
+ pub Anonymous: DISPLAYCONFIG_SET_TARGET_PERSISTENCE_0,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for DISPLAYCONFIG_SET_TARGET_PERSISTENCE {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for DISPLAYCONFIG_SET_TARGET_PERSISTENCE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub union DISPLAYCONFIG_SET_TARGET_PERSISTENCE_0 {
+ pub Anonymous: DISPLAYCONFIG_SET_TARGET_PERSISTENCE_0_0,
+ pub value: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for DISPLAYCONFIG_SET_TARGET_PERSISTENCE_0 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for DISPLAYCONFIG_SET_TARGET_PERSISTENCE_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct DISPLAYCONFIG_SET_TARGET_PERSISTENCE_0_0 {
+ pub _bitfield: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for DISPLAYCONFIG_SET_TARGET_PERSISTENCE_0_0 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for DISPLAYCONFIG_SET_TARGET_PERSISTENCE_0_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct DISPLAYCONFIG_SOURCE_DEVICE_NAME {
+ pub header: DISPLAYCONFIG_DEVICE_INFO_HEADER,
+ pub viewGdiDeviceName: [u16; 32],
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for DISPLAYCONFIG_SOURCE_DEVICE_NAME {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for DISPLAYCONFIG_SOURCE_DEVICE_NAME {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct DISPLAYCONFIG_SOURCE_MODE {
+ pub width: u32,
+ pub height: u32,
+ pub pixelFormat: DISPLAYCONFIG_PIXELFORMAT,
+ pub position: super::super::Foundation::POINTL,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for DISPLAYCONFIG_SOURCE_MODE {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for DISPLAYCONFIG_SOURCE_MODE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct DISPLAYCONFIG_SUPPORT_VIRTUAL_RESOLUTION {
+ pub header: DISPLAYCONFIG_DEVICE_INFO_HEADER,
+ pub Anonymous: DISPLAYCONFIG_SUPPORT_VIRTUAL_RESOLUTION_0,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for DISPLAYCONFIG_SUPPORT_VIRTUAL_RESOLUTION {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for DISPLAYCONFIG_SUPPORT_VIRTUAL_RESOLUTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub union DISPLAYCONFIG_SUPPORT_VIRTUAL_RESOLUTION_0 {
+ pub Anonymous: DISPLAYCONFIG_SUPPORT_VIRTUAL_RESOLUTION_0_0,
+ pub value: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for DISPLAYCONFIG_SUPPORT_VIRTUAL_RESOLUTION_0 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for DISPLAYCONFIG_SUPPORT_VIRTUAL_RESOLUTION_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct DISPLAYCONFIG_SUPPORT_VIRTUAL_RESOLUTION_0_0 {
+ pub _bitfield: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for DISPLAYCONFIG_SUPPORT_VIRTUAL_RESOLUTION_0_0 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for DISPLAYCONFIG_SUPPORT_VIRTUAL_RESOLUTION_0_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct DISPLAYCONFIG_TARGET_BASE_TYPE {
+ pub header: DISPLAYCONFIG_DEVICE_INFO_HEADER,
+ pub baseOutputTechnology: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for DISPLAYCONFIG_TARGET_BASE_TYPE {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for DISPLAYCONFIG_TARGET_BASE_TYPE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct DISPLAYCONFIG_TARGET_DEVICE_NAME {
+ pub header: DISPLAYCONFIG_DEVICE_INFO_HEADER,
+ pub flags: DISPLAYCONFIG_TARGET_DEVICE_NAME_FLAGS,
+ pub outputTechnology: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY,
+ pub edidManufactureId: u16,
+ pub edidProductCodeId: u16,
+ pub connectorInstance: u32,
+ pub monitorFriendlyDeviceName: [u16; 64],
+ pub monitorDevicePath: [u16; 128],
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for DISPLAYCONFIG_TARGET_DEVICE_NAME {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for DISPLAYCONFIG_TARGET_DEVICE_NAME {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct DISPLAYCONFIG_TARGET_DEVICE_NAME_FLAGS {
+ pub Anonymous: DISPLAYCONFIG_TARGET_DEVICE_NAME_FLAGS_0,
+}
+impl ::core::marker::Copy for DISPLAYCONFIG_TARGET_DEVICE_NAME_FLAGS {}
+impl ::core::clone::Clone for DISPLAYCONFIG_TARGET_DEVICE_NAME_FLAGS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub union DISPLAYCONFIG_TARGET_DEVICE_NAME_FLAGS_0 {
+ pub Anonymous: DISPLAYCONFIG_TARGET_DEVICE_NAME_FLAGS_0_0,
+ pub value: u32,
+}
+impl ::core::marker::Copy for DISPLAYCONFIG_TARGET_DEVICE_NAME_FLAGS_0 {}
+impl ::core::clone::Clone for DISPLAYCONFIG_TARGET_DEVICE_NAME_FLAGS_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct DISPLAYCONFIG_TARGET_DEVICE_NAME_FLAGS_0_0 {
+ pub _bitfield: u32,
+}
+impl ::core::marker::Copy for DISPLAYCONFIG_TARGET_DEVICE_NAME_FLAGS_0_0 {}
+impl ::core::clone::Clone for DISPLAYCONFIG_TARGET_DEVICE_NAME_FLAGS_0_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct DISPLAYCONFIG_TARGET_MODE {
+ pub targetVideoSignalInfo: DISPLAYCONFIG_VIDEO_SIGNAL_INFO,
+}
+impl ::core::marker::Copy for DISPLAYCONFIG_TARGET_MODE {}
+impl ::core::clone::Clone for DISPLAYCONFIG_TARGET_MODE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct DISPLAYCONFIG_TARGET_PREFERRED_MODE {
+ pub header: DISPLAYCONFIG_DEVICE_INFO_HEADER,
+ pub width: u32,
+ pub height: u32,
+ pub targetMode: DISPLAYCONFIG_TARGET_MODE,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for DISPLAYCONFIG_TARGET_PREFERRED_MODE {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for DISPLAYCONFIG_TARGET_PREFERRED_MODE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type DISPLAYCONFIG_TOPOLOGY_ID = i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_TOPOLOGY_INTERNAL: DISPLAYCONFIG_TOPOLOGY_ID = 1i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_TOPOLOGY_CLONE: DISPLAYCONFIG_TOPOLOGY_ID = 2i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_TOPOLOGY_EXTEND: DISPLAYCONFIG_TOPOLOGY_ID = 4i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_TOPOLOGY_EXTERNAL: DISPLAYCONFIG_TOPOLOGY_ID = 8i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_TOPOLOGY_FORCE_UINT32: DISPLAYCONFIG_TOPOLOGY_ID = -1i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_OTHER: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = -1i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_HD15: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 0i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_SVIDEO: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 1i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_COMPOSITE_VIDEO: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 2i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_COMPONENT_VIDEO: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 3i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_DVI: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 4i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_HDMI: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 5i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_LVDS: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 6i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_D_JPN: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 8i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_SDI: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 9i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_DISPLAYPORT_EXTERNAL: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 10i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_DISPLAYPORT_EMBEDDED: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 11i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_UDI_EXTERNAL: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 12i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_UDI_EMBEDDED: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 13i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_SDTVDONGLE: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 14i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_MIRACAST: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 15i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_INDIRECT_WIRED: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 16i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_INDIRECT_VIRTUAL: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 17i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_DISPLAYPORT_USB_TUNNEL: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 18i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_INTERNAL: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = -2147483648i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_FORCE_UINT32: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = -1i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct DISPLAYCONFIG_VIDEO_SIGNAL_INFO {
+ pub pixelRate: u64,
+ pub hSyncFreq: DISPLAYCONFIG_RATIONAL,
+ pub vSyncFreq: DISPLAYCONFIG_RATIONAL,
+ pub activeSize: DISPLAYCONFIG_2DREGION,
+ pub totalSize: DISPLAYCONFIG_2DREGION,
+ pub Anonymous: DISPLAYCONFIG_VIDEO_SIGNAL_INFO_0,
+ pub scanLineOrdering: DISPLAYCONFIG_SCANLINE_ORDERING,
+}
+impl ::core::marker::Copy for DISPLAYCONFIG_VIDEO_SIGNAL_INFO {}
+impl ::core::clone::Clone for DISPLAYCONFIG_VIDEO_SIGNAL_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub union DISPLAYCONFIG_VIDEO_SIGNAL_INFO_0 {
+ pub AdditionalSignalInfo: DISPLAYCONFIG_VIDEO_SIGNAL_INFO_0_0,
+ pub videoStandard: u32,
+}
+impl ::core::marker::Copy for DISPLAYCONFIG_VIDEO_SIGNAL_INFO_0 {}
+impl ::core::clone::Clone for DISPLAYCONFIG_VIDEO_SIGNAL_INFO_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct DISPLAYCONFIG_VIDEO_SIGNAL_INFO_0_0 {
+ pub _bitfield: u32,
+}
+impl ::core::marker::Copy for DISPLAYCONFIG_VIDEO_SIGNAL_INFO_0_0 {}
+impl ::core::clone::Clone for DISPLAYCONFIG_VIDEO_SIGNAL_INFO_0_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYPOLICY_AC: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DISPLAYPOLICY_DC: u32 = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct DISPLAY_BRIGHTNESS {
+ pub ucDisplayPolicy: u8,
+ pub ucACBrightness: u8,
+ pub ucDCBrightness: u8,
+}
+impl ::core::marker::Copy for DISPLAY_BRIGHTNESS {}
+impl ::core::clone::Clone for DISPLAY_BRIGHTNESS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DM_DEFAULT: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DM_MONOCHROME: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DN_ACCELERATION_LEVEL: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DN_ASSOCIATE_WINDOW: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DN_COMPOSITION_CHANGED: u32 = 6u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DN_DEVICE_ORIGIN: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DN_DRAWING_BEGIN: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DN_DRAWING_BEGIN_APIBITMAP: u32 = 7u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DN_SLEEP_MODE: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DN_SURFOBJ_DESTRUCTION: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DRD_ERROR: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DRD_SUCCESS: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DRH_APIBITMAP: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct DRH_APIBITMAPDATA {
+ pub pso: *mut SURFOBJ,
+ pub b: super::super::Foundation::BOOL,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for DRH_APIBITMAPDATA {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for DRH_APIBITMAPDATA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct DRIVEROBJ {
+ pub pvObj: *mut ::core::ffi::c_void,
+ pub pFreeProc: FREEOBJPROC,
+ pub hdev: HDEV,
+ pub dhpdev: DHPDEV,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for DRIVEROBJ {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for DRIVEROBJ {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct DRVENABLEDATA {
+ pub iDriverVersion: u32,
+ pub c: u32,
+ pub pdrvfn: *mut DRVFN,
+}
+impl ::core::marker::Copy for DRVENABLEDATA {}
+impl ::core::clone::Clone for DRVENABLEDATA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct DRVFN {
+ pub iFunc: u32,
+ pub pfn: PFN,
+}
+impl ::core::marker::Copy for DRVFN {}
+impl ::core::clone::Clone for DRVFN {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DRVQUERY_USERMODE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DSI_CHECKSUM_ERROR_CORRECTED: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DSI_CHECKSUM_ERROR_NOT_CORRECTED: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DSI_CONTENTION_DETECTED: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type DSI_CONTROL_TRANSMISSION_MODE = i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DCT_DEFAULT: DSI_CONTROL_TRANSMISSION_MODE = 0i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DCT_FORCE_LOW_POWER: DSI_CONTROL_TRANSMISSION_MODE = 1i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DCT_FORCE_HIGH_PERFORMANCE: DSI_CONTROL_TRANSMISSION_MODE = 2i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DSI_DSI_DATA_TYPE_NOT_RECOGNIZED: u32 = 2048u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DSI_DSI_PROTOCOL_VIOLATION: u32 = 32768u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DSI_DSI_VC_ID_INVALID: u32 = 4096u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DSI_EOT_SYNC_ERROR: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DSI_ESCAPE_MODE_ENTRY_COMMAND_ERROR: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DSI_FALSE_CONTROL_ERROR: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DSI_INVALID_PACKET_INDEX: u32 = 255u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DSI_INVALID_TRANSMISSION_LENGTH: u32 = 8192u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DSI_LONG_PACKET_PAYLOAD_CHECKSUM_ERROR: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DSI_LOW_POWER_TRANSMIT_SYNC_ERROR: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DSI_PACKET_EMBEDDED_PAYLOAD_SIZE: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DSI_PERIPHERAL_TIMEOUT_ERROR: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DSI_SOT_ERROR: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DSI_SOT_SYNC_ERROR: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DSS_FLUSH_EVENT: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DSS_RESERVED: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DSS_RESERVED1: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DSS_RESERVED2: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DSS_TIMER_EVENT: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct DXGK_WIN32K_PARAM_DATA {
+ pub PathsArray: *mut ::core::ffi::c_void,
+ pub ModesArray: *mut ::core::ffi::c_void,
+ pub NumPathArrayElements: u32,
+ pub NumModeArrayElements: u32,
+ pub SDCFlags: u32,
+}
+impl ::core::marker::Copy for DXGK_WIN32K_PARAM_DATA {}
+impl ::core::clone::Clone for DXGK_WIN32K_PARAM_DATA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DXGK_WIN32K_PARAM_FLAG_DISABLEVIEW: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DXGK_WIN32K_PARAM_FLAG_MODESWITCH: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const DXGK_WIN32K_PARAM_FLAG_UPDATEREGISTRY: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+pub struct DisplayMode {
+ pub DeviceName: [u16; 32],
+ pub devMode: super::super::Graphics::Gdi::DEVMODEW,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+impl ::core::marker::Copy for DisplayMode {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+impl ::core::clone::Clone for DisplayMode {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+pub struct DisplayModes {
+ pub numDisplayModes: i32,
+ pub displayMode: [DisplayMode; 1],
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+impl ::core::marker::Copy for DisplayModes {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+impl ::core::clone::Clone for DisplayModes {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const ECS_REDRAW: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const ECS_TEARDOWN: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const ED_ABORTDOC: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const EHN_ERROR: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const EHN_RESTORED: u32 = 0u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Graphics_Gdi\"`*"]
+#[cfg(feature = "Win32_Graphics_Gdi")]
+pub struct EMFINFO {
+ pub nSize: u32,
+ pub hdc: super::super::Graphics::Gdi::HDC,
+ pub pvEMF: *mut u8,
+ pub pvCurrentRecord: *mut u8,
+}
+#[cfg(feature = "Win32_Graphics_Gdi")]
+impl ::core::marker::Copy for EMFINFO {}
+#[cfg(feature = "Win32_Graphics_Gdi")]
+impl ::core::clone::Clone for EMFINFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const ENDCAP_BUTT: i32 = 2i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const ENDCAP_ROUND: i32 = 0i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const ENDCAP_SQUARE: i32 = 1i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct ENGSAFESEMAPHORE {
+ pub hsem: HSEMAPHORE,
+ pub lCount: i32,
+}
+impl ::core::marker::Copy for ENGSAFESEMAPHORE {}
+impl ::core::clone::Clone for ENGSAFESEMAPHORE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type ENG_DEVICE_ATTRIBUTE = i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const QDA_RESERVED: ENG_DEVICE_ATTRIBUTE = 0i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const QDA_ACCELERATION_LEVEL: ENG_DEVICE_ATTRIBUTE = 1i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct ENG_EVENT {
+ pub pKEvent: *mut ::core::ffi::c_void,
+ pub fFlags: u32,
+}
+impl ::core::marker::Copy for ENG_EVENT {}
+impl ::core::clone::Clone for ENG_EVENT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const ENG_FNT_CACHE_READ_FAULT: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const ENG_FNT_CACHE_WRITE_FAULT: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type ENG_SYSTEM_ATTRIBUTE = i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const EngProcessorFeature: ENG_SYSTEM_ATTRIBUTE = 1i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const EngNumberOfProcessors: ENG_SYSTEM_ATTRIBUTE = 2i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const EngOptimumAvailableUserMemory: ENG_SYSTEM_ATTRIBUTE = 3i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const EngOptimumAvailableSystemMemory: ENG_SYSTEM_ATTRIBUTE = 4i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct ENG_TIME_FIELDS {
+ pub usYear: u16,
+ pub usMonth: u16,
+ pub usDay: u16,
+ pub usHour: u16,
+ pub usMinute: u16,
+ pub usSecond: u16,
+ pub usMilliseconds: u16,
+ pub usWeekday: u16,
+}
+impl ::core::marker::Copy for ENG_TIME_FIELDS {}
+impl ::core::clone::Clone for ENG_TIME_FIELDS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct ENUMRECTS {
+ pub c: u32,
+ pub arcl: [super::super::Foundation::RECTL; 1],
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for ENUMRECTS {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for ENUMRECTS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FC_COMPLEX: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FC_RECT: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FC_RECT4: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FDM_TYPE_BM_SIDE_CONST: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FDM_TYPE_CHAR_INC_EQUAL_BM_BASE: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FDM_TYPE_CONST_BEARINGS: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FDM_TYPE_MAXEXT_EQUAL_BM_SIDE: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FDM_TYPE_ZERO_BEARINGS: u32 = 8u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct FD_DEVICEMETRICS {
+ pub flRealizedType: u32,
+ pub pteBase: POINTE,
+ pub pteSide: POINTE,
+ pub lD: i32,
+ pub fxMaxAscender: i32,
+ pub fxMaxDescender: i32,
+ pub ptlUnderline1: super::super::Foundation::POINTL,
+ pub ptlStrikeOut: super::super::Foundation::POINTL,
+ pub ptlULThickness: super::super::Foundation::POINTL,
+ pub ptlSOThickness: super::super::Foundation::POINTL,
+ pub cxMax: u32,
+ pub cyMax: u32,
+ pub cjGlyphMax: u32,
+ pub fdxQuantized: FD_XFORM,
+ pub lNonLinearExtLeading: i32,
+ pub lNonLinearIntLeading: i32,
+ pub lNonLinearMaxCharWidth: i32,
+ pub lNonLinearAvgCharWidth: i32,
+ pub lMinA: i32,
+ pub lMinC: i32,
+ pub lMinD: i32,
+ pub alReserved: [i32; 1],
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for FD_DEVICEMETRICS {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for FD_DEVICEMETRICS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FD_ERROR: u32 = 4294967295u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct FD_GLYPHATTR {
+ pub cjThis: u32,
+ pub cGlyphs: u32,
+ pub iMode: u32,
+ pub aGlyphAttr: [u8; 1],
+}
+impl ::core::marker::Copy for FD_GLYPHATTR {}
+impl ::core::clone::Clone for FD_GLYPHATTR {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct FD_GLYPHSET {
+ pub cjThis: u32,
+ pub flAccel: u32,
+ pub cGlyphsSupported: u32,
+ pub cRuns: u32,
+ pub awcrun: [WCRUN; 1],
+}
+impl ::core::marker::Copy for FD_GLYPHSET {}
+impl ::core::clone::Clone for FD_GLYPHSET {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct FD_KERNINGPAIR {
+ pub wcFirst: u16,
+ pub wcSecond: u16,
+ pub fwdKern: i16,
+}
+impl ::core::marker::Copy for FD_KERNINGPAIR {}
+impl ::core::clone::Clone for FD_KERNINGPAIR {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct FD_LIGATURE {
+ pub culThis: u32,
+ pub ulType: u32,
+ pub cLigatures: u32,
+ pub alig: [LIGATURE; 1],
+}
+impl ::core::marker::Copy for FD_LIGATURE {}
+impl ::core::clone::Clone for FD_LIGATURE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FD_NEGATIVE_FONT: i32 = 1i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
+pub struct FD_XFORM {
+ pub eXX: f32,
+ pub eXY: f32,
+ pub eYX: f32,
+ pub eYY: f32,
+}
+#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
+impl ::core::marker::Copy for FD_XFORM {}
+#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
+impl ::core::clone::Clone for FD_XFORM {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+#[cfg(target_arch = "x86")]
+pub struct FD_XFORM {
+ pub eXX: u32,
+ pub eXY: u32,
+ pub eYX: u32,
+ pub eYY: u32,
+}
+#[cfg(target_arch = "x86")]
+impl ::core::marker::Copy for FD_XFORM {}
+#[cfg(target_arch = "x86")]
+impl ::core::clone::Clone for FD_XFORM {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FF_IGNORED_SIGNATURE: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FF_SIGNATURE_VERIFIED: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+#[cfg(target_arch = "x86")]
+pub struct FLOATOBJ {
+ pub ul1: u32,
+ pub ul2: u32,
+}
+#[cfg(target_arch = "x86")]
+impl ::core::marker::Copy for FLOATOBJ {}
+#[cfg(target_arch = "x86")]
+impl ::core::clone::Clone for FLOATOBJ {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
+pub struct FLOATOBJ_XFORM {
+ pub eM11: f32,
+ pub eM12: f32,
+ pub eM21: f32,
+ pub eM22: f32,
+ pub eDx: f32,
+ pub eDy: f32,
+}
+#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
+impl ::core::marker::Copy for FLOATOBJ_XFORM {}
+#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
+impl ::core::clone::Clone for FLOATOBJ_XFORM {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+#[cfg(target_arch = "x86")]
+pub struct FLOATOBJ_XFORM {
+ pub eM11: FLOATOBJ,
+ pub eM12: FLOATOBJ,
+ pub eM21: FLOATOBJ,
+ pub eM22: FLOATOBJ,
+ pub eDx: FLOATOBJ,
+ pub eDy: FLOATOBJ,
+}
+#[cfg(target_arch = "x86")]
+impl ::core::marker::Copy for FLOATOBJ_XFORM {}
+#[cfg(target_arch = "x86")]
+impl ::core::clone::Clone for FLOATOBJ_XFORM {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
+pub union FLOAT_LONG {
+ pub e: f32,
+ pub l: i32,
+}
+#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
+impl ::core::marker::Copy for FLOAT_LONG {}
+#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
+impl ::core::clone::Clone for FLOAT_LONG {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+#[cfg(target_arch = "x86")]
+pub union FLOAT_LONG {
+ pub e: u32,
+ pub l: i32,
+}
+#[cfg(target_arch = "x86")]
+impl ::core::marker::Copy for FLOAT_LONG {}
+#[cfg(target_arch = "x86")]
+impl ::core::clone::Clone for FLOAT_LONG {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FL_NONPAGED_MEMORY: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FL_NON_SESSION: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FL_ZERO_MEMORY: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FM_EDITABLE_EMBED: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FM_INFO_16BPP: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FM_INFO_1BPP: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FM_INFO_24BPP: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FM_INFO_32BPP: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FM_INFO_4BPP: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FM_INFO_8BPP: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FM_INFO_90DEGREE_ROTATIONS: u32 = 2097152u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FM_INFO_ANISOTROPIC_SCALING_ONLY: u32 = 33554432u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FM_INFO_ARB_XFORMS: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FM_INFO_CONSTANT_WIDTH: u32 = 4096u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FM_INFO_DBCS_FIXED_PITCH: u32 = 268435456u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FM_INFO_DO_NOT_ENUMERATE: u32 = 8388608u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FM_INFO_DSIG: u32 = 262144u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FM_INFO_FAMILY_EQUIV: u32 = 134217728u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FM_INFO_IGNORE_TC_RA_ABLE: u32 = 1073741824u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FM_INFO_INTEGER_WIDTH: u32 = 2048u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FM_INFO_INTEGRAL_SCALING: u32 = 1048576u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FM_INFO_ISOTROPIC_SCALING_ONLY: u32 = 16777216u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FM_INFO_NONNEGATIVE_AC: u32 = 536870912u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FM_INFO_NOT_CONTIGUOUS: u32 = 8192u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FM_INFO_OPTICALLY_FIXED_PITCH: u32 = 4194304u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FM_INFO_RETURNS_BITMAPS: u32 = 131072u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FM_INFO_RETURNS_OUTLINES: u32 = 32768u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FM_INFO_RETURNS_STROKES: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FM_INFO_RIGHT_HANDED: u32 = 524288u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FM_INFO_TECH_BITMAP: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FM_INFO_TECH_CFF: u32 = 67108864u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FM_INFO_TECH_MM: u32 = 16384u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FM_INFO_TECH_OUTLINE_NOT_TRUETYPE: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FM_INFO_TECH_STROKE: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FM_INFO_TECH_TRUETYPE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FM_INFO_TECH_TYPE1: u32 = 2147483648u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FM_NO_EMBEDDING: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FM_PANOSE_CULTURE_LATIN: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FM_READONLY_EMBED: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FM_SEL_BOLD: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FM_SEL_ITALIC: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FM_SEL_NEGATIVE: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FM_SEL_OUTLINED: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FM_SEL_REGULAR: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FM_SEL_STRIKEOUT: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FM_SEL_UNDERSCORE: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FM_TYPE_LICENSED: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FM_VERSION_NUMBER: u32 = 0u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct FONTDIFF {
+ pub jReserved1: u8,
+ pub jReserved2: u8,
+ pub jReserved3: u8,
+ pub bWeight: u8,
+ pub usWinWeight: u16,
+ pub fsSelection: u16,
+ pub fwdAveCharWidth: i16,
+ pub fwdMaxCharInc: i16,
+ pub ptlCaret: super::super::Foundation::POINTL,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for FONTDIFF {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for FONTDIFF {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct FONTINFO {
+ pub cjThis: u32,
+ pub flCaps: u32,
+ pub cGlyphsSupported: u32,
+ pub cjMaxGlyph1: u32,
+ pub cjMaxGlyph4: u32,
+ pub cjMaxGlyph8: u32,
+ pub cjMaxGlyph32: u32,
+}
+impl ::core::marker::Copy for FONTINFO {}
+impl ::core::clone::Clone for FONTINFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct FONTOBJ {
+ pub iUniq: u32,
+ pub iFace: u32,
+ pub cxMax: u32,
+ pub flFontType: u32,
+ pub iTTUniq: usize,
+ pub iFile: usize,
+ pub sizLogResPpi: super::super::Foundation::SIZE,
+ pub ulStyleSize: u32,
+ pub pvConsumer: *mut ::core::ffi::c_void,
+ pub pvProducer: *mut ::core::ffi::c_void,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for FONTOBJ {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for FONTOBJ {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct FONTSIM {
+ pub dpBold: i32,
+ pub dpItalic: i32,
+ pub dpBoldItalic: i32,
+}
+impl ::core::marker::Copy for FONTSIM {}
+impl ::core::clone::Clone for FONTSIM {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_System_Console\"`*"]
+#[cfg(feature = "Win32_System_Console")]
+pub struct FONT_IMAGE_INFO {
+ pub FontSize: super::super::System::Console::COORD,
+ pub ImageBits: *mut u8,
+}
+#[cfg(feature = "Win32_System_Console")]
+impl ::core::marker::Copy for FONT_IMAGE_INFO {}
+#[cfg(feature = "Win32_System_Console")]
+impl ::core::clone::Clone for FONT_IMAGE_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FO_ATTR_MODE_ROTATE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FO_CFF: u32 = 1048576u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FO_CLEARTYPENATURAL_X: u32 = 1073741824u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FO_CLEARTYPE_X: u32 = 268435456u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FO_CLEARTYPE_Y: u32 = 536870912u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FO_DBCS_FONT: u32 = 16777216u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FO_DEVICE_FONT: i32 = 1i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FO_EM_HEIGHT: u32 = 32768u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FO_GLYPHBITS: i32 = 1i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FO_GRAY16: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FO_HGLYPHS: i32 = 0i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FO_MULTIPLEMASTER: u32 = 4194304u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FO_NOCLEARTYPE: u32 = 33554432u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FO_NOGRAY16: u32 = 131072u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FO_NOHINTS: u32 = 262144u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FO_NO_CHOICE: u32 = 524288u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FO_OUTLINE_CAPABLE: i32 = 2i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FO_PATHOBJ: i32 = 2i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FO_POSTSCRIPT: u32 = 2097152u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FO_SIM_BOLD: u32 = 8192u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FO_SIM_ITALIC: u32 = 16384u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FO_VERT_FACE: u32 = 8388608u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FP_ALTERNATEMODE: i32 = 1i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const FP_WINDINGMODE: i32 = 2i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type FREEOBJPROC = ::core::option::Option<unsafe extern "system" fn(pdriverobj: *mut DRIVEROBJ) -> super::super::Foundation::BOOL>;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_System_Console\"`*"]
+#[cfg(feature = "Win32_System_Console")]
+pub struct FSCNTL_SCREEN_INFO {
+ pub Position: super::super::System::Console::COORD,
+ pub ScreenSize: super::super::System::Console::COORD,
+ pub nNumberOfChars: u32,
+}
+#[cfg(feature = "Win32_System_Console")]
+impl ::core::marker::Copy for FSCNTL_SCREEN_INFO {}
+#[cfg(feature = "Win32_System_Console")]
+impl ::core::clone::Clone for FSCNTL_SCREEN_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_System_Console\"`*"]
+#[cfg(feature = "Win32_System_Console")]
+pub struct FSVIDEO_COPY_FRAME_BUFFER {
+ pub SrcScreen: FSCNTL_SCREEN_INFO,
+ pub DestScreen: FSCNTL_SCREEN_INFO,
+}
+#[cfg(feature = "Win32_System_Console")]
+impl ::core::marker::Copy for FSVIDEO_COPY_FRAME_BUFFER {}
+#[cfg(feature = "Win32_System_Console")]
+impl ::core::clone::Clone for FSVIDEO_COPY_FRAME_BUFFER {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct FSVIDEO_CURSOR_POSITION {
+ pub Coord: VIDEO_CURSOR_POSITION,
+ pub dwType: u32,
+}
+impl ::core::marker::Copy for FSVIDEO_CURSOR_POSITION {}
+impl ::core::clone::Clone for FSVIDEO_CURSOR_POSITION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct FSVIDEO_MODE_INFORMATION {
+ pub VideoMode: VIDEO_MODE_INFORMATION,
+ pub VideoMemory: VIDEO_MEMORY_INFORMATION,
+}
+impl ::core::marker::Copy for FSVIDEO_MODE_INFORMATION {}
+impl ::core::clone::Clone for FSVIDEO_MODE_INFORMATION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_System_Console\"`*"]
+#[cfg(feature = "Win32_System_Console")]
+pub struct FSVIDEO_REVERSE_MOUSE_POINTER {
+ pub Screen: FSCNTL_SCREEN_INFO,
+ pub dwType: u32,
+}
+#[cfg(feature = "Win32_System_Console")]
+impl ::core::marker::Copy for FSVIDEO_REVERSE_MOUSE_POINTER {}
+#[cfg(feature = "Win32_System_Console")]
+impl ::core::clone::Clone for FSVIDEO_REVERSE_MOUSE_POINTER {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_System_Console\"`*"]
+#[cfg(feature = "Win32_System_Console")]
+pub struct FSVIDEO_SCREEN_INFORMATION {
+ pub ScreenSize: super::super::System::Console::COORD,
+ pub FontSize: super::super::System::Console::COORD,
+}
+#[cfg(feature = "Win32_System_Console")]
+impl ::core::marker::Copy for FSVIDEO_SCREEN_INFORMATION {}
+#[cfg(feature = "Win32_System_Console")]
+impl ::core::clone::Clone for FSVIDEO_SCREEN_INFORMATION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_System_Console\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Console"))]
+pub struct FSVIDEO_WRITE_TO_FRAME_BUFFER {
+ pub SrcBuffer: *mut CHAR_IMAGE_INFO,
+ pub DestScreen: FSCNTL_SCREEN_INFO,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Console"))]
+impl ::core::marker::Copy for FSVIDEO_WRITE_TO_FRAME_BUFFER {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Console"))]
+impl ::core::clone::Clone for FSVIDEO_WRITE_TO_FRAME_BUFFER {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct GAMMARAMP {
+ pub Red: [u16; 256],
+ pub Green: [u16; 256],
+ pub Blue: [u16; 256],
+}
+impl ::core::marker::Copy for GAMMARAMP {}
+impl ::core::clone::Clone for GAMMARAMP {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct GAMMA_RAMP_DXGI_1 {
+ pub Scale: GAMMA_RAMP_RGB,
+ pub Offset: GAMMA_RAMP_RGB,
+ pub GammaCurve: [GAMMA_RAMP_RGB; 1025],
+}
+impl ::core::marker::Copy for GAMMA_RAMP_DXGI_1 {}
+impl ::core::clone::Clone for GAMMA_RAMP_DXGI_1 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct GAMMA_RAMP_RGB {
+ pub Red: f32,
+ pub Green: f32,
+ pub Blue: f32,
+}
+impl ::core::marker::Copy for GAMMA_RAMP_RGB {}
+impl ::core::clone::Clone for GAMMA_RAMP_RGB {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct GAMMA_RAMP_RGB256x3x16 {
+ pub Red: [u16; 256],
+ pub Green: [u16; 256],
+ pub Blue: [u16; 256],
+}
+impl ::core::marker::Copy for GAMMA_RAMP_RGB256x3x16 {}
+impl ::core::clone::Clone for GAMMA_RAMP_RGB256x3x16 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GCAPS2_ACC_DRIVER: u32 = 32768u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GCAPS2_ALPHACURSOR: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GCAPS2_BITMAPEXREUSE: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GCAPS2_CHANGEGAMMARAMP: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GCAPS2_CLEARTYPE: u32 = 16384u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GCAPS2_EXCLUDELAYERED: u32 = 2048u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GCAPS2_ICD_MULTIMON: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GCAPS2_INCLUDEAPIBITMAPS: u32 = 4096u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GCAPS2_JPEGSRC: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GCAPS2_MOUSETRAILS: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GCAPS2_PNGSRC: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GCAPS2_REMOTEDRIVER: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GCAPS2_RESERVED1: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GCAPS2_SHOWHIDDENPOINTER: u32 = 8192u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GCAPS2_SYNCFLUSH: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GCAPS2_SYNCTIMER: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GCAPS2_xxxx: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GCAPS_ALTERNATEFILL: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GCAPS_ARBRUSHOPAQUE: u32 = 32768u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GCAPS_ARBRUSHTEXT: u32 = 268435456u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GCAPS_ASYNCCHANGE: u32 = 2048u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GCAPS_ASYNCMOVE: u32 = 4096u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GCAPS_BEZIERS: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GCAPS_CMYKCOLOR: u32 = 67108864u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GCAPS_COLOR_DITHER: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GCAPS_DIRECTDRAW: u32 = 16384u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GCAPS_DITHERONREALIZE: u32 = 2097152u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GCAPS_DONTJOURNAL: u32 = 8192u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GCAPS_FONT_RASTERIZER: u32 = 1073741824u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GCAPS_FORCEDITHER: u32 = 8388608u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GCAPS_GEOMETRICWIDE: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GCAPS_GRAY16: u32 = 16777216u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GCAPS_HALFTONE: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GCAPS_HIGHRESTEXT: u32 = 262144u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GCAPS_HORIZSTRIKE: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GCAPS_ICM: u32 = 33554432u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GCAPS_LAYERED: u32 = 134217728u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GCAPS_MONO_DITHER: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GCAPS_NO64BITMEMACCESS: u32 = 4194304u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GCAPS_NUP: u32 = 2147483648u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GCAPS_OPAQUERECT: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GCAPS_PALMANAGED: u32 = 524288u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GCAPS_PANNING: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GCAPS_SCREENPRECISION: u32 = 536870912u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GCAPS_VECTORFONT: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GCAPS_VERTSTRIKE: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GCAPS_WINDINGFILL: u32 = 8u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct GDIINFO {
+ pub ulVersion: u32,
+ pub ulTechnology: u32,
+ pub ulHorzSize: u32,
+ pub ulVertSize: u32,
+ pub ulHorzRes: u32,
+ pub ulVertRes: u32,
+ pub cBitsPixel: u32,
+ pub cPlanes: u32,
+ pub ulNumColors: u32,
+ pub flRaster: u32,
+ pub ulLogPixelsX: u32,
+ pub ulLogPixelsY: u32,
+ pub flTextCaps: u32,
+ pub ulDACRed: u32,
+ pub ulDACGreen: u32,
+ pub ulDACBlue: u32,
+ pub ulAspectX: u32,
+ pub ulAspectY: u32,
+ pub ulAspectXY: u32,
+ pub xStyleStep: i32,
+ pub yStyleStep: i32,
+ pub denStyleStep: i32,
+ pub ptlPhysOffset: super::super::Foundation::POINTL,
+ pub szlPhysSize: super::super::Foundation::SIZE,
+ pub ulNumPalReg: u32,
+ pub ciDevice: COLORINFO,
+ pub ulDevicePelsDPI: u32,
+ pub ulPrimaryOrder: u32,
+ pub ulHTPatternSize: u32,
+ pub ulHTOutputFormat: u32,
+ pub flHTFlags: u32,
+ pub ulVRefresh: u32,
+ pub ulBltAlignment: u32,
+ pub ulPanningHorzRes: u32,
+ pub ulPanningVertRes: u32,
+ pub xPanningAlignment: u32,
+ pub yPanningAlignment: u32,
+ pub cxHTPat: u32,
+ pub cyHTPat: u32,
+ pub pHTPatA: *mut u8,
+ pub pHTPatB: *mut u8,
+ pub pHTPatC: *mut u8,
+ pub flShadeBlend: u32,
+ pub ulPhysicalPixelCharacteristics: u32,
+ pub ulPhysicalPixelGamma: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for GDIINFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for GDIINFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GDI_DRIVER_VERSION: u32 = 16384u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GETCONNECTEDIDS_SOURCE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GETCONNECTEDIDS_TARGET: u32 = 0u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct GLYPHBITS {
+ pub ptlOrigin: super::super::Foundation::POINTL,
+ pub sizlBitmap: super::super::Foundation::SIZE,
+ pub aj: [u8; 1],
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for GLYPHBITS {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for GLYPHBITS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct GLYPHDATA {
+ pub gdf: GLYPHDEF,
+ pub hg: u32,
+ pub fxD: i32,
+ pub fxA: i32,
+ pub fxAB: i32,
+ pub fxInkTop: i32,
+ pub fxInkBottom: i32,
+ pub rclInk: super::super::Foundation::RECTL,
+ pub ptqD: POINTQF,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for GLYPHDATA {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for GLYPHDATA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub union GLYPHDEF {
+ pub pgb: *mut GLYPHBITS,
+ pub ppo: *mut PATHOBJ,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for GLYPHDEF {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for GLYPHDEF {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct GLYPHPOS {
+ pub hg: u32,
+ pub pgdf: *mut GLYPHDEF,
+ pub ptl: super::super::Foundation::POINTL,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for GLYPHPOS {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for GLYPHPOS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GS_16BIT_HANDLES: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GS_8BIT_HANDLES: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GS_UNICODE_HANDLES: u32 = 1u32;
+pub const GUID_DEVINTERFACE_DISPLAY_ADAPTER: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1531256861, data2: 62194, data3: 20283, data4: [133, 187, 48, 255, 31, 149, 53, 153] };
+pub const GUID_DEVINTERFACE_MONITOR: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3874519903, data2: 61079, data3: 19088, data4: [176, 118, 51, 245, 123, 244, 234, 167] };
+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] };
+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] };
+pub const GUID_MONITOR_OVERRIDE_PSEUDO_SPECIALIZED: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 4053188655, data2: 63599, data3: 20378, data4: [170, 21, 233, 206, 189, 254, 59, 150] };
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GX_GENERAL: i32 = 3i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GX_IDENTITY: i32 = 0i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GX_OFFSET: i32 = 1i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const GX_SCALE: i32 = 2i32;
+pub type HBM = isize;
+pub type HDEV = isize;
+pub type HDRVOBJ = isize;
+pub type HFASTMUTEX = isize;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HOOK_ALPHABLEND: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HOOK_BITBLT: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HOOK_COPYBITS: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HOOK_FILLPATH: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HOOK_FLAGS: u32 = 243199u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HOOK_GRADIENTFILL: u32 = 131072u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HOOK_LINETO: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HOOK_MOVEPANNING: u32 = 2048u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HOOK_PAINT: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HOOK_PLGBLT: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HOOK_STRETCHBLT: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HOOK_STRETCHBLTROP: u32 = 8192u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HOOK_STROKEANDFILLPATH: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HOOK_STROKEPATH: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HOOK_SYNCHRONIZE: u32 = 4096u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HOOK_SYNCHRONIZEACCESS: u32 = 16384u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HOOK_TEXTOUT: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HOOK_TRANSPARENTBLT: u32 = 32768u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HOST_DSI_BAD_TRANSMISSION_MODE: u32 = 4096u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HOST_DSI_DEVICE_NOT_READY: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HOST_DSI_DEVICE_RESET: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HOST_DSI_DRIVER_REJECTED_PACKET: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HOST_DSI_INTERFACE_RESET: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HOST_DSI_INVALID_TRANSMISSION: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HOST_DSI_OS_REJECTED_PACKET: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HOST_DSI_TRANSMISSION_CANCELLED: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HOST_DSI_TRANSMISSION_DROPPED: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HOST_DSI_TRANSMISSION_TIMEOUT: u32 = 64u32;
+pub type HSEMAPHORE = isize;
+pub type HSURF = isize;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HS_DDI_MAX: u32 = 6u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_FLAG_8BPP_CMY332_MASK: u32 = 4278190080u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_FLAG_ADDITIVE_PRIMS: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_FLAG_DO_DEVCLR_XFORM: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_FLAG_HAS_BLACK_DYE: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_FLAG_INK_ABSORPTION_IDX0: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_FLAG_INK_ABSORPTION_IDX1: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_FLAG_INK_ABSORPTION_IDX2: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_FLAG_INK_ABSORPTION_IDX3: u32 = 96u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_FLAG_INK_ABSORPTION_INDICES: u32 = 96u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_FLAG_INK_HIGH_ABSORPTION: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_FLAG_INVERT_8BPP_BITMASK_IDX: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_FLAG_LOWER_INK_ABSORPTION: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_FLAG_LOWEST_INK_ABSORPTION: u32 = 96u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_FLAG_LOW_INK_ABSORPTION: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_FLAG_NORMAL_INK_ABSORPTION: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_FLAG_OUTPUT_CMY: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_FLAG_PRINT_DRAFT_MODE: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_FLAG_SQUARE_DEVICE_PEL: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_FLAG_USE_8BPP_BITMASK: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_FORMAT_16BPP: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_FORMAT_1BPP: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_FORMAT_24BPP: u32 = 6u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_FORMAT_32BPP: u32 = 7u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_FORMAT_4BPP: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_FORMAT_4BPP_IRGB: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_FORMAT_8BPP: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_PATSIZE_10x10: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_PATSIZE_10x10_M: u32 = 9u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_PATSIZE_12x12: u32 = 10u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_PATSIZE_12x12_M: u32 = 11u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_PATSIZE_14x14: u32 = 12u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_PATSIZE_14x14_M: u32 = 13u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_PATSIZE_16x16: u32 = 14u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_PATSIZE_16x16_M: u32 = 15u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_PATSIZE_2x2: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_PATSIZE_2x2_M: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_PATSIZE_4x4: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_PATSIZE_4x4_M: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_PATSIZE_6x6: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_PATSIZE_6x6_M: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_PATSIZE_8x8: u32 = 6u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_PATSIZE_8x8_M: u32 = 7u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_PATSIZE_DEFAULT: u32 = 17u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_PATSIZE_MAX_INDEX: u32 = 18u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_PATSIZE_SUPERCELL: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_PATSIZE_SUPERCELL_M: u32 = 17u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_PATSIZE_USER: u32 = 18u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_USERPAT_CX_MAX: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_USERPAT_CX_MIN: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_USERPAT_CY_MAX: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const HT_USERPAT_CY_MIN: u32 = 4u32;
+pub type ICloneViewHelper = *mut ::core::ffi::c_void;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct IFIEXTRA {
+ pub ulIdentifier: u32,
+ pub dpFontSig: i32,
+ pub cig: u32,
+ pub dpDesignVector: i32,
+ pub dpAxesInfoW: i32,
+ pub aulReserved: [u32; 1],
+}
+impl ::core::marker::Copy for IFIEXTRA {}
+impl ::core::clone::Clone for IFIEXTRA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
+#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+pub struct IFIMETRICS {
+ pub cjThis: u32,
+ pub cjIfiExtra: u32,
+ pub dpwszFamilyName: i32,
+ pub dpwszStyleName: i32,
+ pub dpwszFaceName: i32,
+ pub dpwszUniqueName: i32,
+ pub dpFontSim: i32,
+ pub lEmbedId: i32,
+ pub lItalicAngle: i32,
+ pub lCharBias: i32,
+ pub dpCharSets: i32,
+ pub jWinCharSet: u8,
+ pub jWinPitchAndFamily: u8,
+ pub usWinWeight: u16,
+ pub flInfo: u32,
+ pub fsSelection: u16,
+ pub fsType: u16,
+ pub fwdUnitsPerEm: i16,
+ pub fwdLowestPPEm: i16,
+ pub fwdWinAscender: i16,
+ pub fwdWinDescender: i16,
+ pub fwdMacAscender: i16,
+ pub fwdMacDescender: i16,
+ pub fwdMacLineGap: i16,
+ pub fwdTypoAscender: i16,
+ pub fwdTypoDescender: i16,
+ pub fwdTypoLineGap: i16,
+ pub fwdAveCharWidth: i16,
+ pub fwdMaxCharInc: i16,
+ pub fwdCapHeight: i16,
+ pub fwdXHeight: i16,
+ pub fwdSubscriptXSize: i16,
+ pub fwdSubscriptYSize: i16,
+ pub fwdSubscriptXOffset: i16,
+ pub fwdSubscriptYOffset: i16,
+ pub fwdSuperscriptXSize: i16,
+ pub fwdSuperscriptYSize: i16,
+ pub fwdSuperscriptXOffset: i16,
+ pub fwdSuperscriptYOffset: i16,
+ pub fwdUnderscoreSize: i16,
+ pub fwdUnderscorePosition: i16,
+ pub fwdStrikeoutSize: i16,
+ pub fwdStrikeoutPosition: i16,
+ pub chFirstChar: u8,
+ pub chLastChar: u8,
+ pub chDefaultChar: u8,
+ pub chBreakChar: u8,
+ pub wcFirstChar: u16,
+ pub wcLastChar: u16,
+ pub wcDefaultChar: u16,
+ pub wcBreakChar: u16,
+ pub ptlBaseline: super::super::Foundation::POINTL,
+ pub ptlAspect: super::super::Foundation::POINTL,
+ pub ptlCaret: super::super::Foundation::POINTL,
+ pub rclFontBox: super::super::Foundation::RECTL,
+ pub achVendId: [u8; 4],
+ pub cKerningPairs: u32,
+ pub ulPanoseCulture: u32,
+ pub panose: super::super::Graphics::Gdi::PANOSE,
+ pub Align: *mut ::core::ffi::c_void,
+}
+#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+impl ::core::marker::Copy for IFIMETRICS {}
+#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+impl ::core::clone::Clone for IFIMETRICS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
+#[cfg(target_arch = "x86")]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+pub struct IFIMETRICS {
+ pub cjThis: u32,
+ pub cjIfiExtra: u32,
+ pub dpwszFamilyName: i32,
+ pub dpwszStyleName: i32,
+ pub dpwszFaceName: i32,
+ pub dpwszUniqueName: i32,
+ pub dpFontSim: i32,
+ pub lEmbedId: i32,
+ pub lItalicAngle: i32,
+ pub lCharBias: i32,
+ pub dpCharSets: i32,
+ pub jWinCharSet: u8,
+ pub jWinPitchAndFamily: u8,
+ pub usWinWeight: u16,
+ pub flInfo: u32,
+ pub fsSelection: u16,
+ pub fsType: u16,
+ pub fwdUnitsPerEm: i16,
+ pub fwdLowestPPEm: i16,
+ pub fwdWinAscender: i16,
+ pub fwdWinDescender: i16,
+ pub fwdMacAscender: i16,
+ pub fwdMacDescender: i16,
+ pub fwdMacLineGap: i16,
+ pub fwdTypoAscender: i16,
+ pub fwdTypoDescender: i16,
+ pub fwdTypoLineGap: i16,
+ pub fwdAveCharWidth: i16,
+ pub fwdMaxCharInc: i16,
+ pub fwdCapHeight: i16,
+ pub fwdXHeight: i16,
+ pub fwdSubscriptXSize: i16,
+ pub fwdSubscriptYSize: i16,
+ pub fwdSubscriptXOffset: i16,
+ pub fwdSubscriptYOffset: i16,
+ pub fwdSuperscriptXSize: i16,
+ pub fwdSuperscriptYSize: i16,
+ pub fwdSuperscriptXOffset: i16,
+ pub fwdSuperscriptYOffset: i16,
+ pub fwdUnderscoreSize: i16,
+ pub fwdUnderscorePosition: i16,
+ pub fwdStrikeoutSize: i16,
+ pub fwdStrikeoutPosition: i16,
+ pub chFirstChar: u8,
+ pub chLastChar: u8,
+ pub chDefaultChar: u8,
+ pub chBreakChar: u8,
+ pub wcFirstChar: u16,
+ pub wcLastChar: u16,
+ pub wcDefaultChar: u16,
+ pub wcBreakChar: u16,
+ pub ptlBaseline: super::super::Foundation::POINTL,
+ pub ptlAspect: super::super::Foundation::POINTL,
+ pub ptlCaret: super::super::Foundation::POINTL,
+ pub rclFontBox: super::super::Foundation::RECTL,
+ pub achVendId: [u8; 4],
+ pub cKerningPairs: u32,
+ pub ulPanoseCulture: u32,
+ pub panose: super::super::Graphics::Gdi::PANOSE,
+}
+#[cfg(target_arch = "x86")]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+impl ::core::marker::Copy for IFIMETRICS {}
+#[cfg(target_arch = "x86")]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+impl ::core::clone::Clone for IFIMETRICS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IGRF_RGB_256BYTES: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IGRF_RGB_256WORDS: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvAccumulateD3DDirtyRect: i32 = 98i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvAlphaBlend: i32 = 71i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvAssertMode: i32 = 5i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvAssociateSharedSurface: i32 = 96i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvBitBlt: i32 = 18i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvCompletePDEV: i32 = 1i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvCopyBits: i32 = 19i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvCreateDeviceBitmap: i32 = 10i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvCreateDeviceBitmapEx: i32 = 94i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvDeleteDeviceBitmap: i32 = 11i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvDeleteDeviceBitmapEx: i32 = 95i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvDeriveSurface: i32 = 85i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvDescribePixelFormat: i32 = 55i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvDestroyFont: i32 = 43i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvDisableDirectDraw: i32 = 61i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvDisableDriver: i32 = 8i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvDisablePDEV: i32 = 2i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvDisableSurface: i32 = 4i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvDitherColor: i32 = 13i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvDrawEscape: i32 = 25i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvEnableDirectDraw: i32 = 60i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvEnablePDEV: i32 = 0i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvEnableSurface: i32 = 3i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvEndDoc: i32 = 34i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvEndDxInterop: i32 = 100i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvEscape: i32 = 24i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvFillPath: i32 = 15i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvFontManagement: i32 = 47i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvFree: i32 = 42i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvGetDirectDrawInfo: i32 = 59i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvGetGlyphMode: i32 = 37i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvGetModes: i32 = 41i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvGetSynthesizedFontFiles: i32 = 73i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvGetTrueTypeFile: i32 = 50i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvGradientFill: i32 = 68i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvIcmCheckBitmapBits: i32 = 66i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvIcmCreateColorTransform: i32 = 64i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvIcmDeleteColorTransform: i32 = 65i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvIcmSetDeviceGammaRamp: i32 = 67i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvLineTo: i32 = 31i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvLoadFontFile: i32 = 45i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvLockDisplayArea: i32 = 101i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvMovePanning: i32 = 52i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvMovePointer: i32 = 30i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvNextBand: i32 = 58i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvNotify: i32 = 87i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvOffset: i32 = 6i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvPaint: i32 = 17i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvPlgBlt: i32 = 70i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvQueryAdvanceWidths: i32 = 53i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvQueryDeviceSupport: i32 = 76i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvQueryFont: i32 = 26i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvQueryFontCaps: i32 = 44i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvQueryFontData: i32 = 28i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvQueryFontFile: i32 = 51i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvQueryFontTree: i32 = 27i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvQueryGlyphAttrs: i32 = 86i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvQueryPerBandInfo: i32 = 75i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvQuerySpoolType: i32 = 62i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvQueryTrueTypeOutline: i32 = 49i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvQueryTrueTypeTable: i32 = 48i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvRealizeBrush: i32 = 12i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvRenderHint: i32 = 93i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvReserved1: i32 = 77i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvReserved10: i32 = 91i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvReserved11: i32 = 92i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvReserved2: i32 = 78i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvReserved3: i32 = 79i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvReserved4: i32 = 80i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvReserved5: i32 = 81i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvReserved6: i32 = 82i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvReserved7: i32 = 83i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvReserved8: i32 = 84i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvReserved9: i32 = 90i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvResetDevice: i32 = 89i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvResetPDEV: i32 = 7i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvSaveScreenBits: i32 = 40i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvSendPage: i32 = 32i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvSetPalette: i32 = 22i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvSetPixelFormat: i32 = 54i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvSetPointerShape: i32 = 29i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvStartBanding: i32 = 57i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvStartDoc: i32 = 35i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvStartDxInterop: i32 = 99i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvStartPage: i32 = 33i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvStretchBlt: i32 = 20i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvStretchBltROP: i32 = 69i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvStrokeAndFillPath: i32 = 16i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvStrokePath: i32 = 14i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvSurfaceComplete: i32 = 103i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvSwapBuffers: i32 = 56i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvSynchronize: i32 = 38i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvSynchronizeRedirectionBitmaps: i32 = 97i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvSynchronizeSurface: i32 = 88i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvSynthesizeFont: i32 = 72i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvTextOut: i32 = 23i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvTransparentBlt: i32 = 74i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvUnloadFontFile: i32 = 46i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_DrvUnlockDisplayArea: i32 = 102i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDEX_LAST: i32 = 89i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct INDIRECT_DISPLAY_INFO {
+ pub DisplayAdapterLuid: super::super::Foundation::LUID,
+ pub Flags: u32,
+ pub NumMonitors: u32,
+ pub DisplayAdapterTargetBase: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for INDIRECT_DISPLAY_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for INDIRECT_DISPLAY_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const INDIRECT_DISPLAY_INFO_FLAGS_CREATED_IDDCX_ADAPTER: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_COLORSPACE_TRANSFORM_QUERY_TARGET_CAPS: u32 = 2297856u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_COLORSPACE_TRANSFORM_SET: u32 = 2297860u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_FSVIDEO_COPY_FRAME_BUFFER: u32 = 3409920u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_FSVIDEO_REVERSE_MOUSE_POINTER: u32 = 3409928u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_FSVIDEO_SET_CURRENT_MODE: u32 = 3409932u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_FSVIDEO_SET_CURSOR_POSITION: u32 = 3409940u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_FSVIDEO_SET_SCREEN_INFORMATION: u32 = 3409936u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_FSVIDEO_WRITE_TO_FRAME_BUFFER: u32 = 3409924u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_MIPI_DSI_QUERY_CAPS: u32 = 2298880u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_MIPI_DSI_RESET: u32 = 2298888u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_MIPI_DSI_TRANSMISSION: u32 = 2298884u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_PANEL_GET_BACKLIGHT_REDUCTION: u32 = 2296856u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_PANEL_GET_BRIGHTNESS: u32 = 2296840u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_PANEL_QUERY_BRIGHTNESS_CAPS: u32 = 2296832u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_PANEL_QUERY_BRIGHTNESS_RANGES: u32 = 2296836u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_PANEL_SET_BACKLIGHT_OPTIMIZATION: u32 = 2296852u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_PANEL_SET_BRIGHTNESS: u32 = 2296844u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_PANEL_SET_BRIGHTNESS_STATE: u32 = 2296848u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_SET_ACTIVE_COLOR_PROFILE_NAME: u32 = 2297864u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_DISABLE_CURSOR: u32 = 2294820u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_DISABLE_POINTER: u32 = 2294844u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_DISABLE_VDM: u32 = 2293764u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_ENABLE_CURSOR: u32 = 2294816u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_ENABLE_POINTER: u32 = 2294840u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_ENABLE_VDM: u32 = 2293760u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_ENUM_MONITOR_PDO: u32 = 2293784u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_FREE_PUBLIC_ACCESS_RANGES: u32 = 2294884u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_GET_BANK_SELECT_CODE: u32 = 2294868u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_GET_CHILD_STATE: u32 = 2294912u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_GET_OUTPUT_DEVICE_POWER_STATE: u32 = 2293776u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_GET_POWER_MANAGEMENT: u32 = 2294896u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_HANDLE_VIDEOPARAMETERS: u32 = 2293792u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_INIT_WIN32K_CALLBACKS: u32 = 2293788u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_IS_VGA_DEVICE: u32 = 2293796u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_LOAD_AND_SET_FONT: u32 = 2294804u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_MAP_VIDEO_MEMORY: u32 = 2294872u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_MONITOR_DEVICE: u32 = 2293780u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_PREPARE_FOR_EARECOVERY: u32 = 2293804u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_QUERY_AVAIL_MODES: u32 = 2294784u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_QUERY_COLOR_CAPABILITIES: u32 = 2294888u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_QUERY_CURRENT_MODE: u32 = 2294792u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_QUERY_CURSOR_ATTR: u32 = 2294828u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_QUERY_CURSOR_POSITION: u32 = 2294836u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_QUERY_DISPLAY_BRIGHTNESS: u32 = 2294936u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_QUERY_NUM_AVAIL_MODES: u32 = 2294788u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_QUERY_POINTER_ATTR: u32 = 2294852u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_QUERY_POINTER_CAPABILITIES: u32 = 2294864u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_QUERY_POINTER_POSITION: u32 = 2294860u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_QUERY_PUBLIC_ACCESS_RANGES: u32 = 2294880u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_QUERY_SUPPORTED_BRIGHTNESS: u32 = 2294932u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_REGISTER_VDM: u32 = 2293768u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_RESET_DEVICE: u32 = 2294800u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_RESTORE_HARDWARE_STATE: u32 = 2294276u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_SAVE_HARDWARE_STATE: u32 = 2294272u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_SET_BANK_POSITION: u32 = 2294928u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_SET_CHILD_STATE_CONFIGURATION: u32 = 2294920u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_SET_COLOR_LUT_DATA: u32 = 2294908u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_SET_COLOR_REGISTERS: u32 = 2294812u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_SET_CURRENT_MODE: u32 = 2294796u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_SET_CURSOR_ATTR: u32 = 2294824u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_SET_CURSOR_POSITION: u32 = 2294832u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_SET_DISPLAY_BRIGHTNESS: u32 = 2294940u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_SET_OUTPUT_DEVICE_POWER_STATE: u32 = 2293772u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_SET_PALETTE_REGISTERS: u32 = 2294808u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_SET_POINTER_ATTR: u32 = 2294848u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_SET_POINTER_POSITION: u32 = 2294856u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_SET_POWER_MANAGEMENT: u32 = 2294892u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_SHARE_VIDEO_MEMORY: u32 = 2294900u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_SWITCH_DUALVIEW: u32 = 2294924u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_UNMAP_VIDEO_MEMORY: u32 = 2294876u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_UNSHARE_VIDEO_MEMORY: u32 = 2294904u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_USE_DEVICE_IN_SESSION: u32 = 2293800u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const IOCTL_VIDEO_VALIDATE_CHILD_STATE_CONFIGURATION: u32 = 2294916u32;
+pub type IViewHelper = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const JOIN_BEVEL: i32 = 1i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const JOIN_MITER: i32 = 2i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const JOIN_ROUND: i32 = 0i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const LA_ALTERNATE: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const LA_GEOMETRIC: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const LA_STARTGAP: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const LA_STYLED: u32 = 8u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct LIGATURE {
+ pub culSize: u32,
+ pub pwsz: ::windows_sys::core::PWSTR,
+ pub chglyph: u32,
+ pub ahglyph: [u32; 1],
+}
+impl ::core::marker::Copy for LIGATURE {}
+impl ::core::clone::Clone for LIGATURE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
+pub struct LINEATTRS {
+ pub fl: u32,
+ pub iJoin: u32,
+ pub iEndCap: u32,
+ pub elWidth: FLOAT_LONG,
+ pub eMiterLimit: f32,
+ pub cstyle: u32,
+ pub pstyle: *mut FLOAT_LONG,
+ pub elStyleState: FLOAT_LONG,
+}
+#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
+impl ::core::marker::Copy for LINEATTRS {}
+#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
+impl ::core::clone::Clone for LINEATTRS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+#[cfg(target_arch = "x86")]
+pub struct LINEATTRS {
+ pub fl: u32,
+ pub iJoin: u32,
+ pub iEndCap: u32,
+ pub elWidth: FLOAT_LONG,
+ pub eMiterLimit: u32,
+ pub cstyle: u32,
+ pub pstyle: *mut FLOAT_LONG,
+ pub elStyleState: FLOAT_LONG,
+}
+#[cfg(target_arch = "x86")]
+impl ::core::marker::Copy for LINEATTRS {}
+#[cfg(target_arch = "x86")]
+impl ::core::clone::Clone for LINEATTRS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MAXCHARSETS: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MAX_PACKET_COUNT: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_CAPS_BRIGHTNESS: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_CAPS_COLOR_TEMPERATURE: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_CAPS_CONTRAST: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_CAPS_DEGAUSS: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_CAPS_DISPLAY_AREA_POSITION: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_CAPS_DISPLAY_AREA_SIZE: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_CAPS_MONITOR_TECHNOLOGY_TYPE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_CAPS_NONE: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_CAPS_RED_GREEN_BLUE_DRIVE: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_CAPS_RED_GREEN_BLUE_GAIN: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_CAPS_RESTORE_FACTORY_COLOR_DEFAULTS: u32 = 2048u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_CAPS_RESTORE_FACTORY_DEFAULTS: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type MC_COLOR_TEMPERATURE = i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_COLOR_TEMPERATURE_UNKNOWN: MC_COLOR_TEMPERATURE = 0i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_COLOR_TEMPERATURE_4000K: MC_COLOR_TEMPERATURE = 1i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_COLOR_TEMPERATURE_5000K: MC_COLOR_TEMPERATURE = 2i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_COLOR_TEMPERATURE_6500K: MC_COLOR_TEMPERATURE = 3i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_COLOR_TEMPERATURE_7500K: MC_COLOR_TEMPERATURE = 4i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_COLOR_TEMPERATURE_8200K: MC_COLOR_TEMPERATURE = 5i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_COLOR_TEMPERATURE_9300K: MC_COLOR_TEMPERATURE = 6i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_COLOR_TEMPERATURE_10000K: MC_COLOR_TEMPERATURE = 7i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_COLOR_TEMPERATURE_11500K: MC_COLOR_TEMPERATURE = 8i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type MC_DISPLAY_TECHNOLOGY_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_SHADOW_MASK_CATHODE_RAY_TUBE: MC_DISPLAY_TECHNOLOGY_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_APERTURE_GRILL_CATHODE_RAY_TUBE: MC_DISPLAY_TECHNOLOGY_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_THIN_FILM_TRANSISTOR: MC_DISPLAY_TECHNOLOGY_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_LIQUID_CRYSTAL_ON_SILICON: MC_DISPLAY_TECHNOLOGY_TYPE = 3i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_PLASMA: MC_DISPLAY_TECHNOLOGY_TYPE = 4i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_ORGANIC_LIGHT_EMITTING_DIODE: MC_DISPLAY_TECHNOLOGY_TYPE = 5i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_ELECTROLUMINESCENT: MC_DISPLAY_TECHNOLOGY_TYPE = 6i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_MICROELECTROMECHANICAL: MC_DISPLAY_TECHNOLOGY_TYPE = 7i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_FIELD_EMISSION_DEVICE: MC_DISPLAY_TECHNOLOGY_TYPE = 8i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type MC_DRIVE_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_RED_DRIVE: MC_DRIVE_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_GREEN_DRIVE: MC_DRIVE_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_BLUE_DRIVE: MC_DRIVE_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type MC_GAIN_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_RED_GAIN: MC_GAIN_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_GREEN_GAIN: MC_GAIN_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_BLUE_GAIN: MC_GAIN_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type MC_POSITION_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_HORIZONTAL_POSITION: MC_POSITION_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_VERTICAL_POSITION: MC_POSITION_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_RESTORE_FACTORY_DEFAULTS_ENABLES_MONITOR_SETTINGS: u32 = 4096u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type MC_SIZE_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_WIDTH: MC_SIZE_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_HEIGHT: MC_SIZE_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_SUPPORTED_COLOR_TEMPERATURE_10000K: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_SUPPORTED_COLOR_TEMPERATURE_11500K: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_SUPPORTED_COLOR_TEMPERATURE_4000K: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_SUPPORTED_COLOR_TEMPERATURE_5000K: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_SUPPORTED_COLOR_TEMPERATURE_6500K: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_SUPPORTED_COLOR_TEMPERATURE_7500K: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_SUPPORTED_COLOR_TEMPERATURE_8200K: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_SUPPORTED_COLOR_TEMPERATURE_9300K: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_SUPPORTED_COLOR_TEMPERATURE_NONE: u32 = 0u32;
+#[repr(C, packed(1))]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct MC_TIMING_REPORT {
+ pub dwHorizontalFrequencyInHZ: u32,
+ pub dwVerticalFrequencyInHZ: u32,
+ pub bTimingStatusByte: u8,
+}
+impl ::core::marker::Copy for MC_TIMING_REPORT {}
+impl ::core::clone::Clone for MC_TIMING_REPORT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type MC_VCP_CODE_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_MOMENTARY: MC_VCP_CODE_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MC_SET_PARAMETER: MC_VCP_CODE_TYPE = 1i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct MIPI_DSI_CAPS {
+ pub DSITypeMajor: u8,
+ pub DSITypeMinor: u8,
+ pub SpecVersionMajor: u8,
+ pub SpecVersionMinor: u8,
+ pub SpecVersionPatch: u8,
+ pub TargetMaximumReturnPacketSize: u16,
+ pub ResultCodeFlags: u8,
+ pub ResultCodeStatus: u8,
+ pub Revision: u8,
+ pub Level: u8,
+ pub DeviceClassHi: u8,
+ pub DeviceClassLo: u8,
+ pub ManufacturerHi: u8,
+ pub ManufacturerLo: u8,
+ pub ProductHi: u8,
+ pub ProductLo: u8,
+ pub LengthHi: u8,
+ pub LengthLo: u8,
+}
+impl ::core::marker::Copy for MIPI_DSI_CAPS {}
+impl ::core::clone::Clone for MIPI_DSI_CAPS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct MIPI_DSI_PACKET {
+ pub Anonymous1: MIPI_DSI_PACKET_0,
+ pub Anonymous2: MIPI_DSI_PACKET_1,
+ pub EccFiller: u8,
+ pub Payload: [u8; 8],
+}
+impl ::core::marker::Copy for MIPI_DSI_PACKET {}
+impl ::core::clone::Clone for MIPI_DSI_PACKET {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub union MIPI_DSI_PACKET_0 {
+ pub DataId: u8,
+ pub Anonymous: MIPI_DSI_PACKET_0_0,
+}
+impl ::core::marker::Copy for MIPI_DSI_PACKET_0 {}
+impl ::core::clone::Clone for MIPI_DSI_PACKET_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct MIPI_DSI_PACKET_0_0 {
+ pub _bitfield: u8,
+}
+impl ::core::marker::Copy for MIPI_DSI_PACKET_0_0 {}
+impl ::core::clone::Clone for MIPI_DSI_PACKET_0_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub union MIPI_DSI_PACKET_1 {
+ pub Anonymous: MIPI_DSI_PACKET_1_0,
+ pub LongWriteWordCount: u16,
+}
+impl ::core::marker::Copy for MIPI_DSI_PACKET_1 {}
+impl ::core::clone::Clone for MIPI_DSI_PACKET_1 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct MIPI_DSI_PACKET_1_0 {
+ pub Data0: u8,
+ pub Data1: u8,
+}
+impl ::core::marker::Copy for MIPI_DSI_PACKET_1_0 {}
+impl ::core::clone::Clone for MIPI_DSI_PACKET_1_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct MIPI_DSI_RESET {
+ pub Flags: u32,
+ pub Anonymous: MIPI_DSI_RESET_0,
+}
+impl ::core::marker::Copy for MIPI_DSI_RESET {}
+impl ::core::clone::Clone for MIPI_DSI_RESET {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub union MIPI_DSI_RESET_0 {
+ pub Anonymous: MIPI_DSI_RESET_0_0,
+ pub Results: u32,
+}
+impl ::core::marker::Copy for MIPI_DSI_RESET_0 {}
+impl ::core::clone::Clone for MIPI_DSI_RESET_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct MIPI_DSI_RESET_0_0 {
+ pub _bitfield: u32,
+}
+impl ::core::marker::Copy for MIPI_DSI_RESET_0_0 {}
+impl ::core::clone::Clone for MIPI_DSI_RESET_0_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct MIPI_DSI_TRANSMISSION {
+ pub TotalBufferSize: u32,
+ pub PacketCount: u8,
+ pub FailedPacket: u8,
+ pub Anonymous: MIPI_DSI_TRANSMISSION_0,
+ pub ReadWordCount: u16,
+ pub FinalCommandExtraPayload: u16,
+ pub MipiErrors: u16,
+ pub HostErrors: u16,
+ pub Packets: [MIPI_DSI_PACKET; 1],
+}
+impl ::core::marker::Copy for MIPI_DSI_TRANSMISSION {}
+impl ::core::clone::Clone for MIPI_DSI_TRANSMISSION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct MIPI_DSI_TRANSMISSION_0 {
+ pub _bitfield: u16,
+}
+impl ::core::marker::Copy for MIPI_DSI_TRANSMISSION_0 {}
+impl ::core::clone::Clone for MIPI_DSI_TRANSMISSION_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MS_CDDDEVICEBITMAP: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MS_NOTSYSTEMMEMORY: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MS_REUSEDDEVICEBITMAP: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const MS_SHAREDACCESS: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const OC_BANK_CLIP: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const OPENGL_CMD: u32 = 4352u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const OPENGL_GETINFO: u32 = 4353u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type ORIENTATION_PREFERENCE = i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const ORIENTATION_PREFERENCE_NONE: ORIENTATION_PREFERENCE = 0i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const ORIENTATION_PREFERENCE_LANDSCAPE: ORIENTATION_PREFERENCE = 1i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const ORIENTATION_PREFERENCE_PORTRAIT: ORIENTATION_PREFERENCE = 2i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const ORIENTATION_PREFERENCE_LANDSCAPE_FLIPPED: ORIENTATION_PREFERENCE = 4i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const ORIENTATION_PREFERENCE_PORTRAIT_FLIPPED: ORIENTATION_PREFERENCE = 8i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type OUTPUT_COLOR_ENCODING = i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const OUTPUT_COLOR_ENCODING_RGB: OUTPUT_COLOR_ENCODING = 0i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const OUTPUT_COLOR_ENCODING_YCBCR444: OUTPUT_COLOR_ENCODING = 1i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const OUTPUT_COLOR_ENCODING_YCBCR422: OUTPUT_COLOR_ENCODING = 2i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const OUTPUT_COLOR_ENCODING_YCBCR420: OUTPUT_COLOR_ENCODING = 3i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const OUTPUT_COLOR_ENCODING_INTENSITY: OUTPUT_COLOR_ENCODING = 4i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const OUTPUT_COLOR_ENCODING_FORCE_UINT32: OUTPUT_COLOR_ENCODING = -1i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type OUTPUT_WIRE_COLOR_SPACE_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const OUTPUT_WIRE_COLOR_SPACE_G22_P709: OUTPUT_WIRE_COLOR_SPACE_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const OUTPUT_WIRE_COLOR_SPACE_RESERVED: OUTPUT_WIRE_COLOR_SPACE_TYPE = 4i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const OUTPUT_WIRE_COLOR_SPACE_G2084_P2020: OUTPUT_WIRE_COLOR_SPACE_TYPE = 12i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const OUTPUT_WIRE_COLOR_SPACE_G22_P709_WCG: OUTPUT_WIRE_COLOR_SPACE_TYPE = 30i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const OUTPUT_WIRE_COLOR_SPACE_G22_P2020: OUTPUT_WIRE_COLOR_SPACE_TYPE = 31i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const OUTPUT_WIRE_COLOR_SPACE_G2084_P2020_HDR10PLUS: OUTPUT_WIRE_COLOR_SPACE_TYPE = 32i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const OUTPUT_WIRE_COLOR_SPACE_G2084_P2020_DVLL: OUTPUT_WIRE_COLOR_SPACE_TYPE = 33i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct OUTPUT_WIRE_FORMAT {
+ pub ColorEncoding: OUTPUT_COLOR_ENCODING,
+ pub BitsPerPixel: u32,
+}
+impl ::core::marker::Copy for OUTPUT_WIRE_FORMAT {}
+impl ::core::clone::Clone for OUTPUT_WIRE_FORMAT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct PALOBJ {
+ pub ulReserved: u32,
+}
+impl ::core::marker::Copy for PALOBJ {}
+impl ::core::clone::Clone for PALOBJ {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const PAL_BGR: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const PAL_BITFIELDS: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const PAL_CMYK: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const PAL_INDEXED: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const PAL_RGB: u32 = 4u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct PANEL_BRIGHTNESS_SENSOR_DATA {
+ pub Anonymous: PANEL_BRIGHTNESS_SENSOR_DATA_0,
+ pub AlsReading: f32,
+ pub ChromaticityCoordinate: CHROMATICITY_COORDINATE,
+ pub ColorTemperature: f32,
+}
+impl ::core::marker::Copy for PANEL_BRIGHTNESS_SENSOR_DATA {}
+impl ::core::clone::Clone for PANEL_BRIGHTNESS_SENSOR_DATA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub union PANEL_BRIGHTNESS_SENSOR_DATA_0 {
+ pub Anonymous: PANEL_BRIGHTNESS_SENSOR_DATA_0_0,
+ pub Value: u32,
+}
+impl ::core::marker::Copy for PANEL_BRIGHTNESS_SENSOR_DATA_0 {}
+impl ::core::clone::Clone for PANEL_BRIGHTNESS_SENSOR_DATA_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct PANEL_BRIGHTNESS_SENSOR_DATA_0_0 {
+ pub _bitfield: u32,
+}
+impl ::core::marker::Copy for PANEL_BRIGHTNESS_SENSOR_DATA_0_0 {}
+impl ::core::clone::Clone for PANEL_BRIGHTNESS_SENSOR_DATA_0_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct PANEL_GET_BACKLIGHT_REDUCTION {
+ pub BacklightUsersetting: u16,
+ pub BacklightEffective: u16,
+ pub GammaRamp: BACKLIGHT_REDUCTION_GAMMA_RAMP,
+}
+impl ::core::marker::Copy for PANEL_GET_BACKLIGHT_REDUCTION {}
+impl ::core::clone::Clone for PANEL_GET_BACKLIGHT_REDUCTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct PANEL_GET_BRIGHTNESS {
+ pub Version: BRIGHTNESS_INTERFACE_VERSION,
+ pub Anonymous: PANEL_GET_BRIGHTNESS_0,
+}
+impl ::core::marker::Copy for PANEL_GET_BRIGHTNESS {}
+impl ::core::clone::Clone for PANEL_GET_BRIGHTNESS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub union PANEL_GET_BRIGHTNESS_0 {
+ pub Level: u8,
+ pub Anonymous: PANEL_GET_BRIGHTNESS_0_0,
+}
+impl ::core::marker::Copy for PANEL_GET_BRIGHTNESS_0 {}
+impl ::core::clone::Clone for PANEL_GET_BRIGHTNESS_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct PANEL_GET_BRIGHTNESS_0_0 {
+ pub CurrentInMillinits: u32,
+ pub TargetInMillinits: u32,
+}
+impl ::core::marker::Copy for PANEL_GET_BRIGHTNESS_0_0 {}
+impl ::core::clone::Clone for PANEL_GET_BRIGHTNESS_0_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct PANEL_QUERY_BRIGHTNESS_CAPS {
+ pub Version: BRIGHTNESS_INTERFACE_VERSION,
+ pub Anonymous: PANEL_QUERY_BRIGHTNESS_CAPS_0,
+}
+impl ::core::marker::Copy for PANEL_QUERY_BRIGHTNESS_CAPS {}
+impl ::core::clone::Clone for PANEL_QUERY_BRIGHTNESS_CAPS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub union PANEL_QUERY_BRIGHTNESS_CAPS_0 {
+ pub Anonymous: PANEL_QUERY_BRIGHTNESS_CAPS_0_0,
+ pub Value: u32,
+}
+impl ::core::marker::Copy for PANEL_QUERY_BRIGHTNESS_CAPS_0 {}
+impl ::core::clone::Clone for PANEL_QUERY_BRIGHTNESS_CAPS_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct PANEL_QUERY_BRIGHTNESS_CAPS_0_0 {
+ pub _bitfield: u32,
+}
+impl ::core::marker::Copy for PANEL_QUERY_BRIGHTNESS_CAPS_0_0 {}
+impl ::core::clone::Clone for PANEL_QUERY_BRIGHTNESS_CAPS_0_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct PANEL_QUERY_BRIGHTNESS_RANGES {
+ pub Version: BRIGHTNESS_INTERFACE_VERSION,
+ pub Anonymous: PANEL_QUERY_BRIGHTNESS_RANGES_0,
+}
+impl ::core::marker::Copy for PANEL_QUERY_BRIGHTNESS_RANGES {}
+impl ::core::clone::Clone for PANEL_QUERY_BRIGHTNESS_RANGES {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub union PANEL_QUERY_BRIGHTNESS_RANGES_0 {
+ pub BrightnessLevel: BRIGHTNESS_LEVEL,
+ pub NitRanges: BRIGHTNESS_NIT_RANGES,
+}
+impl ::core::marker::Copy for PANEL_QUERY_BRIGHTNESS_RANGES_0 {}
+impl ::core::clone::Clone for PANEL_QUERY_BRIGHTNESS_RANGES_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct PANEL_SET_BACKLIGHT_OPTIMIZATION {
+ pub Level: BACKLIGHT_OPTIMIZATION_LEVEL,
+}
+impl ::core::marker::Copy for PANEL_SET_BACKLIGHT_OPTIMIZATION {}
+impl ::core::clone::Clone for PANEL_SET_BACKLIGHT_OPTIMIZATION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct PANEL_SET_BRIGHTNESS {
+ pub Version: BRIGHTNESS_INTERFACE_VERSION,
+ pub Anonymous: PANEL_SET_BRIGHTNESS_0,
+}
+impl ::core::marker::Copy for PANEL_SET_BRIGHTNESS {}
+impl ::core::clone::Clone for PANEL_SET_BRIGHTNESS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub union PANEL_SET_BRIGHTNESS_0 {
+ pub Level: u8,
+ pub Anonymous: PANEL_SET_BRIGHTNESS_0_0,
+}
+impl ::core::marker::Copy for PANEL_SET_BRIGHTNESS_0 {}
+impl ::core::clone::Clone for PANEL_SET_BRIGHTNESS_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct PANEL_SET_BRIGHTNESS_0_0 {
+ pub Millinits: u32,
+ pub TransitionTimeInMs: u32,
+ pub SensorData: PANEL_BRIGHTNESS_SENSOR_DATA,
+}
+impl ::core::marker::Copy for PANEL_SET_BRIGHTNESS_0_0 {}
+impl ::core::clone::Clone for PANEL_SET_BRIGHTNESS_0_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct PANEL_SET_BRIGHTNESS_STATE {
+ pub Anonymous: PANEL_SET_BRIGHTNESS_STATE_0,
+}
+impl ::core::marker::Copy for PANEL_SET_BRIGHTNESS_STATE {}
+impl ::core::clone::Clone for PANEL_SET_BRIGHTNESS_STATE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub union PANEL_SET_BRIGHTNESS_STATE_0 {
+ pub Anonymous: PANEL_SET_BRIGHTNESS_STATE_0_0,
+ pub Value: u32,
+}
+impl ::core::marker::Copy for PANEL_SET_BRIGHTNESS_STATE_0 {}
+impl ::core::clone::Clone for PANEL_SET_BRIGHTNESS_STATE_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct PANEL_SET_BRIGHTNESS_STATE_0_0 {
+ pub _bitfield: u32,
+}
+impl ::core::marker::Copy for PANEL_SET_BRIGHTNESS_STATE_0_0 {}
+impl ::core::clone::Clone for PANEL_SET_BRIGHTNESS_STATE_0_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct PATHDATA {
+ pub flags: u32,
+ pub count: u32,
+ pub pptfx: *mut POINTFIX,
+}
+impl ::core::marker::Copy for PATHDATA {}
+impl ::core::clone::Clone for PATHDATA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct PATHOBJ {
+ pub fl: u32,
+ pub cCurves: u32,
+}
+impl ::core::marker::Copy for PATHOBJ {}
+impl ::core::clone::Clone for PATHOBJ {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const PD_BEGINSUBPATH: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const PD_BEZIERS: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const PD_CLOSEFIGURE: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const PD_ENDSUBPATH: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const PD_RESETSTYLE: u32 = 4u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct PERBANDINFO {
+ pub bRepeatThisBand: super::super::Foundation::BOOL,
+ pub szlBand: super::super::Foundation::SIZE,
+ pub ulHorzRes: u32,
+ pub ulVertRes: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for PERBANDINFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for PERBANDINFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type PFN = ::core::option::Option<unsafe extern "system" fn() -> isize>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvAccumulateD3DDirtyRect = ::core::option::Option<unsafe extern "system" fn(param0: *mut SURFOBJ, param1: *mut CDDDXGK_REDIRBITMAPPRESENTINFO) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+pub type PFN_DrvAlphaBlend = ::core::option::Option<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>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvAssertMode = ::core::option::Option<unsafe extern "system" fn(param0: DHPDEV, param1: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvAssociateSharedSurface = ::core::option::Option<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>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvBitBlt = ::core::option::Option<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>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type PFN_DrvCompletePDEV = ::core::option::Option<unsafe extern "system" fn(param0: DHPDEV, param1: HDEV)>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvCopyBits = ::core::option::Option<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>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+pub type PFN_DrvCreateDeviceBitmap = ::core::option::Option<unsafe extern "system" fn(param0: DHPDEV, param1: super::super::Foundation::SIZE, param2: u32) -> super::super::Graphics::Gdi::HBITMAP>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+pub type PFN_DrvCreateDeviceBitmapEx = ::core::option::Option<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>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type PFN_DrvDeleteDeviceBitmap = ::core::option::Option<unsafe extern "system" fn(param0: DHSURF)>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type PFN_DrvDeleteDeviceBitmapEx = ::core::option::Option<unsafe extern "system" fn(param0: DHSURF)>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
+pub type PFN_DrvDeriveSurface = ::core::option::Option<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>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Graphics_OpenGL\"`*"]
+#[cfg(feature = "Win32_Graphics_OpenGL")]
+pub type PFN_DrvDescribePixelFormat = ::core::option::Option<unsafe extern "system" fn(param0: DHPDEV, param1: i32, param2: u32, param3: *mut super::super::Graphics::OpenGL::PIXELFORMATDESCRIPTOR) -> i32>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvDestroyFont = ::core::option::Option<unsafe extern "system" fn(param0: *mut FONTOBJ)>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type PFN_DrvDisableDirectDraw = ::core::option::Option<unsafe extern "system" fn(param0: DHPDEV)>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type PFN_DrvDisableDriver = ::core::option::Option<unsafe extern "system" fn()>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type PFN_DrvDisablePDEV = ::core::option::Option<unsafe extern "system" fn(param0: DHPDEV)>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type PFN_DrvDisableSurface = ::core::option::Option<unsafe extern "system" fn(param0: DHPDEV)>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type PFN_DrvDitherColor = ::core::option::Option<unsafe extern "system" fn(param0: DHPDEV, param1: u32, param2: u32, param3: *mut u32) -> u32>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvDrawEscape = ::core::option::Option<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>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
+pub type PFN_DrvEnableDirectDraw = ::core::option::Option<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>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvEnableDriver = ::core::option::Option<unsafe extern "system" fn(param0: u32, param1: u32, param2: *mut DRVENABLEDATA) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+pub type PFN_DrvEnablePDEV = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Graphics::Gdi::DEVMODEW, param1: ::windows_sys::core::PCWSTR, param2: u32, param3: *mut HSURF, param4: u32, param5: *mut GDIINFO, param6: u32, param7: *mut DEVINFO, param8: HDEV, param9: ::windows_sys::core::PCWSTR, param10: super::super::Foundation::HANDLE) -> DHPDEV>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type PFN_DrvEnableSurface = ::core::option::Option<unsafe extern "system" fn(param0: DHPDEV) -> HSURF>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvEndDoc = ::core::option::Option<unsafe extern "system" fn(pso: *mut SURFOBJ, fl: u32) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvEndDxInterop = ::core::option::Option<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>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvEscape = ::core::option::Option<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>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvFillPath = ::core::option::Option<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>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvFontManagement = ::core::option::Option<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>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type PFN_DrvFree = ::core::option::Option<unsafe extern "system" fn(param0: *mut ::core::ffi::c_void, param1: usize)>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
+pub type PFN_DrvGetDirectDrawInfo = ::core::option::Option<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>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvGetGlyphMode = ::core::option::Option<unsafe extern "system" fn(dhpdev: DHPDEV, pfo: *mut FONTOBJ) -> u32>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+pub type PFN_DrvGetModes = ::core::option::Option<unsafe extern "system" fn(param0: super::super::Foundation::HANDLE, param1: u32, param2: *mut super::super::Graphics::Gdi::DEVMODEW) -> u32>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type PFN_DrvGetTrueTypeFile = ::core::option::Option<unsafe extern "system" fn(param0: usize, param1: *mut u32) -> *mut ::core::ffi::c_void>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+pub type PFN_DrvGradientFill = ::core::option::Option<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>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvIcmCheckBitmapBits = ::core::option::Option<unsafe extern "system" fn(param0: DHPDEV, param1: super::super::Foundation::HANDLE, param2: *mut SURFOBJ, param3: *mut u8) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_ColorSystem\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_ColorSystem"))]
+pub type PFN_DrvIcmCreateColorTransform = ::core::option::Option<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>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvIcmDeleteColorTransform = ::core::option::Option<unsafe extern "system" fn(param0: DHPDEV, param1: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvIcmSetDeviceGammaRamp = ::core::option::Option<unsafe extern "system" fn(param0: DHPDEV, param1: u32, param2: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvLineTo = ::core::option::Option<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>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Graphics_Gdi\"`*"]
+#[cfg(feature = "Win32_Graphics_Gdi")]
+pub type PFN_DrvLoadFontFile = ::core::option::Option<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>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvLockDisplayArea = ::core::option::Option<unsafe extern "system" fn(param0: DHPDEV, param1: *mut super::super::Foundation::RECTL)>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvMovePointer = ::core::option::Option<unsafe extern "system" fn(pso: *mut SURFOBJ, x: i32, y: i32, prcl: *mut super::super::Foundation::RECTL)>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvNextBand = ::core::option::Option<unsafe extern "system" fn(param0: *mut SURFOBJ, ppointl: *mut super::super::Foundation::POINTL) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvNotify = ::core::option::Option<unsafe extern "system" fn(param0: *mut SURFOBJ, param1: u32, param2: *mut ::core::ffi::c_void)>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvPaint = ::core::option::Option<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>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+pub type PFN_DrvPlgBlt = ::core::option::Option<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>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvQueryAdvanceWidths = ::core::option::Option<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>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvQueryDeviceSupport = ::core::option::Option<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>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+pub type PFN_DrvQueryFont = ::core::option::Option<unsafe extern "system" fn(param0: DHPDEV, param1: usize, param2: u32, param3: *mut usize) -> *mut IFIMETRICS>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type PFN_DrvQueryFontCaps = ::core::option::Option<unsafe extern "system" fn(param0: u32, param1: *mut u32) -> i32>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvQueryFontData = ::core::option::Option<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>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type PFN_DrvQueryFontFile = ::core::option::Option<unsafe extern "system" fn(param0: usize, param1: u32, param2: u32, param3: *mut u32) -> i32>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type PFN_DrvQueryFontTree = ::core::option::Option<unsafe extern "system" fn(param0: DHPDEV, param1: usize, param2: u32, param3: u32, param4: *mut usize) -> *mut ::core::ffi::c_void>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvQueryGlyphAttrs = ::core::option::Option<unsafe extern "system" fn(param0: *mut FONTOBJ, param1: u32) -> *mut FD_GLYPHATTR>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvQueryPerBandInfo = ::core::option::Option<unsafe extern "system" fn(param0: *mut SURFOBJ, param1: *mut PERBANDINFO) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvQuerySpoolType = ::core::option::Option<unsafe extern "system" fn(dhpdev: DHPDEV, pwchtype: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+pub type PFN_DrvQueryTrueTypeOutline = ::core::option::Option<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>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvQueryTrueTypeSection = ::core::option::Option<unsafe extern "system" fn(param0: u32, param1: u32, param2: u32, param3: *mut super::super::Foundation::HANDLE, param4: *mut i32) -> i32>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type PFN_DrvQueryTrueTypeTable = ::core::option::Option<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>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvRealizeBrush = ::core::option::Option<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>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type PFN_DrvRenderHint = ::core::option::Option<unsafe extern "system" fn(dhpdev: DHPDEV, notifycode: u32, length: usize, data: *const ::core::ffi::c_void) -> i32>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type PFN_DrvResetDevice = ::core::option::Option<unsafe extern "system" fn(param0: DHPDEV, param1: *mut ::core::ffi::c_void) -> u32>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvResetPDEV = ::core::option::Option<unsafe extern "system" fn(dhpdevold: DHPDEV, dhpdevnew: DHPDEV) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvSaveScreenBits = ::core::option::Option<unsafe extern "system" fn(param0: *mut SURFOBJ, param1: u32, param2: usize, param3: *mut super::super::Foundation::RECTL) -> usize>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvSendPage = ::core::option::Option<unsafe extern "system" fn(param0: *mut SURFOBJ) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvSetPalette = ::core::option::Option<unsafe extern "system" fn(param0: DHPDEV, param1: *mut PALOBJ, param2: u32, param3: u32, param4: u32) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvSetPixelFormat = ::core::option::Option<unsafe extern "system" fn(param0: *mut SURFOBJ, param1: i32, param2: super::super::Foundation::HWND) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvSetPointerShape = ::core::option::Option<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>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvStartBanding = ::core::option::Option<unsafe extern "system" fn(param0: *mut SURFOBJ, ppointl: *mut super::super::Foundation::POINTL) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvStartDoc = ::core::option::Option<unsafe extern "system" fn(pso: *mut SURFOBJ, pwszdocname: ::windows_sys::core::PCWSTR, dwjobid: u32) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvStartDxInterop = ::core::option::Option<unsafe extern "system" fn(param0: *mut SURFOBJ, param1: super::super::Foundation::BOOL, kernelmodedevicehandle: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvStartPage = ::core::option::Option<unsafe extern "system" fn(pso: *mut SURFOBJ) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+pub type PFN_DrvStretchBlt = ::core::option::Option<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>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+pub type PFN_DrvStretchBltROP = ::core::option::Option<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>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvStrokeAndFillPath = ::core::option::Option<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>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvStrokePath = ::core::option::Option<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>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvSurfaceComplete = ::core::option::Option<unsafe extern "system" fn(param0: DHPDEV, param1: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvSwapBuffers = ::core::option::Option<unsafe extern "system" fn(param0: *mut SURFOBJ, param1: *mut WNDOBJ) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvSynchronize = ::core::option::Option<unsafe extern "system" fn(param0: DHPDEV, param1: *mut super::super::Foundation::RECTL)>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvSynchronizeRedirectionBitmaps = ::core::option::Option<unsafe extern "system" fn(param0: DHPDEV, param1: *mut u64) -> super::super::Foundation::NTSTATUS>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvSynchronizeSurface = ::core::option::Option<unsafe extern "system" fn(param0: *mut SURFOBJ, param1: *mut super::super::Foundation::RECTL, param2: u32)>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvTextOut = ::core::option::Option<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>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvTransparentBlt = ::core::option::Option<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>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvUnloadFontFile = ::core::option::Option<unsafe extern "system" fn(param0: usize) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_DrvUnlockDisplayArea = ::core::option::Option<unsafe extern "system" fn(param0: DHPDEV, param1: *mut super::super::Foundation::RECTL)>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_EngCombineRgn = ::core::option::Option<unsafe extern "system" fn(hrgntrg: super::super::Foundation::HANDLE, hrgnsrc1: super::super::Foundation::HANDLE, hrgnsrc2: super::super::Foundation::HANDLE, imode: i32) -> i32>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_EngCopyRgn = ::core::option::Option<unsafe extern "system" fn(hrgndst: super::super::Foundation::HANDLE, hrgnsrc: super::super::Foundation::HANDLE) -> i32>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_EngCreateRectRgn = ::core::option::Option<unsafe extern "system" fn(left: i32, top: i32, right: i32, bottom: i32) -> super::super::Foundation::HANDLE>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_EngDeleteRgn = ::core::option::Option<unsafe extern "system" fn(hrgn: super::super::Foundation::HANDLE)>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_EngIntersectRgn = ::core::option::Option<unsafe extern "system" fn(hrgnresult: super::super::Foundation::HANDLE, hrgna: super::super::Foundation::HANDLE, hrgnb: super::super::Foundation::HANDLE) -> i32>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_EngSubtractRgn = ::core::option::Option<unsafe extern "system" fn(hrgnresult: super::super::Foundation::HANDLE, hrgna: super::super::Foundation::HANDLE, hrgnb: super::super::Foundation::HANDLE) -> i32>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_EngUnionRgn = ::core::option::Option<unsafe extern "system" fn(hrgnresult: super::super::Foundation::HANDLE, hrgna: super::super::Foundation::HANDLE, hrgnb: super::super::Foundation::HANDLE) -> i32>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_EngXorRgn = ::core::option::Option<unsafe extern "system" fn(hrgnresult: super::super::Foundation::HANDLE, hrgna: super::super::Foundation::HANDLE, hrgnb: super::super::Foundation::HANDLE) -> i32>;
+#[repr(C, packed(1))]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct PHYSICAL_MONITOR {
+ pub hPhysicalMonitor: super::super::Foundation::HANDLE,
+ pub szPhysicalMonitorDescription: [u16; 128],
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for PHYSICAL_MONITOR {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for PHYSICAL_MONITOR {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const PHYSICAL_MONITOR_DESCRIPTION_SIZE: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const PLANAR_HC: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
+pub struct POINTE {
+ pub x: f32,
+ pub y: f32,
+}
+#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
+impl ::core::marker::Copy for POINTE {}
+#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
+impl ::core::clone::Clone for POINTE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+#[cfg(target_arch = "x86")]
+pub struct POINTE {
+ pub x: u32,
+ pub y: u32,
+}
+#[cfg(target_arch = "x86")]
+impl ::core::marker::Copy for POINTE {}
+#[cfg(target_arch = "x86")]
+impl ::core::clone::Clone for POINTE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct POINTFIX {
+ pub x: i32,
+ pub y: i32,
+}
+impl ::core::marker::Copy for POINTFIX {}
+impl ::core::clone::Clone for POINTFIX {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct POINTQF {
+ pub x: i64,
+ pub y: i64,
+}
+impl ::core::marker::Copy for POINTQF {}
+impl ::core::clone::Clone for POINTQF {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const PO_ALL_INTEGERS: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const PO_BEZIERS: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const PO_ELLIPSE: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const PO_ENUM_AS_INTEGERS: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const PO_WIDENED: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const PPC_BGR_ORDER_HORIZONTAL_STRIPES: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const PPC_BGR_ORDER_VERTICAL_STRIPES: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const PPC_DEFAULT: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const PPC_RGB_ORDER_HORIZONTAL_STRIPES: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const PPC_RGB_ORDER_VERTICAL_STRIPES: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const PPC_UNDEFINED: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const PPG_DEFAULT: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const PPG_SRGB: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const PRIMARY_ORDER_ABC: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const PRIMARY_ORDER_ACB: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const PRIMARY_ORDER_BAC: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const PRIMARY_ORDER_BCA: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const PRIMARY_ORDER_CAB: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const PRIMARY_ORDER_CBA: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type PVIDEO_WIN32K_CALLOUT = ::core::option::Option<unsafe extern "system" fn(params: *mut ::core::ffi::c_void)>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const QAW_GETEASYWIDTHS: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const QAW_GETWIDTHS: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const QC_1BIT: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const QC_4BIT: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const QC_OUTLINES: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const QDS_CHECKJPEGFORMAT: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const QDS_CHECKPNGFORMAT: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const QFD_GLYPHANDBITMAP: i32 = 1i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const QFD_GLYPHANDOUTLINE: i32 = 2i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const QFD_MAXEXTENTS: i32 = 3i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const QFD_TT_GLYPHANDBITMAP: i32 = 4i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const QFD_TT_GRAY1_BITMAP: i32 = 5i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const QFD_TT_GRAY2_BITMAP: i32 = 6i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const QFD_TT_GRAY4_BITMAP: i32 = 8i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const QFD_TT_GRAY8_BITMAP: i32 = 9i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const QFD_TT_MONO_BITMAP: i32 = 5i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const QFF_DESCRIPTION: i32 = 1i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const QFF_NUMFACES: i32 = 2i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const QFT_GLYPHSET: i32 = 3i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const QFT_KERNPAIRS: i32 = 2i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const QFT_LIGATURES: i32 = 1i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const QSA_3DNOW: u32 = 16384u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const QSA_MMX: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const QSA_SSE: u32 = 8192u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const QSA_SSE1: u32 = 8192u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const QSA_SSE2: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const QSA_SSE3: u32 = 524288u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const RB_DITHERCOLOR: i32 = -2147483648i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct RECTFX {
+ pub xLeft: i32,
+ pub yTop: i32,
+ pub xRight: i32,
+ pub yBottom: i32,
+}
+impl ::core::marker::Copy for RECTFX {}
+impl ::core::clone::Clone for RECTFX {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct RUN {
+ pub iStart: i32,
+ pub iStop: i32,
+}
+impl ::core::marker::Copy for RUN {}
+impl ::core::clone::Clone for RUN {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const SETCONFIGURATION_STATUS_ADDITIONAL: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const SETCONFIGURATION_STATUS_APPLIED: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const SETCONFIGURATION_STATUS_OVERRIDDEN: u32 = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct SET_ACTIVE_COLOR_PROFILE_NAME {
+ pub ColorProfileName: [u16; 1],
+}
+impl ::core::marker::Copy for SET_ACTIVE_COLOR_PROFILE_NAME {}
+impl ::core::clone::Clone for SET_ACTIVE_COLOR_PROFILE_NAME {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const SGI_EXTRASPACE: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type SORTCOMP = ::core::option::Option<unsafe extern "system" fn(pv1: *const ::core::ffi::c_void, pv2: *const ::core::ffi::c_void) -> i32>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const SO_BREAK_EXTRA: u32 = 4096u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const SO_CHARACTER_EXTRA: u32 = 2048u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const SO_CHAR_INC_EQUAL_BM_BASE: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const SO_DO_NOT_SUBSTITUTE_DEVICE_FONT: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const SO_DXDY: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const SO_ESC_NOT_ORIENT: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const SO_FLAG_DEFAULT_PLACEMENT: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const SO_GLYPHINDEX_TEXTOUT: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const SO_HORIZONTAL: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const SO_MAXEXT_EQUAL_BM_SIDE: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const SO_REVERSED: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const SO_VERTICAL: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const SO_ZERO_BEARINGS: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const SPS_ACCEPT_EXCLUDE: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const SPS_ACCEPT_NOEXCLUDE: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const SPS_ACCEPT_SYNCHRONOUS: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const SPS_ALPHA: i32 = 16i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const SPS_ANIMATESTART: i32 = 4i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const SPS_ANIMATEUPDATE: i32 = 8i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const SPS_ASYNCCHANGE: i32 = 2i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const SPS_CHANGE: i32 = 1i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const SPS_DECLINE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const SPS_ERROR: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const SPS_FLAGSMASK: i32 = 255i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const SPS_FREQMASK: i32 = 1044480i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const SPS_LENGTHMASK: i32 = 3840i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const SPS_RESERVED: i32 = 32i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const SPS_RESERVED1: i32 = 64i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const SS_FREE: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const SS_RESTORE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const SS_SAVE: u32 = 0u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct STROBJ {
+ pub cGlyphs: u32,
+ pub flAccel: u32,
+ pub ulCharInc: u32,
+ pub rclBkGround: super::super::Foundation::RECTL,
+ pub pgp: *mut GLYPHPOS,
+ pub pwszOrg: ::windows_sys::core::PWSTR,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for STROBJ {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for STROBJ {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const STYPE_BITMAP: i32 = 0i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const STYPE_DEVBITMAP: i32 = 3i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SURFOBJ {
+ pub dhsurf: DHSURF,
+ pub hsurf: HSURF,
+ pub dhpdev: DHPDEV,
+ pub hdev: HDEV,
+ pub sizlBitmap: super::super::Foundation::SIZE,
+ pub cjBits: u32,
+ pub pvBits: *mut ::core::ffi::c_void,
+ pub pvScan0: *mut ::core::ffi::c_void,
+ pub lDelta: i32,
+ pub iUniq: u32,
+ pub iBitmapFormat: u32,
+ pub iType: u16,
+ pub fjBitmap: u16,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SURFOBJ {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SURFOBJ {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const S_INIT: u32 = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct Sources {
+ pub sourceId: u32,
+ pub numTargets: i32,
+ pub aTargets: [u32; 1],
+}
+impl ::core::marker::Copy for Sources {}
+impl ::core::clone::Clone for Sources {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const TC_PATHOBJ: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const TC_RECTANGLES: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const TTO_METRICS_ONLY: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const TTO_QUBICS: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const TTO_UNHINTED: u32 = 4u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct TYPE1_FONT {
+ pub hPFM: super::super::Foundation::HANDLE,
+ pub hPFB: super::super::Foundation::HANDLE,
+ pub ulIdentifier: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for TYPE1_FONT {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for TYPE1_FONT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct VGA_CHAR {
+ pub Char: super::super::Foundation::CHAR,
+ pub Attributes: super::super::Foundation::CHAR,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for VGA_CHAR {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for VGA_CHAR {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct VIDEOPARAMETERS {
+ pub Guid: ::windows_sys::core::GUID,
+ pub dwOffset: u32,
+ pub dwCommand: u32,
+ pub dwFlags: u32,
+ pub dwMode: u32,
+ pub dwTVStandard: u32,
+ pub dwAvailableModes: u32,
+ pub dwAvailableTVStandard: u32,
+ pub dwFlickerFilter: u32,
+ pub dwOverScanX: u32,
+ pub dwOverScanY: u32,
+ pub dwMaxUnscaledX: u32,
+ pub dwMaxUnscaledY: u32,
+ pub dwPositionX: u32,
+ pub dwPositionY: u32,
+ pub dwBrightness: u32,
+ pub dwContrast: u32,
+ pub dwCPType: u32,
+ pub dwCPCommand: u32,
+ pub dwCPStandard: u32,
+ pub dwCPKey: u32,
+ pub bCP_APSTriggerBits: u32,
+ pub bOEMCopyProtection: [u8; 256],
+}
+impl ::core::marker::Copy for VIDEOPARAMETERS {}
+impl ::core::clone::Clone for VIDEOPARAMETERS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct VIDEO_BANK_SELECT {
+ pub Length: u32,
+ pub Size: u32,
+ pub BankingFlags: u32,
+ pub BankingType: u32,
+ pub PlanarHCBankingType: u32,
+ pub BitmapWidthInBytes: u32,
+ pub BitmapSize: u32,
+ pub Granularity: u32,
+ pub PlanarHCGranularity: u32,
+ pub CodeOffset: u32,
+ pub PlanarHCBankCodeOffset: u32,
+ pub PlanarHCEnableCodeOffset: u32,
+ pub PlanarHCDisableCodeOffset: u32,
+}
+impl ::core::marker::Copy for VIDEO_BANK_SELECT {}
+impl ::core::clone::Clone for VIDEO_BANK_SELECT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type VIDEO_BANK_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VideoNotBanked: VIDEO_BANK_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VideoBanked1RW: VIDEO_BANK_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VideoBanked1R1W: VIDEO_BANK_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VideoBanked2RW: VIDEO_BANK_TYPE = 3i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const NumVideoBankTypes: VIDEO_BANK_TYPE = 4i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct VIDEO_BRIGHTNESS_POLICY {
+ pub DefaultToBiosPolicy: super::super::Foundation::BOOLEAN,
+ pub LevelCount: u8,
+ pub Level: [VIDEO_BRIGHTNESS_POLICY_0; 1],
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for VIDEO_BRIGHTNESS_POLICY {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for VIDEO_BRIGHTNESS_POLICY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct VIDEO_BRIGHTNESS_POLICY_0 {
+ pub BatteryLevel: u8,
+ pub Brightness: u8,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for VIDEO_BRIGHTNESS_POLICY_0 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for VIDEO_BRIGHTNESS_POLICY_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct VIDEO_CLUT {
+ pub NumEntries: u16,
+ pub FirstEntry: u16,
+ pub LookupTable: [VIDEO_CLUT_0; 1],
+}
+impl ::core::marker::Copy for VIDEO_CLUT {}
+impl ::core::clone::Clone for VIDEO_CLUT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub union VIDEO_CLUT_0 {
+ pub RgbArray: VIDEO_CLUTDATA,
+ pub RgbLong: u32,
+}
+impl ::core::marker::Copy for VIDEO_CLUT_0 {}
+impl ::core::clone::Clone for VIDEO_CLUT_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct VIDEO_CLUTDATA {
+ pub Red: u8,
+ pub Green: u8,
+ pub Blue: u8,
+ pub Unused: u8,
+}
+impl ::core::marker::Copy for VIDEO_CLUTDATA {}
+impl ::core::clone::Clone for VIDEO_CLUTDATA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct VIDEO_COLOR_CAPABILITIES {
+ pub Length: u32,
+ pub AttributeFlags: u32,
+ pub RedPhosphoreDecay: i32,
+ pub GreenPhosphoreDecay: i32,
+ pub BluePhosphoreDecay: i32,
+ pub WhiteChromaticity_x: i32,
+ pub WhiteChromaticity_y: i32,
+ pub WhiteChromaticity_Y: i32,
+ pub RedChromaticity_x: i32,
+ pub RedChromaticity_y: i32,
+ pub GreenChromaticity_x: i32,
+ pub GreenChromaticity_y: i32,
+ pub BlueChromaticity_x: i32,
+ pub BlueChromaticity_y: i32,
+ pub WhiteGamma: i32,
+ pub RedGamma: i32,
+ pub GreenGamma: i32,
+ pub BlueGamma: i32,
+}
+impl ::core::marker::Copy for VIDEO_COLOR_CAPABILITIES {}
+impl ::core::clone::Clone for VIDEO_COLOR_CAPABILITIES {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct VIDEO_COLOR_LUT_DATA {
+ pub Length: u32,
+ pub LutDataFormat: u32,
+ pub LutData: [u8; 1],
+}
+impl ::core::marker::Copy for VIDEO_COLOR_LUT_DATA {}
+impl ::core::clone::Clone for VIDEO_COLOR_LUT_DATA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VIDEO_COLOR_LUT_DATA_FORMAT_PRIVATEFORMAT: u32 = 2147483648u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VIDEO_COLOR_LUT_DATA_FORMAT_RGB256WORDS: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct VIDEO_CURSOR_ATTRIBUTES {
+ pub Width: u16,
+ pub Height: u16,
+ pub Column: i16,
+ pub Row: i16,
+ pub Rate: u8,
+ pub Enable: u8,
+}
+impl ::core::marker::Copy for VIDEO_CURSOR_ATTRIBUTES {}
+impl ::core::clone::Clone for VIDEO_CURSOR_ATTRIBUTES {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct VIDEO_CURSOR_POSITION {
+ pub Column: i16,
+ pub Row: i16,
+}
+impl ::core::marker::Copy for VIDEO_CURSOR_POSITION {}
+impl ::core::clone::Clone for VIDEO_CURSOR_POSITION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VIDEO_DEVICE_COLOR: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VIDEO_DEVICE_NAME: &str = "DISPLAY%d";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct VIDEO_DEVICE_SESSION_STATUS {
+ pub bEnable: u32,
+ pub bSuccess: u32,
+}
+impl ::core::marker::Copy for VIDEO_DEVICE_SESSION_STATUS {}
+impl ::core::clone::Clone for VIDEO_DEVICE_SESSION_STATUS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VIDEO_DUALVIEW_PRIMARY: u32 = 2147483648u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VIDEO_DUALVIEW_REMOVABLE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VIDEO_DUALVIEW_SECONDARY: u32 = 1073741824u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VIDEO_DUALVIEW_WDDM_VGA: u32 = 536870912u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct VIDEO_HARDWARE_STATE {
+ pub StateHeader: *mut VIDEO_HARDWARE_STATE_HEADER,
+ pub StateLength: u32,
+}
+impl ::core::marker::Copy for VIDEO_HARDWARE_STATE {}
+impl ::core::clone::Clone for VIDEO_HARDWARE_STATE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct VIDEO_HARDWARE_STATE_HEADER {
+ pub Length: u32,
+ pub PortValue: [u8; 48],
+ pub AttribIndexDataState: u32,
+ pub BasicSequencerOffset: u32,
+ pub BasicCrtContOffset: u32,
+ pub BasicGraphContOffset: u32,
+ pub BasicAttribContOffset: u32,
+ pub BasicDacOffset: u32,
+ pub BasicLatchesOffset: u32,
+ pub ExtendedSequencerOffset: u32,
+ pub ExtendedCrtContOffset: u32,
+ pub ExtendedGraphContOffset: u32,
+ pub ExtendedAttribContOffset: u32,
+ pub ExtendedDacOffset: u32,
+ pub ExtendedValidatorStateOffset: u32,
+ pub ExtendedMiscDataOffset: u32,
+ pub PlaneLength: u32,
+ pub Plane1Offset: u32,
+ pub Plane2Offset: u32,
+ pub Plane3Offset: u32,
+ pub Plane4Offset: u32,
+ pub VGAStateFlags: u32,
+ pub DIBOffset: u32,
+ pub DIBBitsPerPixel: u32,
+ pub DIBXResolution: u32,
+ pub DIBYResolution: u32,
+ pub DIBXlatOffset: u32,
+ pub DIBXlatLength: u32,
+ pub VesaInfoOffset: u32,
+ pub FrameBufferData: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for VIDEO_HARDWARE_STATE_HEADER {}
+impl ::core::clone::Clone for VIDEO_HARDWARE_STATE_HEADER {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct VIDEO_LOAD_FONT_INFORMATION {
+ pub WidthInPixels: u16,
+ pub HeightInPixels: u16,
+ pub FontSize: u32,
+ pub Font: [u8; 1],
+}
+impl ::core::marker::Copy for VIDEO_LOAD_FONT_INFORMATION {}
+impl ::core::clone::Clone for VIDEO_LOAD_FONT_INFORMATION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct VIDEO_LUT_RGB256WORDS {
+ pub Red: [u16; 256],
+ pub Green: [u16; 256],
+ pub Blue: [u16; 256],
+}
+impl ::core::marker::Copy for VIDEO_LUT_RGB256WORDS {}
+impl ::core::clone::Clone for VIDEO_LUT_RGB256WORDS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VIDEO_MAX_REASON: u32 = 9u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct VIDEO_MEMORY {
+ pub RequestedVirtualAddress: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for VIDEO_MEMORY {}
+impl ::core::clone::Clone for VIDEO_MEMORY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct VIDEO_MEMORY_INFORMATION {
+ pub VideoRamBase: *mut ::core::ffi::c_void,
+ pub VideoRamLength: u32,
+ pub FrameBufferBase: *mut ::core::ffi::c_void,
+ pub FrameBufferLength: u32,
+}
+impl ::core::marker::Copy for VIDEO_MEMORY_INFORMATION {}
+impl ::core::clone::Clone for VIDEO_MEMORY_INFORMATION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct VIDEO_MODE {
+ pub RequestedMode: u32,
+}
+impl ::core::marker::Copy for VIDEO_MODE {}
+impl ::core::clone::Clone for VIDEO_MODE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VIDEO_MODE_ANIMATE_START: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VIDEO_MODE_ANIMATE_UPDATE: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VIDEO_MODE_ASYNC_POINTER: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VIDEO_MODE_BANKED: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VIDEO_MODE_COLOR: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VIDEO_MODE_COLOR_POINTER: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VIDEO_MODE_GRAPHICS: u32 = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct VIDEO_MODE_INFORMATION {
+ pub Length: u32,
+ pub ModeIndex: u32,
+ pub VisScreenWidth: u32,
+ pub VisScreenHeight: u32,
+ pub ScreenStride: u32,
+ pub NumberOfPlanes: u32,
+ pub BitsPerPlane: u32,
+ pub Frequency: u32,
+ pub XMillimeter: u32,
+ pub YMillimeter: u32,
+ pub NumberRedBits: u32,
+ pub NumberGreenBits: u32,
+ pub NumberBlueBits: u32,
+ pub RedMask: u32,
+ pub GreenMask: u32,
+ pub BlueMask: u32,
+ pub AttributeFlags: u32,
+ pub VideoMemoryBitmapWidth: u32,
+ pub VideoMemoryBitmapHeight: u32,
+ pub DriverSpecificAttributeFlags: u32,
+}
+impl ::core::marker::Copy for VIDEO_MODE_INFORMATION {}
+impl ::core::clone::Clone for VIDEO_MODE_INFORMATION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VIDEO_MODE_INTERLACED: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VIDEO_MODE_LINEAR: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VIDEO_MODE_MANAGED_PALETTE: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VIDEO_MODE_MAP_MEM_LINEAR: u32 = 1073741824u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VIDEO_MODE_MONO_POINTER: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VIDEO_MODE_NO_64_BIT_ACCESS: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VIDEO_MODE_NO_OFF_SCREEN: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VIDEO_MODE_NO_ZERO_MEMORY: u32 = 2147483648u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VIDEO_MODE_PALETTE_DRIVEN: u32 = 4u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct VIDEO_MONITOR_DESCRIPTOR {
+ pub DescriptorSize: u32,
+ pub Descriptor: [u8; 1],
+}
+impl ::core::marker::Copy for VIDEO_MONITOR_DESCRIPTOR {}
+impl ::core::clone::Clone for VIDEO_MONITOR_DESCRIPTOR {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct VIDEO_NUM_MODES {
+ pub NumModes: u32,
+ pub ModeInformationLength: u32,
+}
+impl ::core::marker::Copy for VIDEO_NUM_MODES {}
+impl ::core::clone::Clone for VIDEO_NUM_MODES {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VIDEO_OPTIONAL_GAMMET_TABLE: u32 = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct VIDEO_PALETTE_DATA {
+ pub NumEntries: u16,
+ pub FirstEntry: u16,
+ pub Colors: [u16; 1],
+}
+impl ::core::marker::Copy for VIDEO_PALETTE_DATA {}
+impl ::core::clone::Clone for VIDEO_PALETTE_DATA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct VIDEO_PERFORMANCE_COUNTER {
+ pub NbOfAllocationEvicted: [u64; 10],
+ pub NbOfAllocationMarked: [u64; 10],
+ pub NbOfAllocationRestored: [u64; 10],
+ pub KBytesEvicted: [u64; 10],
+ pub KBytesMarked: [u64; 10],
+ pub KBytesRestored: [u64; 10],
+ pub NbProcessCommited: u64,
+ pub NbAllocationCommited: u64,
+ pub NbAllocationMarked: u64,
+ pub KBytesAllocated: u64,
+ pub KBytesAvailable: u64,
+ pub KBytesCurMarked: u64,
+ pub Reference: u64,
+ pub Unreference: u64,
+ pub TrueReference: u64,
+ pub NbOfPageIn: u64,
+ pub KBytesPageIn: u64,
+ pub NbOfPageOut: u64,
+ pub KBytesPageOut: u64,
+ pub NbOfRotateOut: u64,
+ pub KBytesRotateOut: u64,
+}
+impl ::core::marker::Copy for VIDEO_PERFORMANCE_COUNTER {}
+impl ::core::clone::Clone for VIDEO_PERFORMANCE_COUNTER {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct VIDEO_POINTER_ATTRIBUTES {
+ pub Flags: u32,
+ pub Width: u32,
+ pub Height: u32,
+ pub WidthInBytes: u32,
+ pub Enable: u32,
+ pub Column: i16,
+ pub Row: i16,
+ pub Pixels: [u8; 1],
+}
+impl ::core::marker::Copy for VIDEO_POINTER_ATTRIBUTES {}
+impl ::core::clone::Clone for VIDEO_POINTER_ATTRIBUTES {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct VIDEO_POINTER_CAPABILITIES {
+ pub Flags: u32,
+ pub MaxWidth: u32,
+ pub MaxHeight: u32,
+ pub HWPtrBitmapStart: u32,
+ pub HWPtrBitmapEnd: u32,
+}
+impl ::core::marker::Copy for VIDEO_POINTER_CAPABILITIES {}
+impl ::core::clone::Clone for VIDEO_POINTER_CAPABILITIES {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct VIDEO_POINTER_POSITION {
+ pub Column: i16,
+ pub Row: i16,
+}
+impl ::core::marker::Copy for VIDEO_POINTER_POSITION {}
+impl ::core::clone::Clone for VIDEO_POINTER_POSITION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct VIDEO_POWER_MANAGEMENT {
+ pub Length: u32,
+ pub DPMSVersion: u32,
+ pub PowerState: u32,
+}
+impl ::core::marker::Copy for VIDEO_POWER_MANAGEMENT {}
+impl ::core::clone::Clone for VIDEO_POWER_MANAGEMENT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type VIDEO_POWER_STATE = i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VideoPowerUnspecified: VIDEO_POWER_STATE = 0i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VideoPowerOn: VIDEO_POWER_STATE = 1i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VideoPowerStandBy: VIDEO_POWER_STATE = 2i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VideoPowerSuspend: VIDEO_POWER_STATE = 3i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VideoPowerOff: VIDEO_POWER_STATE = 4i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VideoPowerHibernate: VIDEO_POWER_STATE = 5i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VideoPowerShutdown: VIDEO_POWER_STATE = 6i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VideoPowerMaximum: VIDEO_POWER_STATE = 7i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct VIDEO_PUBLIC_ACCESS_RANGES {
+ pub InIoSpace: u32,
+ pub MappedInIoSpace: u32,
+ pub VirtualAddress: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for VIDEO_PUBLIC_ACCESS_RANGES {}
+impl ::core::clone::Clone for VIDEO_PUBLIC_ACCESS_RANGES {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct VIDEO_QUERY_PERFORMANCE_COUNTER {
+ pub BufferSize: u32,
+ pub Buffer: *mut VIDEO_PERFORMANCE_COUNTER,
+}
+impl ::core::marker::Copy for VIDEO_QUERY_PERFORMANCE_COUNTER {}
+impl ::core::clone::Clone for VIDEO_QUERY_PERFORMANCE_COUNTER {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VIDEO_REASON_ALLOCATION: u32 = 6u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VIDEO_REASON_CONFIGURATION: u32 = 9u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VIDEO_REASON_FAILED_ROTATION: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VIDEO_REASON_LOCK: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VIDEO_REASON_NONE: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VIDEO_REASON_POLICY1: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VIDEO_REASON_POLICY2: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VIDEO_REASON_POLICY3: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VIDEO_REASON_POLICY4: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VIDEO_REASON_SCRATCH: u32 = 8u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct VIDEO_REGISTER_VDM {
+ pub MinimumStateSize: u32,
+}
+impl ::core::marker::Copy for VIDEO_REGISTER_VDM {}
+impl ::core::clone::Clone for VIDEO_REGISTER_VDM {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct VIDEO_SHARE_MEMORY {
+ pub ProcessHandle: super::super::Foundation::HANDLE,
+ pub ViewOffset: u32,
+ pub ViewSize: u32,
+ pub RequestedVirtualAddress: *mut ::core::ffi::c_void,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for VIDEO_SHARE_MEMORY {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for VIDEO_SHARE_MEMORY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct VIDEO_SHARE_MEMORY_INFORMATION {
+ pub SharedViewOffset: u32,
+ pub SharedViewSize: u32,
+ pub VirtualAddress: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for VIDEO_SHARE_MEMORY_INFORMATION {}
+impl ::core::clone::Clone for VIDEO_SHARE_MEMORY_INFORMATION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VIDEO_STATE_NON_STANDARD_VGA: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VIDEO_STATE_PACKED_CHAIN4_MODE: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VIDEO_STATE_UNEMULATED_VGA_STATE: u32 = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct VIDEO_VDM {
+ pub ProcessHandle: super::super::Foundation::HANDLE,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for VIDEO_VDM {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for VIDEO_VDM {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct VIDEO_WIN32K_CALLBACKS {
+ pub PhysDisp: *mut ::core::ffi::c_void,
+ pub Callout: PVIDEO_WIN32K_CALLOUT,
+ pub bACPI: u32,
+ pub pPhysDeviceObject: super::super::Foundation::HANDLE,
+ pub DualviewFlags: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for VIDEO_WIN32K_CALLBACKS {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for VIDEO_WIN32K_CALLBACKS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct VIDEO_WIN32K_CALLBACKS_PARAMS {
+ pub CalloutType: VIDEO_WIN32K_CALLBACKS_PARAMS_TYPE,
+ pub PhysDisp: *mut ::core::ffi::c_void,
+ pub Param: usize,
+ pub Status: i32,
+ pub LockUserSession: super::super::Foundation::BOOLEAN,
+ pub IsPostDevice: super::super::Foundation::BOOLEAN,
+ pub SurpriseRemoval: super::super::Foundation::BOOLEAN,
+ pub WaitForQueueReady: super::super::Foundation::BOOLEAN,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for VIDEO_WIN32K_CALLBACKS_PARAMS {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for VIDEO_WIN32K_CALLBACKS_PARAMS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub type VIDEO_WIN32K_CALLBACKS_PARAMS_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VideoPowerNotifyCallout: VIDEO_WIN32K_CALLBACKS_PARAMS_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VideoEnumChildPdoNotifyCallout: VIDEO_WIN32K_CALLBACKS_PARAMS_TYPE = 3i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VideoFindAdapterCallout: VIDEO_WIN32K_CALLBACKS_PARAMS_TYPE = 4i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VideoPnpNotifyCallout: VIDEO_WIN32K_CALLBACKS_PARAMS_TYPE = 7i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VideoDxgkDisplaySwitchCallout: VIDEO_WIN32K_CALLBACKS_PARAMS_TYPE = 8i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VideoDxgkFindAdapterTdrCallout: VIDEO_WIN32K_CALLBACKS_PARAMS_TYPE = 10i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VideoDxgkHardwareProtectionTeardown: VIDEO_WIN32K_CALLBACKS_PARAMS_TYPE = 11i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VideoRepaintDesktop: VIDEO_WIN32K_CALLBACKS_PARAMS_TYPE = 12i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VideoUpdateCursor: VIDEO_WIN32K_CALLBACKS_PARAMS_TYPE = 13i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VideoDisableMultiPlaneOverlay: VIDEO_WIN32K_CALLBACKS_PARAMS_TYPE = 14i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VideoDesktopDuplicationChange: VIDEO_WIN32K_CALLBACKS_PARAMS_TYPE = 15i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const VideoBlackScreenDiagnostics: VIDEO_WIN32K_CALLBACKS_PARAMS_TYPE = 16i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct WCRUN {
+ pub wcLow: u16,
+ pub cGlyphs: u16,
+ pub phg: *mut u32,
+}
+impl ::core::marker::Copy for WCRUN {}
+impl ::core::clone::Clone for WCRUN {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const WINDDI_MAXSETPALETTECOLORINDEX: u32 = 255u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const WINDDI_MAXSETPALETTECOLORS: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const WINDDI_MAX_BROADCAST_CONTEXT: u32 = 64u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WNDOBJ {
+ pub coClient: CLIPOBJ,
+ pub pvConsumer: *mut ::core::ffi::c_void,
+ pub rclClient: super::super::Foundation::RECTL,
+ pub psoOwner: *mut SURFOBJ,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WNDOBJ {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WNDOBJ {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type WNDOBJCHANGEPROC = ::core::option::Option<unsafe extern "system" fn(pwo: *mut WNDOBJ, fl: u32)>;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const WNDOBJ_SETUP: u32 = 4354u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const WOC_CHANGED: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const WOC_DELETE: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const WOC_DRAWN: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const WOC_RGN_CLIENT: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const WOC_RGN_CLIENT_DELTA: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const WOC_RGN_SPRITE: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const WOC_RGN_SURFACE: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const WOC_RGN_SURFACE_DELTA: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const WOC_SPRITE_NO_OVERLAP: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const WOC_SPRITE_OVERLAP: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const WO_DRAW_NOTIFY: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const WO_RGN_CLIENT: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const WO_RGN_CLIENT_DELTA: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const WO_RGN_DESKTOP_COORD: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const WO_RGN_SPRITE: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const WO_RGN_SURFACE: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const WO_RGN_SURFACE_DELTA: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const WO_RGN_UPDATE_ALL: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const WO_RGN_WINDOW: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const WO_SPRITE_NOTIFY: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const WVIDEO_DEVICE_NAME: &str = "DISPLAY%d";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
+pub struct XFORML {
+ pub eM11: f32,
+ pub eM12: f32,
+ pub eM21: f32,
+ pub eM22: f32,
+ pub eDx: f32,
+ pub eDy: f32,
+}
+#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
+impl ::core::marker::Copy for XFORML {}
+#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
+impl ::core::clone::Clone for XFORML {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+#[cfg(target_arch = "x86")]
+pub struct XFORML {
+ pub eM11: u32,
+ pub eM12: u32,
+ pub eM21: u32,
+ pub eM22: u32,
+ pub eDx: u32,
+ pub eDy: u32,
+}
+#[cfg(target_arch = "x86")]
+impl ::core::marker::Copy for XFORML {}
+#[cfg(target_arch = "x86")]
+impl ::core::clone::Clone for XFORML {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct XFORMOBJ {
+ pub ulReserved: u32,
+}
+impl ::core::marker::Copy for XFORMOBJ {}
+impl ::core::clone::Clone for XFORMOBJ {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const XF_INV_FXTOL: i32 = 3i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const XF_INV_LTOL: i32 = 1i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const XF_LTOFX: i32 = 2i32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const XF_LTOL: i32 = 0i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub struct XLATEOBJ {
+ pub iUniq: u32,
+ pub flXlate: u32,
+ pub iSrcType: u16,
+ pub iDstType: u16,
+ pub cEntries: u32,
+ pub pulXlate: *mut u32,
+}
+impl ::core::marker::Copy for XLATEOBJ {}
+impl ::core::clone::Clone for XLATEOBJ {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const XO_DESTBITFIELDS: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const XO_DESTDCPALETTE: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const XO_DESTPALETTE: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const XO_DEVICE_ICM: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const XO_FROM_CMYK: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const XO_HOST_ICM: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const XO_SRCBITFIELDS: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const XO_SRCPALETTE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const XO_TABLE: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const XO_TO_MONO: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
+pub const XO_TRIVIAL: u32 = 1u32;