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