]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys/src/Windows/Win32/Devices/Display/mod.rs
New upstream version 1.62.1+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Win32 / Devices / Display / mod.rs
1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
2 #[link(name = "windows")]
3 extern "system" {
4 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
5 #[cfg(feature = "Win32_Foundation")]
6 pub fn BRUSHOBJ_hGetColorTransform(pbo: *mut BRUSHOBJ) -> super::super::Foundation::HANDLE;
7 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
8 pub fn BRUSHOBJ_pvAllocRbrush(pbo: *mut BRUSHOBJ, cj: u32) -> *mut ::core::ffi::c_void;
9 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
10 pub fn BRUSHOBJ_pvGetRbrush(pbo: *mut BRUSHOBJ) -> *mut ::core::ffi::c_void;
11 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
12 pub fn BRUSHOBJ_ulGetBrushColor(pbo: *mut BRUSHOBJ) -> u32;
13 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
14 #[cfg(feature = "Win32_Foundation")]
15 pub fn CLIPOBJ_bEnum(pco: *mut CLIPOBJ, cj: u32, pul: *mut u32) -> super::super::Foundation::BOOL;
16 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
17 #[cfg(feature = "Win32_Foundation")]
18 pub fn CLIPOBJ_cEnumStart(pco: *mut CLIPOBJ, ball: super::super::Foundation::BOOL, itype: u32, idirection: u32, climit: u32) -> u32;
19 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
20 #[cfg(feature = "Win32_Foundation")]
21 pub fn CLIPOBJ_ppoGetPath(pco: *mut CLIPOBJ) -> *mut PATHOBJ;
22 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
23 #[cfg(feature = "Win32_Foundation")]
24 pub fn CapabilitiesRequestAndCapabilitiesReply(hmonitor: super::super::Foundation::HANDLE, pszasciicapabilitiesstring: ::windows_sys::core::PSTR, dwcapabilitiesstringlengthincharacters: u32) -> i32;
25 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
26 #[cfg(feature = "Win32_Foundation")]
27 pub fn DegaussMonitor(hmonitor: super::super::Foundation::HANDLE) -> i32;
28 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
29 #[cfg(feature = "Win32_Foundation")]
30 pub fn DestroyPhysicalMonitor(hmonitor: super::super::Foundation::HANDLE) -> i32;
31 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
32 #[cfg(feature = "Win32_Foundation")]
33 pub fn DestroyPhysicalMonitors(dwphysicalmonitorarraysize: u32, pphysicalmonitorarray: *const PHYSICAL_MONITOR) -> i32;
34 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
35 #[cfg(feature = "Win32_Foundation")]
36 pub fn DisplayConfigGetDeviceInfo(requestpacket: *mut DISPLAYCONFIG_DEVICE_INFO_HEADER) -> i32;
37 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
38 #[cfg(feature = "Win32_Foundation")]
39 pub fn DisplayConfigSetDeviceInfo(setpacket: *const DISPLAYCONFIG_DEVICE_INFO_HEADER) -> i32;
40 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
41 pub fn EngAcquireSemaphore(hsem: HSEMAPHORE);
42 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
43 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
44 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;
45 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
46 #[cfg(feature = "Win32_Foundation")]
47 pub fn EngAssociateSurface(hsurf: HSURF, hdev: HDEV, flhooks: u32) -> super::super::Foundation::BOOL;
48 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
49 #[cfg(feature = "Win32_Foundation")]
50 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;
51 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
52 #[cfg(feature = "Win32_Foundation")]
53 pub fn EngCheckAbort(pso: *mut SURFOBJ) -> super::super::Foundation::BOOL;
54 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
55 pub fn EngComputeGlyphSet(ncodepage: i32, nfirstchar: i32, cchars: i32) -> *mut FD_GLYPHSET;
56 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
57 #[cfg(feature = "Win32_Foundation")]
58 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;
59 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
60 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
61 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;
62 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
63 #[cfg(feature = "Win32_Foundation")]
64 pub fn EngCreateClip() -> *mut CLIPOBJ;
65 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
66 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
67 pub fn EngCreateDeviceBitmap(dhsurf: DHSURF, sizl: super::super::Foundation::SIZE, iformatcompat: u32) -> super::super::Graphics::Gdi::HBITMAP;
68 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
69 #[cfg(feature = "Win32_Foundation")]
70 pub fn EngCreateDeviceSurface(dhsurf: DHSURF, sizl: super::super::Foundation::SIZE, iformatcompat: u32) -> HSURF;
71 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Graphics_Gdi\"`*"]
72 #[cfg(feature = "Win32_Graphics_Gdi")]
73 pub fn EngCreatePalette(imode: u32, ccolors: u32, pulcolors: *mut u32, flred: u32, flgreen: u32, flblue: u32) -> super::super::Graphics::Gdi::HPALETTE;
74 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
75 pub fn EngCreateSemaphore() -> HSEMAPHORE;
76 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
77 #[cfg(feature = "Win32_Foundation")]
78 pub fn EngDeleteClip(pco: *const CLIPOBJ);
79 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
80 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
81 pub fn EngDeletePalette(hpal: super::super::Graphics::Gdi::HPALETTE) -> super::super::Foundation::BOOL;
82 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
83 pub fn EngDeletePath(ppo: *mut PATHOBJ);
84 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
85 pub fn EngDeleteSemaphore(hsem: HSEMAPHORE);
86 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
87 #[cfg(feature = "Win32_Foundation")]
88 pub fn EngDeleteSurface(hsurf: HSURF) -> super::super::Foundation::BOOL;
89 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
90 #[cfg(feature = "Win32_Foundation")]
91 pub fn EngEraseSurface(pso: *mut SURFOBJ, prcl: *mut super::super::Foundation::RECTL, icolor: u32) -> super::super::Foundation::BOOL;
92 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
93 #[cfg(feature = "Win32_Foundation")]
94 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;
95 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
96 #[cfg(feature = "Win32_Foundation")]
97 pub fn EngFindResource(h: super::super::Foundation::HANDLE, iname: i32, itype: i32, pulsize: *mut u32) -> *mut ::core::ffi::c_void;
98 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
99 #[cfg(feature = "Win32_Foundation")]
100 pub fn EngFreeModule(h: super::super::Foundation::HANDLE);
101 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
102 pub fn EngGetCurrentCodePage(oemcodepage: *mut u16, ansicodepage: *mut u16);
103 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
104 pub fn EngGetDriverName(hdev: HDEV) -> ::windows_sys::core::PWSTR;
105 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
106 pub fn EngGetPrinterDataFileName(hdev: HDEV) -> ::windows_sys::core::PWSTR;
107 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
108 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
109 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;
110 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
111 #[cfg(feature = "Win32_Foundation")]
112 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;
113 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
114 #[cfg(feature = "Win32_Foundation")]
115 pub fn EngLoadModule(pwsz: ::windows_sys::core::PCWSTR) -> super::super::Foundation::HANDLE;
116 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
117 #[cfg(feature = "Win32_Foundation")]
118 pub fn EngLockSurface(hsurf: HSURF) -> *mut SURFOBJ;
119 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
120 #[cfg(feature = "Win32_Foundation")]
121 pub fn EngMarkBandingSurface(hsurf: HSURF) -> super::super::Foundation::BOOL;
122 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
123 pub fn EngMultiByteToUnicodeN(unicodestring: ::windows_sys::core::PWSTR, maxbytesinunicodestring: u32, bytesinunicodestring: *mut u32, multibytestring: ::windows_sys::core::PCSTR, bytesinmultibytestring: u32);
124 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
125 pub fn EngMultiByteToWideChar(codepage: u32, widecharstring: ::windows_sys::core::PWSTR, bytesinwidecharstring: i32, multibytestring: ::windows_sys::core::PCSTR, bytesinmultibytestring: i32) -> i32;
126 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
127 #[cfg(feature = "Win32_Foundation")]
128 pub fn EngPaint(pso: *mut SURFOBJ, pco: *mut CLIPOBJ, pbo: *mut BRUSHOBJ, pptlbrushorg: *mut super::super::Foundation::POINTL, mix: u32) -> super::super::Foundation::BOOL;
129 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
130 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
131 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;
132 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
133 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
134 pub fn EngQueryEMFInfo(hdev: HDEV, pemfinfo: *mut EMFINFO) -> super::super::Foundation::BOOL;
135 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
136 pub fn EngQueryLocalTime(param0: *mut ENG_TIME_FIELDS);
137 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
138 pub fn EngReleaseSemaphore(hsem: HSEMAPHORE);
139 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
140 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
141 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;
142 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
143 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
144 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;
145 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
146 #[cfg(feature = "Win32_Foundation")]
147 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;
148 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
149 #[cfg(feature = "Win32_Foundation")]
150 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;
151 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
152 #[cfg(feature = "Win32_Foundation")]
153 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;
154 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
155 #[cfg(feature = "Win32_Foundation")]
156 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;
157 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
158 pub fn EngUnicodeToMultiByteN(multibytestring: ::windows_sys::core::PSTR, maxbytesinmultibytestring: u32, bytesinmultibytestring: *mut u32, unicodestring: ::windows_sys::core::PCWSTR, bytesinunicodestring: u32);
159 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
160 #[cfg(feature = "Win32_Foundation")]
161 pub fn EngUnlockSurface(pso: *mut SURFOBJ);
162 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
163 pub fn EngWideCharToMultiByte(codepage: u32, widecharstring: ::windows_sys::core::PCWSTR, bytesinwidecharstring: i32, multibytestring: ::windows_sys::core::PSTR, bytesinmultibytestring: i32) -> i32;
164 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
165 #[cfg(feature = "Win32_Foundation")]
166 pub fn FONTOBJ_cGetAllGlyphHandles(pfo: *mut FONTOBJ, phg: *mut u32) -> u32;
167 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
168 #[cfg(feature = "Win32_Foundation")]
169 pub fn FONTOBJ_cGetGlyphs(pfo: *mut FONTOBJ, imode: u32, cglyph: u32, phg: *mut u32, ppvglyph: *mut *mut ::core::ffi::c_void) -> u32;
170 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
171 #[cfg(feature = "Win32_Foundation")]
172 pub fn FONTOBJ_pQueryGlyphAttrs(pfo: *mut FONTOBJ, imode: u32) -> *mut FD_GLYPHATTR;
173 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
174 #[cfg(feature = "Win32_Foundation")]
175 pub fn FONTOBJ_pfdg(pfo: *mut FONTOBJ) -> *mut FD_GLYPHSET;
176 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
177 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
178 pub fn FONTOBJ_pifi(pfo: *const FONTOBJ) -> *mut IFIMETRICS;
179 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
180 #[cfg(feature = "Win32_Foundation")]
181 pub fn FONTOBJ_pvTrueTypeFontFile(pfo: *mut FONTOBJ, pcjfile: *mut u32) -> *mut ::core::ffi::c_void;
182 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
183 #[cfg(feature = "Win32_Foundation")]
184 pub fn FONTOBJ_pxoGetXform(pfo: *const FONTOBJ) -> *mut XFORMOBJ;
185 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
186 #[cfg(feature = "Win32_Foundation")]
187 pub fn FONTOBJ_vGetInfo(pfo: *mut FONTOBJ, cjsize: u32, pfi: *mut FONTINFO);
188 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
189 #[cfg(feature = "Win32_Foundation")]
190 pub fn GetAutoRotationState(pstate: *mut AR_STATE) -> super::super::Foundation::BOOL;
191 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
192 #[cfg(feature = "Win32_Foundation")]
193 pub fn GetCapabilitiesStringLength(hmonitor: super::super::Foundation::HANDLE, pdwcapabilitiesstringlengthincharacters: *mut u32) -> i32;
194 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
195 #[cfg(feature = "Win32_Foundation")]
196 pub fn GetDisplayAutoRotationPreferences(porientation: *mut ORIENTATION_PREFERENCE) -> super::super::Foundation::BOOL;
197 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
198 pub fn GetDisplayConfigBufferSizes(flags: u32, numpatharrayelements: *mut u32, nummodeinfoarrayelements: *mut u32) -> i32;
199 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
200 #[cfg(feature = "Win32_Foundation")]
201 pub fn GetMonitorBrightness(hmonitor: super::super::Foundation::HANDLE, pdwminimumbrightness: *mut u32, pdwcurrentbrightness: *mut u32, pdwmaximumbrightness: *mut u32) -> i32;
202 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
203 #[cfg(feature = "Win32_Foundation")]
204 pub fn GetMonitorCapabilities(hmonitor: super::super::Foundation::HANDLE, pdwmonitorcapabilities: *mut u32, pdwsupportedcolortemperatures: *mut u32) -> i32;
205 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
206 #[cfg(feature = "Win32_Foundation")]
207 pub fn GetMonitorColorTemperature(hmonitor: super::super::Foundation::HANDLE, pctcurrentcolortemperature: *mut MC_COLOR_TEMPERATURE) -> i32;
208 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
209 #[cfg(feature = "Win32_Foundation")]
210 pub fn GetMonitorContrast(hmonitor: super::super::Foundation::HANDLE, pdwminimumcontrast: *mut u32, pdwcurrentcontrast: *mut u32, pdwmaximumcontrast: *mut u32) -> i32;
211 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
212 #[cfg(feature = "Win32_Foundation")]
213 pub fn GetMonitorDisplayAreaPosition(hmonitor: super::super::Foundation::HANDLE, ptpositiontype: MC_POSITION_TYPE, pdwminimumposition: *mut u32, pdwcurrentposition: *mut u32, pdwmaximumposition: *mut u32) -> i32;
214 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
215 #[cfg(feature = "Win32_Foundation")]
216 pub fn GetMonitorDisplayAreaSize(hmonitor: super::super::Foundation::HANDLE, stsizetype: MC_SIZE_TYPE, pdwminimumwidthorheight: *mut u32, pdwcurrentwidthorheight: *mut u32, pdwmaximumwidthorheight: *mut u32) -> i32;
217 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
218 #[cfg(feature = "Win32_Foundation")]
219 pub fn GetMonitorRedGreenOrBlueDrive(hmonitor: super::super::Foundation::HANDLE, dtdrivetype: MC_DRIVE_TYPE, pdwminimumdrive: *mut u32, pdwcurrentdrive: *mut u32, pdwmaximumdrive: *mut u32) -> i32;
220 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
221 #[cfg(feature = "Win32_Foundation")]
222 pub fn GetMonitorRedGreenOrBlueGain(hmonitor: super::super::Foundation::HANDLE, gtgaintype: MC_GAIN_TYPE, pdwminimumgain: *mut u32, pdwcurrentgain: *mut u32, pdwmaximumgain: *mut u32) -> i32;
223 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
224 #[cfg(feature = "Win32_Foundation")]
225 pub fn GetMonitorTechnologyType(hmonitor: super::super::Foundation::HANDLE, pdtydisplaytechnologytype: *mut MC_DISPLAY_TECHNOLOGY_TYPE) -> i32;
226 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Graphics_Gdi\"`*"]
227 #[cfg(feature = "Win32_Graphics_Gdi")]
228 pub fn GetNumberOfPhysicalMonitorsFromHMONITOR(hmonitor: super::super::Graphics::Gdi::HMONITOR, pdwnumberofphysicalmonitors: *mut u32) -> i32;
229 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Graphics_Direct3D9\"`*"]
230 #[cfg(feature = "Win32_Graphics_Direct3D9")]
231 pub fn GetNumberOfPhysicalMonitorsFromIDirect3DDevice9(pdirect3ddevice9: super::super::Graphics::Direct3D9::IDirect3DDevice9, pdwnumberofphysicalmonitors: *mut u32) -> ::windows_sys::core::HRESULT;
232 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
233 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
234 pub fn GetPhysicalMonitorsFromHMONITOR(hmonitor: super::super::Graphics::Gdi::HMONITOR, dwphysicalmonitorarraysize: u32, pphysicalmonitorarray: *mut PHYSICAL_MONITOR) -> i32;
235 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`*"]
236 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
237 pub fn GetPhysicalMonitorsFromIDirect3DDevice9(pdirect3ddevice9: super::super::Graphics::Direct3D9::IDirect3DDevice9, dwphysicalmonitorarraysize: u32, pphysicalmonitorarray: *mut PHYSICAL_MONITOR) -> ::windows_sys::core::HRESULT;
238 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
239 #[cfg(feature = "Win32_Foundation")]
240 pub fn GetTimingReport(hmonitor: super::super::Foundation::HANDLE, pmtrmonitortimingreport: *mut MC_TIMING_REPORT) -> i32;
241 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
242 #[cfg(feature = "Win32_Foundation")]
243 pub fn GetVCPFeatureAndVCPFeatureReply(hmonitor: super::super::Foundation::HANDLE, bvcpcode: u8, pvct: *mut MC_VCP_CODE_TYPE, pdwcurrentvalue: *mut u32, pdwmaximumvalue: *mut u32) -> i32;
244 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Graphics_Gdi\"`*"]
245 #[cfg(feature = "Win32_Graphics_Gdi")]
246 pub fn HT_Get8BPPFormatPalette(ppaletteentry: *mut super::super::Graphics::Gdi::PALETTEENTRY, redgamma: u16, greengamma: u16, bluegamma: u16) -> i32;
247 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
248 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
249 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;
250 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
251 #[cfg(feature = "Win32_Foundation")]
252 pub fn PATHOBJ_bEnum(ppo: *mut PATHOBJ, ppd: *mut PATHDATA) -> super::super::Foundation::BOOL;
253 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
254 #[cfg(feature = "Win32_Foundation")]
255 pub fn PATHOBJ_bEnumClipLines(ppo: *mut PATHOBJ, cb: u32, pcl: *mut CLIPLINE) -> super::super::Foundation::BOOL;
256 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
257 pub fn PATHOBJ_vEnumStart(ppo: *mut PATHOBJ);
258 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
259 #[cfg(feature = "Win32_Foundation")]
260 pub fn PATHOBJ_vEnumStartClipLines(ppo: *mut PATHOBJ, pco: *mut CLIPOBJ, pso: *mut SURFOBJ, pla: *mut LINEATTRS);
261 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
262 pub fn PATHOBJ_vGetBounds(ppo: *mut PATHOBJ, prectfx: *mut RECTFX);
263 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
264 #[cfg(feature = "Win32_Foundation")]
265 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;
266 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
267 #[cfg(feature = "Win32_Foundation")]
268 pub fn RestoreMonitorFactoryColorDefaults(hmonitor: super::super::Foundation::HANDLE) -> i32;
269 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
270 #[cfg(feature = "Win32_Foundation")]
271 pub fn RestoreMonitorFactoryDefaults(hmonitor: super::super::Foundation::HANDLE) -> i32;
272 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
273 #[cfg(feature = "Win32_Foundation")]
274 pub fn STROBJ_bEnum(pstro: *mut STROBJ, pc: *mut u32, ppgpos: *mut *mut GLYPHPOS) -> super::super::Foundation::BOOL;
275 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
276 #[cfg(feature = "Win32_Foundation")]
277 pub fn STROBJ_bEnumPositionsOnly(pstro: *mut STROBJ, pc: *mut u32, ppgpos: *mut *mut GLYPHPOS) -> super::super::Foundation::BOOL;
278 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
279 #[cfg(feature = "Win32_Foundation")]
280 pub fn STROBJ_bGetAdvanceWidths(pso: *mut STROBJ, ifirst: u32, c: u32, pptqd: *mut POINTQF) -> super::super::Foundation::BOOL;
281 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
282 #[cfg(feature = "Win32_Foundation")]
283 pub fn STROBJ_dwGetCodePage(pstro: *mut STROBJ) -> u32;
284 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
285 #[cfg(feature = "Win32_Foundation")]
286 pub fn STROBJ_vEnumStart(pstro: *mut STROBJ);
287 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
288 #[cfg(feature = "Win32_Foundation")]
289 pub fn SaveCurrentMonitorSettings(hmonitor: super::super::Foundation::HANDLE) -> i32;
290 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
291 #[cfg(feature = "Win32_Foundation")]
292 pub fn SaveCurrentSettings(hmonitor: super::super::Foundation::HANDLE) -> i32;
293 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
294 #[cfg(feature = "Win32_Foundation")]
295 pub fn SetDisplayAutoRotationPreferences(orientation: ORIENTATION_PREFERENCE) -> super::super::Foundation::BOOL;
296 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
297 #[cfg(feature = "Win32_Foundation")]
298 pub fn SetDisplayConfig(numpatharrayelements: u32, patharray: *const DISPLAYCONFIG_PATH_INFO, nummodeinfoarrayelements: u32, modeinfoarray: *const DISPLAYCONFIG_MODE_INFO, flags: u32) -> i32;
299 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
300 #[cfg(feature = "Win32_Foundation")]
301 pub fn SetMonitorBrightness(hmonitor: super::super::Foundation::HANDLE, dwnewbrightness: u32) -> i32;
302 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
303 #[cfg(feature = "Win32_Foundation")]
304 pub fn SetMonitorColorTemperature(hmonitor: super::super::Foundation::HANDLE, ctcurrentcolortemperature: MC_COLOR_TEMPERATURE) -> i32;
305 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
306 #[cfg(feature = "Win32_Foundation")]
307 pub fn SetMonitorContrast(hmonitor: super::super::Foundation::HANDLE, dwnewcontrast: u32) -> i32;
308 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
309 #[cfg(feature = "Win32_Foundation")]
310 pub fn SetMonitorDisplayAreaPosition(hmonitor: super::super::Foundation::HANDLE, ptpositiontype: MC_POSITION_TYPE, dwnewposition: u32) -> i32;
311 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
312 #[cfg(feature = "Win32_Foundation")]
313 pub fn SetMonitorDisplayAreaSize(hmonitor: super::super::Foundation::HANDLE, stsizetype: MC_SIZE_TYPE, dwnewdisplayareawidthorheight: u32) -> i32;
314 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
315 #[cfg(feature = "Win32_Foundation")]
316 pub fn SetMonitorRedGreenOrBlueDrive(hmonitor: super::super::Foundation::HANDLE, dtdrivetype: MC_DRIVE_TYPE, dwnewdrive: u32) -> i32;
317 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
318 #[cfg(feature = "Win32_Foundation")]
319 pub fn SetMonitorRedGreenOrBlueGain(hmonitor: super::super::Foundation::HANDLE, gtgaintype: MC_GAIN_TYPE, dwnewgain: u32) -> i32;
320 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
321 #[cfg(feature = "Win32_Foundation")]
322 pub fn SetVCPFeature(hmonitor: super::super::Foundation::HANDLE, bvcpcode: u8, dwnewvalue: u32) -> i32;
323 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
324 #[cfg(feature = "Win32_Foundation")]
325 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;
326 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
327 pub fn XFORMOBJ_iGetXform(pxo: *const XFORMOBJ, pxform: *mut XFORML) -> u32;
328 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
329 pub fn XLATEOBJ_cGetPalette(pxlo: *mut XLATEOBJ, ipal: u32, cpal: u32, ppal: *mut u32) -> u32;
330 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
331 #[cfg(feature = "Win32_Foundation")]
332 pub fn XLATEOBJ_hGetColorTransform(pxlo: *mut XLATEOBJ) -> super::super::Foundation::HANDLE;
333 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
334 pub fn XLATEOBJ_iXlate(pxlo: *mut XLATEOBJ, icolor: u32) -> u32;
335 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
336 pub fn XLATEOBJ_piVector(pxlo: *mut XLATEOBJ) -> *mut u32;
337 }
338 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
339 pub type AR_STATE = i32;
340 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
341 pub const AR_ENABLED: AR_STATE = 0i32;
342 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
343 pub const AR_DISABLED: AR_STATE = 1i32;
344 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
345 pub const AR_SUPPRESSED: AR_STATE = 2i32;
346 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
347 pub const AR_REMOTESESSION: AR_STATE = 4i32;
348 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
349 pub const AR_MULTIMON: AR_STATE = 8i32;
350 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
351 pub const AR_NOSENSOR: AR_STATE = 16i32;
352 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
353 pub const AR_NOT_SUPPORTED: AR_STATE = 32i32;
354 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
355 pub const AR_DOCKED: AR_STATE = 64i32;
356 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
357 pub const AR_LAPTOP: AR_STATE = 128i32;
358 #[repr(C)]
359 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
360 pub struct Adapter {
361 pub AdapterName: [u16; 128],
362 pub numSources: i32,
363 pub sources: [Sources; 1],
364 }
365 impl ::core::marker::Copy for Adapter {}
366 impl ::core::clone::Clone for Adapter {
367 fn clone(&self) -> Self {
368 *self
369 }
370 }
371 #[repr(C)]
372 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
373 pub struct Adapters {
374 pub numAdapters: i32,
375 pub adapter: [Adapter; 1],
376 }
377 impl ::core::marker::Copy for Adapters {}
378 impl ::core::clone::Clone for Adapters {
379 fn clone(&self) -> Self {
380 *self
381 }
382 }
383 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
384 pub type BACKLIGHT_OPTIMIZATION_LEVEL = i32;
385 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
386 pub const BacklightOptimizationDisable: BACKLIGHT_OPTIMIZATION_LEVEL = 0i32;
387 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
388 pub const BacklightOptimizationDesktop: BACKLIGHT_OPTIMIZATION_LEVEL = 1i32;
389 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
390 pub const BacklightOptimizationDynamic: BACKLIGHT_OPTIMIZATION_LEVEL = 2i32;
391 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
392 pub const BacklightOptimizationDimmed: BACKLIGHT_OPTIMIZATION_LEVEL = 3i32;
393 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
394 pub const BacklightOptimizationEDR: BACKLIGHT_OPTIMIZATION_LEVEL = 4i32;
395 #[repr(C)]
396 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
397 pub struct BACKLIGHT_REDUCTION_GAMMA_RAMP {
398 pub R: [u16; 256],
399 pub G: [u16; 256],
400 pub B: [u16; 256],
401 }
402 impl ::core::marker::Copy for BACKLIGHT_REDUCTION_GAMMA_RAMP {}
403 impl ::core::clone::Clone for BACKLIGHT_REDUCTION_GAMMA_RAMP {
404 fn clone(&self) -> Self {
405 *self
406 }
407 }
408 #[repr(C)]
409 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
410 pub struct BANK_POSITION {
411 pub ReadBankPosition: u32,
412 pub WriteBankPosition: u32,
413 }
414 impl ::core::marker::Copy for BANK_POSITION {}
415 impl ::core::clone::Clone for BANK_POSITION {
416 fn clone(&self) -> Self {
417 *self
418 }
419 }
420 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
421 pub const BITMAP_ARRAY_BYTE: u32 = 3u32;
422 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
423 pub const BITMAP_BITS_BYTE_ALIGN: u32 = 8u32;
424 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
425 pub const BITMAP_BITS_PIXEL: u32 = 1u32;
426 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
427 pub const BITMAP_BITS_WORD_ALIGN: u32 = 16u32;
428 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
429 pub const BITMAP_PLANES: u32 = 1u32;
430 #[repr(C)]
431 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Graphics_Gdi\"`*"]
432 #[cfg(feature = "Win32_Graphics_Gdi")]
433 pub struct BLENDOBJ {
434 pub BlendFunction: super::super::Graphics::Gdi::BLENDFUNCTION,
435 }
436 #[cfg(feature = "Win32_Graphics_Gdi")]
437 impl ::core::marker::Copy for BLENDOBJ {}
438 #[cfg(feature = "Win32_Graphics_Gdi")]
439 impl ::core::clone::Clone for BLENDOBJ {
440 fn clone(&self) -> Self {
441 *self
442 }
443 }
444 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
445 pub const BMF_16BPP: i32 = 4i32;
446 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
447 pub const BMF_1BPP: i32 = 1i32;
448 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
449 pub const BMF_24BPP: i32 = 5i32;
450 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
451 pub const BMF_32BPP: i32 = 6i32;
452 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
453 pub const BMF_4BPP: i32 = 2i32;
454 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
455 pub const BMF_4RLE: i32 = 7i32;
456 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
457 pub const BMF_8BPP: i32 = 3i32;
458 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
459 pub const BMF_8RLE: i32 = 8i32;
460 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
461 pub const BMF_ACC_NOTIFY: u32 = 32768u32;
462 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
463 pub const BMF_DONTCACHE: u32 = 4u32;
464 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
465 pub const BMF_JPEG: i32 = 9i32;
466 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
467 pub const BMF_KMSECTION: u32 = 16u32;
468 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
469 pub const BMF_NOTSYSMEM: u32 = 32u32;
470 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
471 pub const BMF_NOZEROINIT: u32 = 2u32;
472 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
473 pub const BMF_PNG: i32 = 10i32;
474 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
475 pub const BMF_RESERVED: u32 = 15872u32;
476 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
477 pub const BMF_RMT_ENTER: u32 = 16384u32;
478 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
479 pub const BMF_TEMP_ALPHA: u32 = 256u32;
480 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
481 pub const BMF_TOPDOWN: u32 = 1u32;
482 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
483 pub const BMF_UMPDMEM: u32 = 128u32;
484 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
485 pub const BMF_USERMEM: u32 = 8u32;
486 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
487 pub const BMF_WINDOW_BLT: u32 = 64u32;
488 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
489 pub type BRIGHTNESS_INTERFACE_VERSION = i32;
490 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
491 pub const BRIGHTNESS_INTERFACE_VERSION_1: BRIGHTNESS_INTERFACE_VERSION = 1i32;
492 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
493 pub const BRIGHTNESS_INTERFACE_VERSION_2: BRIGHTNESS_INTERFACE_VERSION = 2i32;
494 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
495 pub const BRIGHTNESS_INTERFACE_VERSION_3: BRIGHTNESS_INTERFACE_VERSION = 3i32;
496 #[repr(C)]
497 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
498 pub struct BRIGHTNESS_LEVEL {
499 pub Count: u8,
500 pub Level: [u8; 103],
501 }
502 impl ::core::marker::Copy for BRIGHTNESS_LEVEL {}
503 impl ::core::clone::Clone for BRIGHTNESS_LEVEL {
504 fn clone(&self) -> Self {
505 *self
506 }
507 }
508 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
509 pub const BRIGHTNESS_MAX_LEVEL_COUNT: u32 = 103u32;
510 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
511 pub const BRIGHTNESS_MAX_NIT_RANGE_COUNT: u32 = 16u32;
512 #[repr(C)]
513 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
514 pub struct BRIGHTNESS_NIT_RANGE {
515 pub MinLevelInMillinit: u32,
516 pub MaxLevelInMillinit: u32,
517 pub StepSizeInMillinit: u32,
518 }
519 impl ::core::marker::Copy for BRIGHTNESS_NIT_RANGE {}
520 impl ::core::clone::Clone for BRIGHTNESS_NIT_RANGE {
521 fn clone(&self) -> Self {
522 *self
523 }
524 }
525 #[repr(C)]
526 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
527 pub struct BRIGHTNESS_NIT_RANGES {
528 pub NormalRangeCount: u32,
529 pub RangeCount: u32,
530 pub PreferredMaximumBrightness: u32,
531 pub SupportedRanges: [BRIGHTNESS_NIT_RANGE; 16],
532 }
533 impl ::core::marker::Copy for BRIGHTNESS_NIT_RANGES {}
534 impl ::core::clone::Clone for BRIGHTNESS_NIT_RANGES {
535 fn clone(&self) -> Self {
536 *self
537 }
538 }
539 #[repr(C)]
540 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
541 pub struct BRUSHOBJ {
542 pub iSolidColor: u32,
543 pub pvRbrush: *mut ::core::ffi::c_void,
544 pub flColorType: u32,
545 }
546 impl ::core::marker::Copy for BRUSHOBJ {}
547 impl ::core::clone::Clone for BRUSHOBJ {
548 fn clone(&self) -> Self {
549 *self
550 }
551 }
552 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
553 pub const BR_CMYKCOLOR: u32 = 4u32;
554 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
555 pub const BR_DEVICE_ICM: u32 = 1u32;
556 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
557 pub const BR_HOST_ICM: u32 = 2u32;
558 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
559 pub const BR_ORIGCOLOR: u32 = 8u32;
560 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
561 pub type BlackScreenDiagnosticsCalloutParam = i32;
562 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
563 pub const BlackScreenDiagnosticsData: BlackScreenDiagnosticsCalloutParam = 1i32;
564 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
565 pub const BlackScreenDisplayRecovery: BlackScreenDiagnosticsCalloutParam = 2i32;
566 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
567 pub const CDBEX_CROSSADAPTER: u32 = 8u32;
568 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
569 pub const CDBEX_DXINTEROP: u32 = 2u32;
570 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
571 pub const CDBEX_NTSHAREDSURFACEHANDLE: u32 = 4u32;
572 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
573 pub const CDBEX_REDIRECTION: u32 = 1u32;
574 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
575 pub const CDBEX_REUSE: u32 = 16u32;
576 #[repr(C)]
577 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
578 #[cfg(feature = "Win32_Foundation")]
579 pub struct CDDDXGK_REDIRBITMAPPRESENTINFO {
580 pub NumDirtyRects: u32,
581 pub DirtyRect: *mut super::super::Foundation::RECT,
582 pub NumContexts: u32,
583 pub hContext: [super::super::Foundation::HANDLE; 65],
584 pub bDoNotSynchronizeWithDxContent: super::super::Foundation::BOOLEAN,
585 }
586 #[cfg(feature = "Win32_Foundation")]
587 impl ::core::marker::Copy for CDDDXGK_REDIRBITMAPPRESENTINFO {}
588 #[cfg(feature = "Win32_Foundation")]
589 impl ::core::clone::Clone for CDDDXGK_REDIRBITMAPPRESENTINFO {
590 fn clone(&self) -> Self {
591 *self
592 }
593 }
594 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
595 pub const CD_ANY: i32 = 4i32;
596 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
597 pub const CD_LEFTDOWN: i32 = 1i32;
598 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
599 pub const CD_LEFTUP: i32 = 3i32;
600 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
601 pub const CD_LEFTWARDS: i32 = 1i32;
602 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
603 pub const CD_RIGHTDOWN: i32 = 0i32;
604 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
605 pub const CD_RIGHTUP: i32 = 2i32;
606 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
607 pub const CD_UPWARDS: i32 = 2i32;
608 #[repr(C)]
609 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_System_Console\"`*"]
610 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Console"))]
611 pub struct CHAR_IMAGE_INFO {
612 pub CharInfo: super::super::System::Console::CHAR_INFO,
613 pub FontImageInfo: FONT_IMAGE_INFO,
614 }
615 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Console"))]
616 impl ::core::marker::Copy for CHAR_IMAGE_INFO {}
617 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Console"))]
618 impl ::core::clone::Clone for CHAR_IMAGE_INFO {
619 fn clone(&self) -> Self {
620 *self
621 }
622 }
623 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
624 pub const CHAR_TYPE_LEADING: u32 = 2u32;
625 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
626 pub const CHAR_TYPE_SBCS: u32 = 0u32;
627 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
628 pub const CHAR_TYPE_TRAILING: u32 = 3u32;
629 #[repr(C)]
630 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
631 pub struct CHROMATICITY_COORDINATE {
632 pub x: f32,
633 pub y: f32,
634 }
635 impl ::core::marker::Copy for CHROMATICITY_COORDINATE {}
636 impl ::core::clone::Clone for CHROMATICITY_COORDINATE {
637 fn clone(&self) -> Self {
638 *self
639 }
640 }
641 #[repr(C)]
642 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
643 pub struct CIECHROMA {
644 pub x: i32,
645 pub y: i32,
646 pub Y: i32,
647 }
648 impl ::core::marker::Copy for CIECHROMA {}
649 impl ::core::clone::Clone for CIECHROMA {
650 fn clone(&self) -> Self {
651 *self
652 }
653 }
654 #[repr(C)]
655 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
656 pub struct CLIPLINE {
657 pub ptfxA: POINTFIX,
658 pub ptfxB: POINTFIX,
659 pub lStyleState: i32,
660 pub c: u32,
661 pub arun: [RUN; 1],
662 }
663 impl ::core::marker::Copy for CLIPLINE {}
664 impl ::core::clone::Clone for CLIPLINE {
665 fn clone(&self) -> Self {
666 *self
667 }
668 }
669 #[repr(C)]
670 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
671 #[cfg(feature = "Win32_Foundation")]
672 pub struct CLIPOBJ {
673 pub iUniq: u32,
674 pub rclBounds: super::super::Foundation::RECTL,
675 pub iDComplexity: u8,
676 pub iFComplexity: u8,
677 pub iMode: u8,
678 pub fjOptions: u8,
679 }
680 #[cfg(feature = "Win32_Foundation")]
681 impl ::core::marker::Copy for CLIPOBJ {}
682 #[cfg(feature = "Win32_Foundation")]
683 impl ::core::clone::Clone for CLIPOBJ {
684 fn clone(&self) -> Self {
685 *self
686 }
687 }
688 #[repr(C)]
689 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
690 pub struct COLORINFO {
691 pub Red: CIECHROMA,
692 pub Green: CIECHROMA,
693 pub Blue: CIECHROMA,
694 pub Cyan: CIECHROMA,
695 pub Magenta: CIECHROMA,
696 pub Yellow: CIECHROMA,
697 pub AlignmentWhite: CIECHROMA,
698 pub RedGamma: i32,
699 pub GreenGamma: i32,
700 pub BlueGamma: i32,
701 pub MagentaInCyanDye: i32,
702 pub YellowInCyanDye: i32,
703 pub CyanInMagentaDye: i32,
704 pub YellowInMagentaDye: i32,
705 pub CyanInYellowDye: i32,
706 pub MagentaInYellowDye: i32,
707 }
708 impl ::core::marker::Copy for COLORINFO {}
709 impl ::core::clone::Clone for COLORINFO {
710 fn clone(&self) -> Self {
711 *self
712 }
713 }
714 #[repr(C)]
715 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
716 pub struct COLORSPACE_TRANSFORM {
717 pub Type: COLORSPACE_TRANSFORM_TYPE,
718 pub Data: COLORSPACE_TRANSFORM_0,
719 }
720 impl ::core::marker::Copy for COLORSPACE_TRANSFORM {}
721 impl ::core::clone::Clone for COLORSPACE_TRANSFORM {
722 fn clone(&self) -> Self {
723 *self
724 }
725 }
726 #[repr(C)]
727 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
728 pub union COLORSPACE_TRANSFORM_0 {
729 pub Rgb256x3x16: GAMMA_RAMP_RGB256x3x16,
730 pub Dxgi1: GAMMA_RAMP_DXGI_1,
731 pub T3x4: COLORSPACE_TRANSFORM_3x4,
732 pub MatrixV2: COLORSPACE_TRANSFORM_MATRIX_V2,
733 }
734 impl ::core::marker::Copy for COLORSPACE_TRANSFORM_0 {}
735 impl ::core::clone::Clone for COLORSPACE_TRANSFORM_0 {
736 fn clone(&self) -> Self {
737 *self
738 }
739 }
740 #[repr(C)]
741 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
742 pub struct COLORSPACE_TRANSFORM_1DLUT_CAP {
743 pub NumberOfLUTEntries: u32,
744 pub DataCap: COLORSPACE_TRANSFORM_DATA_CAP,
745 }
746 impl ::core::marker::Copy for COLORSPACE_TRANSFORM_1DLUT_CAP {}
747 impl ::core::clone::Clone for COLORSPACE_TRANSFORM_1DLUT_CAP {
748 fn clone(&self) -> Self {
749 *self
750 }
751 }
752 #[repr(C)]
753 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
754 pub struct COLORSPACE_TRANSFORM_3x4 {
755 pub ColorMatrix3x4: [f32; 12],
756 pub ScalarMultiplier: f32,
757 pub LookupTable1D: [GAMMA_RAMP_RGB; 4096],
758 }
759 impl ::core::marker::Copy for COLORSPACE_TRANSFORM_3x4 {}
760 impl ::core::clone::Clone for COLORSPACE_TRANSFORM_3x4 {
761 fn clone(&self) -> Self {
762 *self
763 }
764 }
765 #[repr(C)]
766 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
767 pub struct COLORSPACE_TRANSFORM_DATA_CAP {
768 pub DataType: COLORSPACE_TRANSFORM_DATA_TYPE,
769 pub Anonymous: COLORSPACE_TRANSFORM_DATA_CAP_0,
770 pub NumericRangeMin: f32,
771 pub NumericRangeMax: f32,
772 }
773 impl ::core::marker::Copy for COLORSPACE_TRANSFORM_DATA_CAP {}
774 impl ::core::clone::Clone for COLORSPACE_TRANSFORM_DATA_CAP {
775 fn clone(&self) -> Self {
776 *self
777 }
778 }
779 #[repr(C)]
780 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
781 pub union COLORSPACE_TRANSFORM_DATA_CAP_0 {
782 pub Anonymous1: COLORSPACE_TRANSFORM_DATA_CAP_0_0,
783 pub Anonymous2: COLORSPACE_TRANSFORM_DATA_CAP_0_1,
784 pub Value: u32,
785 }
786 impl ::core::marker::Copy for COLORSPACE_TRANSFORM_DATA_CAP_0 {}
787 impl ::core::clone::Clone for COLORSPACE_TRANSFORM_DATA_CAP_0 {
788 fn clone(&self) -> Self {
789 *self
790 }
791 }
792 #[repr(C)]
793 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
794 pub struct COLORSPACE_TRANSFORM_DATA_CAP_0_0 {
795 pub _bitfield: u32,
796 }
797 impl ::core::marker::Copy for COLORSPACE_TRANSFORM_DATA_CAP_0_0 {}
798 impl ::core::clone::Clone for COLORSPACE_TRANSFORM_DATA_CAP_0_0 {
799 fn clone(&self) -> Self {
800 *self
801 }
802 }
803 #[repr(C)]
804 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
805 pub struct COLORSPACE_TRANSFORM_DATA_CAP_0_1 {
806 pub _bitfield: u32,
807 }
808 impl ::core::marker::Copy for COLORSPACE_TRANSFORM_DATA_CAP_0_1 {}
809 impl ::core::clone::Clone for COLORSPACE_TRANSFORM_DATA_CAP_0_1 {
810 fn clone(&self) -> Self {
811 *self
812 }
813 }
814 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
815 pub type COLORSPACE_TRANSFORM_DATA_TYPE = i32;
816 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
817 pub const COLORSPACE_TRANSFORM_DATA_TYPE_FIXED_POINT: COLORSPACE_TRANSFORM_DATA_TYPE = 0i32;
818 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
819 pub const COLORSPACE_TRANSFORM_DATA_TYPE_FLOAT: COLORSPACE_TRANSFORM_DATA_TYPE = 1i32;
820 #[repr(C)]
821 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
822 pub struct COLORSPACE_TRANSFORM_MATRIX_CAP {
823 pub Anonymous: COLORSPACE_TRANSFORM_MATRIX_CAP_0,
824 pub DataCap: COLORSPACE_TRANSFORM_DATA_CAP,
825 }
826 impl ::core::marker::Copy for COLORSPACE_TRANSFORM_MATRIX_CAP {}
827 impl ::core::clone::Clone for COLORSPACE_TRANSFORM_MATRIX_CAP {
828 fn clone(&self) -> Self {
829 *self
830 }
831 }
832 #[repr(C)]
833 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
834 pub union COLORSPACE_TRANSFORM_MATRIX_CAP_0 {
835 pub Anonymous: COLORSPACE_TRANSFORM_MATRIX_CAP_0_0,
836 pub Value: u32,
837 }
838 impl ::core::marker::Copy for COLORSPACE_TRANSFORM_MATRIX_CAP_0 {}
839 impl ::core::clone::Clone for COLORSPACE_TRANSFORM_MATRIX_CAP_0 {
840 fn clone(&self) -> Self {
841 *self
842 }
843 }
844 #[repr(C)]
845 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
846 pub struct COLORSPACE_TRANSFORM_MATRIX_CAP_0_0 {
847 pub _bitfield: u32,
848 }
849 impl ::core::marker::Copy for COLORSPACE_TRANSFORM_MATRIX_CAP_0_0 {}
850 impl ::core::clone::Clone for COLORSPACE_TRANSFORM_MATRIX_CAP_0_0 {
851 fn clone(&self) -> Self {
852 *self
853 }
854 }
855 #[repr(C)]
856 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
857 pub struct COLORSPACE_TRANSFORM_MATRIX_V2 {
858 pub StageControlLookupTable1DDegamma: COLORSPACE_TRANSFORM_STAGE_CONTROL,
859 pub LookupTable1DDegamma: [GAMMA_RAMP_RGB; 4096],
860 pub StageControlColorMatrix3x3: COLORSPACE_TRANSFORM_STAGE_CONTROL,
861 pub ColorMatrix3x3: [f32; 9],
862 pub StageControlLookupTable1DRegamma: COLORSPACE_TRANSFORM_STAGE_CONTROL,
863 pub LookupTable1DRegamma: [GAMMA_RAMP_RGB; 4096],
864 }
865 impl ::core::marker::Copy for COLORSPACE_TRANSFORM_MATRIX_V2 {}
866 impl ::core::clone::Clone for COLORSPACE_TRANSFORM_MATRIX_V2 {
867 fn clone(&self) -> Self {
868 *self
869 }
870 }
871 #[repr(C)]
872 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
873 pub struct COLORSPACE_TRANSFORM_SET_INPUT {
874 pub OutputWireColorSpaceExpected: OUTPUT_WIRE_COLOR_SPACE_TYPE,
875 pub OutputWireFormatExpected: OUTPUT_WIRE_FORMAT,
876 pub ColorSpaceTransform: COLORSPACE_TRANSFORM,
877 }
878 impl ::core::marker::Copy for COLORSPACE_TRANSFORM_SET_INPUT {}
879 impl ::core::clone::Clone for COLORSPACE_TRANSFORM_SET_INPUT {
880 fn clone(&self) -> Self {
881 *self
882 }
883 }
884 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
885 pub type COLORSPACE_TRANSFORM_STAGE_CONTROL = i32;
886 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
887 pub const ColorSpaceTransformStageControl_No_Change: COLORSPACE_TRANSFORM_STAGE_CONTROL = 0i32;
888 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
889 pub const ColorSpaceTransformStageControl_Enable: COLORSPACE_TRANSFORM_STAGE_CONTROL = 1i32;
890 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
891 pub const ColorSpaceTransformStageControl_Bypass: COLORSPACE_TRANSFORM_STAGE_CONTROL = 2i32;
892 #[repr(C)]
893 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
894 pub struct COLORSPACE_TRANSFORM_TARGET_CAPS {
895 pub Version: COLORSPACE_TRANSFORM_TARGET_CAPS_VERSION,
896 pub LookupTable1DDegammaCap: COLORSPACE_TRANSFORM_1DLUT_CAP,
897 pub ColorMatrix3x3Cap: COLORSPACE_TRANSFORM_MATRIX_CAP,
898 pub LookupTable1DRegammaCap: COLORSPACE_TRANSFORM_1DLUT_CAP,
899 }
900 impl ::core::marker::Copy for COLORSPACE_TRANSFORM_TARGET_CAPS {}
901 impl ::core::clone::Clone for COLORSPACE_TRANSFORM_TARGET_CAPS {
902 fn clone(&self) -> Self {
903 *self
904 }
905 }
906 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
907 pub type COLORSPACE_TRANSFORM_TARGET_CAPS_VERSION = i32;
908 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
909 pub const COLORSPACE_TRANSFORM_VERSION_DEFAULT: COLORSPACE_TRANSFORM_TARGET_CAPS_VERSION = 0i32;
910 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
911 pub const COLORSPACE_TRANSFORM_VERSION_1: COLORSPACE_TRANSFORM_TARGET_CAPS_VERSION = 1i32;
912 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
913 pub const COLORSPACE_TRANSFORM_VERSION_NOT_SUPPORTED: COLORSPACE_TRANSFORM_TARGET_CAPS_VERSION = 0i32;
914 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
915 pub type COLORSPACE_TRANSFORM_TYPE = i32;
916 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
917 pub const COLORSPACE_TRANSFORM_TYPE_UNINITIALIZED: COLORSPACE_TRANSFORM_TYPE = 0i32;
918 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
919 pub const COLORSPACE_TRANSFORM_TYPE_DEFAULT: COLORSPACE_TRANSFORM_TYPE = 1i32;
920 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
921 pub const COLORSPACE_TRANSFORM_TYPE_RGB256x3x16: COLORSPACE_TRANSFORM_TYPE = 2i32;
922 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
923 pub const COLORSPACE_TRANSFORM_TYPE_DXGI_1: COLORSPACE_TRANSFORM_TYPE = 3i32;
924 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
925 pub const COLORSPACE_TRANSFORM_TYPE_MATRIX_3x4: COLORSPACE_TRANSFORM_TYPE = 4i32;
926 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
927 pub const COLORSPACE_TRANSFORM_TYPE_MATRIX_V2: COLORSPACE_TRANSFORM_TYPE = 5i32;
928 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
929 pub const CT_RECTANGLES: i32 = 0i32;
930 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
931 pub const DCR_DRIVER: u32 = 1u32;
932 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
933 pub const DCR_HALFTONE: u32 = 2u32;
934 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
935 pub const DCR_SOLID: u32 = 0u32;
936 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
937 pub const DC_COMPLEX: u32 = 3u32;
938 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
939 pub const DC_RECT: u32 = 1u32;
940 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
941 pub const DC_TRIVIAL: u32 = 0u32;
942 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
943 pub const DDI_DRIVER_VERSION_NT4: u32 = 131072u32;
944 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
945 pub const DDI_DRIVER_VERSION_NT5: u32 = 196608u32;
946 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
947 pub const DDI_DRIVER_VERSION_NT5_01: u32 = 196864u32;
948 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
949 pub const DDI_DRIVER_VERSION_NT5_01_SP1: u32 = 196865u32;
950 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
951 pub const DDI_DRIVER_VERSION_SP3: u32 = 131075u32;
952 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
953 pub const DDI_ERROR: u32 = 4294967295u32;
954 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
955 pub const DD_FULLSCREEN_VIDEO_DEVICE_NAME: &'static str = "\\Device\\FSVideo";
956 #[repr(C)]
957 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
958 pub struct DEVHTADJDATA {
959 pub DeviceFlags: u32,
960 pub DeviceXDPI: u32,
961 pub DeviceYDPI: u32,
962 pub pDefHTInfo: *mut DEVHTINFO,
963 pub pAdjHTInfo: *mut DEVHTINFO,
964 }
965 impl ::core::marker::Copy for DEVHTADJDATA {}
966 impl ::core::clone::Clone for DEVHTADJDATA {
967 fn clone(&self) -> Self {
968 *self
969 }
970 }
971 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
972 pub const DEVHTADJF_ADDITIVE_DEVICE: u32 = 2u32;
973 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
974 pub const DEVHTADJF_COLOR_DEVICE: u32 = 1u32;
975 #[repr(C)]
976 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
977 pub struct DEVHTINFO {
978 pub HTFlags: u32,
979 pub HTPatternSize: u32,
980 pub DevPelsDPI: u32,
981 pub ColorInfo: COLORINFO,
982 }
983 impl ::core::marker::Copy for DEVHTINFO {}
984 impl ::core::clone::Clone for DEVHTINFO {
985 fn clone(&self) -> Self {
986 *self
987 }
988 }
989 #[repr(C)]
990 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Graphics_Gdi\"`*"]
991 #[cfg(feature = "Win32_Graphics_Gdi")]
992 pub struct DEVINFO {
993 pub flGraphicsCaps: u32,
994 pub lfDefaultFont: super::super::Graphics::Gdi::LOGFONTW,
995 pub lfAnsiVarFont: super::super::Graphics::Gdi::LOGFONTW,
996 pub lfAnsiFixFont: super::super::Graphics::Gdi::LOGFONTW,
997 pub cFonts: u32,
998 pub iDitherFormat: u32,
999 pub cxDither: u16,
1000 pub cyDither: u16,
1001 pub hpalDefault: super::super::Graphics::Gdi::HPALETTE,
1002 pub flGraphicsCaps2: u32,
1003 }
1004 #[cfg(feature = "Win32_Graphics_Gdi")]
1005 impl ::core::marker::Copy for DEVINFO {}
1006 #[cfg(feature = "Win32_Graphics_Gdi")]
1007 impl ::core::clone::Clone for DEVINFO {
1008 fn clone(&self) -> Self {
1009 *self
1010 }
1011 }
1012 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"]
1013 #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
1014 pub const DEVPKEY_Device_ActivityId: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID { data1: 3305783056, data2: 43612, data3: 16967, data4: [184, 48, 214, 166, 248, 234, 163, 16] }, pid: 4u32 };
1015 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"]
1016 #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
1017 pub const DEVPKEY_Device_AdapterLuid: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID { data1: 3305783056, data2: 43612, data3: 16967, data4: [184, 48, 214, 166, 248, 234, 163, 16] }, pid: 3u32 };
1018 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"]
1019 #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
1020 pub const DEVPKEY_Device_TerminalLuid: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID { data1: 3305783056, data2: 43612, data3: 16967, data4: [184, 48, 214, 166, 248, 234, 163, 16] }, pid: 2u32 };
1021 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"]
1022 #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
1023 pub const DEVPKEY_IndirectDisplay: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID { data1: 3305783056, data2: 43612, data3: 16967, data4: [184, 48, 214, 166, 248, 234, 163, 16] }, pid: 1u32 };
1024 pub type DHPDEV = isize;
1025 pub type DHSURF = isize;
1026 #[repr(C)]
1027 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1028 pub struct DISPLAYCONFIG_2DREGION {
1029 pub cx: u32,
1030 pub cy: u32,
1031 }
1032 impl ::core::marker::Copy for DISPLAYCONFIG_2DREGION {}
1033 impl ::core::clone::Clone for DISPLAYCONFIG_2DREGION {
1034 fn clone(&self) -> Self {
1035 *self
1036 }
1037 }
1038 #[repr(C)]
1039 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
1040 #[cfg(feature = "Win32_Foundation")]
1041 pub struct DISPLAYCONFIG_ADAPTER_NAME {
1042 pub header: DISPLAYCONFIG_DEVICE_INFO_HEADER,
1043 pub adapterDevicePath: [u16; 128],
1044 }
1045 #[cfg(feature = "Win32_Foundation")]
1046 impl ::core::marker::Copy for DISPLAYCONFIG_ADAPTER_NAME {}
1047 #[cfg(feature = "Win32_Foundation")]
1048 impl ::core::clone::Clone for DISPLAYCONFIG_ADAPTER_NAME {
1049 fn clone(&self) -> Self {
1050 *self
1051 }
1052 }
1053 #[repr(C)]
1054 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
1055 #[cfg(feature = "Win32_Foundation")]
1056 pub struct DISPLAYCONFIG_DESKTOP_IMAGE_INFO {
1057 pub PathSourceSize: super::super::Foundation::POINTL,
1058 pub DesktopImageRegion: super::super::Foundation::RECTL,
1059 pub DesktopImageClip: super::super::Foundation::RECTL,
1060 }
1061 #[cfg(feature = "Win32_Foundation")]
1062 impl ::core::marker::Copy for DISPLAYCONFIG_DESKTOP_IMAGE_INFO {}
1063 #[cfg(feature = "Win32_Foundation")]
1064 impl ::core::clone::Clone for DISPLAYCONFIG_DESKTOP_IMAGE_INFO {
1065 fn clone(&self) -> Self {
1066 *self
1067 }
1068 }
1069 #[repr(C)]
1070 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
1071 #[cfg(feature = "Win32_Foundation")]
1072 pub struct DISPLAYCONFIG_DEVICE_INFO_HEADER {
1073 pub r#type: DISPLAYCONFIG_DEVICE_INFO_TYPE,
1074 pub size: u32,
1075 pub adapterId: super::super::Foundation::LUID,
1076 pub id: u32,
1077 }
1078 #[cfg(feature = "Win32_Foundation")]
1079 impl ::core::marker::Copy for DISPLAYCONFIG_DEVICE_INFO_HEADER {}
1080 #[cfg(feature = "Win32_Foundation")]
1081 impl ::core::clone::Clone for DISPLAYCONFIG_DEVICE_INFO_HEADER {
1082 fn clone(&self) -> Self {
1083 *self
1084 }
1085 }
1086 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1087 pub type DISPLAYCONFIG_DEVICE_INFO_TYPE = i32;
1088 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1089 pub const DISPLAYCONFIG_DEVICE_INFO_GET_SOURCE_NAME: DISPLAYCONFIG_DEVICE_INFO_TYPE = 1i32;
1090 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1091 pub const DISPLAYCONFIG_DEVICE_INFO_GET_TARGET_NAME: DISPLAYCONFIG_DEVICE_INFO_TYPE = 2i32;
1092 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1093 pub const DISPLAYCONFIG_DEVICE_INFO_GET_TARGET_PREFERRED_MODE: DISPLAYCONFIG_DEVICE_INFO_TYPE = 3i32;
1094 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1095 pub const DISPLAYCONFIG_DEVICE_INFO_GET_ADAPTER_NAME: DISPLAYCONFIG_DEVICE_INFO_TYPE = 4i32;
1096 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1097 pub const DISPLAYCONFIG_DEVICE_INFO_SET_TARGET_PERSISTENCE: DISPLAYCONFIG_DEVICE_INFO_TYPE = 5i32;
1098 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1099 pub const DISPLAYCONFIG_DEVICE_INFO_GET_TARGET_BASE_TYPE: DISPLAYCONFIG_DEVICE_INFO_TYPE = 6i32;
1100 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1101 pub const DISPLAYCONFIG_DEVICE_INFO_GET_SUPPORT_VIRTUAL_RESOLUTION: DISPLAYCONFIG_DEVICE_INFO_TYPE = 7i32;
1102 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1103 pub const DISPLAYCONFIG_DEVICE_INFO_SET_SUPPORT_VIRTUAL_RESOLUTION: DISPLAYCONFIG_DEVICE_INFO_TYPE = 8i32;
1104 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1105 pub const DISPLAYCONFIG_DEVICE_INFO_GET_ADVANCED_COLOR_INFO: DISPLAYCONFIG_DEVICE_INFO_TYPE = 9i32;
1106 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1107 pub const DISPLAYCONFIG_DEVICE_INFO_SET_ADVANCED_COLOR_STATE: DISPLAYCONFIG_DEVICE_INFO_TYPE = 10i32;
1108 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1109 pub const DISPLAYCONFIG_DEVICE_INFO_GET_SDR_WHITE_LEVEL: DISPLAYCONFIG_DEVICE_INFO_TYPE = 11i32;
1110 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1111 pub const DISPLAYCONFIG_DEVICE_INFO_GET_MONITOR_SPECIALIZATION: DISPLAYCONFIG_DEVICE_INFO_TYPE = 12i32;
1112 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1113 pub const DISPLAYCONFIG_DEVICE_INFO_SET_MONITOR_SPECIALIZATION: DISPLAYCONFIG_DEVICE_INFO_TYPE = 13i32;
1114 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1115 pub const DISPLAYCONFIG_DEVICE_INFO_FORCE_UINT32: DISPLAYCONFIG_DEVICE_INFO_TYPE = -1i32;
1116 #[repr(C)]
1117 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
1118 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
1119 pub struct DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO {
1120 pub header: DISPLAYCONFIG_DEVICE_INFO_HEADER,
1121 pub Anonymous: DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0,
1122 pub colorEncoding: super::super::Graphics::Gdi::DISPLAYCONFIG_COLOR_ENCODING,
1123 pub bitsPerColorChannel: u32,
1124 }
1125 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
1126 impl ::core::marker::Copy for DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO {}
1127 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
1128 impl ::core::clone::Clone for DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO {
1129 fn clone(&self) -> Self {
1130 *self
1131 }
1132 }
1133 #[repr(C)]
1134 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
1135 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
1136 pub union DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0 {
1137 pub Anonymous: DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0_0,
1138 pub value: u32,
1139 }
1140 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
1141 impl ::core::marker::Copy for DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0 {}
1142 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
1143 impl ::core::clone::Clone for DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0 {
1144 fn clone(&self) -> Self {
1145 *self
1146 }
1147 }
1148 #[repr(C)]
1149 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
1150 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
1151 pub struct DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0_0 {
1152 pub _bitfield: u32,
1153 }
1154 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
1155 impl ::core::marker::Copy for DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0_0 {}
1156 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
1157 impl ::core::clone::Clone for DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_0_0 {
1158 fn clone(&self) -> Self {
1159 *self
1160 }
1161 }
1162 #[repr(C)]
1163 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
1164 #[cfg(feature = "Win32_Foundation")]
1165 pub struct DISPLAYCONFIG_GET_MONITOR_SPECIALIZATION {
1166 pub header: DISPLAYCONFIG_DEVICE_INFO_HEADER,
1167 pub Anonymous: DISPLAYCONFIG_GET_MONITOR_SPECIALIZATION_0,
1168 }
1169 #[cfg(feature = "Win32_Foundation")]
1170 impl ::core::marker::Copy for DISPLAYCONFIG_GET_MONITOR_SPECIALIZATION {}
1171 #[cfg(feature = "Win32_Foundation")]
1172 impl ::core::clone::Clone for DISPLAYCONFIG_GET_MONITOR_SPECIALIZATION {
1173 fn clone(&self) -> Self {
1174 *self
1175 }
1176 }
1177 #[repr(C)]
1178 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
1179 #[cfg(feature = "Win32_Foundation")]
1180 pub union DISPLAYCONFIG_GET_MONITOR_SPECIALIZATION_0 {
1181 pub Anonymous: DISPLAYCONFIG_GET_MONITOR_SPECIALIZATION_0_0,
1182 pub value: u32,
1183 }
1184 #[cfg(feature = "Win32_Foundation")]
1185 impl ::core::marker::Copy for DISPLAYCONFIG_GET_MONITOR_SPECIALIZATION_0 {}
1186 #[cfg(feature = "Win32_Foundation")]
1187 impl ::core::clone::Clone for DISPLAYCONFIG_GET_MONITOR_SPECIALIZATION_0 {
1188 fn clone(&self) -> Self {
1189 *self
1190 }
1191 }
1192 #[repr(C)]
1193 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
1194 #[cfg(feature = "Win32_Foundation")]
1195 pub struct DISPLAYCONFIG_GET_MONITOR_SPECIALIZATION_0_0 {
1196 pub _bitfield: u32,
1197 }
1198 #[cfg(feature = "Win32_Foundation")]
1199 impl ::core::marker::Copy for DISPLAYCONFIG_GET_MONITOR_SPECIALIZATION_0_0 {}
1200 #[cfg(feature = "Win32_Foundation")]
1201 impl ::core::clone::Clone for DISPLAYCONFIG_GET_MONITOR_SPECIALIZATION_0_0 {
1202 fn clone(&self) -> Self {
1203 *self
1204 }
1205 }
1206 #[repr(C)]
1207 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
1208 #[cfg(feature = "Win32_Foundation")]
1209 pub struct DISPLAYCONFIG_MODE_INFO {
1210 pub infoType: DISPLAYCONFIG_MODE_INFO_TYPE,
1211 pub id: u32,
1212 pub adapterId: super::super::Foundation::LUID,
1213 pub Anonymous: DISPLAYCONFIG_MODE_INFO_0,
1214 }
1215 #[cfg(feature = "Win32_Foundation")]
1216 impl ::core::marker::Copy for DISPLAYCONFIG_MODE_INFO {}
1217 #[cfg(feature = "Win32_Foundation")]
1218 impl ::core::clone::Clone for DISPLAYCONFIG_MODE_INFO {
1219 fn clone(&self) -> Self {
1220 *self
1221 }
1222 }
1223 #[repr(C)]
1224 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
1225 #[cfg(feature = "Win32_Foundation")]
1226 pub union DISPLAYCONFIG_MODE_INFO_0 {
1227 pub targetMode: DISPLAYCONFIG_TARGET_MODE,
1228 pub sourceMode: DISPLAYCONFIG_SOURCE_MODE,
1229 pub desktopImageInfo: DISPLAYCONFIG_DESKTOP_IMAGE_INFO,
1230 }
1231 #[cfg(feature = "Win32_Foundation")]
1232 impl ::core::marker::Copy for DISPLAYCONFIG_MODE_INFO_0 {}
1233 #[cfg(feature = "Win32_Foundation")]
1234 impl ::core::clone::Clone for DISPLAYCONFIG_MODE_INFO_0 {
1235 fn clone(&self) -> Self {
1236 *self
1237 }
1238 }
1239 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1240 pub type DISPLAYCONFIG_MODE_INFO_TYPE = i32;
1241 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1242 pub const DISPLAYCONFIG_MODE_INFO_TYPE_SOURCE: DISPLAYCONFIG_MODE_INFO_TYPE = 1i32;
1243 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1244 pub const DISPLAYCONFIG_MODE_INFO_TYPE_TARGET: DISPLAYCONFIG_MODE_INFO_TYPE = 2i32;
1245 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1246 pub const DISPLAYCONFIG_MODE_INFO_TYPE_DESKTOP_IMAGE: DISPLAYCONFIG_MODE_INFO_TYPE = 3i32;
1247 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1248 pub const DISPLAYCONFIG_MODE_INFO_TYPE_FORCE_UINT32: DISPLAYCONFIG_MODE_INFO_TYPE = -1i32;
1249 #[repr(C)]
1250 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
1251 #[cfg(feature = "Win32_Foundation")]
1252 pub struct DISPLAYCONFIG_PATH_INFO {
1253 pub sourceInfo: DISPLAYCONFIG_PATH_SOURCE_INFO,
1254 pub targetInfo: DISPLAYCONFIG_PATH_TARGET_INFO,
1255 pub flags: u32,
1256 }
1257 #[cfg(feature = "Win32_Foundation")]
1258 impl ::core::marker::Copy for DISPLAYCONFIG_PATH_INFO {}
1259 #[cfg(feature = "Win32_Foundation")]
1260 impl ::core::clone::Clone for DISPLAYCONFIG_PATH_INFO {
1261 fn clone(&self) -> Self {
1262 *self
1263 }
1264 }
1265 #[repr(C)]
1266 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
1267 #[cfg(feature = "Win32_Foundation")]
1268 pub struct DISPLAYCONFIG_PATH_SOURCE_INFO {
1269 pub adapterId: super::super::Foundation::LUID,
1270 pub id: u32,
1271 pub Anonymous: DISPLAYCONFIG_PATH_SOURCE_INFO_0,
1272 pub statusFlags: u32,
1273 }
1274 #[cfg(feature = "Win32_Foundation")]
1275 impl ::core::marker::Copy for DISPLAYCONFIG_PATH_SOURCE_INFO {}
1276 #[cfg(feature = "Win32_Foundation")]
1277 impl ::core::clone::Clone for DISPLAYCONFIG_PATH_SOURCE_INFO {
1278 fn clone(&self) -> Self {
1279 *self
1280 }
1281 }
1282 #[repr(C)]
1283 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
1284 #[cfg(feature = "Win32_Foundation")]
1285 pub union DISPLAYCONFIG_PATH_SOURCE_INFO_0 {
1286 pub modeInfoIdx: u32,
1287 pub Anonymous: DISPLAYCONFIG_PATH_SOURCE_INFO_0_0,
1288 }
1289 #[cfg(feature = "Win32_Foundation")]
1290 impl ::core::marker::Copy for DISPLAYCONFIG_PATH_SOURCE_INFO_0 {}
1291 #[cfg(feature = "Win32_Foundation")]
1292 impl ::core::clone::Clone for DISPLAYCONFIG_PATH_SOURCE_INFO_0 {
1293 fn clone(&self) -> Self {
1294 *self
1295 }
1296 }
1297 #[repr(C)]
1298 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
1299 #[cfg(feature = "Win32_Foundation")]
1300 pub struct DISPLAYCONFIG_PATH_SOURCE_INFO_0_0 {
1301 pub _bitfield: u32,
1302 }
1303 #[cfg(feature = "Win32_Foundation")]
1304 impl ::core::marker::Copy for DISPLAYCONFIG_PATH_SOURCE_INFO_0_0 {}
1305 #[cfg(feature = "Win32_Foundation")]
1306 impl ::core::clone::Clone for DISPLAYCONFIG_PATH_SOURCE_INFO_0_0 {
1307 fn clone(&self) -> Self {
1308 *self
1309 }
1310 }
1311 #[repr(C)]
1312 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
1313 #[cfg(feature = "Win32_Foundation")]
1314 pub struct DISPLAYCONFIG_PATH_TARGET_INFO {
1315 pub adapterId: super::super::Foundation::LUID,
1316 pub id: u32,
1317 pub Anonymous: DISPLAYCONFIG_PATH_TARGET_INFO_0,
1318 pub outputTechnology: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY,
1319 pub rotation: DISPLAYCONFIG_ROTATION,
1320 pub scaling: DISPLAYCONFIG_SCALING,
1321 pub refreshRate: DISPLAYCONFIG_RATIONAL,
1322 pub scanLineOrdering: DISPLAYCONFIG_SCANLINE_ORDERING,
1323 pub targetAvailable: super::super::Foundation::BOOL,
1324 pub statusFlags: u32,
1325 }
1326 #[cfg(feature = "Win32_Foundation")]
1327 impl ::core::marker::Copy for DISPLAYCONFIG_PATH_TARGET_INFO {}
1328 #[cfg(feature = "Win32_Foundation")]
1329 impl ::core::clone::Clone for DISPLAYCONFIG_PATH_TARGET_INFO {
1330 fn clone(&self) -> Self {
1331 *self
1332 }
1333 }
1334 #[repr(C)]
1335 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
1336 #[cfg(feature = "Win32_Foundation")]
1337 pub union DISPLAYCONFIG_PATH_TARGET_INFO_0 {
1338 pub modeInfoIdx: u32,
1339 pub Anonymous: DISPLAYCONFIG_PATH_TARGET_INFO_0_0,
1340 }
1341 #[cfg(feature = "Win32_Foundation")]
1342 impl ::core::marker::Copy for DISPLAYCONFIG_PATH_TARGET_INFO_0 {}
1343 #[cfg(feature = "Win32_Foundation")]
1344 impl ::core::clone::Clone for DISPLAYCONFIG_PATH_TARGET_INFO_0 {
1345 fn clone(&self) -> Self {
1346 *self
1347 }
1348 }
1349 #[repr(C)]
1350 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
1351 #[cfg(feature = "Win32_Foundation")]
1352 pub struct DISPLAYCONFIG_PATH_TARGET_INFO_0_0 {
1353 pub _bitfield: u32,
1354 }
1355 #[cfg(feature = "Win32_Foundation")]
1356 impl ::core::marker::Copy for DISPLAYCONFIG_PATH_TARGET_INFO_0_0 {}
1357 #[cfg(feature = "Win32_Foundation")]
1358 impl ::core::clone::Clone for DISPLAYCONFIG_PATH_TARGET_INFO_0_0 {
1359 fn clone(&self) -> Self {
1360 *self
1361 }
1362 }
1363 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1364 pub type DISPLAYCONFIG_PIXELFORMAT = i32;
1365 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1366 pub const DISPLAYCONFIG_PIXELFORMAT_8BPP: DISPLAYCONFIG_PIXELFORMAT = 1i32;
1367 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1368 pub const DISPLAYCONFIG_PIXELFORMAT_16BPP: DISPLAYCONFIG_PIXELFORMAT = 2i32;
1369 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1370 pub const DISPLAYCONFIG_PIXELFORMAT_24BPP: DISPLAYCONFIG_PIXELFORMAT = 3i32;
1371 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1372 pub const DISPLAYCONFIG_PIXELFORMAT_32BPP: DISPLAYCONFIG_PIXELFORMAT = 4i32;
1373 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1374 pub const DISPLAYCONFIG_PIXELFORMAT_NONGDI: DISPLAYCONFIG_PIXELFORMAT = 5i32;
1375 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1376 pub const DISPLAYCONFIG_PIXELFORMAT_FORCE_UINT32: DISPLAYCONFIG_PIXELFORMAT = -1i32;
1377 #[repr(C)]
1378 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1379 pub struct DISPLAYCONFIG_RATIONAL {
1380 pub Numerator: u32,
1381 pub Denominator: u32,
1382 }
1383 impl ::core::marker::Copy for DISPLAYCONFIG_RATIONAL {}
1384 impl ::core::clone::Clone for DISPLAYCONFIG_RATIONAL {
1385 fn clone(&self) -> Self {
1386 *self
1387 }
1388 }
1389 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1390 pub type DISPLAYCONFIG_ROTATION = i32;
1391 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1392 pub const DISPLAYCONFIG_ROTATION_IDENTITY: DISPLAYCONFIG_ROTATION = 1i32;
1393 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1394 pub const DISPLAYCONFIG_ROTATION_ROTATE90: DISPLAYCONFIG_ROTATION = 2i32;
1395 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1396 pub const DISPLAYCONFIG_ROTATION_ROTATE180: DISPLAYCONFIG_ROTATION = 3i32;
1397 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1398 pub const DISPLAYCONFIG_ROTATION_ROTATE270: DISPLAYCONFIG_ROTATION = 4i32;
1399 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1400 pub const DISPLAYCONFIG_ROTATION_FORCE_UINT32: DISPLAYCONFIG_ROTATION = -1i32;
1401 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1402 pub type DISPLAYCONFIG_SCALING = i32;
1403 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1404 pub const DISPLAYCONFIG_SCALING_IDENTITY: DISPLAYCONFIG_SCALING = 1i32;
1405 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1406 pub const DISPLAYCONFIG_SCALING_CENTERED: DISPLAYCONFIG_SCALING = 2i32;
1407 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1408 pub const DISPLAYCONFIG_SCALING_STRETCHED: DISPLAYCONFIG_SCALING = 3i32;
1409 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1410 pub const DISPLAYCONFIG_SCALING_ASPECTRATIOCENTEREDMAX: DISPLAYCONFIG_SCALING = 4i32;
1411 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1412 pub const DISPLAYCONFIG_SCALING_CUSTOM: DISPLAYCONFIG_SCALING = 5i32;
1413 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1414 pub const DISPLAYCONFIG_SCALING_PREFERRED: DISPLAYCONFIG_SCALING = 128i32;
1415 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1416 pub const DISPLAYCONFIG_SCALING_FORCE_UINT32: DISPLAYCONFIG_SCALING = -1i32;
1417 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1418 pub type DISPLAYCONFIG_SCANLINE_ORDERING = i32;
1419 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1420 pub const DISPLAYCONFIG_SCANLINE_ORDERING_UNSPECIFIED: DISPLAYCONFIG_SCANLINE_ORDERING = 0i32;
1421 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1422 pub const DISPLAYCONFIG_SCANLINE_ORDERING_PROGRESSIVE: DISPLAYCONFIG_SCANLINE_ORDERING = 1i32;
1423 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1424 pub const DISPLAYCONFIG_SCANLINE_ORDERING_INTERLACED: DISPLAYCONFIG_SCANLINE_ORDERING = 2i32;
1425 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1426 pub const DISPLAYCONFIG_SCANLINE_ORDERING_INTERLACED_UPPERFIELDFIRST: DISPLAYCONFIG_SCANLINE_ORDERING = 2i32;
1427 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1428 pub const DISPLAYCONFIG_SCANLINE_ORDERING_INTERLACED_LOWERFIELDFIRST: DISPLAYCONFIG_SCANLINE_ORDERING = 3i32;
1429 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1430 pub const DISPLAYCONFIG_SCANLINE_ORDERING_FORCE_UINT32: DISPLAYCONFIG_SCANLINE_ORDERING = -1i32;
1431 #[repr(C)]
1432 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
1433 #[cfg(feature = "Win32_Foundation")]
1434 pub struct DISPLAYCONFIG_SDR_WHITE_LEVEL {
1435 pub header: DISPLAYCONFIG_DEVICE_INFO_HEADER,
1436 pub SDRWhiteLevel: u32,
1437 }
1438 #[cfg(feature = "Win32_Foundation")]
1439 impl ::core::marker::Copy for DISPLAYCONFIG_SDR_WHITE_LEVEL {}
1440 #[cfg(feature = "Win32_Foundation")]
1441 impl ::core::clone::Clone for DISPLAYCONFIG_SDR_WHITE_LEVEL {
1442 fn clone(&self) -> Self {
1443 *self
1444 }
1445 }
1446 #[repr(C)]
1447 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
1448 #[cfg(feature = "Win32_Foundation")]
1449 pub struct DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE {
1450 pub header: DISPLAYCONFIG_DEVICE_INFO_HEADER,
1451 pub Anonymous: DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0,
1452 }
1453 #[cfg(feature = "Win32_Foundation")]
1454 impl ::core::marker::Copy for DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE {}
1455 #[cfg(feature = "Win32_Foundation")]
1456 impl ::core::clone::Clone for DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE {
1457 fn clone(&self) -> Self {
1458 *self
1459 }
1460 }
1461 #[repr(C)]
1462 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
1463 #[cfg(feature = "Win32_Foundation")]
1464 pub union DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0 {
1465 pub Anonymous: DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0_0,
1466 pub value: u32,
1467 }
1468 #[cfg(feature = "Win32_Foundation")]
1469 impl ::core::marker::Copy for DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0 {}
1470 #[cfg(feature = "Win32_Foundation")]
1471 impl ::core::clone::Clone for DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0 {
1472 fn clone(&self) -> Self {
1473 *self
1474 }
1475 }
1476 #[repr(C)]
1477 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
1478 #[cfg(feature = "Win32_Foundation")]
1479 pub struct DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0_0 {
1480 pub _bitfield: u32,
1481 }
1482 #[cfg(feature = "Win32_Foundation")]
1483 impl ::core::marker::Copy for DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0_0 {}
1484 #[cfg(feature = "Win32_Foundation")]
1485 impl ::core::clone::Clone for DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE_0_0 {
1486 fn clone(&self) -> Self {
1487 *self
1488 }
1489 }
1490 #[repr(C)]
1491 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
1492 #[cfg(feature = "Win32_Foundation")]
1493 pub struct DISPLAYCONFIG_SET_MONITOR_SPECIALIZATION {
1494 pub header: DISPLAYCONFIG_DEVICE_INFO_HEADER,
1495 pub Anonymous: DISPLAYCONFIG_SET_MONITOR_SPECIALIZATION_0,
1496 pub specializationType: ::windows_sys::core::GUID,
1497 pub specializationSubType: ::windows_sys::core::GUID,
1498 pub specializationApplicationName: [u16; 128],
1499 }
1500 #[cfg(feature = "Win32_Foundation")]
1501 impl ::core::marker::Copy for DISPLAYCONFIG_SET_MONITOR_SPECIALIZATION {}
1502 #[cfg(feature = "Win32_Foundation")]
1503 impl ::core::clone::Clone for DISPLAYCONFIG_SET_MONITOR_SPECIALIZATION {
1504 fn clone(&self) -> Self {
1505 *self
1506 }
1507 }
1508 #[repr(C)]
1509 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
1510 #[cfg(feature = "Win32_Foundation")]
1511 pub union DISPLAYCONFIG_SET_MONITOR_SPECIALIZATION_0 {
1512 pub Anonymous: DISPLAYCONFIG_SET_MONITOR_SPECIALIZATION_0_0,
1513 pub value: u32,
1514 }
1515 #[cfg(feature = "Win32_Foundation")]
1516 impl ::core::marker::Copy for DISPLAYCONFIG_SET_MONITOR_SPECIALIZATION_0 {}
1517 #[cfg(feature = "Win32_Foundation")]
1518 impl ::core::clone::Clone for DISPLAYCONFIG_SET_MONITOR_SPECIALIZATION_0 {
1519 fn clone(&self) -> Self {
1520 *self
1521 }
1522 }
1523 #[repr(C)]
1524 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
1525 #[cfg(feature = "Win32_Foundation")]
1526 pub struct DISPLAYCONFIG_SET_MONITOR_SPECIALIZATION_0_0 {
1527 pub _bitfield: u32,
1528 }
1529 #[cfg(feature = "Win32_Foundation")]
1530 impl ::core::marker::Copy for DISPLAYCONFIG_SET_MONITOR_SPECIALIZATION_0_0 {}
1531 #[cfg(feature = "Win32_Foundation")]
1532 impl ::core::clone::Clone for DISPLAYCONFIG_SET_MONITOR_SPECIALIZATION_0_0 {
1533 fn clone(&self) -> Self {
1534 *self
1535 }
1536 }
1537 #[repr(C)]
1538 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
1539 #[cfg(feature = "Win32_Foundation")]
1540 pub struct DISPLAYCONFIG_SET_TARGET_PERSISTENCE {
1541 pub header: DISPLAYCONFIG_DEVICE_INFO_HEADER,
1542 pub Anonymous: DISPLAYCONFIG_SET_TARGET_PERSISTENCE_0,
1543 }
1544 #[cfg(feature = "Win32_Foundation")]
1545 impl ::core::marker::Copy for DISPLAYCONFIG_SET_TARGET_PERSISTENCE {}
1546 #[cfg(feature = "Win32_Foundation")]
1547 impl ::core::clone::Clone for DISPLAYCONFIG_SET_TARGET_PERSISTENCE {
1548 fn clone(&self) -> Self {
1549 *self
1550 }
1551 }
1552 #[repr(C)]
1553 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
1554 #[cfg(feature = "Win32_Foundation")]
1555 pub union DISPLAYCONFIG_SET_TARGET_PERSISTENCE_0 {
1556 pub Anonymous: DISPLAYCONFIG_SET_TARGET_PERSISTENCE_0_0,
1557 pub value: u32,
1558 }
1559 #[cfg(feature = "Win32_Foundation")]
1560 impl ::core::marker::Copy for DISPLAYCONFIG_SET_TARGET_PERSISTENCE_0 {}
1561 #[cfg(feature = "Win32_Foundation")]
1562 impl ::core::clone::Clone for DISPLAYCONFIG_SET_TARGET_PERSISTENCE_0 {
1563 fn clone(&self) -> Self {
1564 *self
1565 }
1566 }
1567 #[repr(C)]
1568 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
1569 #[cfg(feature = "Win32_Foundation")]
1570 pub struct DISPLAYCONFIG_SET_TARGET_PERSISTENCE_0_0 {
1571 pub _bitfield: u32,
1572 }
1573 #[cfg(feature = "Win32_Foundation")]
1574 impl ::core::marker::Copy for DISPLAYCONFIG_SET_TARGET_PERSISTENCE_0_0 {}
1575 #[cfg(feature = "Win32_Foundation")]
1576 impl ::core::clone::Clone for DISPLAYCONFIG_SET_TARGET_PERSISTENCE_0_0 {
1577 fn clone(&self) -> Self {
1578 *self
1579 }
1580 }
1581 #[repr(C)]
1582 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
1583 #[cfg(feature = "Win32_Foundation")]
1584 pub struct DISPLAYCONFIG_SOURCE_DEVICE_NAME {
1585 pub header: DISPLAYCONFIG_DEVICE_INFO_HEADER,
1586 pub viewGdiDeviceName: [u16; 32],
1587 }
1588 #[cfg(feature = "Win32_Foundation")]
1589 impl ::core::marker::Copy for DISPLAYCONFIG_SOURCE_DEVICE_NAME {}
1590 #[cfg(feature = "Win32_Foundation")]
1591 impl ::core::clone::Clone for DISPLAYCONFIG_SOURCE_DEVICE_NAME {
1592 fn clone(&self) -> Self {
1593 *self
1594 }
1595 }
1596 #[repr(C)]
1597 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
1598 #[cfg(feature = "Win32_Foundation")]
1599 pub struct DISPLAYCONFIG_SOURCE_MODE {
1600 pub width: u32,
1601 pub height: u32,
1602 pub pixelFormat: DISPLAYCONFIG_PIXELFORMAT,
1603 pub position: super::super::Foundation::POINTL,
1604 }
1605 #[cfg(feature = "Win32_Foundation")]
1606 impl ::core::marker::Copy for DISPLAYCONFIG_SOURCE_MODE {}
1607 #[cfg(feature = "Win32_Foundation")]
1608 impl ::core::clone::Clone for DISPLAYCONFIG_SOURCE_MODE {
1609 fn clone(&self) -> Self {
1610 *self
1611 }
1612 }
1613 #[repr(C)]
1614 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
1615 #[cfg(feature = "Win32_Foundation")]
1616 pub struct DISPLAYCONFIG_SUPPORT_VIRTUAL_RESOLUTION {
1617 pub header: DISPLAYCONFIG_DEVICE_INFO_HEADER,
1618 pub Anonymous: DISPLAYCONFIG_SUPPORT_VIRTUAL_RESOLUTION_0,
1619 }
1620 #[cfg(feature = "Win32_Foundation")]
1621 impl ::core::marker::Copy for DISPLAYCONFIG_SUPPORT_VIRTUAL_RESOLUTION {}
1622 #[cfg(feature = "Win32_Foundation")]
1623 impl ::core::clone::Clone for DISPLAYCONFIG_SUPPORT_VIRTUAL_RESOLUTION {
1624 fn clone(&self) -> Self {
1625 *self
1626 }
1627 }
1628 #[repr(C)]
1629 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
1630 #[cfg(feature = "Win32_Foundation")]
1631 pub union DISPLAYCONFIG_SUPPORT_VIRTUAL_RESOLUTION_0 {
1632 pub Anonymous: DISPLAYCONFIG_SUPPORT_VIRTUAL_RESOLUTION_0_0,
1633 pub value: u32,
1634 }
1635 #[cfg(feature = "Win32_Foundation")]
1636 impl ::core::marker::Copy for DISPLAYCONFIG_SUPPORT_VIRTUAL_RESOLUTION_0 {}
1637 #[cfg(feature = "Win32_Foundation")]
1638 impl ::core::clone::Clone for DISPLAYCONFIG_SUPPORT_VIRTUAL_RESOLUTION_0 {
1639 fn clone(&self) -> Self {
1640 *self
1641 }
1642 }
1643 #[repr(C)]
1644 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
1645 #[cfg(feature = "Win32_Foundation")]
1646 pub struct DISPLAYCONFIG_SUPPORT_VIRTUAL_RESOLUTION_0_0 {
1647 pub _bitfield: u32,
1648 }
1649 #[cfg(feature = "Win32_Foundation")]
1650 impl ::core::marker::Copy for DISPLAYCONFIG_SUPPORT_VIRTUAL_RESOLUTION_0_0 {}
1651 #[cfg(feature = "Win32_Foundation")]
1652 impl ::core::clone::Clone for DISPLAYCONFIG_SUPPORT_VIRTUAL_RESOLUTION_0_0 {
1653 fn clone(&self) -> Self {
1654 *self
1655 }
1656 }
1657 #[repr(C)]
1658 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
1659 #[cfg(feature = "Win32_Foundation")]
1660 pub struct DISPLAYCONFIG_TARGET_BASE_TYPE {
1661 pub header: DISPLAYCONFIG_DEVICE_INFO_HEADER,
1662 pub baseOutputTechnology: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY,
1663 }
1664 #[cfg(feature = "Win32_Foundation")]
1665 impl ::core::marker::Copy for DISPLAYCONFIG_TARGET_BASE_TYPE {}
1666 #[cfg(feature = "Win32_Foundation")]
1667 impl ::core::clone::Clone for DISPLAYCONFIG_TARGET_BASE_TYPE {
1668 fn clone(&self) -> Self {
1669 *self
1670 }
1671 }
1672 #[repr(C)]
1673 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
1674 #[cfg(feature = "Win32_Foundation")]
1675 pub struct DISPLAYCONFIG_TARGET_DEVICE_NAME {
1676 pub header: DISPLAYCONFIG_DEVICE_INFO_HEADER,
1677 pub flags: DISPLAYCONFIG_TARGET_DEVICE_NAME_FLAGS,
1678 pub outputTechnology: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY,
1679 pub edidManufactureId: u16,
1680 pub edidProductCodeId: u16,
1681 pub connectorInstance: u32,
1682 pub monitorFriendlyDeviceName: [u16; 64],
1683 pub monitorDevicePath: [u16; 128],
1684 }
1685 #[cfg(feature = "Win32_Foundation")]
1686 impl ::core::marker::Copy for DISPLAYCONFIG_TARGET_DEVICE_NAME {}
1687 #[cfg(feature = "Win32_Foundation")]
1688 impl ::core::clone::Clone for DISPLAYCONFIG_TARGET_DEVICE_NAME {
1689 fn clone(&self) -> Self {
1690 *self
1691 }
1692 }
1693 #[repr(C)]
1694 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1695 pub struct DISPLAYCONFIG_TARGET_DEVICE_NAME_FLAGS {
1696 pub Anonymous: DISPLAYCONFIG_TARGET_DEVICE_NAME_FLAGS_0,
1697 }
1698 impl ::core::marker::Copy for DISPLAYCONFIG_TARGET_DEVICE_NAME_FLAGS {}
1699 impl ::core::clone::Clone for DISPLAYCONFIG_TARGET_DEVICE_NAME_FLAGS {
1700 fn clone(&self) -> Self {
1701 *self
1702 }
1703 }
1704 #[repr(C)]
1705 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1706 pub union DISPLAYCONFIG_TARGET_DEVICE_NAME_FLAGS_0 {
1707 pub Anonymous: DISPLAYCONFIG_TARGET_DEVICE_NAME_FLAGS_0_0,
1708 pub value: u32,
1709 }
1710 impl ::core::marker::Copy for DISPLAYCONFIG_TARGET_DEVICE_NAME_FLAGS_0 {}
1711 impl ::core::clone::Clone for DISPLAYCONFIG_TARGET_DEVICE_NAME_FLAGS_0 {
1712 fn clone(&self) -> Self {
1713 *self
1714 }
1715 }
1716 #[repr(C)]
1717 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1718 pub struct DISPLAYCONFIG_TARGET_DEVICE_NAME_FLAGS_0_0 {
1719 pub _bitfield: u32,
1720 }
1721 impl ::core::marker::Copy for DISPLAYCONFIG_TARGET_DEVICE_NAME_FLAGS_0_0 {}
1722 impl ::core::clone::Clone for DISPLAYCONFIG_TARGET_DEVICE_NAME_FLAGS_0_0 {
1723 fn clone(&self) -> Self {
1724 *self
1725 }
1726 }
1727 #[repr(C)]
1728 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1729 pub struct DISPLAYCONFIG_TARGET_MODE {
1730 pub targetVideoSignalInfo: DISPLAYCONFIG_VIDEO_SIGNAL_INFO,
1731 }
1732 impl ::core::marker::Copy for DISPLAYCONFIG_TARGET_MODE {}
1733 impl ::core::clone::Clone for DISPLAYCONFIG_TARGET_MODE {
1734 fn clone(&self) -> Self {
1735 *self
1736 }
1737 }
1738 #[repr(C)]
1739 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
1740 #[cfg(feature = "Win32_Foundation")]
1741 pub struct DISPLAYCONFIG_TARGET_PREFERRED_MODE {
1742 pub header: DISPLAYCONFIG_DEVICE_INFO_HEADER,
1743 pub width: u32,
1744 pub height: u32,
1745 pub targetMode: DISPLAYCONFIG_TARGET_MODE,
1746 }
1747 #[cfg(feature = "Win32_Foundation")]
1748 impl ::core::marker::Copy for DISPLAYCONFIG_TARGET_PREFERRED_MODE {}
1749 #[cfg(feature = "Win32_Foundation")]
1750 impl ::core::clone::Clone for DISPLAYCONFIG_TARGET_PREFERRED_MODE {
1751 fn clone(&self) -> Self {
1752 *self
1753 }
1754 }
1755 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1756 pub type DISPLAYCONFIG_TOPOLOGY_ID = i32;
1757 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1758 pub const DISPLAYCONFIG_TOPOLOGY_INTERNAL: DISPLAYCONFIG_TOPOLOGY_ID = 1i32;
1759 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1760 pub const DISPLAYCONFIG_TOPOLOGY_CLONE: DISPLAYCONFIG_TOPOLOGY_ID = 2i32;
1761 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1762 pub const DISPLAYCONFIG_TOPOLOGY_EXTEND: DISPLAYCONFIG_TOPOLOGY_ID = 4i32;
1763 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1764 pub const DISPLAYCONFIG_TOPOLOGY_EXTERNAL: DISPLAYCONFIG_TOPOLOGY_ID = 8i32;
1765 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1766 pub const DISPLAYCONFIG_TOPOLOGY_FORCE_UINT32: DISPLAYCONFIG_TOPOLOGY_ID = -1i32;
1767 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1768 pub type DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = i32;
1769 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1770 pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_OTHER: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = -1i32;
1771 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1772 pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_HD15: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 0i32;
1773 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1774 pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_SVIDEO: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 1i32;
1775 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1776 pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_COMPOSITE_VIDEO: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 2i32;
1777 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1778 pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_COMPONENT_VIDEO: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 3i32;
1779 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1780 pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_DVI: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 4i32;
1781 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1782 pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_HDMI: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 5i32;
1783 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1784 pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_LVDS: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 6i32;
1785 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1786 pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_D_JPN: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 8i32;
1787 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1788 pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_SDI: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 9i32;
1789 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1790 pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_DISPLAYPORT_EXTERNAL: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 10i32;
1791 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1792 pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_DISPLAYPORT_EMBEDDED: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 11i32;
1793 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1794 pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_UDI_EXTERNAL: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 12i32;
1795 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1796 pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_UDI_EMBEDDED: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 13i32;
1797 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1798 pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_SDTVDONGLE: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 14i32;
1799 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1800 pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_MIRACAST: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 15i32;
1801 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1802 pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_INDIRECT_WIRED: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 16i32;
1803 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1804 pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_INDIRECT_VIRTUAL: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 17i32;
1805 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1806 pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_DISPLAYPORT_USB_TUNNEL: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = 18i32;
1807 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1808 pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_INTERNAL: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = -2147483648i32;
1809 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1810 pub const DISPLAYCONFIG_OUTPUT_TECHNOLOGY_FORCE_UINT32: DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY = -1i32;
1811 #[repr(C)]
1812 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1813 pub struct DISPLAYCONFIG_VIDEO_SIGNAL_INFO {
1814 pub pixelRate: u64,
1815 pub hSyncFreq: DISPLAYCONFIG_RATIONAL,
1816 pub vSyncFreq: DISPLAYCONFIG_RATIONAL,
1817 pub activeSize: DISPLAYCONFIG_2DREGION,
1818 pub totalSize: DISPLAYCONFIG_2DREGION,
1819 pub Anonymous: DISPLAYCONFIG_VIDEO_SIGNAL_INFO_0,
1820 pub scanLineOrdering: DISPLAYCONFIG_SCANLINE_ORDERING,
1821 }
1822 impl ::core::marker::Copy for DISPLAYCONFIG_VIDEO_SIGNAL_INFO {}
1823 impl ::core::clone::Clone for DISPLAYCONFIG_VIDEO_SIGNAL_INFO {
1824 fn clone(&self) -> Self {
1825 *self
1826 }
1827 }
1828 #[repr(C)]
1829 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1830 pub union DISPLAYCONFIG_VIDEO_SIGNAL_INFO_0 {
1831 pub AdditionalSignalInfo: DISPLAYCONFIG_VIDEO_SIGNAL_INFO_0_0,
1832 pub videoStandard: u32,
1833 }
1834 impl ::core::marker::Copy for DISPLAYCONFIG_VIDEO_SIGNAL_INFO_0 {}
1835 impl ::core::clone::Clone for DISPLAYCONFIG_VIDEO_SIGNAL_INFO_0 {
1836 fn clone(&self) -> Self {
1837 *self
1838 }
1839 }
1840 #[repr(C)]
1841 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1842 pub struct DISPLAYCONFIG_VIDEO_SIGNAL_INFO_0_0 {
1843 pub _bitfield: u32,
1844 }
1845 impl ::core::marker::Copy for DISPLAYCONFIG_VIDEO_SIGNAL_INFO_0_0 {}
1846 impl ::core::clone::Clone for DISPLAYCONFIG_VIDEO_SIGNAL_INFO_0_0 {
1847 fn clone(&self) -> Self {
1848 *self
1849 }
1850 }
1851 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1852 pub const DISPLAYPOLICY_AC: u32 = 1u32;
1853 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1854 pub const DISPLAYPOLICY_DC: u32 = 2u32;
1855 #[repr(C)]
1856 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1857 pub struct DISPLAY_BRIGHTNESS {
1858 pub ucDisplayPolicy: u8,
1859 pub ucACBrightness: u8,
1860 pub ucDCBrightness: u8,
1861 }
1862 impl ::core::marker::Copy for DISPLAY_BRIGHTNESS {}
1863 impl ::core::clone::Clone for DISPLAY_BRIGHTNESS {
1864 fn clone(&self) -> Self {
1865 *self
1866 }
1867 }
1868 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1869 pub const DM_DEFAULT: u32 = 1u32;
1870 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1871 pub const DM_MONOCHROME: u32 = 2u32;
1872 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1873 pub const DN_ACCELERATION_LEVEL: u32 = 1u32;
1874 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1875 pub const DN_ASSOCIATE_WINDOW: u32 = 5u32;
1876 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1877 pub const DN_COMPOSITION_CHANGED: u32 = 6u32;
1878 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1879 pub const DN_DEVICE_ORIGIN: u32 = 2u32;
1880 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1881 pub const DN_DRAWING_BEGIN: u32 = 4u32;
1882 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1883 pub const DN_DRAWING_BEGIN_APIBITMAP: u32 = 7u32;
1884 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1885 pub const DN_SLEEP_MODE: u32 = 3u32;
1886 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1887 pub const DN_SURFOBJ_DESTRUCTION: u32 = 8u32;
1888 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1889 pub const DRD_ERROR: u32 = 1u32;
1890 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1891 pub const DRD_SUCCESS: u32 = 0u32;
1892 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1893 pub const DRH_APIBITMAP: u32 = 1u32;
1894 #[repr(C)]
1895 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
1896 #[cfg(feature = "Win32_Foundation")]
1897 pub struct DRH_APIBITMAPDATA {
1898 pub pso: *mut SURFOBJ,
1899 pub b: super::super::Foundation::BOOL,
1900 }
1901 #[cfg(feature = "Win32_Foundation")]
1902 impl ::core::marker::Copy for DRH_APIBITMAPDATA {}
1903 #[cfg(feature = "Win32_Foundation")]
1904 impl ::core::clone::Clone for DRH_APIBITMAPDATA {
1905 fn clone(&self) -> Self {
1906 *self
1907 }
1908 }
1909 #[repr(C)]
1910 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
1911 #[cfg(feature = "Win32_Foundation")]
1912 pub struct DRIVEROBJ {
1913 pub pvObj: *mut ::core::ffi::c_void,
1914 pub pFreeProc: FREEOBJPROC,
1915 pub hdev: HDEV,
1916 pub dhpdev: DHPDEV,
1917 }
1918 #[cfg(feature = "Win32_Foundation")]
1919 impl ::core::marker::Copy for DRIVEROBJ {}
1920 #[cfg(feature = "Win32_Foundation")]
1921 impl ::core::clone::Clone for DRIVEROBJ {
1922 fn clone(&self) -> Self {
1923 *self
1924 }
1925 }
1926 #[repr(C)]
1927 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1928 pub struct DRVENABLEDATA {
1929 pub iDriverVersion: u32,
1930 pub c: u32,
1931 pub pdrvfn: *mut DRVFN,
1932 }
1933 impl ::core::marker::Copy for DRVENABLEDATA {}
1934 impl ::core::clone::Clone for DRVENABLEDATA {
1935 fn clone(&self) -> Self {
1936 *self
1937 }
1938 }
1939 #[repr(C)]
1940 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1941 pub struct DRVFN {
1942 pub iFunc: u32,
1943 pub pfn: PFN,
1944 }
1945 impl ::core::marker::Copy for DRVFN {}
1946 impl ::core::clone::Clone for DRVFN {
1947 fn clone(&self) -> Self {
1948 *self
1949 }
1950 }
1951 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1952 pub const DRVQUERY_USERMODE: u32 = 1u32;
1953 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1954 pub const DSI_CHECKSUM_ERROR_CORRECTED: u32 = 256u32;
1955 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1956 pub const DSI_CHECKSUM_ERROR_NOT_CORRECTED: u32 = 512u32;
1957 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1958 pub const DSI_CONTENTION_DETECTED: u32 = 128u32;
1959 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1960 pub type DSI_CONTROL_TRANSMISSION_MODE = i32;
1961 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1962 pub const DCT_DEFAULT: DSI_CONTROL_TRANSMISSION_MODE = 0i32;
1963 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1964 pub const DCT_FORCE_LOW_POWER: DSI_CONTROL_TRANSMISSION_MODE = 1i32;
1965 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1966 pub const DCT_FORCE_HIGH_PERFORMANCE: DSI_CONTROL_TRANSMISSION_MODE = 2i32;
1967 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1968 pub const DSI_DSI_DATA_TYPE_NOT_RECOGNIZED: u32 = 2048u32;
1969 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1970 pub const DSI_DSI_PROTOCOL_VIOLATION: u32 = 32768u32;
1971 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1972 pub const DSI_DSI_VC_ID_INVALID: u32 = 4096u32;
1973 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1974 pub const DSI_EOT_SYNC_ERROR: u32 = 4u32;
1975 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1976 pub const DSI_ESCAPE_MODE_ENTRY_COMMAND_ERROR: u32 = 8u32;
1977 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1978 pub const DSI_FALSE_CONTROL_ERROR: u32 = 64u32;
1979 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1980 pub const DSI_INVALID_PACKET_INDEX: u32 = 255u32;
1981 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1982 pub const DSI_INVALID_TRANSMISSION_LENGTH: u32 = 8192u32;
1983 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1984 pub const DSI_LONG_PACKET_PAYLOAD_CHECKSUM_ERROR: u32 = 1024u32;
1985 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1986 pub const DSI_LOW_POWER_TRANSMIT_SYNC_ERROR: u32 = 16u32;
1987 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1988 pub const DSI_PACKET_EMBEDDED_PAYLOAD_SIZE: u32 = 8u32;
1989 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1990 pub const DSI_PERIPHERAL_TIMEOUT_ERROR: u32 = 32u32;
1991 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1992 pub const DSI_SOT_ERROR: u32 = 1u32;
1993 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1994 pub const DSI_SOT_SYNC_ERROR: u32 = 2u32;
1995 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1996 pub const DSS_FLUSH_EVENT: u32 = 2u32;
1997 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
1998 pub const DSS_RESERVED: u32 = 4u32;
1999 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2000 pub const DSS_RESERVED1: u32 = 8u32;
2001 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2002 pub const DSS_RESERVED2: u32 = 16u32;
2003 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2004 pub const DSS_TIMER_EVENT: u32 = 1u32;
2005 #[repr(C)]
2006 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2007 pub struct DXGK_WIN32K_PARAM_DATA {
2008 pub PathsArray: *mut ::core::ffi::c_void,
2009 pub ModesArray: *mut ::core::ffi::c_void,
2010 pub NumPathArrayElements: u32,
2011 pub NumModeArrayElements: u32,
2012 pub SDCFlags: u32,
2013 }
2014 impl ::core::marker::Copy for DXGK_WIN32K_PARAM_DATA {}
2015 impl ::core::clone::Clone for DXGK_WIN32K_PARAM_DATA {
2016 fn clone(&self) -> Self {
2017 *self
2018 }
2019 }
2020 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2021 pub const DXGK_WIN32K_PARAM_FLAG_DISABLEVIEW: u32 = 4u32;
2022 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2023 pub const DXGK_WIN32K_PARAM_FLAG_MODESWITCH: u32 = 2u32;
2024 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2025 pub const DXGK_WIN32K_PARAM_FLAG_UPDATEREGISTRY: u32 = 1u32;
2026 #[repr(C)]
2027 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
2028 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
2029 pub struct DisplayMode {
2030 pub DeviceName: [u16; 32],
2031 pub devMode: super::super::Graphics::Gdi::DEVMODEW,
2032 }
2033 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
2034 impl ::core::marker::Copy for DisplayMode {}
2035 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
2036 impl ::core::clone::Clone for DisplayMode {
2037 fn clone(&self) -> Self {
2038 *self
2039 }
2040 }
2041 #[repr(C)]
2042 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
2043 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
2044 pub struct DisplayModes {
2045 pub numDisplayModes: i32,
2046 pub displayMode: [DisplayMode; 1],
2047 }
2048 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
2049 impl ::core::marker::Copy for DisplayModes {}
2050 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
2051 impl ::core::clone::Clone for DisplayModes {
2052 fn clone(&self) -> Self {
2053 *self
2054 }
2055 }
2056 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2057 pub const ECS_REDRAW: u32 = 2u32;
2058 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2059 pub const ECS_TEARDOWN: u32 = 1u32;
2060 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2061 pub const ED_ABORTDOC: u32 = 1u32;
2062 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2063 pub const EHN_ERROR: u32 = 1u32;
2064 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2065 pub const EHN_RESTORED: u32 = 0u32;
2066 #[repr(C)]
2067 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Graphics_Gdi\"`*"]
2068 #[cfg(feature = "Win32_Graphics_Gdi")]
2069 pub struct EMFINFO {
2070 pub nSize: u32,
2071 pub hdc: super::super::Graphics::Gdi::HDC,
2072 pub pvEMF: *mut u8,
2073 pub pvCurrentRecord: *mut u8,
2074 }
2075 #[cfg(feature = "Win32_Graphics_Gdi")]
2076 impl ::core::marker::Copy for EMFINFO {}
2077 #[cfg(feature = "Win32_Graphics_Gdi")]
2078 impl ::core::clone::Clone for EMFINFO {
2079 fn clone(&self) -> Self {
2080 *self
2081 }
2082 }
2083 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2084 pub const ENDCAP_BUTT: i32 = 2i32;
2085 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2086 pub const ENDCAP_ROUND: i32 = 0i32;
2087 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2088 pub const ENDCAP_SQUARE: i32 = 1i32;
2089 #[repr(C)]
2090 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2091 pub struct ENGSAFESEMAPHORE {
2092 pub hsem: HSEMAPHORE,
2093 pub lCount: i32,
2094 }
2095 impl ::core::marker::Copy for ENGSAFESEMAPHORE {}
2096 impl ::core::clone::Clone for ENGSAFESEMAPHORE {
2097 fn clone(&self) -> Self {
2098 *self
2099 }
2100 }
2101 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2102 pub type ENG_DEVICE_ATTRIBUTE = i32;
2103 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2104 pub const QDA_RESERVED: ENG_DEVICE_ATTRIBUTE = 0i32;
2105 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2106 pub const QDA_ACCELERATION_LEVEL: ENG_DEVICE_ATTRIBUTE = 1i32;
2107 #[repr(C)]
2108 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2109 pub struct ENG_EVENT {
2110 pub pKEvent: *mut ::core::ffi::c_void,
2111 pub fFlags: u32,
2112 }
2113 impl ::core::marker::Copy for ENG_EVENT {}
2114 impl ::core::clone::Clone for ENG_EVENT {
2115 fn clone(&self) -> Self {
2116 *self
2117 }
2118 }
2119 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2120 pub const ENG_FNT_CACHE_READ_FAULT: u32 = 1u32;
2121 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2122 pub const ENG_FNT_CACHE_WRITE_FAULT: u32 = 2u32;
2123 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2124 pub type ENG_SYSTEM_ATTRIBUTE = i32;
2125 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2126 pub const EngProcessorFeature: ENG_SYSTEM_ATTRIBUTE = 1i32;
2127 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2128 pub const EngNumberOfProcessors: ENG_SYSTEM_ATTRIBUTE = 2i32;
2129 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2130 pub const EngOptimumAvailableUserMemory: ENG_SYSTEM_ATTRIBUTE = 3i32;
2131 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2132 pub const EngOptimumAvailableSystemMemory: ENG_SYSTEM_ATTRIBUTE = 4i32;
2133 #[repr(C)]
2134 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2135 pub struct ENG_TIME_FIELDS {
2136 pub usYear: u16,
2137 pub usMonth: u16,
2138 pub usDay: u16,
2139 pub usHour: u16,
2140 pub usMinute: u16,
2141 pub usSecond: u16,
2142 pub usMilliseconds: u16,
2143 pub usWeekday: u16,
2144 }
2145 impl ::core::marker::Copy for ENG_TIME_FIELDS {}
2146 impl ::core::clone::Clone for ENG_TIME_FIELDS {
2147 fn clone(&self) -> Self {
2148 *self
2149 }
2150 }
2151 #[repr(C)]
2152 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
2153 #[cfg(feature = "Win32_Foundation")]
2154 pub struct ENUMRECTS {
2155 pub c: u32,
2156 pub arcl: [super::super::Foundation::RECTL; 1],
2157 }
2158 #[cfg(feature = "Win32_Foundation")]
2159 impl ::core::marker::Copy for ENUMRECTS {}
2160 #[cfg(feature = "Win32_Foundation")]
2161 impl ::core::clone::Clone for ENUMRECTS {
2162 fn clone(&self) -> Self {
2163 *self
2164 }
2165 }
2166 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2167 pub const FC_COMPLEX: u32 = 3u32;
2168 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2169 pub const FC_RECT: u32 = 1u32;
2170 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2171 pub const FC_RECT4: u32 = 2u32;
2172 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2173 pub const FDM_TYPE_BM_SIDE_CONST: u32 = 1u32;
2174 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2175 pub const FDM_TYPE_CHAR_INC_EQUAL_BM_BASE: u32 = 4u32;
2176 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2177 pub const FDM_TYPE_CONST_BEARINGS: u32 = 16u32;
2178 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2179 pub const FDM_TYPE_MAXEXT_EQUAL_BM_SIDE: u32 = 2u32;
2180 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2181 pub const FDM_TYPE_ZERO_BEARINGS: u32 = 8u32;
2182 #[repr(C)]
2183 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
2184 #[cfg(feature = "Win32_Foundation")]
2185 pub struct FD_DEVICEMETRICS {
2186 pub flRealizedType: u32,
2187 pub pteBase: POINTE,
2188 pub pteSide: POINTE,
2189 pub lD: i32,
2190 pub fxMaxAscender: i32,
2191 pub fxMaxDescender: i32,
2192 pub ptlUnderline1: super::super::Foundation::POINTL,
2193 pub ptlStrikeOut: super::super::Foundation::POINTL,
2194 pub ptlULThickness: super::super::Foundation::POINTL,
2195 pub ptlSOThickness: super::super::Foundation::POINTL,
2196 pub cxMax: u32,
2197 pub cyMax: u32,
2198 pub cjGlyphMax: u32,
2199 pub fdxQuantized: FD_XFORM,
2200 pub lNonLinearExtLeading: i32,
2201 pub lNonLinearIntLeading: i32,
2202 pub lNonLinearMaxCharWidth: i32,
2203 pub lNonLinearAvgCharWidth: i32,
2204 pub lMinA: i32,
2205 pub lMinC: i32,
2206 pub lMinD: i32,
2207 pub alReserved: [i32; 1],
2208 }
2209 #[cfg(feature = "Win32_Foundation")]
2210 impl ::core::marker::Copy for FD_DEVICEMETRICS {}
2211 #[cfg(feature = "Win32_Foundation")]
2212 impl ::core::clone::Clone for FD_DEVICEMETRICS {
2213 fn clone(&self) -> Self {
2214 *self
2215 }
2216 }
2217 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2218 pub const FD_ERROR: u32 = 4294967295u32;
2219 #[repr(C)]
2220 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2221 pub struct FD_GLYPHATTR {
2222 pub cjThis: u32,
2223 pub cGlyphs: u32,
2224 pub iMode: u32,
2225 pub aGlyphAttr: [u8; 1],
2226 }
2227 impl ::core::marker::Copy for FD_GLYPHATTR {}
2228 impl ::core::clone::Clone for FD_GLYPHATTR {
2229 fn clone(&self) -> Self {
2230 *self
2231 }
2232 }
2233 #[repr(C)]
2234 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2235 pub struct FD_GLYPHSET {
2236 pub cjThis: u32,
2237 pub flAccel: u32,
2238 pub cGlyphsSupported: u32,
2239 pub cRuns: u32,
2240 pub awcrun: [WCRUN; 1],
2241 }
2242 impl ::core::marker::Copy for FD_GLYPHSET {}
2243 impl ::core::clone::Clone for FD_GLYPHSET {
2244 fn clone(&self) -> Self {
2245 *self
2246 }
2247 }
2248 #[repr(C)]
2249 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2250 pub struct FD_KERNINGPAIR {
2251 pub wcFirst: u16,
2252 pub wcSecond: u16,
2253 pub fwdKern: i16,
2254 }
2255 impl ::core::marker::Copy for FD_KERNINGPAIR {}
2256 impl ::core::clone::Clone for FD_KERNINGPAIR {
2257 fn clone(&self) -> Self {
2258 *self
2259 }
2260 }
2261 #[repr(C)]
2262 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2263 pub struct FD_LIGATURE {
2264 pub culThis: u32,
2265 pub ulType: u32,
2266 pub cLigatures: u32,
2267 pub alig: [LIGATURE; 1],
2268 }
2269 impl ::core::marker::Copy for FD_LIGATURE {}
2270 impl ::core::clone::Clone for FD_LIGATURE {
2271 fn clone(&self) -> Self {
2272 *self
2273 }
2274 }
2275 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2276 pub const FD_NEGATIVE_FONT: i32 = 1i32;
2277 #[repr(C)]
2278 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2279 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
2280 pub struct FD_XFORM {
2281 pub eXX: f32,
2282 pub eXY: f32,
2283 pub eYX: f32,
2284 pub eYY: f32,
2285 }
2286 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
2287 impl ::core::marker::Copy for FD_XFORM {}
2288 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
2289 impl ::core::clone::Clone for FD_XFORM {
2290 fn clone(&self) -> Self {
2291 *self
2292 }
2293 }
2294 #[repr(C)]
2295 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2296 #[cfg(target_arch = "x86")]
2297 pub struct FD_XFORM {
2298 pub eXX: u32,
2299 pub eXY: u32,
2300 pub eYX: u32,
2301 pub eYY: u32,
2302 }
2303 #[cfg(target_arch = "x86")]
2304 impl ::core::marker::Copy for FD_XFORM {}
2305 #[cfg(target_arch = "x86")]
2306 impl ::core::clone::Clone for FD_XFORM {
2307 fn clone(&self) -> Self {
2308 *self
2309 }
2310 }
2311 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2312 pub const FF_IGNORED_SIGNATURE: u32 = 2u32;
2313 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2314 pub const FF_SIGNATURE_VERIFIED: u32 = 1u32;
2315 #[repr(C)]
2316 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2317 #[cfg(target_arch = "x86")]
2318 pub struct FLOATOBJ {
2319 pub ul1: u32,
2320 pub ul2: u32,
2321 }
2322 #[cfg(target_arch = "x86")]
2323 impl ::core::marker::Copy for FLOATOBJ {}
2324 #[cfg(target_arch = "x86")]
2325 impl ::core::clone::Clone for FLOATOBJ {
2326 fn clone(&self) -> Self {
2327 *self
2328 }
2329 }
2330 #[repr(C)]
2331 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2332 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
2333 pub struct FLOATOBJ_XFORM {
2334 pub eM11: f32,
2335 pub eM12: f32,
2336 pub eM21: f32,
2337 pub eM22: f32,
2338 pub eDx: f32,
2339 pub eDy: f32,
2340 }
2341 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
2342 impl ::core::marker::Copy for FLOATOBJ_XFORM {}
2343 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
2344 impl ::core::clone::Clone for FLOATOBJ_XFORM {
2345 fn clone(&self) -> Self {
2346 *self
2347 }
2348 }
2349 #[repr(C)]
2350 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2351 #[cfg(target_arch = "x86")]
2352 pub struct FLOATOBJ_XFORM {
2353 pub eM11: FLOATOBJ,
2354 pub eM12: FLOATOBJ,
2355 pub eM21: FLOATOBJ,
2356 pub eM22: FLOATOBJ,
2357 pub eDx: FLOATOBJ,
2358 pub eDy: FLOATOBJ,
2359 }
2360 #[cfg(target_arch = "x86")]
2361 impl ::core::marker::Copy for FLOATOBJ_XFORM {}
2362 #[cfg(target_arch = "x86")]
2363 impl ::core::clone::Clone for FLOATOBJ_XFORM {
2364 fn clone(&self) -> Self {
2365 *self
2366 }
2367 }
2368 #[repr(C)]
2369 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2370 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
2371 pub union FLOAT_LONG {
2372 pub e: f32,
2373 pub l: i32,
2374 }
2375 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
2376 impl ::core::marker::Copy for FLOAT_LONG {}
2377 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
2378 impl ::core::clone::Clone for FLOAT_LONG {
2379 fn clone(&self) -> Self {
2380 *self
2381 }
2382 }
2383 #[repr(C)]
2384 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2385 #[cfg(target_arch = "x86")]
2386 pub union FLOAT_LONG {
2387 pub e: u32,
2388 pub l: i32,
2389 }
2390 #[cfg(target_arch = "x86")]
2391 impl ::core::marker::Copy for FLOAT_LONG {}
2392 #[cfg(target_arch = "x86")]
2393 impl ::core::clone::Clone for FLOAT_LONG {
2394 fn clone(&self) -> Self {
2395 *self
2396 }
2397 }
2398 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2399 pub const FL_NONPAGED_MEMORY: u32 = 2u32;
2400 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2401 pub const FL_NON_SESSION: u32 = 4u32;
2402 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2403 pub const FL_ZERO_MEMORY: u32 = 1u32;
2404 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2405 pub const FM_EDITABLE_EMBED: u32 = 8u32;
2406 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2407 pub const FM_INFO_16BPP: u32 = 256u32;
2408 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2409 pub const FM_INFO_1BPP: u32 = 32u32;
2410 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2411 pub const FM_INFO_24BPP: u32 = 512u32;
2412 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2413 pub const FM_INFO_32BPP: u32 = 1024u32;
2414 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2415 pub const FM_INFO_4BPP: u32 = 64u32;
2416 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2417 pub const FM_INFO_8BPP: u32 = 128u32;
2418 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2419 pub const FM_INFO_90DEGREE_ROTATIONS: u32 = 2097152u32;
2420 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2421 pub const FM_INFO_ANISOTROPIC_SCALING_ONLY: u32 = 33554432u32;
2422 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2423 pub const FM_INFO_ARB_XFORMS: u32 = 16u32;
2424 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2425 pub const FM_INFO_CONSTANT_WIDTH: u32 = 4096u32;
2426 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2427 pub const FM_INFO_DBCS_FIXED_PITCH: u32 = 268435456u32;
2428 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2429 pub const FM_INFO_DO_NOT_ENUMERATE: u32 = 8388608u32;
2430 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2431 pub const FM_INFO_DSIG: u32 = 262144u32;
2432 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2433 pub const FM_INFO_FAMILY_EQUIV: u32 = 134217728u32;
2434 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2435 pub const FM_INFO_IGNORE_TC_RA_ABLE: u32 = 1073741824u32;
2436 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2437 pub const FM_INFO_INTEGER_WIDTH: u32 = 2048u32;
2438 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2439 pub const FM_INFO_INTEGRAL_SCALING: u32 = 1048576u32;
2440 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2441 pub const FM_INFO_ISOTROPIC_SCALING_ONLY: u32 = 16777216u32;
2442 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2443 pub const FM_INFO_NONNEGATIVE_AC: u32 = 536870912u32;
2444 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2445 pub const FM_INFO_NOT_CONTIGUOUS: u32 = 8192u32;
2446 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2447 pub const FM_INFO_OPTICALLY_FIXED_PITCH: u32 = 4194304u32;
2448 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2449 pub const FM_INFO_RETURNS_BITMAPS: u32 = 131072u32;
2450 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2451 pub const FM_INFO_RETURNS_OUTLINES: u32 = 32768u32;
2452 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2453 pub const FM_INFO_RETURNS_STROKES: u32 = 65536u32;
2454 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2455 pub const FM_INFO_RIGHT_HANDED: u32 = 524288u32;
2456 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2457 pub const FM_INFO_TECH_BITMAP: u32 = 2u32;
2458 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2459 pub const FM_INFO_TECH_CFF: u32 = 67108864u32;
2460 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2461 pub const FM_INFO_TECH_MM: u32 = 16384u32;
2462 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2463 pub const FM_INFO_TECH_OUTLINE_NOT_TRUETYPE: u32 = 8u32;
2464 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2465 pub const FM_INFO_TECH_STROKE: u32 = 4u32;
2466 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2467 pub const FM_INFO_TECH_TRUETYPE: u32 = 1u32;
2468 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2469 pub const FM_INFO_TECH_TYPE1: u32 = 2147483648u32;
2470 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2471 pub const FM_NO_EMBEDDING: u32 = 2u32;
2472 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2473 pub const FM_PANOSE_CULTURE_LATIN: u32 = 0u32;
2474 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2475 pub const FM_READONLY_EMBED: u32 = 4u32;
2476 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2477 pub const FM_SEL_BOLD: u32 = 32u32;
2478 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2479 pub const FM_SEL_ITALIC: u32 = 1u32;
2480 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2481 pub const FM_SEL_NEGATIVE: u32 = 4u32;
2482 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2483 pub const FM_SEL_OUTLINED: u32 = 8u32;
2484 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2485 pub const FM_SEL_REGULAR: u32 = 64u32;
2486 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2487 pub const FM_SEL_STRIKEOUT: u32 = 16u32;
2488 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2489 pub const FM_SEL_UNDERSCORE: u32 = 2u32;
2490 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2491 pub const FM_TYPE_LICENSED: u32 = 2u32;
2492 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2493 pub const FM_VERSION_NUMBER: u32 = 0u32;
2494 #[repr(C)]
2495 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
2496 #[cfg(feature = "Win32_Foundation")]
2497 pub struct FONTDIFF {
2498 pub jReserved1: u8,
2499 pub jReserved2: u8,
2500 pub jReserved3: u8,
2501 pub bWeight: u8,
2502 pub usWinWeight: u16,
2503 pub fsSelection: u16,
2504 pub fwdAveCharWidth: i16,
2505 pub fwdMaxCharInc: i16,
2506 pub ptlCaret: super::super::Foundation::POINTL,
2507 }
2508 #[cfg(feature = "Win32_Foundation")]
2509 impl ::core::marker::Copy for FONTDIFF {}
2510 #[cfg(feature = "Win32_Foundation")]
2511 impl ::core::clone::Clone for FONTDIFF {
2512 fn clone(&self) -> Self {
2513 *self
2514 }
2515 }
2516 #[repr(C)]
2517 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2518 pub struct FONTINFO {
2519 pub cjThis: u32,
2520 pub flCaps: u32,
2521 pub cGlyphsSupported: u32,
2522 pub cjMaxGlyph1: u32,
2523 pub cjMaxGlyph4: u32,
2524 pub cjMaxGlyph8: u32,
2525 pub cjMaxGlyph32: u32,
2526 }
2527 impl ::core::marker::Copy for FONTINFO {}
2528 impl ::core::clone::Clone for FONTINFO {
2529 fn clone(&self) -> Self {
2530 *self
2531 }
2532 }
2533 #[repr(C)]
2534 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
2535 #[cfg(feature = "Win32_Foundation")]
2536 pub struct FONTOBJ {
2537 pub iUniq: u32,
2538 pub iFace: u32,
2539 pub cxMax: u32,
2540 pub flFontType: u32,
2541 pub iTTUniq: usize,
2542 pub iFile: usize,
2543 pub sizLogResPpi: super::super::Foundation::SIZE,
2544 pub ulStyleSize: u32,
2545 pub pvConsumer: *mut ::core::ffi::c_void,
2546 pub pvProducer: *mut ::core::ffi::c_void,
2547 }
2548 #[cfg(feature = "Win32_Foundation")]
2549 impl ::core::marker::Copy for FONTOBJ {}
2550 #[cfg(feature = "Win32_Foundation")]
2551 impl ::core::clone::Clone for FONTOBJ {
2552 fn clone(&self) -> Self {
2553 *self
2554 }
2555 }
2556 #[repr(C)]
2557 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2558 pub struct FONTSIM {
2559 pub dpBold: i32,
2560 pub dpItalic: i32,
2561 pub dpBoldItalic: i32,
2562 }
2563 impl ::core::marker::Copy for FONTSIM {}
2564 impl ::core::clone::Clone for FONTSIM {
2565 fn clone(&self) -> Self {
2566 *self
2567 }
2568 }
2569 #[repr(C)]
2570 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_System_Console\"`*"]
2571 #[cfg(feature = "Win32_System_Console")]
2572 pub struct FONT_IMAGE_INFO {
2573 pub FontSize: super::super::System::Console::COORD,
2574 pub ImageBits: *mut u8,
2575 }
2576 #[cfg(feature = "Win32_System_Console")]
2577 impl ::core::marker::Copy for FONT_IMAGE_INFO {}
2578 #[cfg(feature = "Win32_System_Console")]
2579 impl ::core::clone::Clone for FONT_IMAGE_INFO {
2580 fn clone(&self) -> Self {
2581 *self
2582 }
2583 }
2584 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2585 pub const FO_ATTR_MODE_ROTATE: u32 = 1u32;
2586 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2587 pub const FO_CFF: u32 = 1048576u32;
2588 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2589 pub const FO_CLEARTYPENATURAL_X: u32 = 1073741824u32;
2590 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2591 pub const FO_CLEARTYPE_X: u32 = 268435456u32;
2592 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2593 pub const FO_CLEARTYPE_Y: u32 = 536870912u32;
2594 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2595 pub const FO_DBCS_FONT: u32 = 16777216u32;
2596 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2597 pub const FO_DEVICE_FONT: i32 = 1i32;
2598 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2599 pub const FO_EM_HEIGHT: u32 = 32768u32;
2600 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2601 pub const FO_GLYPHBITS: i32 = 1i32;
2602 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2603 pub const FO_GRAY16: u32 = 65536u32;
2604 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2605 pub const FO_HGLYPHS: i32 = 0i32;
2606 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2607 pub const FO_MULTIPLEMASTER: u32 = 4194304u32;
2608 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2609 pub const FO_NOCLEARTYPE: u32 = 33554432u32;
2610 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2611 pub const FO_NOGRAY16: u32 = 131072u32;
2612 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2613 pub const FO_NOHINTS: u32 = 262144u32;
2614 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2615 pub const FO_NO_CHOICE: u32 = 524288u32;
2616 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2617 pub const FO_OUTLINE_CAPABLE: i32 = 2i32;
2618 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2619 pub const FO_PATHOBJ: i32 = 2i32;
2620 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2621 pub const FO_POSTSCRIPT: u32 = 2097152u32;
2622 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2623 pub const FO_SIM_BOLD: u32 = 8192u32;
2624 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2625 pub const FO_SIM_ITALIC: u32 = 16384u32;
2626 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2627 pub const FO_VERT_FACE: u32 = 8388608u32;
2628 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2629 pub const FP_ALTERNATEMODE: i32 = 1i32;
2630 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2631 pub const FP_WINDINGMODE: i32 = 2i32;
2632 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
2633 #[cfg(feature = "Win32_Foundation")]
2634 pub type FREEOBJPROC = ::core::option::Option<unsafe extern "system" fn(pdriverobj: *mut DRIVEROBJ) -> super::super::Foundation::BOOL>;
2635 #[repr(C)]
2636 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_System_Console\"`*"]
2637 #[cfg(feature = "Win32_System_Console")]
2638 pub struct FSCNTL_SCREEN_INFO {
2639 pub Position: super::super::System::Console::COORD,
2640 pub ScreenSize: super::super::System::Console::COORD,
2641 pub nNumberOfChars: u32,
2642 }
2643 #[cfg(feature = "Win32_System_Console")]
2644 impl ::core::marker::Copy for FSCNTL_SCREEN_INFO {}
2645 #[cfg(feature = "Win32_System_Console")]
2646 impl ::core::clone::Clone for FSCNTL_SCREEN_INFO {
2647 fn clone(&self) -> Self {
2648 *self
2649 }
2650 }
2651 #[repr(C)]
2652 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_System_Console\"`*"]
2653 #[cfg(feature = "Win32_System_Console")]
2654 pub struct FSVIDEO_COPY_FRAME_BUFFER {
2655 pub SrcScreen: FSCNTL_SCREEN_INFO,
2656 pub DestScreen: FSCNTL_SCREEN_INFO,
2657 }
2658 #[cfg(feature = "Win32_System_Console")]
2659 impl ::core::marker::Copy for FSVIDEO_COPY_FRAME_BUFFER {}
2660 #[cfg(feature = "Win32_System_Console")]
2661 impl ::core::clone::Clone for FSVIDEO_COPY_FRAME_BUFFER {
2662 fn clone(&self) -> Self {
2663 *self
2664 }
2665 }
2666 #[repr(C)]
2667 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2668 pub struct FSVIDEO_CURSOR_POSITION {
2669 pub Coord: VIDEO_CURSOR_POSITION,
2670 pub dwType: u32,
2671 }
2672 impl ::core::marker::Copy for FSVIDEO_CURSOR_POSITION {}
2673 impl ::core::clone::Clone for FSVIDEO_CURSOR_POSITION {
2674 fn clone(&self) -> Self {
2675 *self
2676 }
2677 }
2678 #[repr(C)]
2679 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2680 pub struct FSVIDEO_MODE_INFORMATION {
2681 pub VideoMode: VIDEO_MODE_INFORMATION,
2682 pub VideoMemory: VIDEO_MEMORY_INFORMATION,
2683 }
2684 impl ::core::marker::Copy for FSVIDEO_MODE_INFORMATION {}
2685 impl ::core::clone::Clone for FSVIDEO_MODE_INFORMATION {
2686 fn clone(&self) -> Self {
2687 *self
2688 }
2689 }
2690 #[repr(C)]
2691 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_System_Console\"`*"]
2692 #[cfg(feature = "Win32_System_Console")]
2693 pub struct FSVIDEO_REVERSE_MOUSE_POINTER {
2694 pub Screen: FSCNTL_SCREEN_INFO,
2695 pub dwType: u32,
2696 }
2697 #[cfg(feature = "Win32_System_Console")]
2698 impl ::core::marker::Copy for FSVIDEO_REVERSE_MOUSE_POINTER {}
2699 #[cfg(feature = "Win32_System_Console")]
2700 impl ::core::clone::Clone for FSVIDEO_REVERSE_MOUSE_POINTER {
2701 fn clone(&self) -> Self {
2702 *self
2703 }
2704 }
2705 #[repr(C)]
2706 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_System_Console\"`*"]
2707 #[cfg(feature = "Win32_System_Console")]
2708 pub struct FSVIDEO_SCREEN_INFORMATION {
2709 pub ScreenSize: super::super::System::Console::COORD,
2710 pub FontSize: super::super::System::Console::COORD,
2711 }
2712 #[cfg(feature = "Win32_System_Console")]
2713 impl ::core::marker::Copy for FSVIDEO_SCREEN_INFORMATION {}
2714 #[cfg(feature = "Win32_System_Console")]
2715 impl ::core::clone::Clone for FSVIDEO_SCREEN_INFORMATION {
2716 fn clone(&self) -> Self {
2717 *self
2718 }
2719 }
2720 #[repr(C)]
2721 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_System_Console\"`*"]
2722 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Console"))]
2723 pub struct FSVIDEO_WRITE_TO_FRAME_BUFFER {
2724 pub SrcBuffer: *mut CHAR_IMAGE_INFO,
2725 pub DestScreen: FSCNTL_SCREEN_INFO,
2726 }
2727 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Console"))]
2728 impl ::core::marker::Copy for FSVIDEO_WRITE_TO_FRAME_BUFFER {}
2729 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Console"))]
2730 impl ::core::clone::Clone for FSVIDEO_WRITE_TO_FRAME_BUFFER {
2731 fn clone(&self) -> Self {
2732 *self
2733 }
2734 }
2735 #[repr(C)]
2736 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2737 pub struct GAMMARAMP {
2738 pub Red: [u16; 256],
2739 pub Green: [u16; 256],
2740 pub Blue: [u16; 256],
2741 }
2742 impl ::core::marker::Copy for GAMMARAMP {}
2743 impl ::core::clone::Clone for GAMMARAMP {
2744 fn clone(&self) -> Self {
2745 *self
2746 }
2747 }
2748 #[repr(C)]
2749 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2750 pub struct GAMMA_RAMP_DXGI_1 {
2751 pub Scale: GAMMA_RAMP_RGB,
2752 pub Offset: GAMMA_RAMP_RGB,
2753 pub GammaCurve: [GAMMA_RAMP_RGB; 1025],
2754 }
2755 impl ::core::marker::Copy for GAMMA_RAMP_DXGI_1 {}
2756 impl ::core::clone::Clone for GAMMA_RAMP_DXGI_1 {
2757 fn clone(&self) -> Self {
2758 *self
2759 }
2760 }
2761 #[repr(C)]
2762 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2763 pub struct GAMMA_RAMP_RGB {
2764 pub Red: f32,
2765 pub Green: f32,
2766 pub Blue: f32,
2767 }
2768 impl ::core::marker::Copy for GAMMA_RAMP_RGB {}
2769 impl ::core::clone::Clone for GAMMA_RAMP_RGB {
2770 fn clone(&self) -> Self {
2771 *self
2772 }
2773 }
2774 #[repr(C)]
2775 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2776 pub struct GAMMA_RAMP_RGB256x3x16 {
2777 pub Red: [u16; 256],
2778 pub Green: [u16; 256],
2779 pub Blue: [u16; 256],
2780 }
2781 impl ::core::marker::Copy for GAMMA_RAMP_RGB256x3x16 {}
2782 impl ::core::clone::Clone for GAMMA_RAMP_RGB256x3x16 {
2783 fn clone(&self) -> Self {
2784 *self
2785 }
2786 }
2787 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2788 pub const GCAPS2_ACC_DRIVER: u32 = 32768u32;
2789 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2790 pub const GCAPS2_ALPHACURSOR: u32 = 32u32;
2791 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2792 pub const GCAPS2_BITMAPEXREUSE: u32 = 65536u32;
2793 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2794 pub const GCAPS2_CHANGEGAMMARAMP: u32 = 16u32;
2795 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2796 pub const GCAPS2_CLEARTYPE: u32 = 16384u32;
2797 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2798 pub const GCAPS2_EXCLUDELAYERED: u32 = 2048u32;
2799 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2800 pub const GCAPS2_ICD_MULTIMON: u32 = 256u32;
2801 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2802 pub const GCAPS2_INCLUDEAPIBITMAPS: u32 = 4096u32;
2803 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2804 pub const GCAPS2_JPEGSRC: u32 = 1u32;
2805 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2806 pub const GCAPS2_MOUSETRAILS: u32 = 512u32;
2807 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2808 pub const GCAPS2_PNGSRC: u32 = 8u32;
2809 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2810 pub const GCAPS2_REMOTEDRIVER: u32 = 1024u32;
2811 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2812 pub const GCAPS2_RESERVED1: u32 = 1024u32;
2813 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2814 pub const GCAPS2_SHOWHIDDENPOINTER: u32 = 8192u32;
2815 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2816 pub const GCAPS2_SYNCFLUSH: u32 = 64u32;
2817 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2818 pub const GCAPS2_SYNCTIMER: u32 = 128u32;
2819 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2820 pub const GCAPS2_xxxx: u32 = 2u32;
2821 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2822 pub const GCAPS_ALTERNATEFILL: u32 = 4u32;
2823 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2824 pub const GCAPS_ARBRUSHOPAQUE: u32 = 32768u32;
2825 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2826 pub const GCAPS_ARBRUSHTEXT: u32 = 268435456u32;
2827 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2828 pub const GCAPS_ASYNCCHANGE: u32 = 2048u32;
2829 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2830 pub const GCAPS_ASYNCMOVE: u32 = 4096u32;
2831 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2832 pub const GCAPS_BEZIERS: u32 = 1u32;
2833 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2834 pub const GCAPS_CMYKCOLOR: u32 = 67108864u32;
2835 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2836 pub const GCAPS_COLOR_DITHER: u32 = 32u32;
2837 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2838 pub const GCAPS_DIRECTDRAW: u32 = 16384u32;
2839 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2840 pub const GCAPS_DITHERONREALIZE: u32 = 2097152u32;
2841 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2842 pub const GCAPS_DONTJOURNAL: u32 = 8192u32;
2843 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2844 pub const GCAPS_FONT_RASTERIZER: u32 = 1073741824u32;
2845 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2846 pub const GCAPS_FORCEDITHER: u32 = 8388608u32;
2847 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2848 pub const GCAPS_GEOMETRICWIDE: u32 = 2u32;
2849 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2850 pub const GCAPS_GRAY16: u32 = 16777216u32;
2851 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2852 pub const GCAPS_HALFTONE: u32 = 16u32;
2853 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2854 pub const GCAPS_HIGHRESTEXT: u32 = 262144u32;
2855 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2856 pub const GCAPS_HORIZSTRIKE: u32 = 64u32;
2857 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2858 pub const GCAPS_ICM: u32 = 33554432u32;
2859 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2860 pub const GCAPS_LAYERED: u32 = 134217728u32;
2861 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2862 pub const GCAPS_MONO_DITHER: u32 = 1024u32;
2863 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2864 pub const GCAPS_NO64BITMEMACCESS: u32 = 4194304u32;
2865 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2866 pub const GCAPS_NUP: u32 = 2147483648u32;
2867 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2868 pub const GCAPS_OPAQUERECT: u32 = 256u32;
2869 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2870 pub const GCAPS_PALMANAGED: u32 = 524288u32;
2871 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2872 pub const GCAPS_PANNING: u32 = 65536u32;
2873 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2874 pub const GCAPS_SCREENPRECISION: u32 = 536870912u32;
2875 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2876 pub const GCAPS_VECTORFONT: u32 = 512u32;
2877 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2878 pub const GCAPS_VERTSTRIKE: u32 = 128u32;
2879 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2880 pub const GCAPS_WINDINGFILL: u32 = 8u32;
2881 #[repr(C)]
2882 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
2883 #[cfg(feature = "Win32_Foundation")]
2884 pub struct GDIINFO {
2885 pub ulVersion: u32,
2886 pub ulTechnology: u32,
2887 pub ulHorzSize: u32,
2888 pub ulVertSize: u32,
2889 pub ulHorzRes: u32,
2890 pub ulVertRes: u32,
2891 pub cBitsPixel: u32,
2892 pub cPlanes: u32,
2893 pub ulNumColors: u32,
2894 pub flRaster: u32,
2895 pub ulLogPixelsX: u32,
2896 pub ulLogPixelsY: u32,
2897 pub flTextCaps: u32,
2898 pub ulDACRed: u32,
2899 pub ulDACGreen: u32,
2900 pub ulDACBlue: u32,
2901 pub ulAspectX: u32,
2902 pub ulAspectY: u32,
2903 pub ulAspectXY: u32,
2904 pub xStyleStep: i32,
2905 pub yStyleStep: i32,
2906 pub denStyleStep: i32,
2907 pub ptlPhysOffset: super::super::Foundation::POINTL,
2908 pub szlPhysSize: super::super::Foundation::SIZE,
2909 pub ulNumPalReg: u32,
2910 pub ciDevice: COLORINFO,
2911 pub ulDevicePelsDPI: u32,
2912 pub ulPrimaryOrder: u32,
2913 pub ulHTPatternSize: u32,
2914 pub ulHTOutputFormat: u32,
2915 pub flHTFlags: u32,
2916 pub ulVRefresh: u32,
2917 pub ulBltAlignment: u32,
2918 pub ulPanningHorzRes: u32,
2919 pub ulPanningVertRes: u32,
2920 pub xPanningAlignment: u32,
2921 pub yPanningAlignment: u32,
2922 pub cxHTPat: u32,
2923 pub cyHTPat: u32,
2924 pub pHTPatA: *mut u8,
2925 pub pHTPatB: *mut u8,
2926 pub pHTPatC: *mut u8,
2927 pub flShadeBlend: u32,
2928 pub ulPhysicalPixelCharacteristics: u32,
2929 pub ulPhysicalPixelGamma: u32,
2930 }
2931 #[cfg(feature = "Win32_Foundation")]
2932 impl ::core::marker::Copy for GDIINFO {}
2933 #[cfg(feature = "Win32_Foundation")]
2934 impl ::core::clone::Clone for GDIINFO {
2935 fn clone(&self) -> Self {
2936 *self
2937 }
2938 }
2939 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2940 pub const GDI_DRIVER_VERSION: u32 = 16384u32;
2941 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2942 pub const GETCONNECTEDIDS_SOURCE: u32 = 1u32;
2943 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
2944 pub const GETCONNECTEDIDS_TARGET: u32 = 0u32;
2945 #[repr(C)]
2946 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
2947 #[cfg(feature = "Win32_Foundation")]
2948 pub struct GLYPHBITS {
2949 pub ptlOrigin: super::super::Foundation::POINTL,
2950 pub sizlBitmap: super::super::Foundation::SIZE,
2951 pub aj: [u8; 1],
2952 }
2953 #[cfg(feature = "Win32_Foundation")]
2954 impl ::core::marker::Copy for GLYPHBITS {}
2955 #[cfg(feature = "Win32_Foundation")]
2956 impl ::core::clone::Clone for GLYPHBITS {
2957 fn clone(&self) -> Self {
2958 *self
2959 }
2960 }
2961 #[repr(C)]
2962 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
2963 #[cfg(feature = "Win32_Foundation")]
2964 pub struct GLYPHDATA {
2965 pub gdf: GLYPHDEF,
2966 pub hg: u32,
2967 pub fxD: i32,
2968 pub fxA: i32,
2969 pub fxAB: i32,
2970 pub fxInkTop: i32,
2971 pub fxInkBottom: i32,
2972 pub rclInk: super::super::Foundation::RECTL,
2973 pub ptqD: POINTQF,
2974 }
2975 #[cfg(feature = "Win32_Foundation")]
2976 impl ::core::marker::Copy for GLYPHDATA {}
2977 #[cfg(feature = "Win32_Foundation")]
2978 impl ::core::clone::Clone for GLYPHDATA {
2979 fn clone(&self) -> Self {
2980 *self
2981 }
2982 }
2983 #[repr(C)]
2984 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
2985 #[cfg(feature = "Win32_Foundation")]
2986 pub union GLYPHDEF {
2987 pub pgb: *mut GLYPHBITS,
2988 pub ppo: *mut PATHOBJ,
2989 }
2990 #[cfg(feature = "Win32_Foundation")]
2991 impl ::core::marker::Copy for GLYPHDEF {}
2992 #[cfg(feature = "Win32_Foundation")]
2993 impl ::core::clone::Clone for GLYPHDEF {
2994 fn clone(&self) -> Self {
2995 *self
2996 }
2997 }
2998 #[repr(C)]
2999 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
3000 #[cfg(feature = "Win32_Foundation")]
3001 pub struct GLYPHPOS {
3002 pub hg: u32,
3003 pub pgdf: *mut GLYPHDEF,
3004 pub ptl: super::super::Foundation::POINTL,
3005 }
3006 #[cfg(feature = "Win32_Foundation")]
3007 impl ::core::marker::Copy for GLYPHPOS {}
3008 #[cfg(feature = "Win32_Foundation")]
3009 impl ::core::clone::Clone for GLYPHPOS {
3010 fn clone(&self) -> Self {
3011 *self
3012 }
3013 }
3014 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3015 pub const GS_16BIT_HANDLES: u32 = 4u32;
3016 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3017 pub const GS_8BIT_HANDLES: u32 = 2u32;
3018 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3019 pub const GS_UNICODE_HANDLES: u32 = 1u32;
3020 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] };
3021 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] };
3022 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] };
3023 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] };
3024 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] };
3025 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3026 pub const GX_GENERAL: i32 = 3i32;
3027 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3028 pub const GX_IDENTITY: i32 = 0i32;
3029 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3030 pub const GX_OFFSET: i32 = 1i32;
3031 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3032 pub const GX_SCALE: i32 = 2i32;
3033 pub type HBM = isize;
3034 pub type HDEV = isize;
3035 pub type HDRVOBJ = isize;
3036 pub type HFASTMUTEX = isize;
3037 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3038 pub const HOOK_ALPHABLEND: u32 = 65536u32;
3039 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3040 pub const HOOK_BITBLT: u32 = 1u32;
3041 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3042 pub const HOOK_COPYBITS: u32 = 1024u32;
3043 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3044 pub const HOOK_FILLPATH: u32 = 64u32;
3045 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3046 pub const HOOK_FLAGS: u32 = 243199u32;
3047 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3048 pub const HOOK_GRADIENTFILL: u32 = 131072u32;
3049 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3050 pub const HOOK_LINETO: u32 = 256u32;
3051 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3052 pub const HOOK_MOVEPANNING: u32 = 2048u32;
3053 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3054 pub const HOOK_PAINT: u32 = 16u32;
3055 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3056 pub const HOOK_PLGBLT: u32 = 4u32;
3057 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3058 pub const HOOK_STRETCHBLT: u32 = 2u32;
3059 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3060 pub const HOOK_STRETCHBLTROP: u32 = 8192u32;
3061 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3062 pub const HOOK_STROKEANDFILLPATH: u32 = 128u32;
3063 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3064 pub const HOOK_STROKEPATH: u32 = 32u32;
3065 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3066 pub const HOOK_SYNCHRONIZE: u32 = 4096u32;
3067 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3068 pub const HOOK_SYNCHRONIZEACCESS: u32 = 16384u32;
3069 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3070 pub const HOOK_TEXTOUT: u32 = 8u32;
3071 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3072 pub const HOOK_TRANSPARENTBLT: u32 = 32768u32;
3073 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3074 pub const HOST_DSI_BAD_TRANSMISSION_MODE: u32 = 4096u32;
3075 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3076 pub const HOST_DSI_DEVICE_NOT_READY: u32 = 1u32;
3077 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3078 pub const HOST_DSI_DEVICE_RESET: u32 = 4u32;
3079 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3080 pub const HOST_DSI_DRIVER_REJECTED_PACKET: u32 = 1024u32;
3081 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3082 pub const HOST_DSI_INTERFACE_RESET: u32 = 2u32;
3083 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3084 pub const HOST_DSI_INVALID_TRANSMISSION: u32 = 256u32;
3085 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3086 pub const HOST_DSI_OS_REJECTED_PACKET: u32 = 512u32;
3087 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3088 pub const HOST_DSI_TRANSMISSION_CANCELLED: u32 = 16u32;
3089 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3090 pub const HOST_DSI_TRANSMISSION_DROPPED: u32 = 32u32;
3091 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3092 pub const HOST_DSI_TRANSMISSION_TIMEOUT: u32 = 64u32;
3093 pub type HSEMAPHORE = isize;
3094 pub type HSURF = isize;
3095 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3096 pub const HS_DDI_MAX: u32 = 6u32;
3097 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3098 pub const HT_FLAG_8BPP_CMY332_MASK: u32 = 4278190080u32;
3099 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3100 pub const HT_FLAG_ADDITIVE_PRIMS: u32 = 4u32;
3101 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3102 pub const HT_FLAG_DO_DEVCLR_XFORM: u32 = 128u32;
3103 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3104 pub const HT_FLAG_HAS_BLACK_DYE: u32 = 2u32;
3105 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3106 pub const HT_FLAG_INK_ABSORPTION_IDX0: u32 = 0u32;
3107 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3108 pub const HT_FLAG_INK_ABSORPTION_IDX1: u32 = 32u32;
3109 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3110 pub const HT_FLAG_INK_ABSORPTION_IDX2: u32 = 64u32;
3111 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3112 pub const HT_FLAG_INK_ABSORPTION_IDX3: u32 = 96u32;
3113 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3114 pub const HT_FLAG_INK_ABSORPTION_INDICES: u32 = 96u32;
3115 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3116 pub const HT_FLAG_INK_HIGH_ABSORPTION: u32 = 16u32;
3117 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3118 pub const HT_FLAG_INVERT_8BPP_BITMASK_IDX: u32 = 1024u32;
3119 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3120 pub const HT_FLAG_LOWER_INK_ABSORPTION: u32 = 64u32;
3121 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3122 pub const HT_FLAG_LOWEST_INK_ABSORPTION: u32 = 96u32;
3123 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3124 pub const HT_FLAG_LOW_INK_ABSORPTION: u32 = 32u32;
3125 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3126 pub const HT_FLAG_NORMAL_INK_ABSORPTION: u32 = 0u32;
3127 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3128 pub const HT_FLAG_OUTPUT_CMY: u32 = 256u32;
3129 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3130 pub const HT_FLAG_PRINT_DRAFT_MODE: u32 = 512u32;
3131 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3132 pub const HT_FLAG_SQUARE_DEVICE_PEL: u32 = 1u32;
3133 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3134 pub const HT_FLAG_USE_8BPP_BITMASK: u32 = 8u32;
3135 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3136 pub const HT_FORMAT_16BPP: u32 = 5u32;
3137 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3138 pub const HT_FORMAT_1BPP: u32 = 0u32;
3139 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3140 pub const HT_FORMAT_24BPP: u32 = 6u32;
3141 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3142 pub const HT_FORMAT_32BPP: u32 = 7u32;
3143 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3144 pub const HT_FORMAT_4BPP: u32 = 2u32;
3145 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3146 pub const HT_FORMAT_4BPP_IRGB: u32 = 3u32;
3147 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3148 pub const HT_FORMAT_8BPP: u32 = 4u32;
3149 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3150 pub const HT_PATSIZE_10x10: u32 = 8u32;
3151 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3152 pub const HT_PATSIZE_10x10_M: u32 = 9u32;
3153 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3154 pub const HT_PATSIZE_12x12: u32 = 10u32;
3155 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3156 pub const HT_PATSIZE_12x12_M: u32 = 11u32;
3157 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3158 pub const HT_PATSIZE_14x14: u32 = 12u32;
3159 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3160 pub const HT_PATSIZE_14x14_M: u32 = 13u32;
3161 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3162 pub const HT_PATSIZE_16x16: u32 = 14u32;
3163 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3164 pub const HT_PATSIZE_16x16_M: u32 = 15u32;
3165 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3166 pub const HT_PATSIZE_2x2: u32 = 0u32;
3167 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3168 pub const HT_PATSIZE_2x2_M: u32 = 1u32;
3169 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3170 pub const HT_PATSIZE_4x4: u32 = 2u32;
3171 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3172 pub const HT_PATSIZE_4x4_M: u32 = 3u32;
3173 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3174 pub const HT_PATSIZE_6x6: u32 = 4u32;
3175 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3176 pub const HT_PATSIZE_6x6_M: u32 = 5u32;
3177 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3178 pub const HT_PATSIZE_8x8: u32 = 6u32;
3179 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3180 pub const HT_PATSIZE_8x8_M: u32 = 7u32;
3181 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3182 pub const HT_PATSIZE_DEFAULT: u32 = 17u32;
3183 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3184 pub const HT_PATSIZE_MAX_INDEX: u32 = 18u32;
3185 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3186 pub const HT_PATSIZE_SUPERCELL: u32 = 16u32;
3187 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3188 pub const HT_PATSIZE_SUPERCELL_M: u32 = 17u32;
3189 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3190 pub const HT_PATSIZE_USER: u32 = 18u32;
3191 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3192 pub const HT_USERPAT_CX_MAX: u32 = 256u32;
3193 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3194 pub const HT_USERPAT_CX_MIN: u32 = 4u32;
3195 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3196 pub const HT_USERPAT_CY_MAX: u32 = 256u32;
3197 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3198 pub const HT_USERPAT_CY_MIN: u32 = 4u32;
3199 pub type ICloneViewHelper = *mut ::core::ffi::c_void;
3200 #[repr(C)]
3201 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3202 pub struct IFIEXTRA {
3203 pub ulIdentifier: u32,
3204 pub dpFontSig: i32,
3205 pub cig: u32,
3206 pub dpDesignVector: i32,
3207 pub dpAxesInfoW: i32,
3208 pub aulReserved: [u32; 1],
3209 }
3210 impl ::core::marker::Copy for IFIEXTRA {}
3211 impl ::core::clone::Clone for IFIEXTRA {
3212 fn clone(&self) -> Self {
3213 *self
3214 }
3215 }
3216 #[repr(C)]
3217 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
3218 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
3219 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
3220 pub struct IFIMETRICS {
3221 pub cjThis: u32,
3222 pub cjIfiExtra: u32,
3223 pub dpwszFamilyName: i32,
3224 pub dpwszStyleName: i32,
3225 pub dpwszFaceName: i32,
3226 pub dpwszUniqueName: i32,
3227 pub dpFontSim: i32,
3228 pub lEmbedId: i32,
3229 pub lItalicAngle: i32,
3230 pub lCharBias: i32,
3231 pub dpCharSets: i32,
3232 pub jWinCharSet: u8,
3233 pub jWinPitchAndFamily: u8,
3234 pub usWinWeight: u16,
3235 pub flInfo: u32,
3236 pub fsSelection: u16,
3237 pub fsType: u16,
3238 pub fwdUnitsPerEm: i16,
3239 pub fwdLowestPPEm: i16,
3240 pub fwdWinAscender: i16,
3241 pub fwdWinDescender: i16,
3242 pub fwdMacAscender: i16,
3243 pub fwdMacDescender: i16,
3244 pub fwdMacLineGap: i16,
3245 pub fwdTypoAscender: i16,
3246 pub fwdTypoDescender: i16,
3247 pub fwdTypoLineGap: i16,
3248 pub fwdAveCharWidth: i16,
3249 pub fwdMaxCharInc: i16,
3250 pub fwdCapHeight: i16,
3251 pub fwdXHeight: i16,
3252 pub fwdSubscriptXSize: i16,
3253 pub fwdSubscriptYSize: i16,
3254 pub fwdSubscriptXOffset: i16,
3255 pub fwdSubscriptYOffset: i16,
3256 pub fwdSuperscriptXSize: i16,
3257 pub fwdSuperscriptYSize: i16,
3258 pub fwdSuperscriptXOffset: i16,
3259 pub fwdSuperscriptYOffset: i16,
3260 pub fwdUnderscoreSize: i16,
3261 pub fwdUnderscorePosition: i16,
3262 pub fwdStrikeoutSize: i16,
3263 pub fwdStrikeoutPosition: i16,
3264 pub chFirstChar: u8,
3265 pub chLastChar: u8,
3266 pub chDefaultChar: u8,
3267 pub chBreakChar: u8,
3268 pub wcFirstChar: u16,
3269 pub wcLastChar: u16,
3270 pub wcDefaultChar: u16,
3271 pub wcBreakChar: u16,
3272 pub ptlBaseline: super::super::Foundation::POINTL,
3273 pub ptlAspect: super::super::Foundation::POINTL,
3274 pub ptlCaret: super::super::Foundation::POINTL,
3275 pub rclFontBox: super::super::Foundation::RECTL,
3276 pub achVendId: [u8; 4],
3277 pub cKerningPairs: u32,
3278 pub ulPanoseCulture: u32,
3279 pub panose: super::super::Graphics::Gdi::PANOSE,
3280 pub Align: *mut ::core::ffi::c_void,
3281 }
3282 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
3283 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
3284 impl ::core::marker::Copy for IFIMETRICS {}
3285 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
3286 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
3287 impl ::core::clone::Clone for IFIMETRICS {
3288 fn clone(&self) -> Self {
3289 *self
3290 }
3291 }
3292 #[repr(C)]
3293 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
3294 #[cfg(target_arch = "x86")]
3295 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
3296 pub struct IFIMETRICS {
3297 pub cjThis: u32,
3298 pub cjIfiExtra: u32,
3299 pub dpwszFamilyName: i32,
3300 pub dpwszStyleName: i32,
3301 pub dpwszFaceName: i32,
3302 pub dpwszUniqueName: i32,
3303 pub dpFontSim: i32,
3304 pub lEmbedId: i32,
3305 pub lItalicAngle: i32,
3306 pub lCharBias: i32,
3307 pub dpCharSets: i32,
3308 pub jWinCharSet: u8,
3309 pub jWinPitchAndFamily: u8,
3310 pub usWinWeight: u16,
3311 pub flInfo: u32,
3312 pub fsSelection: u16,
3313 pub fsType: u16,
3314 pub fwdUnitsPerEm: i16,
3315 pub fwdLowestPPEm: i16,
3316 pub fwdWinAscender: i16,
3317 pub fwdWinDescender: i16,
3318 pub fwdMacAscender: i16,
3319 pub fwdMacDescender: i16,
3320 pub fwdMacLineGap: i16,
3321 pub fwdTypoAscender: i16,
3322 pub fwdTypoDescender: i16,
3323 pub fwdTypoLineGap: i16,
3324 pub fwdAveCharWidth: i16,
3325 pub fwdMaxCharInc: i16,
3326 pub fwdCapHeight: i16,
3327 pub fwdXHeight: i16,
3328 pub fwdSubscriptXSize: i16,
3329 pub fwdSubscriptYSize: i16,
3330 pub fwdSubscriptXOffset: i16,
3331 pub fwdSubscriptYOffset: i16,
3332 pub fwdSuperscriptXSize: i16,
3333 pub fwdSuperscriptYSize: i16,
3334 pub fwdSuperscriptXOffset: i16,
3335 pub fwdSuperscriptYOffset: i16,
3336 pub fwdUnderscoreSize: i16,
3337 pub fwdUnderscorePosition: i16,
3338 pub fwdStrikeoutSize: i16,
3339 pub fwdStrikeoutPosition: i16,
3340 pub chFirstChar: u8,
3341 pub chLastChar: u8,
3342 pub chDefaultChar: u8,
3343 pub chBreakChar: u8,
3344 pub wcFirstChar: u16,
3345 pub wcLastChar: u16,
3346 pub wcDefaultChar: u16,
3347 pub wcBreakChar: u16,
3348 pub ptlBaseline: super::super::Foundation::POINTL,
3349 pub ptlAspect: super::super::Foundation::POINTL,
3350 pub ptlCaret: super::super::Foundation::POINTL,
3351 pub rclFontBox: super::super::Foundation::RECTL,
3352 pub achVendId: [u8; 4],
3353 pub cKerningPairs: u32,
3354 pub ulPanoseCulture: u32,
3355 pub panose: super::super::Graphics::Gdi::PANOSE,
3356 }
3357 #[cfg(target_arch = "x86")]
3358 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
3359 impl ::core::marker::Copy for IFIMETRICS {}
3360 #[cfg(target_arch = "x86")]
3361 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
3362 impl ::core::clone::Clone for IFIMETRICS {
3363 fn clone(&self) -> Self {
3364 *self
3365 }
3366 }
3367 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3368 pub const IGRF_RGB_256BYTES: u32 = 0u32;
3369 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3370 pub const IGRF_RGB_256WORDS: u32 = 1u32;
3371 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3372 pub const INDEX_DrvAccumulateD3DDirtyRect: i32 = 98i32;
3373 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3374 pub const INDEX_DrvAlphaBlend: i32 = 71i32;
3375 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3376 pub const INDEX_DrvAssertMode: i32 = 5i32;
3377 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3378 pub const INDEX_DrvAssociateSharedSurface: i32 = 96i32;
3379 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3380 pub const INDEX_DrvBitBlt: i32 = 18i32;
3381 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3382 pub const INDEX_DrvCompletePDEV: i32 = 1i32;
3383 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3384 pub const INDEX_DrvCopyBits: i32 = 19i32;
3385 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3386 pub const INDEX_DrvCreateDeviceBitmap: i32 = 10i32;
3387 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3388 pub const INDEX_DrvCreateDeviceBitmapEx: i32 = 94i32;
3389 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3390 pub const INDEX_DrvDeleteDeviceBitmap: i32 = 11i32;
3391 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3392 pub const INDEX_DrvDeleteDeviceBitmapEx: i32 = 95i32;
3393 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3394 pub const INDEX_DrvDeriveSurface: i32 = 85i32;
3395 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3396 pub const INDEX_DrvDescribePixelFormat: i32 = 55i32;
3397 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3398 pub const INDEX_DrvDestroyFont: i32 = 43i32;
3399 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3400 pub const INDEX_DrvDisableDirectDraw: i32 = 61i32;
3401 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3402 pub const INDEX_DrvDisableDriver: i32 = 8i32;
3403 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3404 pub const INDEX_DrvDisablePDEV: i32 = 2i32;
3405 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3406 pub const INDEX_DrvDisableSurface: i32 = 4i32;
3407 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3408 pub const INDEX_DrvDitherColor: i32 = 13i32;
3409 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3410 pub const INDEX_DrvDrawEscape: i32 = 25i32;
3411 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3412 pub const INDEX_DrvEnableDirectDraw: i32 = 60i32;
3413 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3414 pub const INDEX_DrvEnablePDEV: i32 = 0i32;
3415 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3416 pub const INDEX_DrvEnableSurface: i32 = 3i32;
3417 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3418 pub const INDEX_DrvEndDoc: i32 = 34i32;
3419 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3420 pub const INDEX_DrvEndDxInterop: i32 = 100i32;
3421 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3422 pub const INDEX_DrvEscape: i32 = 24i32;
3423 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3424 pub const INDEX_DrvFillPath: i32 = 15i32;
3425 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3426 pub const INDEX_DrvFontManagement: i32 = 47i32;
3427 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3428 pub const INDEX_DrvFree: i32 = 42i32;
3429 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3430 pub const INDEX_DrvGetDirectDrawInfo: i32 = 59i32;
3431 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3432 pub const INDEX_DrvGetGlyphMode: i32 = 37i32;
3433 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3434 pub const INDEX_DrvGetModes: i32 = 41i32;
3435 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3436 pub const INDEX_DrvGetSynthesizedFontFiles: i32 = 73i32;
3437 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3438 pub const INDEX_DrvGetTrueTypeFile: i32 = 50i32;
3439 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3440 pub const INDEX_DrvGradientFill: i32 = 68i32;
3441 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3442 pub const INDEX_DrvIcmCheckBitmapBits: i32 = 66i32;
3443 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3444 pub const INDEX_DrvIcmCreateColorTransform: i32 = 64i32;
3445 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3446 pub const INDEX_DrvIcmDeleteColorTransform: i32 = 65i32;
3447 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3448 pub const INDEX_DrvIcmSetDeviceGammaRamp: i32 = 67i32;
3449 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3450 pub const INDEX_DrvLineTo: i32 = 31i32;
3451 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3452 pub const INDEX_DrvLoadFontFile: i32 = 45i32;
3453 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3454 pub const INDEX_DrvLockDisplayArea: i32 = 101i32;
3455 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3456 pub const INDEX_DrvMovePanning: i32 = 52i32;
3457 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3458 pub const INDEX_DrvMovePointer: i32 = 30i32;
3459 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3460 pub const INDEX_DrvNextBand: i32 = 58i32;
3461 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3462 pub const INDEX_DrvNotify: i32 = 87i32;
3463 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3464 pub const INDEX_DrvOffset: i32 = 6i32;
3465 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3466 pub const INDEX_DrvPaint: i32 = 17i32;
3467 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3468 pub const INDEX_DrvPlgBlt: i32 = 70i32;
3469 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3470 pub const INDEX_DrvQueryAdvanceWidths: i32 = 53i32;
3471 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3472 pub const INDEX_DrvQueryDeviceSupport: i32 = 76i32;
3473 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3474 pub const INDEX_DrvQueryFont: i32 = 26i32;
3475 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3476 pub const INDEX_DrvQueryFontCaps: i32 = 44i32;
3477 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3478 pub const INDEX_DrvQueryFontData: i32 = 28i32;
3479 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3480 pub const INDEX_DrvQueryFontFile: i32 = 51i32;
3481 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3482 pub const INDEX_DrvQueryFontTree: i32 = 27i32;
3483 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3484 pub const INDEX_DrvQueryGlyphAttrs: i32 = 86i32;
3485 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3486 pub const INDEX_DrvQueryPerBandInfo: i32 = 75i32;
3487 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3488 pub const INDEX_DrvQuerySpoolType: i32 = 62i32;
3489 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3490 pub const INDEX_DrvQueryTrueTypeOutline: i32 = 49i32;
3491 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3492 pub const INDEX_DrvQueryTrueTypeTable: i32 = 48i32;
3493 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3494 pub const INDEX_DrvRealizeBrush: i32 = 12i32;
3495 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3496 pub const INDEX_DrvRenderHint: i32 = 93i32;
3497 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3498 pub const INDEX_DrvReserved1: i32 = 77i32;
3499 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3500 pub const INDEX_DrvReserved10: i32 = 91i32;
3501 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3502 pub const INDEX_DrvReserved11: i32 = 92i32;
3503 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3504 pub const INDEX_DrvReserved2: i32 = 78i32;
3505 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3506 pub const INDEX_DrvReserved3: i32 = 79i32;
3507 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3508 pub const INDEX_DrvReserved4: i32 = 80i32;
3509 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3510 pub const INDEX_DrvReserved5: i32 = 81i32;
3511 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3512 pub const INDEX_DrvReserved6: i32 = 82i32;
3513 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3514 pub const INDEX_DrvReserved7: i32 = 83i32;
3515 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3516 pub const INDEX_DrvReserved8: i32 = 84i32;
3517 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3518 pub const INDEX_DrvReserved9: i32 = 90i32;
3519 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3520 pub const INDEX_DrvResetDevice: i32 = 89i32;
3521 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3522 pub const INDEX_DrvResetPDEV: i32 = 7i32;
3523 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3524 pub const INDEX_DrvSaveScreenBits: i32 = 40i32;
3525 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3526 pub const INDEX_DrvSendPage: i32 = 32i32;
3527 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3528 pub const INDEX_DrvSetPalette: i32 = 22i32;
3529 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3530 pub const INDEX_DrvSetPixelFormat: i32 = 54i32;
3531 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3532 pub const INDEX_DrvSetPointerShape: i32 = 29i32;
3533 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3534 pub const INDEX_DrvStartBanding: i32 = 57i32;
3535 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3536 pub const INDEX_DrvStartDoc: i32 = 35i32;
3537 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3538 pub const INDEX_DrvStartDxInterop: i32 = 99i32;
3539 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3540 pub const INDEX_DrvStartPage: i32 = 33i32;
3541 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3542 pub const INDEX_DrvStretchBlt: i32 = 20i32;
3543 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3544 pub const INDEX_DrvStretchBltROP: i32 = 69i32;
3545 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3546 pub const INDEX_DrvStrokeAndFillPath: i32 = 16i32;
3547 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3548 pub const INDEX_DrvStrokePath: i32 = 14i32;
3549 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3550 pub const INDEX_DrvSurfaceComplete: i32 = 103i32;
3551 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3552 pub const INDEX_DrvSwapBuffers: i32 = 56i32;
3553 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3554 pub const INDEX_DrvSynchronize: i32 = 38i32;
3555 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3556 pub const INDEX_DrvSynchronizeRedirectionBitmaps: i32 = 97i32;
3557 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3558 pub const INDEX_DrvSynchronizeSurface: i32 = 88i32;
3559 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3560 pub const INDEX_DrvSynthesizeFont: i32 = 72i32;
3561 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3562 pub const INDEX_DrvTextOut: i32 = 23i32;
3563 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3564 pub const INDEX_DrvTransparentBlt: i32 = 74i32;
3565 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3566 pub const INDEX_DrvUnloadFontFile: i32 = 46i32;
3567 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3568 pub const INDEX_DrvUnlockDisplayArea: i32 = 102i32;
3569 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3570 pub const INDEX_LAST: i32 = 89i32;
3571 #[repr(C)]
3572 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
3573 #[cfg(feature = "Win32_Foundation")]
3574 pub struct INDIRECT_DISPLAY_INFO {
3575 pub DisplayAdapterLuid: super::super::Foundation::LUID,
3576 pub Flags: u32,
3577 pub NumMonitors: u32,
3578 pub DisplayAdapterTargetBase: u32,
3579 }
3580 #[cfg(feature = "Win32_Foundation")]
3581 impl ::core::marker::Copy for INDIRECT_DISPLAY_INFO {}
3582 #[cfg(feature = "Win32_Foundation")]
3583 impl ::core::clone::Clone for INDIRECT_DISPLAY_INFO {
3584 fn clone(&self) -> Self {
3585 *self
3586 }
3587 }
3588 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3589 pub const INDIRECT_DISPLAY_INFO_FLAGS_CREATED_IDDCX_ADAPTER: u32 = 1u32;
3590 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3591 pub const IOCTL_COLORSPACE_TRANSFORM_QUERY_TARGET_CAPS: u32 = 2297856u32;
3592 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3593 pub const IOCTL_COLORSPACE_TRANSFORM_SET: u32 = 2297860u32;
3594 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3595 pub const IOCTL_FSVIDEO_COPY_FRAME_BUFFER: u32 = 3409920u32;
3596 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3597 pub const IOCTL_FSVIDEO_REVERSE_MOUSE_POINTER: u32 = 3409928u32;
3598 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3599 pub const IOCTL_FSVIDEO_SET_CURRENT_MODE: u32 = 3409932u32;
3600 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3601 pub const IOCTL_FSVIDEO_SET_CURSOR_POSITION: u32 = 3409940u32;
3602 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3603 pub const IOCTL_FSVIDEO_SET_SCREEN_INFORMATION: u32 = 3409936u32;
3604 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3605 pub const IOCTL_FSVIDEO_WRITE_TO_FRAME_BUFFER: u32 = 3409924u32;
3606 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3607 pub const IOCTL_MIPI_DSI_QUERY_CAPS: u32 = 2298880u32;
3608 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3609 pub const IOCTL_MIPI_DSI_RESET: u32 = 2298888u32;
3610 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3611 pub const IOCTL_MIPI_DSI_TRANSMISSION: u32 = 2298884u32;
3612 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3613 pub const IOCTL_PANEL_GET_BACKLIGHT_REDUCTION: u32 = 2296856u32;
3614 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3615 pub const IOCTL_PANEL_GET_BRIGHTNESS: u32 = 2296840u32;
3616 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3617 pub const IOCTL_PANEL_QUERY_BRIGHTNESS_CAPS: u32 = 2296832u32;
3618 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3619 pub const IOCTL_PANEL_QUERY_BRIGHTNESS_RANGES: u32 = 2296836u32;
3620 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3621 pub const IOCTL_PANEL_SET_BACKLIGHT_OPTIMIZATION: u32 = 2296852u32;
3622 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3623 pub const IOCTL_PANEL_SET_BRIGHTNESS: u32 = 2296844u32;
3624 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3625 pub const IOCTL_PANEL_SET_BRIGHTNESS_STATE: u32 = 2296848u32;
3626 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3627 pub const IOCTL_SET_ACTIVE_COLOR_PROFILE_NAME: u32 = 2297864u32;
3628 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3629 pub const IOCTL_VIDEO_DISABLE_CURSOR: u32 = 2294820u32;
3630 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3631 pub const IOCTL_VIDEO_DISABLE_POINTER: u32 = 2294844u32;
3632 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3633 pub const IOCTL_VIDEO_DISABLE_VDM: u32 = 2293764u32;
3634 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3635 pub const IOCTL_VIDEO_ENABLE_CURSOR: u32 = 2294816u32;
3636 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3637 pub const IOCTL_VIDEO_ENABLE_POINTER: u32 = 2294840u32;
3638 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3639 pub const IOCTL_VIDEO_ENABLE_VDM: u32 = 2293760u32;
3640 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3641 pub const IOCTL_VIDEO_ENUM_MONITOR_PDO: u32 = 2293784u32;
3642 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3643 pub const IOCTL_VIDEO_FREE_PUBLIC_ACCESS_RANGES: u32 = 2294884u32;
3644 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3645 pub const IOCTL_VIDEO_GET_BANK_SELECT_CODE: u32 = 2294868u32;
3646 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3647 pub const IOCTL_VIDEO_GET_CHILD_STATE: u32 = 2294912u32;
3648 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3649 pub const IOCTL_VIDEO_GET_OUTPUT_DEVICE_POWER_STATE: u32 = 2293776u32;
3650 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3651 pub const IOCTL_VIDEO_GET_POWER_MANAGEMENT: u32 = 2294896u32;
3652 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3653 pub const IOCTL_VIDEO_HANDLE_VIDEOPARAMETERS: u32 = 2293792u32;
3654 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3655 pub const IOCTL_VIDEO_INIT_WIN32K_CALLBACKS: u32 = 2293788u32;
3656 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3657 pub const IOCTL_VIDEO_IS_VGA_DEVICE: u32 = 2293796u32;
3658 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3659 pub const IOCTL_VIDEO_LOAD_AND_SET_FONT: u32 = 2294804u32;
3660 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3661 pub const IOCTL_VIDEO_MAP_VIDEO_MEMORY: u32 = 2294872u32;
3662 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3663 pub const IOCTL_VIDEO_MONITOR_DEVICE: u32 = 2293780u32;
3664 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3665 pub const IOCTL_VIDEO_PREPARE_FOR_EARECOVERY: u32 = 2293804u32;
3666 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3667 pub const IOCTL_VIDEO_QUERY_AVAIL_MODES: u32 = 2294784u32;
3668 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3669 pub const IOCTL_VIDEO_QUERY_COLOR_CAPABILITIES: u32 = 2294888u32;
3670 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3671 pub const IOCTL_VIDEO_QUERY_CURRENT_MODE: u32 = 2294792u32;
3672 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3673 pub const IOCTL_VIDEO_QUERY_CURSOR_ATTR: u32 = 2294828u32;
3674 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3675 pub const IOCTL_VIDEO_QUERY_CURSOR_POSITION: u32 = 2294836u32;
3676 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3677 pub const IOCTL_VIDEO_QUERY_DISPLAY_BRIGHTNESS: u32 = 2294936u32;
3678 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3679 pub const IOCTL_VIDEO_QUERY_NUM_AVAIL_MODES: u32 = 2294788u32;
3680 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3681 pub const IOCTL_VIDEO_QUERY_POINTER_ATTR: u32 = 2294852u32;
3682 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3683 pub const IOCTL_VIDEO_QUERY_POINTER_CAPABILITIES: u32 = 2294864u32;
3684 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3685 pub const IOCTL_VIDEO_QUERY_POINTER_POSITION: u32 = 2294860u32;
3686 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3687 pub const IOCTL_VIDEO_QUERY_PUBLIC_ACCESS_RANGES: u32 = 2294880u32;
3688 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3689 pub const IOCTL_VIDEO_QUERY_SUPPORTED_BRIGHTNESS: u32 = 2294932u32;
3690 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3691 pub const IOCTL_VIDEO_REGISTER_VDM: u32 = 2293768u32;
3692 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3693 pub const IOCTL_VIDEO_RESET_DEVICE: u32 = 2294800u32;
3694 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3695 pub const IOCTL_VIDEO_RESTORE_HARDWARE_STATE: u32 = 2294276u32;
3696 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3697 pub const IOCTL_VIDEO_SAVE_HARDWARE_STATE: u32 = 2294272u32;
3698 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3699 pub const IOCTL_VIDEO_SET_BANK_POSITION: u32 = 2294928u32;
3700 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3701 pub const IOCTL_VIDEO_SET_CHILD_STATE_CONFIGURATION: u32 = 2294920u32;
3702 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3703 pub const IOCTL_VIDEO_SET_COLOR_LUT_DATA: u32 = 2294908u32;
3704 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3705 pub const IOCTL_VIDEO_SET_COLOR_REGISTERS: u32 = 2294812u32;
3706 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3707 pub const IOCTL_VIDEO_SET_CURRENT_MODE: u32 = 2294796u32;
3708 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3709 pub const IOCTL_VIDEO_SET_CURSOR_ATTR: u32 = 2294824u32;
3710 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3711 pub const IOCTL_VIDEO_SET_CURSOR_POSITION: u32 = 2294832u32;
3712 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3713 pub const IOCTL_VIDEO_SET_DISPLAY_BRIGHTNESS: u32 = 2294940u32;
3714 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3715 pub const IOCTL_VIDEO_SET_OUTPUT_DEVICE_POWER_STATE: u32 = 2293772u32;
3716 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3717 pub const IOCTL_VIDEO_SET_PALETTE_REGISTERS: u32 = 2294808u32;
3718 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3719 pub const IOCTL_VIDEO_SET_POINTER_ATTR: u32 = 2294848u32;
3720 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3721 pub const IOCTL_VIDEO_SET_POINTER_POSITION: u32 = 2294856u32;
3722 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3723 pub const IOCTL_VIDEO_SET_POWER_MANAGEMENT: u32 = 2294892u32;
3724 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3725 pub const IOCTL_VIDEO_SHARE_VIDEO_MEMORY: u32 = 2294900u32;
3726 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3727 pub const IOCTL_VIDEO_SWITCH_DUALVIEW: u32 = 2294924u32;
3728 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3729 pub const IOCTL_VIDEO_UNMAP_VIDEO_MEMORY: u32 = 2294876u32;
3730 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3731 pub const IOCTL_VIDEO_UNSHARE_VIDEO_MEMORY: u32 = 2294904u32;
3732 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3733 pub const IOCTL_VIDEO_USE_DEVICE_IN_SESSION: u32 = 2293800u32;
3734 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3735 pub const IOCTL_VIDEO_VALIDATE_CHILD_STATE_CONFIGURATION: u32 = 2294916u32;
3736 pub type IViewHelper = *mut ::core::ffi::c_void;
3737 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3738 pub const JOIN_BEVEL: i32 = 1i32;
3739 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3740 pub const JOIN_MITER: i32 = 2i32;
3741 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3742 pub const JOIN_ROUND: i32 = 0i32;
3743 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3744 pub const LA_ALTERNATE: u32 = 2u32;
3745 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3746 pub const LA_GEOMETRIC: u32 = 1u32;
3747 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3748 pub const LA_STARTGAP: u32 = 4u32;
3749 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3750 pub const LA_STYLED: u32 = 8u32;
3751 #[repr(C)]
3752 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3753 pub struct LIGATURE {
3754 pub culSize: u32,
3755 pub pwsz: ::windows_sys::core::PWSTR,
3756 pub chglyph: u32,
3757 pub ahglyph: [u32; 1],
3758 }
3759 impl ::core::marker::Copy for LIGATURE {}
3760 impl ::core::clone::Clone for LIGATURE {
3761 fn clone(&self) -> Self {
3762 *self
3763 }
3764 }
3765 #[repr(C)]
3766 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3767 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
3768 pub struct LINEATTRS {
3769 pub fl: u32,
3770 pub iJoin: u32,
3771 pub iEndCap: u32,
3772 pub elWidth: FLOAT_LONG,
3773 pub eMiterLimit: f32,
3774 pub cstyle: u32,
3775 pub pstyle: *mut FLOAT_LONG,
3776 pub elStyleState: FLOAT_LONG,
3777 }
3778 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
3779 impl ::core::marker::Copy for LINEATTRS {}
3780 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
3781 impl ::core::clone::Clone for LINEATTRS {
3782 fn clone(&self) -> Self {
3783 *self
3784 }
3785 }
3786 #[repr(C)]
3787 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3788 #[cfg(target_arch = "x86")]
3789 pub struct LINEATTRS {
3790 pub fl: u32,
3791 pub iJoin: u32,
3792 pub iEndCap: u32,
3793 pub elWidth: FLOAT_LONG,
3794 pub eMiterLimit: u32,
3795 pub cstyle: u32,
3796 pub pstyle: *mut FLOAT_LONG,
3797 pub elStyleState: FLOAT_LONG,
3798 }
3799 #[cfg(target_arch = "x86")]
3800 impl ::core::marker::Copy for LINEATTRS {}
3801 #[cfg(target_arch = "x86")]
3802 impl ::core::clone::Clone for LINEATTRS {
3803 fn clone(&self) -> Self {
3804 *self
3805 }
3806 }
3807 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3808 pub const MAXCHARSETS: u32 = 16u32;
3809 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3810 pub const MAX_PACKET_COUNT: u32 = 128u32;
3811 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3812 pub const MC_CAPS_BRIGHTNESS: u32 = 2u32;
3813 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3814 pub const MC_CAPS_COLOR_TEMPERATURE: u32 = 8u32;
3815 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3816 pub const MC_CAPS_CONTRAST: u32 = 4u32;
3817 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3818 pub const MC_CAPS_DEGAUSS: u32 = 64u32;
3819 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3820 pub const MC_CAPS_DISPLAY_AREA_POSITION: u32 = 128u32;
3821 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3822 pub const MC_CAPS_DISPLAY_AREA_SIZE: u32 = 256u32;
3823 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3824 pub const MC_CAPS_MONITOR_TECHNOLOGY_TYPE: u32 = 1u32;
3825 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3826 pub const MC_CAPS_NONE: u32 = 0u32;
3827 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3828 pub const MC_CAPS_RED_GREEN_BLUE_DRIVE: u32 = 32u32;
3829 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3830 pub const MC_CAPS_RED_GREEN_BLUE_GAIN: u32 = 16u32;
3831 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3832 pub const MC_CAPS_RESTORE_FACTORY_COLOR_DEFAULTS: u32 = 2048u32;
3833 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3834 pub const MC_CAPS_RESTORE_FACTORY_DEFAULTS: u32 = 1024u32;
3835 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3836 pub type MC_COLOR_TEMPERATURE = i32;
3837 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3838 pub const MC_COLOR_TEMPERATURE_UNKNOWN: MC_COLOR_TEMPERATURE = 0i32;
3839 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3840 pub const MC_COLOR_TEMPERATURE_4000K: MC_COLOR_TEMPERATURE = 1i32;
3841 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3842 pub const MC_COLOR_TEMPERATURE_5000K: MC_COLOR_TEMPERATURE = 2i32;
3843 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3844 pub const MC_COLOR_TEMPERATURE_6500K: MC_COLOR_TEMPERATURE = 3i32;
3845 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3846 pub const MC_COLOR_TEMPERATURE_7500K: MC_COLOR_TEMPERATURE = 4i32;
3847 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3848 pub const MC_COLOR_TEMPERATURE_8200K: MC_COLOR_TEMPERATURE = 5i32;
3849 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3850 pub const MC_COLOR_TEMPERATURE_9300K: MC_COLOR_TEMPERATURE = 6i32;
3851 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3852 pub const MC_COLOR_TEMPERATURE_10000K: MC_COLOR_TEMPERATURE = 7i32;
3853 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3854 pub const MC_COLOR_TEMPERATURE_11500K: MC_COLOR_TEMPERATURE = 8i32;
3855 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3856 pub type MC_DISPLAY_TECHNOLOGY_TYPE = i32;
3857 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3858 pub const MC_SHADOW_MASK_CATHODE_RAY_TUBE: MC_DISPLAY_TECHNOLOGY_TYPE = 0i32;
3859 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3860 pub const MC_APERTURE_GRILL_CATHODE_RAY_TUBE: MC_DISPLAY_TECHNOLOGY_TYPE = 1i32;
3861 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3862 pub const MC_THIN_FILM_TRANSISTOR: MC_DISPLAY_TECHNOLOGY_TYPE = 2i32;
3863 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3864 pub const MC_LIQUID_CRYSTAL_ON_SILICON: MC_DISPLAY_TECHNOLOGY_TYPE = 3i32;
3865 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3866 pub const MC_PLASMA: MC_DISPLAY_TECHNOLOGY_TYPE = 4i32;
3867 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3868 pub const MC_ORGANIC_LIGHT_EMITTING_DIODE: MC_DISPLAY_TECHNOLOGY_TYPE = 5i32;
3869 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3870 pub const MC_ELECTROLUMINESCENT: MC_DISPLAY_TECHNOLOGY_TYPE = 6i32;
3871 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3872 pub const MC_MICROELECTROMECHANICAL: MC_DISPLAY_TECHNOLOGY_TYPE = 7i32;
3873 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3874 pub const MC_FIELD_EMISSION_DEVICE: MC_DISPLAY_TECHNOLOGY_TYPE = 8i32;
3875 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3876 pub type MC_DRIVE_TYPE = i32;
3877 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3878 pub const MC_RED_DRIVE: MC_DRIVE_TYPE = 0i32;
3879 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3880 pub const MC_GREEN_DRIVE: MC_DRIVE_TYPE = 1i32;
3881 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3882 pub const MC_BLUE_DRIVE: MC_DRIVE_TYPE = 2i32;
3883 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3884 pub type MC_GAIN_TYPE = i32;
3885 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3886 pub const MC_RED_GAIN: MC_GAIN_TYPE = 0i32;
3887 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3888 pub const MC_GREEN_GAIN: MC_GAIN_TYPE = 1i32;
3889 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3890 pub const MC_BLUE_GAIN: MC_GAIN_TYPE = 2i32;
3891 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3892 pub type MC_POSITION_TYPE = i32;
3893 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3894 pub const MC_HORIZONTAL_POSITION: MC_POSITION_TYPE = 0i32;
3895 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3896 pub const MC_VERTICAL_POSITION: MC_POSITION_TYPE = 1i32;
3897 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3898 pub const MC_RESTORE_FACTORY_DEFAULTS_ENABLES_MONITOR_SETTINGS: u32 = 4096u32;
3899 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3900 pub type MC_SIZE_TYPE = i32;
3901 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3902 pub const MC_WIDTH: MC_SIZE_TYPE = 0i32;
3903 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3904 pub const MC_HEIGHT: MC_SIZE_TYPE = 1i32;
3905 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3906 pub const MC_SUPPORTED_COLOR_TEMPERATURE_10000K: u32 = 64u32;
3907 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3908 pub const MC_SUPPORTED_COLOR_TEMPERATURE_11500K: u32 = 128u32;
3909 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3910 pub const MC_SUPPORTED_COLOR_TEMPERATURE_4000K: u32 = 1u32;
3911 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3912 pub const MC_SUPPORTED_COLOR_TEMPERATURE_5000K: u32 = 2u32;
3913 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3914 pub const MC_SUPPORTED_COLOR_TEMPERATURE_6500K: u32 = 4u32;
3915 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3916 pub const MC_SUPPORTED_COLOR_TEMPERATURE_7500K: u32 = 8u32;
3917 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3918 pub const MC_SUPPORTED_COLOR_TEMPERATURE_8200K: u32 = 16u32;
3919 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3920 pub const MC_SUPPORTED_COLOR_TEMPERATURE_9300K: u32 = 32u32;
3921 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3922 pub const MC_SUPPORTED_COLOR_TEMPERATURE_NONE: u32 = 0u32;
3923 #[repr(C, packed(1))]
3924 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3925 pub struct MC_TIMING_REPORT {
3926 pub dwHorizontalFrequencyInHZ: u32,
3927 pub dwVerticalFrequencyInHZ: u32,
3928 pub bTimingStatusByte: u8,
3929 }
3930 impl ::core::marker::Copy for MC_TIMING_REPORT {}
3931 impl ::core::clone::Clone for MC_TIMING_REPORT {
3932 fn clone(&self) -> Self {
3933 *self
3934 }
3935 }
3936 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3937 pub type MC_VCP_CODE_TYPE = i32;
3938 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3939 pub const MC_MOMENTARY: MC_VCP_CODE_TYPE = 0i32;
3940 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3941 pub const MC_SET_PARAMETER: MC_VCP_CODE_TYPE = 1i32;
3942 #[repr(C)]
3943 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3944 pub struct MIPI_DSI_CAPS {
3945 pub DSITypeMajor: u8,
3946 pub DSITypeMinor: u8,
3947 pub SpecVersionMajor: u8,
3948 pub SpecVersionMinor: u8,
3949 pub SpecVersionPatch: u8,
3950 pub TargetMaximumReturnPacketSize: u16,
3951 pub ResultCodeFlags: u8,
3952 pub ResultCodeStatus: u8,
3953 pub Revision: u8,
3954 pub Level: u8,
3955 pub DeviceClassHi: u8,
3956 pub DeviceClassLo: u8,
3957 pub ManufacturerHi: u8,
3958 pub ManufacturerLo: u8,
3959 pub ProductHi: u8,
3960 pub ProductLo: u8,
3961 pub LengthHi: u8,
3962 pub LengthLo: u8,
3963 }
3964 impl ::core::marker::Copy for MIPI_DSI_CAPS {}
3965 impl ::core::clone::Clone for MIPI_DSI_CAPS {
3966 fn clone(&self) -> Self {
3967 *self
3968 }
3969 }
3970 #[repr(C)]
3971 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3972 pub struct MIPI_DSI_PACKET {
3973 pub Anonymous1: MIPI_DSI_PACKET_0,
3974 pub Anonymous2: MIPI_DSI_PACKET_1,
3975 pub EccFiller: u8,
3976 pub Payload: [u8; 8],
3977 }
3978 impl ::core::marker::Copy for MIPI_DSI_PACKET {}
3979 impl ::core::clone::Clone for MIPI_DSI_PACKET {
3980 fn clone(&self) -> Self {
3981 *self
3982 }
3983 }
3984 #[repr(C)]
3985 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3986 pub union MIPI_DSI_PACKET_0 {
3987 pub DataId: u8,
3988 pub Anonymous: MIPI_DSI_PACKET_0_0,
3989 }
3990 impl ::core::marker::Copy for MIPI_DSI_PACKET_0 {}
3991 impl ::core::clone::Clone for MIPI_DSI_PACKET_0 {
3992 fn clone(&self) -> Self {
3993 *self
3994 }
3995 }
3996 #[repr(C)]
3997 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
3998 pub struct MIPI_DSI_PACKET_0_0 {
3999 pub _bitfield: u8,
4000 }
4001 impl ::core::marker::Copy for MIPI_DSI_PACKET_0_0 {}
4002 impl ::core::clone::Clone for MIPI_DSI_PACKET_0_0 {
4003 fn clone(&self) -> Self {
4004 *self
4005 }
4006 }
4007 #[repr(C)]
4008 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4009 pub union MIPI_DSI_PACKET_1 {
4010 pub Anonymous: MIPI_DSI_PACKET_1_0,
4011 pub LongWriteWordCount: u16,
4012 }
4013 impl ::core::marker::Copy for MIPI_DSI_PACKET_1 {}
4014 impl ::core::clone::Clone for MIPI_DSI_PACKET_1 {
4015 fn clone(&self) -> Self {
4016 *self
4017 }
4018 }
4019 #[repr(C)]
4020 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4021 pub struct MIPI_DSI_PACKET_1_0 {
4022 pub Data0: u8,
4023 pub Data1: u8,
4024 }
4025 impl ::core::marker::Copy for MIPI_DSI_PACKET_1_0 {}
4026 impl ::core::clone::Clone for MIPI_DSI_PACKET_1_0 {
4027 fn clone(&self) -> Self {
4028 *self
4029 }
4030 }
4031 #[repr(C)]
4032 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4033 pub struct MIPI_DSI_RESET {
4034 pub Flags: u32,
4035 pub Anonymous: MIPI_DSI_RESET_0,
4036 }
4037 impl ::core::marker::Copy for MIPI_DSI_RESET {}
4038 impl ::core::clone::Clone for MIPI_DSI_RESET {
4039 fn clone(&self) -> Self {
4040 *self
4041 }
4042 }
4043 #[repr(C)]
4044 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4045 pub union MIPI_DSI_RESET_0 {
4046 pub Anonymous: MIPI_DSI_RESET_0_0,
4047 pub Results: u32,
4048 }
4049 impl ::core::marker::Copy for MIPI_DSI_RESET_0 {}
4050 impl ::core::clone::Clone for MIPI_DSI_RESET_0 {
4051 fn clone(&self) -> Self {
4052 *self
4053 }
4054 }
4055 #[repr(C)]
4056 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4057 pub struct MIPI_DSI_RESET_0_0 {
4058 pub _bitfield: u32,
4059 }
4060 impl ::core::marker::Copy for MIPI_DSI_RESET_0_0 {}
4061 impl ::core::clone::Clone for MIPI_DSI_RESET_0_0 {
4062 fn clone(&self) -> Self {
4063 *self
4064 }
4065 }
4066 #[repr(C)]
4067 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4068 pub struct MIPI_DSI_TRANSMISSION {
4069 pub TotalBufferSize: u32,
4070 pub PacketCount: u8,
4071 pub FailedPacket: u8,
4072 pub Anonymous: MIPI_DSI_TRANSMISSION_0,
4073 pub ReadWordCount: u16,
4074 pub FinalCommandExtraPayload: u16,
4075 pub MipiErrors: u16,
4076 pub HostErrors: u16,
4077 pub Packets: [MIPI_DSI_PACKET; 1],
4078 }
4079 impl ::core::marker::Copy for MIPI_DSI_TRANSMISSION {}
4080 impl ::core::clone::Clone for MIPI_DSI_TRANSMISSION {
4081 fn clone(&self) -> Self {
4082 *self
4083 }
4084 }
4085 #[repr(C)]
4086 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4087 pub struct MIPI_DSI_TRANSMISSION_0 {
4088 pub _bitfield: u16,
4089 }
4090 impl ::core::marker::Copy for MIPI_DSI_TRANSMISSION_0 {}
4091 impl ::core::clone::Clone for MIPI_DSI_TRANSMISSION_0 {
4092 fn clone(&self) -> Self {
4093 *self
4094 }
4095 }
4096 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4097 pub const MS_CDDDEVICEBITMAP: u32 = 4u32;
4098 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4099 pub const MS_NOTSYSTEMMEMORY: u32 = 1u32;
4100 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4101 pub const MS_REUSEDDEVICEBITMAP: u32 = 8u32;
4102 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4103 pub const MS_SHAREDACCESS: u32 = 2u32;
4104 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4105 pub const OC_BANK_CLIP: u32 = 1u32;
4106 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4107 pub const OPENGL_CMD: u32 = 4352u32;
4108 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4109 pub const OPENGL_GETINFO: u32 = 4353u32;
4110 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4111 pub type ORIENTATION_PREFERENCE = i32;
4112 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4113 pub const ORIENTATION_PREFERENCE_NONE: ORIENTATION_PREFERENCE = 0i32;
4114 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4115 pub const ORIENTATION_PREFERENCE_LANDSCAPE: ORIENTATION_PREFERENCE = 1i32;
4116 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4117 pub const ORIENTATION_PREFERENCE_PORTRAIT: ORIENTATION_PREFERENCE = 2i32;
4118 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4119 pub const ORIENTATION_PREFERENCE_LANDSCAPE_FLIPPED: ORIENTATION_PREFERENCE = 4i32;
4120 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4121 pub const ORIENTATION_PREFERENCE_PORTRAIT_FLIPPED: ORIENTATION_PREFERENCE = 8i32;
4122 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4123 pub type OUTPUT_COLOR_ENCODING = i32;
4124 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4125 pub const OUTPUT_COLOR_ENCODING_RGB: OUTPUT_COLOR_ENCODING = 0i32;
4126 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4127 pub const OUTPUT_COLOR_ENCODING_YCBCR444: OUTPUT_COLOR_ENCODING = 1i32;
4128 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4129 pub const OUTPUT_COLOR_ENCODING_YCBCR422: OUTPUT_COLOR_ENCODING = 2i32;
4130 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4131 pub const OUTPUT_COLOR_ENCODING_YCBCR420: OUTPUT_COLOR_ENCODING = 3i32;
4132 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4133 pub const OUTPUT_COLOR_ENCODING_INTENSITY: OUTPUT_COLOR_ENCODING = 4i32;
4134 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4135 pub const OUTPUT_COLOR_ENCODING_FORCE_UINT32: OUTPUT_COLOR_ENCODING = -1i32;
4136 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4137 pub type OUTPUT_WIRE_COLOR_SPACE_TYPE = i32;
4138 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4139 pub const OUTPUT_WIRE_COLOR_SPACE_G22_P709: OUTPUT_WIRE_COLOR_SPACE_TYPE = 0i32;
4140 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4141 pub const OUTPUT_WIRE_COLOR_SPACE_RESERVED: OUTPUT_WIRE_COLOR_SPACE_TYPE = 4i32;
4142 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4143 pub const OUTPUT_WIRE_COLOR_SPACE_G2084_P2020: OUTPUT_WIRE_COLOR_SPACE_TYPE = 12i32;
4144 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4145 pub const OUTPUT_WIRE_COLOR_SPACE_G22_P709_WCG: OUTPUT_WIRE_COLOR_SPACE_TYPE = 30i32;
4146 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4147 pub const OUTPUT_WIRE_COLOR_SPACE_G22_P2020: OUTPUT_WIRE_COLOR_SPACE_TYPE = 31i32;
4148 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4149 pub const OUTPUT_WIRE_COLOR_SPACE_G2084_P2020_HDR10PLUS: OUTPUT_WIRE_COLOR_SPACE_TYPE = 32i32;
4150 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4151 pub const OUTPUT_WIRE_COLOR_SPACE_G2084_P2020_DVLL: OUTPUT_WIRE_COLOR_SPACE_TYPE = 33i32;
4152 #[repr(C)]
4153 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4154 pub struct OUTPUT_WIRE_FORMAT {
4155 pub ColorEncoding: OUTPUT_COLOR_ENCODING,
4156 pub BitsPerPixel: u32,
4157 }
4158 impl ::core::marker::Copy for OUTPUT_WIRE_FORMAT {}
4159 impl ::core::clone::Clone for OUTPUT_WIRE_FORMAT {
4160 fn clone(&self) -> Self {
4161 *self
4162 }
4163 }
4164 #[repr(C)]
4165 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4166 pub struct PALOBJ {
4167 pub ulReserved: u32,
4168 }
4169 impl ::core::marker::Copy for PALOBJ {}
4170 impl ::core::clone::Clone for PALOBJ {
4171 fn clone(&self) -> Self {
4172 *self
4173 }
4174 }
4175 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4176 pub const PAL_BGR: u32 = 8u32;
4177 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4178 pub const PAL_BITFIELDS: u32 = 2u32;
4179 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4180 pub const PAL_CMYK: u32 = 16u32;
4181 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4182 pub const PAL_INDEXED: u32 = 1u32;
4183 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4184 pub const PAL_RGB: u32 = 4u32;
4185 #[repr(C)]
4186 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4187 pub struct PANEL_BRIGHTNESS_SENSOR_DATA {
4188 pub Anonymous: PANEL_BRIGHTNESS_SENSOR_DATA_0,
4189 pub AlsReading: f32,
4190 pub ChromaticityCoordinate: CHROMATICITY_COORDINATE,
4191 pub ColorTemperature: f32,
4192 }
4193 impl ::core::marker::Copy for PANEL_BRIGHTNESS_SENSOR_DATA {}
4194 impl ::core::clone::Clone for PANEL_BRIGHTNESS_SENSOR_DATA {
4195 fn clone(&self) -> Self {
4196 *self
4197 }
4198 }
4199 #[repr(C)]
4200 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4201 pub union PANEL_BRIGHTNESS_SENSOR_DATA_0 {
4202 pub Anonymous: PANEL_BRIGHTNESS_SENSOR_DATA_0_0,
4203 pub Value: u32,
4204 }
4205 impl ::core::marker::Copy for PANEL_BRIGHTNESS_SENSOR_DATA_0 {}
4206 impl ::core::clone::Clone for PANEL_BRIGHTNESS_SENSOR_DATA_0 {
4207 fn clone(&self) -> Self {
4208 *self
4209 }
4210 }
4211 #[repr(C)]
4212 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4213 pub struct PANEL_BRIGHTNESS_SENSOR_DATA_0_0 {
4214 pub _bitfield: u32,
4215 }
4216 impl ::core::marker::Copy for PANEL_BRIGHTNESS_SENSOR_DATA_0_0 {}
4217 impl ::core::clone::Clone for PANEL_BRIGHTNESS_SENSOR_DATA_0_0 {
4218 fn clone(&self) -> Self {
4219 *self
4220 }
4221 }
4222 #[repr(C)]
4223 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4224 pub struct PANEL_GET_BACKLIGHT_REDUCTION {
4225 pub BacklightUsersetting: u16,
4226 pub BacklightEffective: u16,
4227 pub GammaRamp: BACKLIGHT_REDUCTION_GAMMA_RAMP,
4228 }
4229 impl ::core::marker::Copy for PANEL_GET_BACKLIGHT_REDUCTION {}
4230 impl ::core::clone::Clone for PANEL_GET_BACKLIGHT_REDUCTION {
4231 fn clone(&self) -> Self {
4232 *self
4233 }
4234 }
4235 #[repr(C)]
4236 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4237 pub struct PANEL_GET_BRIGHTNESS {
4238 pub Version: BRIGHTNESS_INTERFACE_VERSION,
4239 pub Anonymous: PANEL_GET_BRIGHTNESS_0,
4240 }
4241 impl ::core::marker::Copy for PANEL_GET_BRIGHTNESS {}
4242 impl ::core::clone::Clone for PANEL_GET_BRIGHTNESS {
4243 fn clone(&self) -> Self {
4244 *self
4245 }
4246 }
4247 #[repr(C)]
4248 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4249 pub union PANEL_GET_BRIGHTNESS_0 {
4250 pub Level: u8,
4251 pub Anonymous: PANEL_GET_BRIGHTNESS_0_0,
4252 }
4253 impl ::core::marker::Copy for PANEL_GET_BRIGHTNESS_0 {}
4254 impl ::core::clone::Clone for PANEL_GET_BRIGHTNESS_0 {
4255 fn clone(&self) -> Self {
4256 *self
4257 }
4258 }
4259 #[repr(C)]
4260 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4261 pub struct PANEL_GET_BRIGHTNESS_0_0 {
4262 pub CurrentInMillinits: u32,
4263 pub TargetInMillinits: u32,
4264 }
4265 impl ::core::marker::Copy for PANEL_GET_BRIGHTNESS_0_0 {}
4266 impl ::core::clone::Clone for PANEL_GET_BRIGHTNESS_0_0 {
4267 fn clone(&self) -> Self {
4268 *self
4269 }
4270 }
4271 #[repr(C)]
4272 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4273 pub struct PANEL_QUERY_BRIGHTNESS_CAPS {
4274 pub Version: BRIGHTNESS_INTERFACE_VERSION,
4275 pub Anonymous: PANEL_QUERY_BRIGHTNESS_CAPS_0,
4276 }
4277 impl ::core::marker::Copy for PANEL_QUERY_BRIGHTNESS_CAPS {}
4278 impl ::core::clone::Clone for PANEL_QUERY_BRIGHTNESS_CAPS {
4279 fn clone(&self) -> Self {
4280 *self
4281 }
4282 }
4283 #[repr(C)]
4284 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4285 pub union PANEL_QUERY_BRIGHTNESS_CAPS_0 {
4286 pub Anonymous: PANEL_QUERY_BRIGHTNESS_CAPS_0_0,
4287 pub Value: u32,
4288 }
4289 impl ::core::marker::Copy for PANEL_QUERY_BRIGHTNESS_CAPS_0 {}
4290 impl ::core::clone::Clone for PANEL_QUERY_BRIGHTNESS_CAPS_0 {
4291 fn clone(&self) -> Self {
4292 *self
4293 }
4294 }
4295 #[repr(C)]
4296 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4297 pub struct PANEL_QUERY_BRIGHTNESS_CAPS_0_0 {
4298 pub _bitfield: u32,
4299 }
4300 impl ::core::marker::Copy for PANEL_QUERY_BRIGHTNESS_CAPS_0_0 {}
4301 impl ::core::clone::Clone for PANEL_QUERY_BRIGHTNESS_CAPS_0_0 {
4302 fn clone(&self) -> Self {
4303 *self
4304 }
4305 }
4306 #[repr(C)]
4307 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4308 pub struct PANEL_QUERY_BRIGHTNESS_RANGES {
4309 pub Version: BRIGHTNESS_INTERFACE_VERSION,
4310 pub Anonymous: PANEL_QUERY_BRIGHTNESS_RANGES_0,
4311 }
4312 impl ::core::marker::Copy for PANEL_QUERY_BRIGHTNESS_RANGES {}
4313 impl ::core::clone::Clone for PANEL_QUERY_BRIGHTNESS_RANGES {
4314 fn clone(&self) -> Self {
4315 *self
4316 }
4317 }
4318 #[repr(C)]
4319 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4320 pub union PANEL_QUERY_BRIGHTNESS_RANGES_0 {
4321 pub BrightnessLevel: BRIGHTNESS_LEVEL,
4322 pub NitRanges: BRIGHTNESS_NIT_RANGES,
4323 }
4324 impl ::core::marker::Copy for PANEL_QUERY_BRIGHTNESS_RANGES_0 {}
4325 impl ::core::clone::Clone for PANEL_QUERY_BRIGHTNESS_RANGES_0 {
4326 fn clone(&self) -> Self {
4327 *self
4328 }
4329 }
4330 #[repr(C)]
4331 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4332 pub struct PANEL_SET_BACKLIGHT_OPTIMIZATION {
4333 pub Level: BACKLIGHT_OPTIMIZATION_LEVEL,
4334 }
4335 impl ::core::marker::Copy for PANEL_SET_BACKLIGHT_OPTIMIZATION {}
4336 impl ::core::clone::Clone for PANEL_SET_BACKLIGHT_OPTIMIZATION {
4337 fn clone(&self) -> Self {
4338 *self
4339 }
4340 }
4341 #[repr(C)]
4342 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4343 pub struct PANEL_SET_BRIGHTNESS {
4344 pub Version: BRIGHTNESS_INTERFACE_VERSION,
4345 pub Anonymous: PANEL_SET_BRIGHTNESS_0,
4346 }
4347 impl ::core::marker::Copy for PANEL_SET_BRIGHTNESS {}
4348 impl ::core::clone::Clone for PANEL_SET_BRIGHTNESS {
4349 fn clone(&self) -> Self {
4350 *self
4351 }
4352 }
4353 #[repr(C)]
4354 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4355 pub union PANEL_SET_BRIGHTNESS_0 {
4356 pub Level: u8,
4357 pub Anonymous: PANEL_SET_BRIGHTNESS_0_0,
4358 }
4359 impl ::core::marker::Copy for PANEL_SET_BRIGHTNESS_0 {}
4360 impl ::core::clone::Clone for PANEL_SET_BRIGHTNESS_0 {
4361 fn clone(&self) -> Self {
4362 *self
4363 }
4364 }
4365 #[repr(C)]
4366 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4367 pub struct PANEL_SET_BRIGHTNESS_0_0 {
4368 pub Millinits: u32,
4369 pub TransitionTimeInMs: u32,
4370 pub SensorData: PANEL_BRIGHTNESS_SENSOR_DATA,
4371 }
4372 impl ::core::marker::Copy for PANEL_SET_BRIGHTNESS_0_0 {}
4373 impl ::core::clone::Clone for PANEL_SET_BRIGHTNESS_0_0 {
4374 fn clone(&self) -> Self {
4375 *self
4376 }
4377 }
4378 #[repr(C)]
4379 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4380 pub struct PANEL_SET_BRIGHTNESS_STATE {
4381 pub Anonymous: PANEL_SET_BRIGHTNESS_STATE_0,
4382 }
4383 impl ::core::marker::Copy for PANEL_SET_BRIGHTNESS_STATE {}
4384 impl ::core::clone::Clone for PANEL_SET_BRIGHTNESS_STATE {
4385 fn clone(&self) -> Self {
4386 *self
4387 }
4388 }
4389 #[repr(C)]
4390 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4391 pub union PANEL_SET_BRIGHTNESS_STATE_0 {
4392 pub Anonymous: PANEL_SET_BRIGHTNESS_STATE_0_0,
4393 pub Value: u32,
4394 }
4395 impl ::core::marker::Copy for PANEL_SET_BRIGHTNESS_STATE_0 {}
4396 impl ::core::clone::Clone for PANEL_SET_BRIGHTNESS_STATE_0 {
4397 fn clone(&self) -> Self {
4398 *self
4399 }
4400 }
4401 #[repr(C)]
4402 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4403 pub struct PANEL_SET_BRIGHTNESS_STATE_0_0 {
4404 pub _bitfield: u32,
4405 }
4406 impl ::core::marker::Copy for PANEL_SET_BRIGHTNESS_STATE_0_0 {}
4407 impl ::core::clone::Clone for PANEL_SET_BRIGHTNESS_STATE_0_0 {
4408 fn clone(&self) -> Self {
4409 *self
4410 }
4411 }
4412 #[repr(C)]
4413 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4414 pub struct PATHDATA {
4415 pub flags: u32,
4416 pub count: u32,
4417 pub pptfx: *mut POINTFIX,
4418 }
4419 impl ::core::marker::Copy for PATHDATA {}
4420 impl ::core::clone::Clone for PATHDATA {
4421 fn clone(&self) -> Self {
4422 *self
4423 }
4424 }
4425 #[repr(C)]
4426 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4427 pub struct PATHOBJ {
4428 pub fl: u32,
4429 pub cCurves: u32,
4430 }
4431 impl ::core::marker::Copy for PATHOBJ {}
4432 impl ::core::clone::Clone for PATHOBJ {
4433 fn clone(&self) -> Self {
4434 *self
4435 }
4436 }
4437 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4438 pub const PD_BEGINSUBPATH: u32 = 1u32;
4439 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4440 pub const PD_BEZIERS: u32 = 16u32;
4441 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4442 pub const PD_CLOSEFIGURE: u32 = 8u32;
4443 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4444 pub const PD_ENDSUBPATH: u32 = 2u32;
4445 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4446 pub const PD_RESETSTYLE: u32 = 4u32;
4447 #[repr(C)]
4448 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4449 #[cfg(feature = "Win32_Foundation")]
4450 pub struct PERBANDINFO {
4451 pub bRepeatThisBand: super::super::Foundation::BOOL,
4452 pub szlBand: super::super::Foundation::SIZE,
4453 pub ulHorzRes: u32,
4454 pub ulVertRes: u32,
4455 }
4456 #[cfg(feature = "Win32_Foundation")]
4457 impl ::core::marker::Copy for PERBANDINFO {}
4458 #[cfg(feature = "Win32_Foundation")]
4459 impl ::core::clone::Clone for PERBANDINFO {
4460 fn clone(&self) -> Self {
4461 *self
4462 }
4463 }
4464 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4465 pub type PFN = ::core::option::Option<unsafe extern "system" fn() -> isize>;
4466 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4467 #[cfg(feature = "Win32_Foundation")]
4468 pub type PFN_DrvAccumulateD3DDirtyRect = ::core::option::Option<unsafe extern "system" fn(param0: *mut SURFOBJ, param1: *mut CDDDXGK_REDIRBITMAPPRESENTINFO) -> super::super::Foundation::BOOL>;
4469 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
4470 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
4471 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>;
4472 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4473 #[cfg(feature = "Win32_Foundation")]
4474 pub type PFN_DrvAssertMode = ::core::option::Option<unsafe extern "system" fn(param0: DHPDEV, param1: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL>;
4475 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4476 #[cfg(feature = "Win32_Foundation")]
4477 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>;
4478 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4479 #[cfg(feature = "Win32_Foundation")]
4480 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>;
4481 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4482 pub type PFN_DrvCompletePDEV = ::core::option::Option<unsafe extern "system" fn(param0: DHPDEV, param1: HDEV)>;
4483 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4484 #[cfg(feature = "Win32_Foundation")]
4485 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>;
4486 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
4487 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
4488 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>;
4489 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
4490 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
4491 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>;
4492 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4493 pub type PFN_DrvDeleteDeviceBitmap = ::core::option::Option<unsafe extern "system" fn(param0: DHSURF)>;
4494 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4495 pub type PFN_DrvDeleteDeviceBitmapEx = ::core::option::Option<unsafe extern "system" fn(param0: DHSURF)>;
4496 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`*"]
4497 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
4498 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>;
4499 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Graphics_OpenGL\"`*"]
4500 #[cfg(feature = "Win32_Graphics_OpenGL")]
4501 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>;
4502 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4503 #[cfg(feature = "Win32_Foundation")]
4504 pub type PFN_DrvDestroyFont = ::core::option::Option<unsafe extern "system" fn(param0: *mut FONTOBJ)>;
4505 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4506 pub type PFN_DrvDisableDirectDraw = ::core::option::Option<unsafe extern "system" fn(param0: DHPDEV)>;
4507 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4508 pub type PFN_DrvDisableDriver = ::core::option::Option<unsafe extern "system" fn()>;
4509 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4510 pub type PFN_DrvDisablePDEV = ::core::option::Option<unsafe extern "system" fn(param0: DHPDEV)>;
4511 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4512 pub type PFN_DrvDisableSurface = ::core::option::Option<unsafe extern "system" fn(param0: DHPDEV)>;
4513 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4514 pub type PFN_DrvDitherColor = ::core::option::Option<unsafe extern "system" fn(param0: DHPDEV, param1: u32, param2: u32, param3: *mut u32) -> u32>;
4515 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4516 #[cfg(feature = "Win32_Foundation")]
4517 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>;
4518 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`*"]
4519 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
4520 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>;
4521 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4522 #[cfg(feature = "Win32_Foundation")]
4523 pub type PFN_DrvEnableDriver = ::core::option::Option<unsafe extern "system" fn(param0: u32, param1: u32, param2: *mut DRVENABLEDATA) -> super::super::Foundation::BOOL>;
4524 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
4525 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
4526 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>;
4527 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4528 pub type PFN_DrvEnableSurface = ::core::option::Option<unsafe extern "system" fn(param0: DHPDEV) -> HSURF>;
4529 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4530 #[cfg(feature = "Win32_Foundation")]
4531 pub type PFN_DrvEndDoc = ::core::option::Option<unsafe extern "system" fn(pso: *mut SURFOBJ, fl: u32) -> super::super::Foundation::BOOL>;
4532 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4533 #[cfg(feature = "Win32_Foundation")]
4534 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>;
4535 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4536 #[cfg(feature = "Win32_Foundation")]
4537 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>;
4538 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4539 #[cfg(feature = "Win32_Foundation")]
4540 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>;
4541 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4542 #[cfg(feature = "Win32_Foundation")]
4543 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>;
4544 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4545 pub type PFN_DrvFree = ::core::option::Option<unsafe extern "system" fn(param0: *mut ::core::ffi::c_void, param1: usize)>;
4546 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`*"]
4547 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
4548 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>;
4549 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4550 #[cfg(feature = "Win32_Foundation")]
4551 pub type PFN_DrvGetGlyphMode = ::core::option::Option<unsafe extern "system" fn(dhpdev: DHPDEV, pfo: *mut FONTOBJ) -> u32>;
4552 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
4553 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
4554 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>;
4555 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4556 pub type PFN_DrvGetTrueTypeFile = ::core::option::Option<unsafe extern "system" fn(param0: usize, param1: *mut u32) -> *mut ::core::ffi::c_void>;
4557 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
4558 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
4559 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>;
4560 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4561 #[cfg(feature = "Win32_Foundation")]
4562 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>;
4563 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_ColorSystem\"`*"]
4564 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_ColorSystem"))]
4565 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>;
4566 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4567 #[cfg(feature = "Win32_Foundation")]
4568 pub type PFN_DrvIcmDeleteColorTransform = ::core::option::Option<unsafe extern "system" fn(param0: DHPDEV, param1: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL>;
4569 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4570 #[cfg(feature = "Win32_Foundation")]
4571 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>;
4572 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4573 #[cfg(feature = "Win32_Foundation")]
4574 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>;
4575 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Graphics_Gdi\"`*"]
4576 #[cfg(feature = "Win32_Graphics_Gdi")]
4577 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>;
4578 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4579 #[cfg(feature = "Win32_Foundation")]
4580 pub type PFN_DrvLockDisplayArea = ::core::option::Option<unsafe extern "system" fn(param0: DHPDEV, param1: *mut super::super::Foundation::RECTL)>;
4581 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4582 #[cfg(feature = "Win32_Foundation")]
4583 pub type PFN_DrvMovePointer = ::core::option::Option<unsafe extern "system" fn(pso: *mut SURFOBJ, x: i32, y: i32, prcl: *mut super::super::Foundation::RECTL)>;
4584 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4585 #[cfg(feature = "Win32_Foundation")]
4586 pub type PFN_DrvNextBand = ::core::option::Option<unsafe extern "system" fn(param0: *mut SURFOBJ, ppointl: *mut super::super::Foundation::POINTL) -> super::super::Foundation::BOOL>;
4587 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4588 #[cfg(feature = "Win32_Foundation")]
4589 pub type PFN_DrvNotify = ::core::option::Option<unsafe extern "system" fn(param0: *mut SURFOBJ, param1: u32, param2: *mut ::core::ffi::c_void)>;
4590 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4591 #[cfg(feature = "Win32_Foundation")]
4592 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>;
4593 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
4594 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
4595 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>;
4596 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4597 #[cfg(feature = "Win32_Foundation")]
4598 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>;
4599 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4600 #[cfg(feature = "Win32_Foundation")]
4601 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>;
4602 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
4603 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
4604 pub type PFN_DrvQueryFont = ::core::option::Option<unsafe extern "system" fn(param0: DHPDEV, param1: usize, param2: u32, param3: *mut usize) -> *mut IFIMETRICS>;
4605 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4606 pub type PFN_DrvQueryFontCaps = ::core::option::Option<unsafe extern "system" fn(param0: u32, param1: *mut u32) -> i32>;
4607 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4608 #[cfg(feature = "Win32_Foundation")]
4609 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>;
4610 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4611 pub type PFN_DrvQueryFontFile = ::core::option::Option<unsafe extern "system" fn(param0: usize, param1: u32, param2: u32, param3: *mut u32) -> i32>;
4612 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4613 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>;
4614 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4615 #[cfg(feature = "Win32_Foundation")]
4616 pub type PFN_DrvQueryGlyphAttrs = ::core::option::Option<unsafe extern "system" fn(param0: *mut FONTOBJ, param1: u32) -> *mut FD_GLYPHATTR>;
4617 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4618 #[cfg(feature = "Win32_Foundation")]
4619 pub type PFN_DrvQueryPerBandInfo = ::core::option::Option<unsafe extern "system" fn(param0: *mut SURFOBJ, param1: *mut PERBANDINFO) -> super::super::Foundation::BOOL>;
4620 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4621 #[cfg(feature = "Win32_Foundation")]
4622 pub type PFN_DrvQuerySpoolType = ::core::option::Option<unsafe extern "system" fn(dhpdev: DHPDEV, pwchtype: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL>;
4623 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
4624 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
4625 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>;
4626 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4627 #[cfg(feature = "Win32_Foundation")]
4628 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>;
4629 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4630 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>;
4631 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4632 #[cfg(feature = "Win32_Foundation")]
4633 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>;
4634 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4635 pub type PFN_DrvRenderHint = ::core::option::Option<unsafe extern "system" fn(dhpdev: DHPDEV, notifycode: u32, length: usize, data: *const ::core::ffi::c_void) -> i32>;
4636 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4637 pub type PFN_DrvResetDevice = ::core::option::Option<unsafe extern "system" fn(param0: DHPDEV, param1: *mut ::core::ffi::c_void) -> u32>;
4638 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4639 #[cfg(feature = "Win32_Foundation")]
4640 pub type PFN_DrvResetPDEV = ::core::option::Option<unsafe extern "system" fn(dhpdevold: DHPDEV, dhpdevnew: DHPDEV) -> super::super::Foundation::BOOL>;
4641 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4642 #[cfg(feature = "Win32_Foundation")]
4643 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>;
4644 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4645 #[cfg(feature = "Win32_Foundation")]
4646 pub type PFN_DrvSendPage = ::core::option::Option<unsafe extern "system" fn(param0: *mut SURFOBJ) -> super::super::Foundation::BOOL>;
4647 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4648 #[cfg(feature = "Win32_Foundation")]
4649 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>;
4650 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4651 #[cfg(feature = "Win32_Foundation")]
4652 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>;
4653 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4654 #[cfg(feature = "Win32_Foundation")]
4655 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>;
4656 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4657 #[cfg(feature = "Win32_Foundation")]
4658 pub type PFN_DrvStartBanding = ::core::option::Option<unsafe extern "system" fn(param0: *mut SURFOBJ, ppointl: *mut super::super::Foundation::POINTL) -> super::super::Foundation::BOOL>;
4659 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4660 #[cfg(feature = "Win32_Foundation")]
4661 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>;
4662 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4663 #[cfg(feature = "Win32_Foundation")]
4664 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>;
4665 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4666 #[cfg(feature = "Win32_Foundation")]
4667 pub type PFN_DrvStartPage = ::core::option::Option<unsafe extern "system" fn(pso: *mut SURFOBJ) -> super::super::Foundation::BOOL>;
4668 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
4669 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
4670 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>;
4671 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
4672 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
4673 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>;
4674 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4675 #[cfg(feature = "Win32_Foundation")]
4676 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>;
4677 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4678 #[cfg(feature = "Win32_Foundation")]
4679 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>;
4680 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4681 #[cfg(feature = "Win32_Foundation")]
4682 pub type PFN_DrvSurfaceComplete = ::core::option::Option<unsafe extern "system" fn(param0: DHPDEV, param1: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL>;
4683 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4684 #[cfg(feature = "Win32_Foundation")]
4685 pub type PFN_DrvSwapBuffers = ::core::option::Option<unsafe extern "system" fn(param0: *mut SURFOBJ, param1: *mut WNDOBJ) -> super::super::Foundation::BOOL>;
4686 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4687 #[cfg(feature = "Win32_Foundation")]
4688 pub type PFN_DrvSynchronize = ::core::option::Option<unsafe extern "system" fn(param0: DHPDEV, param1: *mut super::super::Foundation::RECTL)>;
4689 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4690 #[cfg(feature = "Win32_Foundation")]
4691 pub type PFN_DrvSynchronizeRedirectionBitmaps = ::core::option::Option<unsafe extern "system" fn(param0: DHPDEV, param1: *mut u64) -> super::super::Foundation::NTSTATUS>;
4692 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4693 #[cfg(feature = "Win32_Foundation")]
4694 pub type PFN_DrvSynchronizeSurface = ::core::option::Option<unsafe extern "system" fn(param0: *mut SURFOBJ, param1: *mut super::super::Foundation::RECTL, param2: u32)>;
4695 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4696 #[cfg(feature = "Win32_Foundation")]
4697 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>;
4698 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4699 #[cfg(feature = "Win32_Foundation")]
4700 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>;
4701 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4702 #[cfg(feature = "Win32_Foundation")]
4703 pub type PFN_DrvUnloadFontFile = ::core::option::Option<unsafe extern "system" fn(param0: usize) -> super::super::Foundation::BOOL>;
4704 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4705 #[cfg(feature = "Win32_Foundation")]
4706 pub type PFN_DrvUnlockDisplayArea = ::core::option::Option<unsafe extern "system" fn(param0: DHPDEV, param1: *mut super::super::Foundation::RECTL)>;
4707 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4708 #[cfg(feature = "Win32_Foundation")]
4709 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>;
4710 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4711 #[cfg(feature = "Win32_Foundation")]
4712 pub type PFN_EngCopyRgn = ::core::option::Option<unsafe extern "system" fn(hrgndst: super::super::Foundation::HANDLE, hrgnsrc: super::super::Foundation::HANDLE) -> i32>;
4713 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4714 #[cfg(feature = "Win32_Foundation")]
4715 pub type PFN_EngCreateRectRgn = ::core::option::Option<unsafe extern "system" fn(left: i32, top: i32, right: i32, bottom: i32) -> super::super::Foundation::HANDLE>;
4716 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4717 #[cfg(feature = "Win32_Foundation")]
4718 pub type PFN_EngDeleteRgn = ::core::option::Option<unsafe extern "system" fn(hrgn: super::super::Foundation::HANDLE)>;
4719 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4720 #[cfg(feature = "Win32_Foundation")]
4721 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>;
4722 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4723 #[cfg(feature = "Win32_Foundation")]
4724 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>;
4725 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4726 #[cfg(feature = "Win32_Foundation")]
4727 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>;
4728 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4729 #[cfg(feature = "Win32_Foundation")]
4730 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>;
4731 #[repr(C, packed(1))]
4732 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
4733 #[cfg(feature = "Win32_Foundation")]
4734 pub struct PHYSICAL_MONITOR {
4735 pub hPhysicalMonitor: super::super::Foundation::HANDLE,
4736 pub szPhysicalMonitorDescription: [u16; 128],
4737 }
4738 #[cfg(feature = "Win32_Foundation")]
4739 impl ::core::marker::Copy for PHYSICAL_MONITOR {}
4740 #[cfg(feature = "Win32_Foundation")]
4741 impl ::core::clone::Clone for PHYSICAL_MONITOR {
4742 fn clone(&self) -> Self {
4743 *self
4744 }
4745 }
4746 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4747 pub const PHYSICAL_MONITOR_DESCRIPTION_SIZE: u32 = 128u32;
4748 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4749 pub const PLANAR_HC: u32 = 1u32;
4750 #[repr(C)]
4751 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4752 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
4753 pub struct POINTE {
4754 pub x: f32,
4755 pub y: f32,
4756 }
4757 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
4758 impl ::core::marker::Copy for POINTE {}
4759 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
4760 impl ::core::clone::Clone for POINTE {
4761 fn clone(&self) -> Self {
4762 *self
4763 }
4764 }
4765 #[repr(C)]
4766 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4767 #[cfg(target_arch = "x86")]
4768 pub struct POINTE {
4769 pub x: u32,
4770 pub y: u32,
4771 }
4772 #[cfg(target_arch = "x86")]
4773 impl ::core::marker::Copy for POINTE {}
4774 #[cfg(target_arch = "x86")]
4775 impl ::core::clone::Clone for POINTE {
4776 fn clone(&self) -> Self {
4777 *self
4778 }
4779 }
4780 #[repr(C)]
4781 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4782 pub struct POINTFIX {
4783 pub x: i32,
4784 pub y: i32,
4785 }
4786 impl ::core::marker::Copy for POINTFIX {}
4787 impl ::core::clone::Clone for POINTFIX {
4788 fn clone(&self) -> Self {
4789 *self
4790 }
4791 }
4792 #[repr(C)]
4793 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4794 pub struct POINTQF {
4795 pub x: i64,
4796 pub y: i64,
4797 }
4798 impl ::core::marker::Copy for POINTQF {}
4799 impl ::core::clone::Clone for POINTQF {
4800 fn clone(&self) -> Self {
4801 *self
4802 }
4803 }
4804 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4805 pub const PO_ALL_INTEGERS: u32 = 4u32;
4806 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4807 pub const PO_BEZIERS: u32 = 1u32;
4808 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4809 pub const PO_ELLIPSE: u32 = 2u32;
4810 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4811 pub const PO_ENUM_AS_INTEGERS: u32 = 8u32;
4812 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4813 pub const PO_WIDENED: u32 = 16u32;
4814 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4815 pub const PPC_BGR_ORDER_HORIZONTAL_STRIPES: u32 = 5u32;
4816 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4817 pub const PPC_BGR_ORDER_VERTICAL_STRIPES: u32 = 3u32;
4818 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4819 pub const PPC_DEFAULT: u32 = 0u32;
4820 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4821 pub const PPC_RGB_ORDER_HORIZONTAL_STRIPES: u32 = 4u32;
4822 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4823 pub const PPC_RGB_ORDER_VERTICAL_STRIPES: u32 = 2u32;
4824 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4825 pub const PPC_UNDEFINED: u32 = 1u32;
4826 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4827 pub const PPG_DEFAULT: u32 = 0u32;
4828 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4829 pub const PPG_SRGB: u32 = 1u32;
4830 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4831 pub const PRIMARY_ORDER_ABC: u32 = 0u32;
4832 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4833 pub const PRIMARY_ORDER_ACB: u32 = 1u32;
4834 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4835 pub const PRIMARY_ORDER_BAC: u32 = 2u32;
4836 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4837 pub const PRIMARY_ORDER_BCA: u32 = 3u32;
4838 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4839 pub const PRIMARY_ORDER_CAB: u32 = 5u32;
4840 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4841 pub const PRIMARY_ORDER_CBA: u32 = 4u32;
4842 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4843 pub type PVIDEO_WIN32K_CALLOUT = ::core::option::Option<unsafe extern "system" fn(params: *mut ::core::ffi::c_void)>;
4844 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4845 pub const QAW_GETEASYWIDTHS: u32 = 1u32;
4846 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4847 pub const QAW_GETWIDTHS: u32 = 0u32;
4848 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4849 pub const QC_1BIT: u32 = 2u32;
4850 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4851 pub const QC_4BIT: u32 = 4u32;
4852 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4853 pub const QC_OUTLINES: u32 = 1u32;
4854 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4855 pub const QDS_CHECKJPEGFORMAT: u32 = 0u32;
4856 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4857 pub const QDS_CHECKPNGFORMAT: u32 = 1u32;
4858 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4859 pub const QFD_GLYPHANDBITMAP: i32 = 1i32;
4860 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4861 pub const QFD_GLYPHANDOUTLINE: i32 = 2i32;
4862 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4863 pub const QFD_MAXEXTENTS: i32 = 3i32;
4864 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4865 pub const QFD_TT_GLYPHANDBITMAP: i32 = 4i32;
4866 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4867 pub const QFD_TT_GRAY1_BITMAP: i32 = 5i32;
4868 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4869 pub const QFD_TT_GRAY2_BITMAP: i32 = 6i32;
4870 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4871 pub const QFD_TT_GRAY4_BITMAP: i32 = 8i32;
4872 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4873 pub const QFD_TT_GRAY8_BITMAP: i32 = 9i32;
4874 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4875 pub const QFD_TT_MONO_BITMAP: i32 = 5i32;
4876 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4877 pub const QFF_DESCRIPTION: i32 = 1i32;
4878 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4879 pub const QFF_NUMFACES: i32 = 2i32;
4880 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4881 pub const QFT_GLYPHSET: i32 = 3i32;
4882 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4883 pub const QFT_KERNPAIRS: i32 = 2i32;
4884 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4885 pub const QFT_LIGATURES: i32 = 1i32;
4886 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4887 pub const QSA_3DNOW: u32 = 16384u32;
4888 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4889 pub const QSA_MMX: u32 = 256u32;
4890 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4891 pub const QSA_SSE: u32 = 8192u32;
4892 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4893 pub const QSA_SSE1: u32 = 8192u32;
4894 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4895 pub const QSA_SSE2: u32 = 65536u32;
4896 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4897 pub const QSA_SSE3: u32 = 524288u32;
4898 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4899 pub const RB_DITHERCOLOR: i32 = -2147483648i32;
4900 #[repr(C)]
4901 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4902 pub struct RECTFX {
4903 pub xLeft: i32,
4904 pub yTop: i32,
4905 pub xRight: i32,
4906 pub yBottom: i32,
4907 }
4908 impl ::core::marker::Copy for RECTFX {}
4909 impl ::core::clone::Clone for RECTFX {
4910 fn clone(&self) -> Self {
4911 *self
4912 }
4913 }
4914 #[repr(C)]
4915 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4916 pub struct RUN {
4917 pub iStart: i32,
4918 pub iStop: i32,
4919 }
4920 impl ::core::marker::Copy for RUN {}
4921 impl ::core::clone::Clone for RUN {
4922 fn clone(&self) -> Self {
4923 *self
4924 }
4925 }
4926 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4927 pub const SETCONFIGURATION_STATUS_ADDITIONAL: u32 = 1u32;
4928 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4929 pub const SETCONFIGURATION_STATUS_APPLIED: u32 = 0u32;
4930 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4931 pub const SETCONFIGURATION_STATUS_OVERRIDDEN: u32 = 2u32;
4932 #[repr(C)]
4933 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4934 pub struct SET_ACTIVE_COLOR_PROFILE_NAME {
4935 pub ColorProfileName: [u16; 1],
4936 }
4937 impl ::core::marker::Copy for SET_ACTIVE_COLOR_PROFILE_NAME {}
4938 impl ::core::clone::Clone for SET_ACTIVE_COLOR_PROFILE_NAME {
4939 fn clone(&self) -> Self {
4940 *self
4941 }
4942 }
4943 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4944 pub const SGI_EXTRASPACE: u32 = 0u32;
4945 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4946 pub type SORTCOMP = ::core::option::Option<unsafe extern "system" fn(pv1: *const ::core::ffi::c_void, pv2: *const ::core::ffi::c_void) -> i32>;
4947 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4948 pub const SO_BREAK_EXTRA: u32 = 4096u32;
4949 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4950 pub const SO_CHARACTER_EXTRA: u32 = 2048u32;
4951 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4952 pub const SO_CHAR_INC_EQUAL_BM_BASE: u32 = 32u32;
4953 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4954 pub const SO_DO_NOT_SUBSTITUTE_DEVICE_FONT: u32 = 128u32;
4955 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4956 pub const SO_DXDY: u32 = 1024u32;
4957 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4958 pub const SO_ESC_NOT_ORIENT: u32 = 512u32;
4959 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4960 pub const SO_FLAG_DEFAULT_PLACEMENT: u32 = 1u32;
4961 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4962 pub const SO_GLYPHINDEX_TEXTOUT: u32 = 256u32;
4963 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4964 pub const SO_HORIZONTAL: u32 = 2u32;
4965 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4966 pub const SO_MAXEXT_EQUAL_BM_SIDE: u32 = 64u32;
4967 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4968 pub const SO_REVERSED: u32 = 8u32;
4969 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4970 pub const SO_VERTICAL: u32 = 4u32;
4971 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4972 pub const SO_ZERO_BEARINGS: u32 = 16u32;
4973 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4974 pub const SPS_ACCEPT_EXCLUDE: u32 = 3u32;
4975 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4976 pub const SPS_ACCEPT_NOEXCLUDE: u32 = 2u32;
4977 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4978 pub const SPS_ACCEPT_SYNCHRONOUS: u32 = 4u32;
4979 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4980 pub const SPS_ALPHA: i32 = 16i32;
4981 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4982 pub const SPS_ANIMATESTART: i32 = 4i32;
4983 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4984 pub const SPS_ANIMATEUPDATE: i32 = 8i32;
4985 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4986 pub const SPS_ASYNCCHANGE: i32 = 2i32;
4987 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4988 pub const SPS_CHANGE: i32 = 1i32;
4989 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4990 pub const SPS_DECLINE: u32 = 1u32;
4991 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4992 pub const SPS_ERROR: u32 = 0u32;
4993 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4994 pub const SPS_FLAGSMASK: i32 = 255i32;
4995 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4996 pub const SPS_FREQMASK: i32 = 1044480i32;
4997 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
4998 pub const SPS_LENGTHMASK: i32 = 3840i32;
4999 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5000 pub const SPS_RESERVED: i32 = 32i32;
5001 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5002 pub const SPS_RESERVED1: i32 = 64i32;
5003 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5004 pub const SS_FREE: u32 = 2u32;
5005 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5006 pub const SS_RESTORE: u32 = 1u32;
5007 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5008 pub const SS_SAVE: u32 = 0u32;
5009 #[repr(C)]
5010 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
5011 #[cfg(feature = "Win32_Foundation")]
5012 pub struct STROBJ {
5013 pub cGlyphs: u32,
5014 pub flAccel: u32,
5015 pub ulCharInc: u32,
5016 pub rclBkGround: super::super::Foundation::RECTL,
5017 pub pgp: *mut GLYPHPOS,
5018 pub pwszOrg: ::windows_sys::core::PWSTR,
5019 }
5020 #[cfg(feature = "Win32_Foundation")]
5021 impl ::core::marker::Copy for STROBJ {}
5022 #[cfg(feature = "Win32_Foundation")]
5023 impl ::core::clone::Clone for STROBJ {
5024 fn clone(&self) -> Self {
5025 *self
5026 }
5027 }
5028 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5029 pub const STYPE_BITMAP: i32 = 0i32;
5030 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5031 pub const STYPE_DEVBITMAP: i32 = 3i32;
5032 #[repr(C)]
5033 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
5034 #[cfg(feature = "Win32_Foundation")]
5035 pub struct SURFOBJ {
5036 pub dhsurf: DHSURF,
5037 pub hsurf: HSURF,
5038 pub dhpdev: DHPDEV,
5039 pub hdev: HDEV,
5040 pub sizlBitmap: super::super::Foundation::SIZE,
5041 pub cjBits: u32,
5042 pub pvBits: *mut ::core::ffi::c_void,
5043 pub pvScan0: *mut ::core::ffi::c_void,
5044 pub lDelta: i32,
5045 pub iUniq: u32,
5046 pub iBitmapFormat: u32,
5047 pub iType: u16,
5048 pub fjBitmap: u16,
5049 }
5050 #[cfg(feature = "Win32_Foundation")]
5051 impl ::core::marker::Copy for SURFOBJ {}
5052 #[cfg(feature = "Win32_Foundation")]
5053 impl ::core::clone::Clone for SURFOBJ {
5054 fn clone(&self) -> Self {
5055 *self
5056 }
5057 }
5058 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5059 pub const S_INIT: u32 = 2u32;
5060 #[repr(C)]
5061 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5062 pub struct Sources {
5063 pub sourceId: u32,
5064 pub numTargets: i32,
5065 pub aTargets: [u32; 1],
5066 }
5067 impl ::core::marker::Copy for Sources {}
5068 impl ::core::clone::Clone for Sources {
5069 fn clone(&self) -> Self {
5070 *self
5071 }
5072 }
5073 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5074 pub const TC_PATHOBJ: u32 = 2u32;
5075 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5076 pub const TC_RECTANGLES: u32 = 0u32;
5077 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5078 pub const TTO_METRICS_ONLY: u32 = 1u32;
5079 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5080 pub const TTO_QUBICS: u32 = 2u32;
5081 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5082 pub const TTO_UNHINTED: u32 = 4u32;
5083 #[repr(C)]
5084 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
5085 #[cfg(feature = "Win32_Foundation")]
5086 pub struct TYPE1_FONT {
5087 pub hPFM: super::super::Foundation::HANDLE,
5088 pub hPFB: super::super::Foundation::HANDLE,
5089 pub ulIdentifier: u32,
5090 }
5091 #[cfg(feature = "Win32_Foundation")]
5092 impl ::core::marker::Copy for TYPE1_FONT {}
5093 #[cfg(feature = "Win32_Foundation")]
5094 impl ::core::clone::Clone for TYPE1_FONT {
5095 fn clone(&self) -> Self {
5096 *self
5097 }
5098 }
5099 #[repr(C)]
5100 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
5101 #[cfg(feature = "Win32_Foundation")]
5102 pub struct VGA_CHAR {
5103 pub Char: super::super::Foundation::CHAR,
5104 pub Attributes: super::super::Foundation::CHAR,
5105 }
5106 #[cfg(feature = "Win32_Foundation")]
5107 impl ::core::marker::Copy for VGA_CHAR {}
5108 #[cfg(feature = "Win32_Foundation")]
5109 impl ::core::clone::Clone for VGA_CHAR {
5110 fn clone(&self) -> Self {
5111 *self
5112 }
5113 }
5114 #[repr(C)]
5115 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5116 pub struct VIDEOPARAMETERS {
5117 pub Guid: ::windows_sys::core::GUID,
5118 pub dwOffset: u32,
5119 pub dwCommand: u32,
5120 pub dwFlags: u32,
5121 pub dwMode: u32,
5122 pub dwTVStandard: u32,
5123 pub dwAvailableModes: u32,
5124 pub dwAvailableTVStandard: u32,
5125 pub dwFlickerFilter: u32,
5126 pub dwOverScanX: u32,
5127 pub dwOverScanY: u32,
5128 pub dwMaxUnscaledX: u32,
5129 pub dwMaxUnscaledY: u32,
5130 pub dwPositionX: u32,
5131 pub dwPositionY: u32,
5132 pub dwBrightness: u32,
5133 pub dwContrast: u32,
5134 pub dwCPType: u32,
5135 pub dwCPCommand: u32,
5136 pub dwCPStandard: u32,
5137 pub dwCPKey: u32,
5138 pub bCP_APSTriggerBits: u32,
5139 pub bOEMCopyProtection: [u8; 256],
5140 }
5141 impl ::core::marker::Copy for VIDEOPARAMETERS {}
5142 impl ::core::clone::Clone for VIDEOPARAMETERS {
5143 fn clone(&self) -> Self {
5144 *self
5145 }
5146 }
5147 #[repr(C)]
5148 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5149 pub struct VIDEO_BANK_SELECT {
5150 pub Length: u32,
5151 pub Size: u32,
5152 pub BankingFlags: u32,
5153 pub BankingType: u32,
5154 pub PlanarHCBankingType: u32,
5155 pub BitmapWidthInBytes: u32,
5156 pub BitmapSize: u32,
5157 pub Granularity: u32,
5158 pub PlanarHCGranularity: u32,
5159 pub CodeOffset: u32,
5160 pub PlanarHCBankCodeOffset: u32,
5161 pub PlanarHCEnableCodeOffset: u32,
5162 pub PlanarHCDisableCodeOffset: u32,
5163 }
5164 impl ::core::marker::Copy for VIDEO_BANK_SELECT {}
5165 impl ::core::clone::Clone for VIDEO_BANK_SELECT {
5166 fn clone(&self) -> Self {
5167 *self
5168 }
5169 }
5170 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5171 pub type VIDEO_BANK_TYPE = i32;
5172 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5173 pub const VideoNotBanked: VIDEO_BANK_TYPE = 0i32;
5174 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5175 pub const VideoBanked1RW: VIDEO_BANK_TYPE = 1i32;
5176 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5177 pub const VideoBanked1R1W: VIDEO_BANK_TYPE = 2i32;
5178 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5179 pub const VideoBanked2RW: VIDEO_BANK_TYPE = 3i32;
5180 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5181 pub const NumVideoBankTypes: VIDEO_BANK_TYPE = 4i32;
5182 #[repr(C)]
5183 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
5184 #[cfg(feature = "Win32_Foundation")]
5185 pub struct VIDEO_BRIGHTNESS_POLICY {
5186 pub DefaultToBiosPolicy: super::super::Foundation::BOOLEAN,
5187 pub LevelCount: u8,
5188 pub Level: [VIDEO_BRIGHTNESS_POLICY_0; 1],
5189 }
5190 #[cfg(feature = "Win32_Foundation")]
5191 impl ::core::marker::Copy for VIDEO_BRIGHTNESS_POLICY {}
5192 #[cfg(feature = "Win32_Foundation")]
5193 impl ::core::clone::Clone for VIDEO_BRIGHTNESS_POLICY {
5194 fn clone(&self) -> Self {
5195 *self
5196 }
5197 }
5198 #[repr(C)]
5199 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
5200 #[cfg(feature = "Win32_Foundation")]
5201 pub struct VIDEO_BRIGHTNESS_POLICY_0 {
5202 pub BatteryLevel: u8,
5203 pub Brightness: u8,
5204 }
5205 #[cfg(feature = "Win32_Foundation")]
5206 impl ::core::marker::Copy for VIDEO_BRIGHTNESS_POLICY_0 {}
5207 #[cfg(feature = "Win32_Foundation")]
5208 impl ::core::clone::Clone for VIDEO_BRIGHTNESS_POLICY_0 {
5209 fn clone(&self) -> Self {
5210 *self
5211 }
5212 }
5213 #[repr(C)]
5214 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5215 pub struct VIDEO_CLUT {
5216 pub NumEntries: u16,
5217 pub FirstEntry: u16,
5218 pub LookupTable: [VIDEO_CLUT_0; 1],
5219 }
5220 impl ::core::marker::Copy for VIDEO_CLUT {}
5221 impl ::core::clone::Clone for VIDEO_CLUT {
5222 fn clone(&self) -> Self {
5223 *self
5224 }
5225 }
5226 #[repr(C)]
5227 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5228 pub union VIDEO_CLUT_0 {
5229 pub RgbArray: VIDEO_CLUTDATA,
5230 pub RgbLong: u32,
5231 }
5232 impl ::core::marker::Copy for VIDEO_CLUT_0 {}
5233 impl ::core::clone::Clone for VIDEO_CLUT_0 {
5234 fn clone(&self) -> Self {
5235 *self
5236 }
5237 }
5238 #[repr(C)]
5239 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5240 pub struct VIDEO_CLUTDATA {
5241 pub Red: u8,
5242 pub Green: u8,
5243 pub Blue: u8,
5244 pub Unused: u8,
5245 }
5246 impl ::core::marker::Copy for VIDEO_CLUTDATA {}
5247 impl ::core::clone::Clone for VIDEO_CLUTDATA {
5248 fn clone(&self) -> Self {
5249 *self
5250 }
5251 }
5252 #[repr(C)]
5253 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5254 pub struct VIDEO_COLOR_CAPABILITIES {
5255 pub Length: u32,
5256 pub AttributeFlags: u32,
5257 pub RedPhosphoreDecay: i32,
5258 pub GreenPhosphoreDecay: i32,
5259 pub BluePhosphoreDecay: i32,
5260 pub WhiteChromaticity_x: i32,
5261 pub WhiteChromaticity_y: i32,
5262 pub WhiteChromaticity_Y: i32,
5263 pub RedChromaticity_x: i32,
5264 pub RedChromaticity_y: i32,
5265 pub GreenChromaticity_x: i32,
5266 pub GreenChromaticity_y: i32,
5267 pub BlueChromaticity_x: i32,
5268 pub BlueChromaticity_y: i32,
5269 pub WhiteGamma: i32,
5270 pub RedGamma: i32,
5271 pub GreenGamma: i32,
5272 pub BlueGamma: i32,
5273 }
5274 impl ::core::marker::Copy for VIDEO_COLOR_CAPABILITIES {}
5275 impl ::core::clone::Clone for VIDEO_COLOR_CAPABILITIES {
5276 fn clone(&self) -> Self {
5277 *self
5278 }
5279 }
5280 #[repr(C)]
5281 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5282 pub struct VIDEO_COLOR_LUT_DATA {
5283 pub Length: u32,
5284 pub LutDataFormat: u32,
5285 pub LutData: [u8; 1],
5286 }
5287 impl ::core::marker::Copy for VIDEO_COLOR_LUT_DATA {}
5288 impl ::core::clone::Clone for VIDEO_COLOR_LUT_DATA {
5289 fn clone(&self) -> Self {
5290 *self
5291 }
5292 }
5293 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5294 pub const VIDEO_COLOR_LUT_DATA_FORMAT_PRIVATEFORMAT: u32 = 2147483648u32;
5295 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5296 pub const VIDEO_COLOR_LUT_DATA_FORMAT_RGB256WORDS: u32 = 1u32;
5297 #[repr(C)]
5298 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5299 pub struct VIDEO_CURSOR_ATTRIBUTES {
5300 pub Width: u16,
5301 pub Height: u16,
5302 pub Column: i16,
5303 pub Row: i16,
5304 pub Rate: u8,
5305 pub Enable: u8,
5306 }
5307 impl ::core::marker::Copy for VIDEO_CURSOR_ATTRIBUTES {}
5308 impl ::core::clone::Clone for VIDEO_CURSOR_ATTRIBUTES {
5309 fn clone(&self) -> Self {
5310 *self
5311 }
5312 }
5313 #[repr(C)]
5314 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5315 pub struct VIDEO_CURSOR_POSITION {
5316 pub Column: i16,
5317 pub Row: i16,
5318 }
5319 impl ::core::marker::Copy for VIDEO_CURSOR_POSITION {}
5320 impl ::core::clone::Clone for VIDEO_CURSOR_POSITION {
5321 fn clone(&self) -> Self {
5322 *self
5323 }
5324 }
5325 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5326 pub const VIDEO_DEVICE_COLOR: u32 = 1u32;
5327 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5328 pub const VIDEO_DEVICE_NAME: &'static str = "DISPLAY%d";
5329 #[repr(C)]
5330 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5331 pub struct VIDEO_DEVICE_SESSION_STATUS {
5332 pub bEnable: u32,
5333 pub bSuccess: u32,
5334 }
5335 impl ::core::marker::Copy for VIDEO_DEVICE_SESSION_STATUS {}
5336 impl ::core::clone::Clone for VIDEO_DEVICE_SESSION_STATUS {
5337 fn clone(&self) -> Self {
5338 *self
5339 }
5340 }
5341 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5342 pub const VIDEO_DUALVIEW_PRIMARY: u32 = 2147483648u32;
5343 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5344 pub const VIDEO_DUALVIEW_REMOVABLE: u32 = 1u32;
5345 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5346 pub const VIDEO_DUALVIEW_SECONDARY: u32 = 1073741824u32;
5347 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5348 pub const VIDEO_DUALVIEW_WDDM_VGA: u32 = 536870912u32;
5349 #[repr(C)]
5350 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5351 pub struct VIDEO_HARDWARE_STATE {
5352 pub StateHeader: *mut VIDEO_HARDWARE_STATE_HEADER,
5353 pub StateLength: u32,
5354 }
5355 impl ::core::marker::Copy for VIDEO_HARDWARE_STATE {}
5356 impl ::core::clone::Clone for VIDEO_HARDWARE_STATE {
5357 fn clone(&self) -> Self {
5358 *self
5359 }
5360 }
5361 #[repr(C)]
5362 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5363 pub struct VIDEO_HARDWARE_STATE_HEADER {
5364 pub Length: u32,
5365 pub PortValue: [u8; 48],
5366 pub AttribIndexDataState: u32,
5367 pub BasicSequencerOffset: u32,
5368 pub BasicCrtContOffset: u32,
5369 pub BasicGraphContOffset: u32,
5370 pub BasicAttribContOffset: u32,
5371 pub BasicDacOffset: u32,
5372 pub BasicLatchesOffset: u32,
5373 pub ExtendedSequencerOffset: u32,
5374 pub ExtendedCrtContOffset: u32,
5375 pub ExtendedGraphContOffset: u32,
5376 pub ExtendedAttribContOffset: u32,
5377 pub ExtendedDacOffset: u32,
5378 pub ExtendedValidatorStateOffset: u32,
5379 pub ExtendedMiscDataOffset: u32,
5380 pub PlaneLength: u32,
5381 pub Plane1Offset: u32,
5382 pub Plane2Offset: u32,
5383 pub Plane3Offset: u32,
5384 pub Plane4Offset: u32,
5385 pub VGAStateFlags: u32,
5386 pub DIBOffset: u32,
5387 pub DIBBitsPerPixel: u32,
5388 pub DIBXResolution: u32,
5389 pub DIBYResolution: u32,
5390 pub DIBXlatOffset: u32,
5391 pub DIBXlatLength: u32,
5392 pub VesaInfoOffset: u32,
5393 pub FrameBufferData: *mut ::core::ffi::c_void,
5394 }
5395 impl ::core::marker::Copy for VIDEO_HARDWARE_STATE_HEADER {}
5396 impl ::core::clone::Clone for VIDEO_HARDWARE_STATE_HEADER {
5397 fn clone(&self) -> Self {
5398 *self
5399 }
5400 }
5401 #[repr(C)]
5402 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5403 pub struct VIDEO_LOAD_FONT_INFORMATION {
5404 pub WidthInPixels: u16,
5405 pub HeightInPixels: u16,
5406 pub FontSize: u32,
5407 pub Font: [u8; 1],
5408 }
5409 impl ::core::marker::Copy for VIDEO_LOAD_FONT_INFORMATION {}
5410 impl ::core::clone::Clone for VIDEO_LOAD_FONT_INFORMATION {
5411 fn clone(&self) -> Self {
5412 *self
5413 }
5414 }
5415 #[repr(C)]
5416 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5417 pub struct VIDEO_LUT_RGB256WORDS {
5418 pub Red: [u16; 256],
5419 pub Green: [u16; 256],
5420 pub Blue: [u16; 256],
5421 }
5422 impl ::core::marker::Copy for VIDEO_LUT_RGB256WORDS {}
5423 impl ::core::clone::Clone for VIDEO_LUT_RGB256WORDS {
5424 fn clone(&self) -> Self {
5425 *self
5426 }
5427 }
5428 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5429 pub const VIDEO_MAX_REASON: u32 = 9u32;
5430 #[repr(C)]
5431 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5432 pub struct VIDEO_MEMORY {
5433 pub RequestedVirtualAddress: *mut ::core::ffi::c_void,
5434 }
5435 impl ::core::marker::Copy for VIDEO_MEMORY {}
5436 impl ::core::clone::Clone for VIDEO_MEMORY {
5437 fn clone(&self) -> Self {
5438 *self
5439 }
5440 }
5441 #[repr(C)]
5442 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5443 pub struct VIDEO_MEMORY_INFORMATION {
5444 pub VideoRamBase: *mut ::core::ffi::c_void,
5445 pub VideoRamLength: u32,
5446 pub FrameBufferBase: *mut ::core::ffi::c_void,
5447 pub FrameBufferLength: u32,
5448 }
5449 impl ::core::marker::Copy for VIDEO_MEMORY_INFORMATION {}
5450 impl ::core::clone::Clone for VIDEO_MEMORY_INFORMATION {
5451 fn clone(&self) -> Self {
5452 *self
5453 }
5454 }
5455 #[repr(C)]
5456 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5457 pub struct VIDEO_MODE {
5458 pub RequestedMode: u32,
5459 }
5460 impl ::core::marker::Copy for VIDEO_MODE {}
5461 impl ::core::clone::Clone for VIDEO_MODE {
5462 fn clone(&self) -> Self {
5463 *self
5464 }
5465 }
5466 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5467 pub const VIDEO_MODE_ANIMATE_START: u32 = 8u32;
5468 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5469 pub const VIDEO_MODE_ANIMATE_UPDATE: u32 = 16u32;
5470 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5471 pub const VIDEO_MODE_ASYNC_POINTER: u32 = 1u32;
5472 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5473 pub const VIDEO_MODE_BANKED: u32 = 128u32;
5474 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5475 pub const VIDEO_MODE_COLOR: u32 = 1u32;
5476 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5477 pub const VIDEO_MODE_COLOR_POINTER: u32 = 4u32;
5478 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5479 pub const VIDEO_MODE_GRAPHICS: u32 = 2u32;
5480 #[repr(C)]
5481 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5482 pub struct VIDEO_MODE_INFORMATION {
5483 pub Length: u32,
5484 pub ModeIndex: u32,
5485 pub VisScreenWidth: u32,
5486 pub VisScreenHeight: u32,
5487 pub ScreenStride: u32,
5488 pub NumberOfPlanes: u32,
5489 pub BitsPerPlane: u32,
5490 pub Frequency: u32,
5491 pub XMillimeter: u32,
5492 pub YMillimeter: u32,
5493 pub NumberRedBits: u32,
5494 pub NumberGreenBits: u32,
5495 pub NumberBlueBits: u32,
5496 pub RedMask: u32,
5497 pub GreenMask: u32,
5498 pub BlueMask: u32,
5499 pub AttributeFlags: u32,
5500 pub VideoMemoryBitmapWidth: u32,
5501 pub VideoMemoryBitmapHeight: u32,
5502 pub DriverSpecificAttributeFlags: u32,
5503 }
5504 impl ::core::marker::Copy for VIDEO_MODE_INFORMATION {}
5505 impl ::core::clone::Clone for VIDEO_MODE_INFORMATION {
5506 fn clone(&self) -> Self {
5507 *self
5508 }
5509 }
5510 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5511 pub const VIDEO_MODE_INTERLACED: u32 = 16u32;
5512 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5513 pub const VIDEO_MODE_LINEAR: u32 = 256u32;
5514 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5515 pub const VIDEO_MODE_MANAGED_PALETTE: u32 = 8u32;
5516 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5517 pub const VIDEO_MODE_MAP_MEM_LINEAR: u32 = 1073741824u32;
5518 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5519 pub const VIDEO_MODE_MONO_POINTER: u32 = 2u32;
5520 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5521 pub const VIDEO_MODE_NO_64_BIT_ACCESS: u32 = 64u32;
5522 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5523 pub const VIDEO_MODE_NO_OFF_SCREEN: u32 = 32u32;
5524 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5525 pub const VIDEO_MODE_NO_ZERO_MEMORY: u32 = 2147483648u32;
5526 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5527 pub const VIDEO_MODE_PALETTE_DRIVEN: u32 = 4u32;
5528 #[repr(C)]
5529 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5530 pub struct VIDEO_MONITOR_DESCRIPTOR {
5531 pub DescriptorSize: u32,
5532 pub Descriptor: [u8; 1],
5533 }
5534 impl ::core::marker::Copy for VIDEO_MONITOR_DESCRIPTOR {}
5535 impl ::core::clone::Clone for VIDEO_MONITOR_DESCRIPTOR {
5536 fn clone(&self) -> Self {
5537 *self
5538 }
5539 }
5540 #[repr(C)]
5541 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5542 pub struct VIDEO_NUM_MODES {
5543 pub NumModes: u32,
5544 pub ModeInformationLength: u32,
5545 }
5546 impl ::core::marker::Copy for VIDEO_NUM_MODES {}
5547 impl ::core::clone::Clone for VIDEO_NUM_MODES {
5548 fn clone(&self) -> Self {
5549 *self
5550 }
5551 }
5552 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5553 pub const VIDEO_OPTIONAL_GAMMET_TABLE: u32 = 2u32;
5554 #[repr(C)]
5555 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5556 pub struct VIDEO_PALETTE_DATA {
5557 pub NumEntries: u16,
5558 pub FirstEntry: u16,
5559 pub Colors: [u16; 1],
5560 }
5561 impl ::core::marker::Copy for VIDEO_PALETTE_DATA {}
5562 impl ::core::clone::Clone for VIDEO_PALETTE_DATA {
5563 fn clone(&self) -> Self {
5564 *self
5565 }
5566 }
5567 #[repr(C)]
5568 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5569 pub struct VIDEO_PERFORMANCE_COUNTER {
5570 pub NbOfAllocationEvicted: [u64; 10],
5571 pub NbOfAllocationMarked: [u64; 10],
5572 pub NbOfAllocationRestored: [u64; 10],
5573 pub KBytesEvicted: [u64; 10],
5574 pub KBytesMarked: [u64; 10],
5575 pub KBytesRestored: [u64; 10],
5576 pub NbProcessCommited: u64,
5577 pub NbAllocationCommited: u64,
5578 pub NbAllocationMarked: u64,
5579 pub KBytesAllocated: u64,
5580 pub KBytesAvailable: u64,
5581 pub KBytesCurMarked: u64,
5582 pub Reference: u64,
5583 pub Unreference: u64,
5584 pub TrueReference: u64,
5585 pub NbOfPageIn: u64,
5586 pub KBytesPageIn: u64,
5587 pub NbOfPageOut: u64,
5588 pub KBytesPageOut: u64,
5589 pub NbOfRotateOut: u64,
5590 pub KBytesRotateOut: u64,
5591 }
5592 impl ::core::marker::Copy for VIDEO_PERFORMANCE_COUNTER {}
5593 impl ::core::clone::Clone for VIDEO_PERFORMANCE_COUNTER {
5594 fn clone(&self) -> Self {
5595 *self
5596 }
5597 }
5598 #[repr(C)]
5599 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5600 pub struct VIDEO_POINTER_ATTRIBUTES {
5601 pub Flags: u32,
5602 pub Width: u32,
5603 pub Height: u32,
5604 pub WidthInBytes: u32,
5605 pub Enable: u32,
5606 pub Column: i16,
5607 pub Row: i16,
5608 pub Pixels: [u8; 1],
5609 }
5610 impl ::core::marker::Copy for VIDEO_POINTER_ATTRIBUTES {}
5611 impl ::core::clone::Clone for VIDEO_POINTER_ATTRIBUTES {
5612 fn clone(&self) -> Self {
5613 *self
5614 }
5615 }
5616 #[repr(C)]
5617 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5618 pub struct VIDEO_POINTER_CAPABILITIES {
5619 pub Flags: u32,
5620 pub MaxWidth: u32,
5621 pub MaxHeight: u32,
5622 pub HWPtrBitmapStart: u32,
5623 pub HWPtrBitmapEnd: u32,
5624 }
5625 impl ::core::marker::Copy for VIDEO_POINTER_CAPABILITIES {}
5626 impl ::core::clone::Clone for VIDEO_POINTER_CAPABILITIES {
5627 fn clone(&self) -> Self {
5628 *self
5629 }
5630 }
5631 #[repr(C)]
5632 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5633 pub struct VIDEO_POINTER_POSITION {
5634 pub Column: i16,
5635 pub Row: i16,
5636 }
5637 impl ::core::marker::Copy for VIDEO_POINTER_POSITION {}
5638 impl ::core::clone::Clone for VIDEO_POINTER_POSITION {
5639 fn clone(&self) -> Self {
5640 *self
5641 }
5642 }
5643 #[repr(C)]
5644 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5645 pub struct VIDEO_POWER_MANAGEMENT {
5646 pub Length: u32,
5647 pub DPMSVersion: u32,
5648 pub PowerState: u32,
5649 }
5650 impl ::core::marker::Copy for VIDEO_POWER_MANAGEMENT {}
5651 impl ::core::clone::Clone for VIDEO_POWER_MANAGEMENT {
5652 fn clone(&self) -> Self {
5653 *self
5654 }
5655 }
5656 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5657 pub type VIDEO_POWER_STATE = i32;
5658 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5659 pub const VideoPowerUnspecified: VIDEO_POWER_STATE = 0i32;
5660 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5661 pub const VideoPowerOn: VIDEO_POWER_STATE = 1i32;
5662 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5663 pub const VideoPowerStandBy: VIDEO_POWER_STATE = 2i32;
5664 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5665 pub const VideoPowerSuspend: VIDEO_POWER_STATE = 3i32;
5666 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5667 pub const VideoPowerOff: VIDEO_POWER_STATE = 4i32;
5668 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5669 pub const VideoPowerHibernate: VIDEO_POWER_STATE = 5i32;
5670 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5671 pub const VideoPowerShutdown: VIDEO_POWER_STATE = 6i32;
5672 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5673 pub const VideoPowerMaximum: VIDEO_POWER_STATE = 7i32;
5674 #[repr(C)]
5675 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5676 pub struct VIDEO_PUBLIC_ACCESS_RANGES {
5677 pub InIoSpace: u32,
5678 pub MappedInIoSpace: u32,
5679 pub VirtualAddress: *mut ::core::ffi::c_void,
5680 }
5681 impl ::core::marker::Copy for VIDEO_PUBLIC_ACCESS_RANGES {}
5682 impl ::core::clone::Clone for VIDEO_PUBLIC_ACCESS_RANGES {
5683 fn clone(&self) -> Self {
5684 *self
5685 }
5686 }
5687 #[repr(C)]
5688 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5689 pub struct VIDEO_QUERY_PERFORMANCE_COUNTER {
5690 pub BufferSize: u32,
5691 pub Buffer: *mut VIDEO_PERFORMANCE_COUNTER,
5692 }
5693 impl ::core::marker::Copy for VIDEO_QUERY_PERFORMANCE_COUNTER {}
5694 impl ::core::clone::Clone for VIDEO_QUERY_PERFORMANCE_COUNTER {
5695 fn clone(&self) -> Self {
5696 *self
5697 }
5698 }
5699 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5700 pub const VIDEO_REASON_ALLOCATION: u32 = 6u32;
5701 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5702 pub const VIDEO_REASON_CONFIGURATION: u32 = 9u32;
5703 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5704 pub const VIDEO_REASON_FAILED_ROTATION: u32 = 5u32;
5705 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5706 pub const VIDEO_REASON_LOCK: u32 = 5u32;
5707 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5708 pub const VIDEO_REASON_NONE: u32 = 0u32;
5709 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5710 pub const VIDEO_REASON_POLICY1: u32 = 1u32;
5711 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5712 pub const VIDEO_REASON_POLICY2: u32 = 2u32;
5713 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5714 pub const VIDEO_REASON_POLICY3: u32 = 3u32;
5715 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5716 pub const VIDEO_REASON_POLICY4: u32 = 4u32;
5717 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5718 pub const VIDEO_REASON_SCRATCH: u32 = 8u32;
5719 #[repr(C)]
5720 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5721 pub struct VIDEO_REGISTER_VDM {
5722 pub MinimumStateSize: u32,
5723 }
5724 impl ::core::marker::Copy for VIDEO_REGISTER_VDM {}
5725 impl ::core::clone::Clone for VIDEO_REGISTER_VDM {
5726 fn clone(&self) -> Self {
5727 *self
5728 }
5729 }
5730 #[repr(C)]
5731 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
5732 #[cfg(feature = "Win32_Foundation")]
5733 pub struct VIDEO_SHARE_MEMORY {
5734 pub ProcessHandle: super::super::Foundation::HANDLE,
5735 pub ViewOffset: u32,
5736 pub ViewSize: u32,
5737 pub RequestedVirtualAddress: *mut ::core::ffi::c_void,
5738 }
5739 #[cfg(feature = "Win32_Foundation")]
5740 impl ::core::marker::Copy for VIDEO_SHARE_MEMORY {}
5741 #[cfg(feature = "Win32_Foundation")]
5742 impl ::core::clone::Clone for VIDEO_SHARE_MEMORY {
5743 fn clone(&self) -> Self {
5744 *self
5745 }
5746 }
5747 #[repr(C)]
5748 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5749 pub struct VIDEO_SHARE_MEMORY_INFORMATION {
5750 pub SharedViewOffset: u32,
5751 pub SharedViewSize: u32,
5752 pub VirtualAddress: *mut ::core::ffi::c_void,
5753 }
5754 impl ::core::marker::Copy for VIDEO_SHARE_MEMORY_INFORMATION {}
5755 impl ::core::clone::Clone for VIDEO_SHARE_MEMORY_INFORMATION {
5756 fn clone(&self) -> Self {
5757 *self
5758 }
5759 }
5760 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5761 pub const VIDEO_STATE_NON_STANDARD_VGA: u32 = 1u32;
5762 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5763 pub const VIDEO_STATE_PACKED_CHAIN4_MODE: u32 = 4u32;
5764 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5765 pub const VIDEO_STATE_UNEMULATED_VGA_STATE: u32 = 2u32;
5766 #[repr(C)]
5767 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
5768 #[cfg(feature = "Win32_Foundation")]
5769 pub struct VIDEO_VDM {
5770 pub ProcessHandle: super::super::Foundation::HANDLE,
5771 }
5772 #[cfg(feature = "Win32_Foundation")]
5773 impl ::core::marker::Copy for VIDEO_VDM {}
5774 #[cfg(feature = "Win32_Foundation")]
5775 impl ::core::clone::Clone for VIDEO_VDM {
5776 fn clone(&self) -> Self {
5777 *self
5778 }
5779 }
5780 #[repr(C)]
5781 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
5782 #[cfg(feature = "Win32_Foundation")]
5783 pub struct VIDEO_WIN32K_CALLBACKS {
5784 pub PhysDisp: *mut ::core::ffi::c_void,
5785 pub Callout: PVIDEO_WIN32K_CALLOUT,
5786 pub bACPI: u32,
5787 pub pPhysDeviceObject: super::super::Foundation::HANDLE,
5788 pub DualviewFlags: u32,
5789 }
5790 #[cfg(feature = "Win32_Foundation")]
5791 impl ::core::marker::Copy for VIDEO_WIN32K_CALLBACKS {}
5792 #[cfg(feature = "Win32_Foundation")]
5793 impl ::core::clone::Clone for VIDEO_WIN32K_CALLBACKS {
5794 fn clone(&self) -> Self {
5795 *self
5796 }
5797 }
5798 #[repr(C)]
5799 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
5800 #[cfg(feature = "Win32_Foundation")]
5801 pub struct VIDEO_WIN32K_CALLBACKS_PARAMS {
5802 pub CalloutType: VIDEO_WIN32K_CALLBACKS_PARAMS_TYPE,
5803 pub PhysDisp: *mut ::core::ffi::c_void,
5804 pub Param: usize,
5805 pub Status: i32,
5806 pub LockUserSession: super::super::Foundation::BOOLEAN,
5807 pub IsPostDevice: super::super::Foundation::BOOLEAN,
5808 pub SurpriseRemoval: super::super::Foundation::BOOLEAN,
5809 pub WaitForQueueReady: super::super::Foundation::BOOLEAN,
5810 }
5811 #[cfg(feature = "Win32_Foundation")]
5812 impl ::core::marker::Copy for VIDEO_WIN32K_CALLBACKS_PARAMS {}
5813 #[cfg(feature = "Win32_Foundation")]
5814 impl ::core::clone::Clone for VIDEO_WIN32K_CALLBACKS_PARAMS {
5815 fn clone(&self) -> Self {
5816 *self
5817 }
5818 }
5819 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5820 pub type VIDEO_WIN32K_CALLBACKS_PARAMS_TYPE = i32;
5821 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5822 pub const VideoPowerNotifyCallout: VIDEO_WIN32K_CALLBACKS_PARAMS_TYPE = 1i32;
5823 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5824 pub const VideoEnumChildPdoNotifyCallout: VIDEO_WIN32K_CALLBACKS_PARAMS_TYPE = 3i32;
5825 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5826 pub const VideoFindAdapterCallout: VIDEO_WIN32K_CALLBACKS_PARAMS_TYPE = 4i32;
5827 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5828 pub const VideoPnpNotifyCallout: VIDEO_WIN32K_CALLBACKS_PARAMS_TYPE = 7i32;
5829 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5830 pub const VideoDxgkDisplaySwitchCallout: VIDEO_WIN32K_CALLBACKS_PARAMS_TYPE = 8i32;
5831 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5832 pub const VideoDxgkFindAdapterTdrCallout: VIDEO_WIN32K_CALLBACKS_PARAMS_TYPE = 10i32;
5833 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5834 pub const VideoDxgkHardwareProtectionTeardown: VIDEO_WIN32K_CALLBACKS_PARAMS_TYPE = 11i32;
5835 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5836 pub const VideoRepaintDesktop: VIDEO_WIN32K_CALLBACKS_PARAMS_TYPE = 12i32;
5837 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5838 pub const VideoUpdateCursor: VIDEO_WIN32K_CALLBACKS_PARAMS_TYPE = 13i32;
5839 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5840 pub const VideoDisableMultiPlaneOverlay: VIDEO_WIN32K_CALLBACKS_PARAMS_TYPE = 14i32;
5841 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5842 pub const VideoDesktopDuplicationChange: VIDEO_WIN32K_CALLBACKS_PARAMS_TYPE = 15i32;
5843 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5844 pub const VideoBlackScreenDiagnostics: VIDEO_WIN32K_CALLBACKS_PARAMS_TYPE = 16i32;
5845 #[repr(C)]
5846 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5847 pub struct WCRUN {
5848 pub wcLow: u16,
5849 pub cGlyphs: u16,
5850 pub phg: *mut u32,
5851 }
5852 impl ::core::marker::Copy for WCRUN {}
5853 impl ::core::clone::Clone for WCRUN {
5854 fn clone(&self) -> Self {
5855 *self
5856 }
5857 }
5858 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5859 pub const WINDDI_MAXSETPALETTECOLORINDEX: u32 = 255u32;
5860 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5861 pub const WINDDI_MAXSETPALETTECOLORS: u32 = 256u32;
5862 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5863 pub const WINDDI_MAX_BROADCAST_CONTEXT: u32 = 64u32;
5864 #[repr(C)]
5865 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
5866 #[cfg(feature = "Win32_Foundation")]
5867 pub struct WNDOBJ {
5868 pub coClient: CLIPOBJ,
5869 pub pvConsumer: *mut ::core::ffi::c_void,
5870 pub rclClient: super::super::Foundation::RECTL,
5871 pub psoOwner: *mut SURFOBJ,
5872 }
5873 #[cfg(feature = "Win32_Foundation")]
5874 impl ::core::marker::Copy for WNDOBJ {}
5875 #[cfg(feature = "Win32_Foundation")]
5876 impl ::core::clone::Clone for WNDOBJ {
5877 fn clone(&self) -> Self {
5878 *self
5879 }
5880 }
5881 #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"]
5882 #[cfg(feature = "Win32_Foundation")]
5883 pub type WNDOBJCHANGEPROC = ::core::option::Option<unsafe extern "system" fn(pwo: *mut WNDOBJ, fl: u32)>;
5884 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5885 pub const WNDOBJ_SETUP: u32 = 4354u32;
5886 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5887 pub const WOC_CHANGED: u32 = 16u32;
5888 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5889 pub const WOC_DELETE: u32 = 32u32;
5890 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5891 pub const WOC_DRAWN: u32 = 64u32;
5892 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5893 pub const WOC_RGN_CLIENT: u32 = 2u32;
5894 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5895 pub const WOC_RGN_CLIENT_DELTA: u32 = 1u32;
5896 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5897 pub const WOC_RGN_SPRITE: u32 = 512u32;
5898 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5899 pub const WOC_RGN_SURFACE: u32 = 8u32;
5900 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5901 pub const WOC_RGN_SURFACE_DELTA: u32 = 4u32;
5902 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5903 pub const WOC_SPRITE_NO_OVERLAP: u32 = 256u32;
5904 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5905 pub const WOC_SPRITE_OVERLAP: u32 = 128u32;
5906 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5907 pub const WO_DRAW_NOTIFY: u32 = 64u32;
5908 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5909 pub const WO_RGN_CLIENT: u32 = 2u32;
5910 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5911 pub const WO_RGN_CLIENT_DELTA: u32 = 1u32;
5912 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5913 pub const WO_RGN_DESKTOP_COORD: u32 = 256u32;
5914 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5915 pub const WO_RGN_SPRITE: u32 = 512u32;
5916 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5917 pub const WO_RGN_SURFACE: u32 = 8u32;
5918 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5919 pub const WO_RGN_SURFACE_DELTA: u32 = 4u32;
5920 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5921 pub const WO_RGN_UPDATE_ALL: u32 = 16u32;
5922 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5923 pub const WO_RGN_WINDOW: u32 = 32u32;
5924 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5925 pub const WO_SPRITE_NOTIFY: u32 = 128u32;
5926 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5927 pub const WVIDEO_DEVICE_NAME: &'static str = "DISPLAY%d";
5928 #[repr(C)]
5929 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5930 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
5931 pub struct XFORML {
5932 pub eM11: f32,
5933 pub eM12: f32,
5934 pub eM21: f32,
5935 pub eM22: f32,
5936 pub eDx: f32,
5937 pub eDy: f32,
5938 }
5939 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
5940 impl ::core::marker::Copy for XFORML {}
5941 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
5942 impl ::core::clone::Clone for XFORML {
5943 fn clone(&self) -> Self {
5944 *self
5945 }
5946 }
5947 #[repr(C)]
5948 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5949 #[cfg(target_arch = "x86")]
5950 pub struct XFORML {
5951 pub eM11: u32,
5952 pub eM12: u32,
5953 pub eM21: u32,
5954 pub eM22: u32,
5955 pub eDx: u32,
5956 pub eDy: u32,
5957 }
5958 #[cfg(target_arch = "x86")]
5959 impl ::core::marker::Copy for XFORML {}
5960 #[cfg(target_arch = "x86")]
5961 impl ::core::clone::Clone for XFORML {
5962 fn clone(&self) -> Self {
5963 *self
5964 }
5965 }
5966 #[repr(C)]
5967 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5968 pub struct XFORMOBJ {
5969 pub ulReserved: u32,
5970 }
5971 impl ::core::marker::Copy for XFORMOBJ {}
5972 impl ::core::clone::Clone for XFORMOBJ {
5973 fn clone(&self) -> Self {
5974 *self
5975 }
5976 }
5977 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5978 pub const XF_INV_FXTOL: i32 = 3i32;
5979 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5980 pub const XF_INV_LTOL: i32 = 1i32;
5981 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5982 pub const XF_LTOFX: i32 = 2i32;
5983 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5984 pub const XF_LTOL: i32 = 0i32;
5985 #[repr(C)]
5986 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
5987 pub struct XLATEOBJ {
5988 pub iUniq: u32,
5989 pub flXlate: u32,
5990 pub iSrcType: u16,
5991 pub iDstType: u16,
5992 pub cEntries: u32,
5993 pub pulXlate: *mut u32,
5994 }
5995 impl ::core::marker::Copy for XLATEOBJ {}
5996 impl ::core::clone::Clone for XLATEOBJ {
5997 fn clone(&self) -> Self {
5998 *self
5999 }
6000 }
6001 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
6002 pub const XO_DESTBITFIELDS: u32 = 5u32;
6003 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
6004 pub const XO_DESTDCPALETTE: u32 = 3u32;
6005 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
6006 pub const XO_DESTPALETTE: u32 = 2u32;
6007 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
6008 pub const XO_DEVICE_ICM: u32 = 16u32;
6009 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
6010 pub const XO_FROM_CMYK: u32 = 8u32;
6011 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
6012 pub const XO_HOST_ICM: u32 = 32u32;
6013 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
6014 pub const XO_SRCBITFIELDS: u32 = 4u32;
6015 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
6016 pub const XO_SRCPALETTE: u32 = 1u32;
6017 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
6018 pub const XO_TABLE: u32 = 2u32;
6019 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
6020 pub const XO_TO_MONO: u32 = 4u32;
6021 #[doc = "*Required features: `\"Win32_Devices_Display\"`*"]
6022 pub const XO_TRIVIAL: u32 = 1u32;