]> git.proxmox.com Git - rustc.git/blob - vendor/windows/src/Windows/Win32/System/WindowsProgramming/mod.rs
New upstream version 1.70.0+dfsg1
[rustc.git] / vendor / windows / src / Windows / Win32 / System / WindowsProgramming / mod.rs
1 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2 #[inline]
3 pub unsafe fn AddDelBackupEntryA<P0, P1, P2>(lpcszfilelist: P0, lpcszbackupdir: P1, lpcszbasename: P2, dwflags: u32) -> ::windows::core::Result<()>
4 where
5 P0: ::windows::core::IntoParam<::windows::core::PCSTR>,
6 P1: ::windows::core::IntoParam<::windows::core::PCSTR>,
7 P2: ::windows::core::IntoParam<::windows::core::PCSTR>,
8 {
9 ::windows::imp::link ! ( "advpack.dll""system" fn AddDelBackupEntryA ( lpcszfilelist : :: windows::core::PCSTR , lpcszbackupdir : :: windows::core::PCSTR , lpcszbasename : :: windows::core::PCSTR , dwflags : u32 ) -> :: windows::core::HRESULT );
10 AddDelBackupEntryA(lpcszfilelist.into_param().abi(), lpcszbackupdir.into_param().abi(), lpcszbasename.into_param().abi(), dwflags).ok()
11 }
12 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
13 #[inline]
14 pub unsafe fn AddDelBackupEntryW<P0, P1, P2>(lpcszfilelist: P0, lpcszbackupdir: P1, lpcszbasename: P2, dwflags: u32) -> ::windows::core::Result<()>
15 where
16 P0: ::windows::core::IntoParam<::windows::core::PCWSTR>,
17 P1: ::windows::core::IntoParam<::windows::core::PCWSTR>,
18 P2: ::windows::core::IntoParam<::windows::core::PCWSTR>,
19 {
20 ::windows::imp::link ! ( "advpack.dll""system" fn AddDelBackupEntryW ( lpcszfilelist : :: windows::core::PCWSTR , lpcszbackupdir : :: windows::core::PCWSTR , lpcszbasename : :: windows::core::PCWSTR , dwflags : u32 ) -> :: windows::core::HRESULT );
21 AddDelBackupEntryW(lpcszfilelist.into_param().abi(), lpcszbackupdir.into_param().abi(), lpcszbasename.into_param().abi(), dwflags).ok()
22 }
23 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
24 #[cfg(feature = "Win32_Foundation")]
25 #[inline]
26 pub unsafe fn AdvInstallFileA<P0, P1, P2, P3, P4>(hwnd: P0, lpszsourcedir: P1, lpszsourcefile: P2, lpszdestdir: P3, lpszdestfile: P4, dwflags: u32, dwreserved: u32) -> ::windows::core::Result<()>
27 where
28 P0: ::windows::core::IntoParam<super::super::Foundation::HWND>,
29 P1: ::windows::core::IntoParam<::windows::core::PCSTR>,
30 P2: ::windows::core::IntoParam<::windows::core::PCSTR>,
31 P3: ::windows::core::IntoParam<::windows::core::PCSTR>,
32 P4: ::windows::core::IntoParam<::windows::core::PCSTR>,
33 {
34 ::windows::imp::link ! ( "advpack.dll""system" fn AdvInstallFileA ( hwnd : super::super::Foundation:: HWND , lpszsourcedir : :: windows::core::PCSTR , lpszsourcefile : :: windows::core::PCSTR , lpszdestdir : :: windows::core::PCSTR , lpszdestfile : :: windows::core::PCSTR , dwflags : u32 , dwreserved : u32 ) -> :: windows::core::HRESULT );
35 AdvInstallFileA(hwnd.into_param().abi(), lpszsourcedir.into_param().abi(), lpszsourcefile.into_param().abi(), lpszdestdir.into_param().abi(), lpszdestfile.into_param().abi(), dwflags, dwreserved).ok()
36 }
37 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
38 #[cfg(feature = "Win32_Foundation")]
39 #[inline]
40 pub unsafe fn AdvInstallFileW<P0, P1, P2, P3, P4>(hwnd: P0, lpszsourcedir: P1, lpszsourcefile: P2, lpszdestdir: P3, lpszdestfile: P4, dwflags: u32, dwreserved: u32) -> ::windows::core::Result<()>
41 where
42 P0: ::windows::core::IntoParam<super::super::Foundation::HWND>,
43 P1: ::windows::core::IntoParam<::windows::core::PCWSTR>,
44 P2: ::windows::core::IntoParam<::windows::core::PCWSTR>,
45 P3: ::windows::core::IntoParam<::windows::core::PCWSTR>,
46 P4: ::windows::core::IntoParam<::windows::core::PCWSTR>,
47 {
48 ::windows::imp::link ! ( "advpack.dll""system" fn AdvInstallFileW ( hwnd : super::super::Foundation:: HWND , lpszsourcedir : :: windows::core::PCWSTR , lpszsourcefile : :: windows::core::PCWSTR , lpszdestdir : :: windows::core::PCWSTR , lpszdestfile : :: windows::core::PCWSTR , dwflags : u32 , dwreserved : u32 ) -> :: windows::core::HRESULT );
49 AdvInstallFileW(hwnd.into_param().abi(), lpszsourcedir.into_param().abi(), lpszsourcefile.into_param().abi(), lpszdestdir.into_param().abi(), lpszdestfile.into_param().abi(), dwflags, dwreserved).ok()
50 }
51 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
52 #[cfg(feature = "Win32_Foundation")]
53 #[inline]
54 pub unsafe fn ApphelpCheckShellObject<P0>(objectclsid: *const ::windows::core::GUID, bshimifnecessary: P0, pullflags: *mut u64) -> super::super::Foundation::BOOL
55 where
56 P0: ::windows::core::IntoParam<super::super::Foundation::BOOL>,
57 {
58 ::windows::imp::link ! ( "apphelp.dll""system" fn ApphelpCheckShellObject ( objectclsid : *const :: windows::core::GUID , bshimifnecessary : super::super::Foundation:: BOOL , pullflags : *mut u64 ) -> super::super::Foundation:: BOOL );
59 ApphelpCheckShellObject(objectclsid, bshimifnecessary.into_param().abi(), pullflags)
60 }
61 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
62 #[cfg(feature = "Win32_Foundation")]
63 #[inline]
64 pub unsafe fn CancelDeviceWakeupRequest<P0>(hdevice: P0) -> super::super::Foundation::BOOL
65 where
66 P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>,
67 {
68 ::windows::imp::link ! ( "kernel32.dll""system" fn CancelDeviceWakeupRequest ( hdevice : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL );
69 CancelDeviceWakeupRequest(hdevice.into_param().abi())
70 }
71 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
72 #[cfg(feature = "Win32_Foundation")]
73 #[inline]
74 pub unsafe fn CancelTimerQueueTimer<P0, P1>(timerqueue: P0, timer: P1) -> super::super::Foundation::BOOL
75 where
76 P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>,
77 P1: ::windows::core::IntoParam<super::super::Foundation::HANDLE>,
78 {
79 ::windows::imp::link ! ( "kernel32.dll""system" fn CancelTimerQueueTimer ( timerqueue : super::super::Foundation:: HANDLE , timer : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL );
80 CancelTimerQueueTimer(timerqueue.into_param().abi(), timer.into_param().abi())
81 }
82 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
83 #[inline]
84 pub unsafe fn CloseINFEngine(hinf: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> {
85 ::windows::imp::link ! ( "advpack.dll""system" fn CloseINFEngine ( hinf : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT );
86 CloseINFEngine(hinf).ok()
87 }
88 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
89 #[inline]
90 pub unsafe fn ConvertAuxiliaryCounterToPerformanceCounter(ullauxiliarycountervalue: u64, lpperformancecountervalue: *mut u64, lpconversionerror: ::core::option::Option<*mut u64>) -> ::windows::core::Result<()> {
91 ::windows::imp::link ! ( "api-ms-win-core-realtime-l1-1-2.dll""system" fn ConvertAuxiliaryCounterToPerformanceCounter ( ullauxiliarycountervalue : u64 , lpperformancecountervalue : *mut u64 , lpconversionerror : *mut u64 ) -> :: windows::core::HRESULT );
92 ConvertAuxiliaryCounterToPerformanceCounter(ullauxiliarycountervalue, lpperformancecountervalue, ::core::mem::transmute(lpconversionerror.unwrap_or(::std::ptr::null_mut()))).ok()
93 }
94 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
95 #[inline]
96 pub unsafe fn ConvertPerformanceCounterToAuxiliaryCounter(ullperformancecountervalue: u64, lpauxiliarycountervalue: *mut u64, lpconversionerror: ::core::option::Option<*mut u64>) -> ::windows::core::Result<()> {
97 ::windows::imp::link ! ( "api-ms-win-core-realtime-l1-1-2.dll""system" fn ConvertPerformanceCounterToAuxiliaryCounter ( ullperformancecountervalue : u64 , lpauxiliarycountervalue : *mut u64 , lpconversionerror : *mut u64 ) -> :: windows::core::HRESULT );
98 ConvertPerformanceCounterToAuxiliaryCounter(ullperformancecountervalue, lpauxiliarycountervalue, ::core::mem::transmute(lpconversionerror.unwrap_or(::std::ptr::null_mut()))).ok()
99 }
100 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"]
101 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
102 #[inline]
103 pub unsafe fn CreateWaitableTimerA<P0, P1>(lptimerattributes: ::core::option::Option<*const super::super::Security::SECURITY_ATTRIBUTES>, bmanualreset: P0, lptimername: P1) -> super::super::Foundation::HANDLE
104 where
105 P0: ::windows::core::IntoParam<super::super::Foundation::BOOL>,
106 P1: ::windows::core::IntoParam<::windows::core::PCSTR>,
107 {
108 ::windows::imp::link ! ( "kernel32.dll""system" fn CreateWaitableTimerA ( lptimerattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , bmanualreset : super::super::Foundation:: BOOL , lptimername : :: windows::core::PCSTR ) -> super::super::Foundation:: HANDLE );
109 CreateWaitableTimerA(::core::mem::transmute(lptimerattributes.unwrap_or(::std::ptr::null())), bmanualreset.into_param().abi(), lptimername.into_param().abi())
110 }
111 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"]
112 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
113 #[inline]
114 pub unsafe fn CreateWaitableTimerExA<P0>(lptimerattributes: ::core::option::Option<*const super::super::Security::SECURITY_ATTRIBUTES>, lptimername: P0, dwflags: u32, dwdesiredaccess: u32) -> super::super::Foundation::HANDLE
115 where
116 P0: ::windows::core::IntoParam<::windows::core::PCSTR>,
117 {
118 ::windows::imp::link ! ( "kernel32.dll""system" fn CreateWaitableTimerExA ( lptimerattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , lptimername : :: windows::core::PCSTR , dwflags : u32 , dwdesiredaccess : u32 ) -> super::super::Foundation:: HANDLE );
119 CreateWaitableTimerExA(::core::mem::transmute(lptimerattributes.unwrap_or(::std::ptr::null())), lptimername.into_param().abi(), dwflags, dwdesiredaccess)
120 }
121 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
122 #[inline]
123 pub unsafe fn DCIBeginAccess(pdci: *mut DCISURFACEINFO, x: i32, y: i32, dx: i32, dy: i32) -> i32 {
124 ::windows::imp::link ! ( "dciman32.dll""system" fn DCIBeginAccess ( pdci : *mut DCISURFACEINFO , x : i32 , y : i32 , dx : i32 , dy : i32 ) -> i32 );
125 DCIBeginAccess(pdci, x, y, dx, dy)
126 }
127 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Graphics_Gdi\"`*"]
128 #[cfg(feature = "Win32_Graphics_Gdi")]
129 #[inline]
130 pub unsafe fn DCICloseProvider<P0>(hdc: P0)
131 where
132 P0: ::windows::core::IntoParam<super::super::Graphics::Gdi::HDC>,
133 {
134 ::windows::imp::link ! ( "dciman32.dll""system" fn DCICloseProvider ( hdc : super::super::Graphics::Gdi:: HDC ) -> ( ) );
135 DCICloseProvider(hdc.into_param().abi())
136 }
137 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Graphics_Gdi\"`*"]
138 #[cfg(feature = "Win32_Graphics_Gdi")]
139 #[inline]
140 pub unsafe fn DCICreateOffscreen<P0>(hdc: P0, dwcompression: u32, dwredmask: u32, dwgreenmask: u32, dwbluemask: u32, dwwidth: u32, dwheight: u32, dwdcicaps: u32, dwbitcount: u32, lplpsurface: *mut *mut DCIOFFSCREEN) -> i32
141 where
142 P0: ::windows::core::IntoParam<super::super::Graphics::Gdi::HDC>,
143 {
144 ::windows::imp::link ! ( "dciman32.dll""system" fn DCICreateOffscreen ( hdc : super::super::Graphics::Gdi:: HDC , dwcompression : u32 , dwredmask : u32 , dwgreenmask : u32 , dwbluemask : u32 , dwwidth : u32 , dwheight : u32 , dwdcicaps : u32 , dwbitcount : u32 , lplpsurface : *mut *mut DCIOFFSCREEN ) -> i32 );
145 DCICreateOffscreen(hdc.into_param().abi(), dwcompression, dwredmask, dwgreenmask, dwbluemask, dwwidth, dwheight, dwdcicaps, dwbitcount, lplpsurface)
146 }
147 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Graphics_Gdi\"`*"]
148 #[cfg(feature = "Win32_Graphics_Gdi")]
149 #[inline]
150 pub unsafe fn DCICreateOverlay<P0>(hdc: P0, lpoffscreensurf: *mut ::core::ffi::c_void, lplpsurface: *mut *mut DCIOVERLAY) -> i32
151 where
152 P0: ::windows::core::IntoParam<super::super::Graphics::Gdi::HDC>,
153 {
154 ::windows::imp::link ! ( "dciman32.dll""system" fn DCICreateOverlay ( hdc : super::super::Graphics::Gdi:: HDC , lpoffscreensurf : *mut ::core::ffi::c_void , lplpsurface : *mut *mut DCIOVERLAY ) -> i32 );
155 DCICreateOverlay(hdc.into_param().abi(), lpoffscreensurf, lplpsurface)
156 }
157 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Graphics_Gdi\"`*"]
158 #[cfg(feature = "Win32_Graphics_Gdi")]
159 #[inline]
160 pub unsafe fn DCICreatePrimary<P0>(hdc: P0, lplpsurface: *mut *mut DCISURFACEINFO) -> i32
161 where
162 P0: ::windows::core::IntoParam<super::super::Graphics::Gdi::HDC>,
163 {
164 ::windows::imp::link ! ( "dciman32.dll""system" fn DCICreatePrimary ( hdc : super::super::Graphics::Gdi:: HDC , lplpsurface : *mut *mut DCISURFACEINFO ) -> i32 );
165 DCICreatePrimary(hdc.into_param().abi(), lplpsurface)
166 }
167 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
168 #[inline]
169 pub unsafe fn DCIDestroy(pdci: *mut DCISURFACEINFO) {
170 ::windows::imp::link ! ( "dciman32.dll""system" fn DCIDestroy ( pdci : *mut DCISURFACEINFO ) -> ( ) );
171 DCIDestroy(pdci)
172 }
173 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
174 #[inline]
175 pub unsafe fn DCIDraw(pdci: *mut DCIOFFSCREEN) -> i32 {
176 ::windows::imp::link ! ( "dciman32.dll""system" fn DCIDraw ( pdci : *mut DCIOFFSCREEN ) -> i32 );
177 DCIDraw(pdci)
178 }
179 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
180 #[inline]
181 pub unsafe fn DCIEndAccess(pdci: *mut DCISURFACEINFO) {
182 ::windows::imp::link ! ( "dciman32.dll""system" fn DCIEndAccess ( pdci : *mut DCISURFACEINFO ) -> ( ) );
183 DCIEndAccess(pdci)
184 }
185 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
186 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
187 #[inline]
188 pub unsafe fn DCIEnum<P0>(hdc: P0, lprdst: *mut super::super::Foundation::RECT, lprsrc: *mut super::super::Foundation::RECT, lpfncallback: *mut ::core::ffi::c_void, lpcontext: *mut ::core::ffi::c_void) -> i32
189 where
190 P0: ::windows::core::IntoParam<super::super::Graphics::Gdi::HDC>,
191 {
192 ::windows::imp::link ! ( "dciman32.dll""system" fn DCIEnum ( hdc : super::super::Graphics::Gdi:: HDC , lprdst : *mut super::super::Foundation:: RECT , lprsrc : *mut super::super::Foundation:: RECT , lpfncallback : *mut ::core::ffi::c_void , lpcontext : *mut ::core::ffi::c_void ) -> i32 );
193 DCIEnum(hdc.into_param().abi(), lprdst, lprsrc, lpfncallback, lpcontext)
194 }
195 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Graphics_Gdi\"`*"]
196 #[cfg(feature = "Win32_Graphics_Gdi")]
197 #[inline]
198 pub unsafe fn DCIOpenProvider() -> super::super::Graphics::Gdi::HDC {
199 ::windows::imp::link ! ( "dciman32.dll""system" fn DCIOpenProvider ( ) -> super::super::Graphics::Gdi:: HDC );
200 DCIOpenProvider()
201 }
202 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
203 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
204 #[inline]
205 pub unsafe fn DCISetClipList(pdci: *mut DCIOFFSCREEN, prd: *mut super::super::Graphics::Gdi::RGNDATA) -> i32 {
206 ::windows::imp::link ! ( "dciman32.dll""system" fn DCISetClipList ( pdci : *mut DCIOFFSCREEN , prd : *mut super::super::Graphics::Gdi:: RGNDATA ) -> i32 );
207 DCISetClipList(pdci, prd)
208 }
209 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
210 #[cfg(feature = "Win32_Foundation")]
211 #[inline]
212 pub unsafe fn DCISetDestination(pdci: *mut DCIOFFSCREEN, dst: *mut super::super::Foundation::RECT, src: *mut super::super::Foundation::RECT) -> i32 {
213 ::windows::imp::link ! ( "dciman32.dll""system" fn DCISetDestination ( pdci : *mut DCIOFFSCREEN , dst : *mut super::super::Foundation:: RECT , src : *mut super::super::Foundation:: RECT ) -> i32 );
214 DCISetDestination(pdci, dst, src)
215 }
216 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
217 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
218 #[inline]
219 pub unsafe fn DCISetSrcDestClip(pdci: *mut DCIOFFSCREEN, srcrc: *mut super::super::Foundation::RECT, destrc: *mut super::super::Foundation::RECT, prd: *mut super::super::Graphics::Gdi::RGNDATA) -> i32 {
220 ::windows::imp::link ! ( "dciman32.dll""system" fn DCISetSrcDestClip ( pdci : *mut DCIOFFSCREEN , srcrc : *mut super::super::Foundation:: RECT , destrc : *mut super::super::Foundation:: RECT , prd : *mut super::super::Graphics::Gdi:: RGNDATA ) -> i32 );
221 DCISetSrcDestClip(pdci, srcrc, destrc, prd)
222 }
223 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
224 #[inline]
225 pub unsafe fn DelNodeA<P0>(pszfileordirname: P0, dwflags: u32) -> ::windows::core::Result<()>
226 where
227 P0: ::windows::core::IntoParam<::windows::core::PCSTR>,
228 {
229 ::windows::imp::link ! ( "advpack.dll""system" fn DelNodeA ( pszfileordirname : :: windows::core::PCSTR , dwflags : u32 ) -> :: windows::core::HRESULT );
230 DelNodeA(pszfileordirname.into_param().abi(), dwflags).ok()
231 }
232 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
233 #[cfg(feature = "Win32_Foundation")]
234 #[inline]
235 pub unsafe fn DelNodeRunDLL32W<P0, P1>(hwnd: P0, hinstance: P1, pszparms: ::windows::core::PWSTR, nshow: i32) -> ::windows::core::Result<()>
236 where
237 P0: ::windows::core::IntoParam<super::super::Foundation::HWND>,
238 P1: ::windows::core::IntoParam<super::super::Foundation::HINSTANCE>,
239 {
240 ::windows::imp::link ! ( "advpack.dll""system" fn DelNodeRunDLL32W ( hwnd : super::super::Foundation:: HWND , hinstance : super::super::Foundation:: HINSTANCE , pszparms : :: windows::core::PWSTR , nshow : i32 ) -> :: windows::core::HRESULT );
241 DelNodeRunDLL32W(hwnd.into_param().abi(), hinstance.into_param().abi(), ::core::mem::transmute(pszparms), nshow).ok()
242 }
243 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
244 #[inline]
245 pub unsafe fn DelNodeW<P0>(pszfileordirname: P0, dwflags: u32) -> ::windows::core::Result<()>
246 where
247 P0: ::windows::core::IntoParam<::windows::core::PCWSTR>,
248 {
249 ::windows::imp::link ! ( "advpack.dll""system" fn DelNodeW ( pszfileordirname : :: windows::core::PCWSTR , dwflags : u32 ) -> :: windows::core::HRESULT );
250 DelNodeW(pszfileordirname.into_param().abi(), dwflags).ok()
251 }
252 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
253 #[cfg(feature = "Win32_Foundation")]
254 #[inline]
255 pub unsafe fn DnsHostnameToComputerNameA<P0>(hostname: P0, computername: ::windows::core::PSTR, nsize: *mut u32) -> super::super::Foundation::BOOL
256 where
257 P0: ::windows::core::IntoParam<::windows::core::PCSTR>,
258 {
259 ::windows::imp::link ! ( "kernel32.dll""system" fn DnsHostnameToComputerNameA ( hostname : :: windows::core::PCSTR , computername : :: windows::core::PSTR , nsize : *mut u32 ) -> super::super::Foundation:: BOOL );
260 DnsHostnameToComputerNameA(hostname.into_param().abi(), ::core::mem::transmute(computername), nsize)
261 }
262 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
263 #[cfg(feature = "Win32_Foundation")]
264 #[inline]
265 pub unsafe fn DnsHostnameToComputerNameW<P0>(hostname: P0, computername: ::windows::core::PWSTR, nsize: *mut u32) -> super::super::Foundation::BOOL
266 where
267 P0: ::windows::core::IntoParam<::windows::core::PCWSTR>,
268 {
269 ::windows::imp::link ! ( "kernel32.dll""system" fn DnsHostnameToComputerNameW ( hostname : :: windows::core::PCWSTR , computername : :: windows::core::PWSTR , nsize : *mut u32 ) -> super::super::Foundation:: BOOL );
270 DnsHostnameToComputerNameW(hostname.into_param().abi(), ::core::mem::transmute(computername), nsize)
271 }
272 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
273 #[cfg(feature = "Win32_Foundation")]
274 #[inline]
275 pub unsafe fn DosDateTimeToFileTime(wfatdate: u16, wfattime: u16, lpfiletime: *mut super::super::Foundation::FILETIME) -> super::super::Foundation::BOOL {
276 ::windows::imp::link ! ( "kernel32.dll""system" fn DosDateTimeToFileTime ( wfatdate : u16 , wfattime : u16 , lpfiletime : *mut super::super::Foundation:: FILETIME ) -> super::super::Foundation:: BOOL );
277 DosDateTimeToFileTime(wfatdate, wfattime, lpfiletime)
278 }
279 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
280 #[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
281 #[cfg(feature = "Win32_Foundation")]
282 #[inline]
283 pub unsafe fn EnableProcessOptionalXStateFeatures(features: u64) -> super::super::Foundation::BOOL {
284 ::windows::imp::link ! ( "kernel32.dll""system" fn EnableProcessOptionalXStateFeatures ( features : u64 ) -> super::super::Foundation:: BOOL );
285 EnableProcessOptionalXStateFeatures(features)
286 }
287 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
288 #[cfg(feature = "Win32_Foundation")]
289 #[inline]
290 pub unsafe fn ExecuteCabA<P0>(hwnd: P0, pcab: *mut CABINFOA, preserved: *mut ::core::ffi::c_void) -> ::windows::core::Result<()>
291 where
292 P0: ::windows::core::IntoParam<super::super::Foundation::HWND>,
293 {
294 ::windows::imp::link ! ( "advpack.dll""system" fn ExecuteCabA ( hwnd : super::super::Foundation:: HWND , pcab : *mut CABINFOA , preserved : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT );
295 ExecuteCabA(hwnd.into_param().abi(), pcab, preserved).ok()
296 }
297 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
298 #[cfg(feature = "Win32_Foundation")]
299 #[inline]
300 pub unsafe fn ExecuteCabW<P0>(hwnd: P0, pcab: *mut CABINFOW, preserved: *mut ::core::ffi::c_void) -> ::windows::core::Result<()>
301 where
302 P0: ::windows::core::IntoParam<super::super::Foundation::HWND>,
303 {
304 ::windows::imp::link ! ( "advpack.dll""system" fn ExecuteCabW ( hwnd : super::super::Foundation:: HWND , pcab : *mut CABINFOW , preserved : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT );
305 ExecuteCabW(hwnd.into_param().abi(), pcab, preserved).ok()
306 }
307 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
308 #[inline]
309 pub unsafe fn ExtractFilesA<P0, P1, P2>(pszcabname: P0, pszexpanddir: P1, dwflags: u32, pszfilelist: P2, lpreserved: *mut ::core::ffi::c_void, dwreserved: u32) -> ::windows::core::Result<()>
310 where
311 P0: ::windows::core::IntoParam<::windows::core::PCSTR>,
312 P1: ::windows::core::IntoParam<::windows::core::PCSTR>,
313 P2: ::windows::core::IntoParam<::windows::core::PCSTR>,
314 {
315 ::windows::imp::link ! ( "advpack.dll""system" fn ExtractFilesA ( pszcabname : :: windows::core::PCSTR , pszexpanddir : :: windows::core::PCSTR , dwflags : u32 , pszfilelist : :: windows::core::PCSTR , lpreserved : *mut ::core::ffi::c_void , dwreserved : u32 ) -> :: windows::core::HRESULT );
316 ExtractFilesA(pszcabname.into_param().abi(), pszexpanddir.into_param().abi(), dwflags, pszfilelist.into_param().abi(), lpreserved, dwreserved).ok()
317 }
318 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
319 #[inline]
320 pub unsafe fn ExtractFilesW<P0, P1, P2>(pszcabname: P0, pszexpanddir: P1, dwflags: u32, pszfilelist: P2, lpreserved: *mut ::core::ffi::c_void, dwreserved: u32) -> ::windows::core::Result<()>
321 where
322 P0: ::windows::core::IntoParam<::windows::core::PCWSTR>,
323 P1: ::windows::core::IntoParam<::windows::core::PCWSTR>,
324 P2: ::windows::core::IntoParam<::windows::core::PCWSTR>,
325 {
326 ::windows::imp::link ! ( "advpack.dll""system" fn ExtractFilesW ( pszcabname : :: windows::core::PCWSTR , pszexpanddir : :: windows::core::PCWSTR , dwflags : u32 , pszfilelist : :: windows::core::PCWSTR , lpreserved : *mut ::core::ffi::c_void , dwreserved : u32 ) -> :: windows::core::HRESULT );
327 ExtractFilesW(pszcabname.into_param().abi(), pszexpanddir.into_param().abi(), dwflags, pszfilelist.into_param().abi(), lpreserved, dwreserved).ok()
328 }
329 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
330 #[inline]
331 pub unsafe fn FileSaveMarkNotExistA<P0, P1, P2>(lpfilelist: P0, lpdir: P1, lpbasename: P2) -> ::windows::core::Result<()>
332 where
333 P0: ::windows::core::IntoParam<::windows::core::PCSTR>,
334 P1: ::windows::core::IntoParam<::windows::core::PCSTR>,
335 P2: ::windows::core::IntoParam<::windows::core::PCSTR>,
336 {
337 ::windows::imp::link ! ( "advpack.dll""system" fn FileSaveMarkNotExistA ( lpfilelist : :: windows::core::PCSTR , lpdir : :: windows::core::PCSTR , lpbasename : :: windows::core::PCSTR ) -> :: windows::core::HRESULT );
338 FileSaveMarkNotExistA(lpfilelist.into_param().abi(), lpdir.into_param().abi(), lpbasename.into_param().abi()).ok()
339 }
340 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
341 #[inline]
342 pub unsafe fn FileSaveMarkNotExistW<P0, P1, P2>(lpfilelist: P0, lpdir: P1, lpbasename: P2) -> ::windows::core::Result<()>
343 where
344 P0: ::windows::core::IntoParam<::windows::core::PCWSTR>,
345 P1: ::windows::core::IntoParam<::windows::core::PCWSTR>,
346 P2: ::windows::core::IntoParam<::windows::core::PCWSTR>,
347 {
348 ::windows::imp::link ! ( "advpack.dll""system" fn FileSaveMarkNotExistW ( lpfilelist : :: windows::core::PCWSTR , lpdir : :: windows::core::PCWSTR , lpbasename : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT );
349 FileSaveMarkNotExistW(lpfilelist.into_param().abi(), lpdir.into_param().abi(), lpbasename.into_param().abi()).ok()
350 }
351 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
352 #[cfg(feature = "Win32_Foundation")]
353 #[inline]
354 pub unsafe fn FileSaveRestoreOnINFA<P0, P1, P2, P3, P4, P5>(hwnd: P0, psztitle: P1, pszinf: P2, pszsection: P3, pszbackupdir: P4, pszbasebackupfile: P5, dwflags: u32) -> ::windows::core::Result<()>
355 where
356 P0: ::windows::core::IntoParam<super::super::Foundation::HWND>,
357 P1: ::windows::core::IntoParam<::windows::core::PCSTR>,
358 P2: ::windows::core::IntoParam<::windows::core::PCSTR>,
359 P3: ::windows::core::IntoParam<::windows::core::PCSTR>,
360 P4: ::windows::core::IntoParam<::windows::core::PCSTR>,
361 P5: ::windows::core::IntoParam<::windows::core::PCSTR>,
362 {
363 ::windows::imp::link ! ( "advpack.dll""system" fn FileSaveRestoreOnINFA ( hwnd : super::super::Foundation:: HWND , psztitle : :: windows::core::PCSTR , pszinf : :: windows::core::PCSTR , pszsection : :: windows::core::PCSTR , pszbackupdir : :: windows::core::PCSTR , pszbasebackupfile : :: windows::core::PCSTR , dwflags : u32 ) -> :: windows::core::HRESULT );
364 FileSaveRestoreOnINFA(hwnd.into_param().abi(), psztitle.into_param().abi(), pszinf.into_param().abi(), pszsection.into_param().abi(), pszbackupdir.into_param().abi(), pszbasebackupfile.into_param().abi(), dwflags).ok()
365 }
366 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
367 #[cfg(feature = "Win32_Foundation")]
368 #[inline]
369 pub unsafe fn FileSaveRestoreOnINFW<P0, P1, P2, P3, P4, P5>(hwnd: P0, psztitle: P1, pszinf: P2, pszsection: P3, pszbackupdir: P4, pszbasebackupfile: P5, dwflags: u32) -> ::windows::core::Result<()>
370 where
371 P0: ::windows::core::IntoParam<super::super::Foundation::HWND>,
372 P1: ::windows::core::IntoParam<::windows::core::PCWSTR>,
373 P2: ::windows::core::IntoParam<::windows::core::PCWSTR>,
374 P3: ::windows::core::IntoParam<::windows::core::PCWSTR>,
375 P4: ::windows::core::IntoParam<::windows::core::PCWSTR>,
376 P5: ::windows::core::IntoParam<::windows::core::PCWSTR>,
377 {
378 ::windows::imp::link ! ( "advpack.dll""system" fn FileSaveRestoreOnINFW ( hwnd : super::super::Foundation:: HWND , psztitle : :: windows::core::PCWSTR , pszinf : :: windows::core::PCWSTR , pszsection : :: windows::core::PCWSTR , pszbackupdir : :: windows::core::PCWSTR , pszbasebackupfile : :: windows::core::PCWSTR , dwflags : u32 ) -> :: windows::core::HRESULT );
379 FileSaveRestoreOnINFW(hwnd.into_param().abi(), psztitle.into_param().abi(), pszinf.into_param().abi(), pszsection.into_param().abi(), pszbackupdir.into_param().abi(), pszbasebackupfile.into_param().abi(), dwflags).ok()
380 }
381 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
382 #[cfg(feature = "Win32_Foundation")]
383 #[inline]
384 pub unsafe fn FileSaveRestoreW<P0, P1, P2, P3>(hdlg: P0, lpfilelist: P1, lpdir: P2, lpbasename: P3, dwflags: u32) -> ::windows::core::Result<()>
385 where
386 P0: ::windows::core::IntoParam<super::super::Foundation::HWND>,
387 P1: ::windows::core::IntoParam<::windows::core::PCWSTR>,
388 P2: ::windows::core::IntoParam<::windows::core::PCWSTR>,
389 P3: ::windows::core::IntoParam<::windows::core::PCWSTR>,
390 {
391 ::windows::imp::link ! ( "advpack.dll""system" fn FileSaveRestoreW ( hdlg : super::super::Foundation:: HWND , lpfilelist : :: windows::core::PCWSTR , lpdir : :: windows::core::PCWSTR , lpbasename : :: windows::core::PCWSTR , dwflags : u32 ) -> :: windows::core::HRESULT );
392 FileSaveRestoreW(hdlg.into_param().abi(), lpfilelist.into_param().abi(), lpdir.into_param().abi(), lpbasename.into_param().abi(), dwflags).ok()
393 }
394 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
395 #[cfg(feature = "Win32_Foundation")]
396 #[inline]
397 pub unsafe fn FileTimeToDosDateTime(lpfiletime: *const super::super::Foundation::FILETIME, lpfatdate: *mut u16, lpfattime: *mut u16) -> super::super::Foundation::BOOL {
398 ::windows::imp::link ! ( "kernel32.dll""system" fn FileTimeToDosDateTime ( lpfiletime : *const super::super::Foundation:: FILETIME , lpfatdate : *mut u16 , lpfattime : *mut u16 ) -> super::super::Foundation:: BOOL );
399 FileTimeToDosDateTime(lpfiletime, lpfatdate, lpfattime)
400 }
401 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
402 #[inline]
403 pub unsafe fn GdiEntry13() -> u32 {
404 ::windows::imp::link ! ( "api-ms-win-dx-d3dkmt-l1-1-0.dll""system" fn GdiEntry13 ( ) -> u32 );
405 GdiEntry13()
406 }
407 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
408 #[cfg(feature = "Win32_Foundation")]
409 #[inline]
410 pub unsafe fn GetComputerNameA(lpbuffer: ::windows::core::PSTR, nsize: *mut u32) -> super::super::Foundation::BOOL {
411 ::windows::imp::link ! ( "kernel32.dll""system" fn GetComputerNameA ( lpbuffer : :: windows::core::PSTR , nsize : *mut u32 ) -> super::super::Foundation:: BOOL );
412 GetComputerNameA(::core::mem::transmute(lpbuffer), nsize)
413 }
414 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
415 #[cfg(feature = "Win32_Foundation")]
416 #[inline]
417 pub unsafe fn GetComputerNameW(lpbuffer: ::windows::core::PWSTR, nsize: *mut u32) -> super::super::Foundation::BOOL {
418 ::windows::imp::link ! ( "kernel32.dll""system" fn GetComputerNameW ( lpbuffer : :: windows::core::PWSTR , nsize : *mut u32 ) -> super::super::Foundation:: BOOL );
419 GetComputerNameW(::core::mem::transmute(lpbuffer), nsize)
420 }
421 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
422 #[cfg(feature = "Win32_Foundation")]
423 #[inline]
424 pub unsafe fn GetCurrentHwProfileA(lphwprofileinfo: *mut HW_PROFILE_INFOA) -> super::super::Foundation::BOOL {
425 ::windows::imp::link ! ( "advapi32.dll""system" fn GetCurrentHwProfileA ( lphwprofileinfo : *mut HW_PROFILE_INFOA ) -> super::super::Foundation:: BOOL );
426 GetCurrentHwProfileA(lphwprofileinfo)
427 }
428 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
429 #[cfg(feature = "Win32_Foundation")]
430 #[inline]
431 pub unsafe fn GetCurrentHwProfileW(lphwprofileinfo: *mut HW_PROFILE_INFOW) -> super::super::Foundation::BOOL {
432 ::windows::imp::link ! ( "advapi32.dll""system" fn GetCurrentHwProfileW ( lphwprofileinfo : *mut HW_PROFILE_INFOW ) -> super::super::Foundation:: BOOL );
433 GetCurrentHwProfileW(lphwprofileinfo)
434 }
435 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
436 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
437 #[inline]
438 pub unsafe fn GetDCRegionData<P0>(hdc: P0, size: u32, prd: *mut super::super::Graphics::Gdi::RGNDATA) -> u32
439 where
440 P0: ::windows::core::IntoParam<super::super::Graphics::Gdi::HDC>,
441 {
442 ::windows::imp::link ! ( "dciman32.dll""system" fn GetDCRegionData ( hdc : super::super::Graphics::Gdi:: HDC , size : u32 , prd : *mut super::super::Graphics::Gdi:: RGNDATA ) -> u32 );
443 GetDCRegionData(hdc.into_param().abi(), size, prd)
444 }
445 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
446 #[inline]
447 pub unsafe fn GetFeatureEnabledState(featureid: u32, changetime: FEATURE_CHANGE_TIME) -> FEATURE_ENABLED_STATE {
448 ::windows::imp::link ! ( "api-ms-win-core-featurestaging-l1-1-0.dll""system" fn GetFeatureEnabledState ( featureid : u32 , changetime : FEATURE_CHANGE_TIME ) -> FEATURE_ENABLED_STATE );
449 GetFeatureEnabledState(featureid, changetime)
450 }
451 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
452 #[cfg(feature = "Win32_Foundation")]
453 #[inline]
454 pub unsafe fn GetFeatureVariant(featureid: u32, changetime: FEATURE_CHANGE_TIME, payloadid: *mut u32, hasnotification: *mut super::super::Foundation::BOOL) -> u32 {
455 ::windows::imp::link ! ( "api-ms-win-core-featurestaging-l1-1-1.dll""system" fn GetFeatureVariant ( featureid : u32 , changetime : FEATURE_CHANGE_TIME , payloadid : *mut u32 , hasnotification : *mut super::super::Foundation:: BOOL ) -> u32 );
456 GetFeatureVariant(featureid, changetime, payloadid, hasnotification)
457 }
458 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
459 #[inline]
460 pub unsafe fn GetFirmwareEnvironmentVariableA<P0, P1>(lpname: P0, lpguid: P1, pbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, nsize: u32) -> u32
461 where
462 P0: ::windows::core::IntoParam<::windows::core::PCSTR>,
463 P1: ::windows::core::IntoParam<::windows::core::PCSTR>,
464 {
465 ::windows::imp::link ! ( "kernel32.dll""system" fn GetFirmwareEnvironmentVariableA ( lpname : :: windows::core::PCSTR , lpguid : :: windows::core::PCSTR , pbuffer : *mut ::core::ffi::c_void , nsize : u32 ) -> u32 );
466 GetFirmwareEnvironmentVariableA(lpname.into_param().abi(), lpguid.into_param().abi(), ::core::mem::transmute(pbuffer.unwrap_or(::std::ptr::null_mut())), nsize)
467 }
468 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
469 #[inline]
470 pub unsafe fn GetFirmwareEnvironmentVariableExA<P0, P1>(lpname: P0, lpguid: P1, pbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, nsize: u32, pdwattribubutes: ::core::option::Option<*mut u32>) -> u32
471 where
472 P0: ::windows::core::IntoParam<::windows::core::PCSTR>,
473 P1: ::windows::core::IntoParam<::windows::core::PCSTR>,
474 {
475 ::windows::imp::link ! ( "kernel32.dll""system" fn GetFirmwareEnvironmentVariableExA ( lpname : :: windows::core::PCSTR , lpguid : :: windows::core::PCSTR , pbuffer : *mut ::core::ffi::c_void , nsize : u32 , pdwattribubutes : *mut u32 ) -> u32 );
476 GetFirmwareEnvironmentVariableExA(lpname.into_param().abi(), lpguid.into_param().abi(), ::core::mem::transmute(pbuffer.unwrap_or(::std::ptr::null_mut())), nsize, ::core::mem::transmute(pdwattribubutes.unwrap_or(::std::ptr::null_mut())))
477 }
478 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
479 #[inline]
480 pub unsafe fn GetFirmwareEnvironmentVariableExW<P0, P1>(lpname: P0, lpguid: P1, pbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, nsize: u32, pdwattribubutes: ::core::option::Option<*mut u32>) -> u32
481 where
482 P0: ::windows::core::IntoParam<::windows::core::PCWSTR>,
483 P1: ::windows::core::IntoParam<::windows::core::PCWSTR>,
484 {
485 ::windows::imp::link ! ( "kernel32.dll""system" fn GetFirmwareEnvironmentVariableExW ( lpname : :: windows::core::PCWSTR , lpguid : :: windows::core::PCWSTR , pbuffer : *mut ::core::ffi::c_void , nsize : u32 , pdwattribubutes : *mut u32 ) -> u32 );
486 GetFirmwareEnvironmentVariableExW(lpname.into_param().abi(), lpguid.into_param().abi(), ::core::mem::transmute(pbuffer.unwrap_or(::std::ptr::null_mut())), nsize, ::core::mem::transmute(pdwattribubutes.unwrap_or(::std::ptr::null_mut())))
487 }
488 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
489 #[inline]
490 pub unsafe fn GetFirmwareEnvironmentVariableW<P0, P1>(lpname: P0, lpguid: P1, pbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, nsize: u32) -> u32
491 where
492 P0: ::windows::core::IntoParam<::windows::core::PCWSTR>,
493 P1: ::windows::core::IntoParam<::windows::core::PCWSTR>,
494 {
495 ::windows::imp::link ! ( "kernel32.dll""system" fn GetFirmwareEnvironmentVariableW ( lpname : :: windows::core::PCWSTR , lpguid : :: windows::core::PCWSTR , pbuffer : *mut ::core::ffi::c_void , nsize : u32 ) -> u32 );
496 GetFirmwareEnvironmentVariableW(lpname.into_param().abi(), lpguid.into_param().abi(), ::core::mem::transmute(pbuffer.unwrap_or(::std::ptr::null_mut())), nsize)
497 }
498 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
499 #[inline]
500 pub unsafe fn GetPrivateProfileIntA<P0, P1, P2>(lpappname: P0, lpkeyname: P1, ndefault: i32, lpfilename: P2) -> u32
501 where
502 P0: ::windows::core::IntoParam<::windows::core::PCSTR>,
503 P1: ::windows::core::IntoParam<::windows::core::PCSTR>,
504 P2: ::windows::core::IntoParam<::windows::core::PCSTR>,
505 {
506 ::windows::imp::link ! ( "kernel32.dll""system" fn GetPrivateProfileIntA ( lpappname : :: windows::core::PCSTR , lpkeyname : :: windows::core::PCSTR , ndefault : i32 , lpfilename : :: windows::core::PCSTR ) -> u32 );
507 GetPrivateProfileIntA(lpappname.into_param().abi(), lpkeyname.into_param().abi(), ndefault, lpfilename.into_param().abi())
508 }
509 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
510 #[inline]
511 pub unsafe fn GetPrivateProfileIntW<P0, P1, P2>(lpappname: P0, lpkeyname: P1, ndefault: i32, lpfilename: P2) -> i32
512 where
513 P0: ::windows::core::IntoParam<::windows::core::PCWSTR>,
514 P1: ::windows::core::IntoParam<::windows::core::PCWSTR>,
515 P2: ::windows::core::IntoParam<::windows::core::PCWSTR>,
516 {
517 ::windows::imp::link ! ( "kernel32.dll""system" fn GetPrivateProfileIntW ( lpappname : :: windows::core::PCWSTR , lpkeyname : :: windows::core::PCWSTR , ndefault : i32 , lpfilename : :: windows::core::PCWSTR ) -> i32 );
518 GetPrivateProfileIntW(lpappname.into_param().abi(), lpkeyname.into_param().abi(), ndefault, lpfilename.into_param().abi())
519 }
520 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
521 #[inline]
522 pub unsafe fn GetPrivateProfileSectionA<P0, P1>(lpappname: P0, lpreturnedstring: ::core::option::Option<&mut [u8]>, lpfilename: P1) -> u32
523 where
524 P0: ::windows::core::IntoParam<::windows::core::PCSTR>,
525 P1: ::windows::core::IntoParam<::windows::core::PCSTR>,
526 {
527 ::windows::imp::link ! ( "kernel32.dll""system" fn GetPrivateProfileSectionA ( lpappname : :: windows::core::PCSTR , lpreturnedstring : :: windows::core::PSTR , nsize : u32 , lpfilename : :: windows::core::PCSTR ) -> u32 );
528 GetPrivateProfileSectionA(lpappname.into_param().abi(), ::core::mem::transmute(lpreturnedstring.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpreturnedstring.as_deref().map_or(0, |slice| slice.len() as _), lpfilename.into_param().abi())
529 }
530 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
531 #[inline]
532 pub unsafe fn GetPrivateProfileSectionNamesA<P0>(lpszreturnbuffer: ::core::option::Option<&mut [u8]>, lpfilename: P0) -> u32
533 where
534 P0: ::windows::core::IntoParam<::windows::core::PCSTR>,
535 {
536 ::windows::imp::link ! ( "kernel32.dll""system" fn GetPrivateProfileSectionNamesA ( lpszreturnbuffer : :: windows::core::PSTR , nsize : u32 , lpfilename : :: windows::core::PCSTR ) -> u32 );
537 GetPrivateProfileSectionNamesA(::core::mem::transmute(lpszreturnbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpszreturnbuffer.as_deref().map_or(0, |slice| slice.len() as _), lpfilename.into_param().abi())
538 }
539 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
540 #[inline]
541 pub unsafe fn GetPrivateProfileSectionNamesW<P0>(lpszreturnbuffer: ::core::option::Option<&mut [u16]>, lpfilename: P0) -> u32
542 where
543 P0: ::windows::core::IntoParam<::windows::core::PCWSTR>,
544 {
545 ::windows::imp::link ! ( "kernel32.dll""system" fn GetPrivateProfileSectionNamesW ( lpszreturnbuffer : :: windows::core::PWSTR , nsize : u32 , lpfilename : :: windows::core::PCWSTR ) -> u32 );
546 GetPrivateProfileSectionNamesW(::core::mem::transmute(lpszreturnbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpszreturnbuffer.as_deref().map_or(0, |slice| slice.len() as _), lpfilename.into_param().abi())
547 }
548 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
549 #[inline]
550 pub unsafe fn GetPrivateProfileSectionW<P0, P1>(lpappname: P0, lpreturnedstring: ::core::option::Option<&mut [u16]>, lpfilename: P1) -> u32
551 where
552 P0: ::windows::core::IntoParam<::windows::core::PCWSTR>,
553 P1: ::windows::core::IntoParam<::windows::core::PCWSTR>,
554 {
555 ::windows::imp::link ! ( "kernel32.dll""system" fn GetPrivateProfileSectionW ( lpappname : :: windows::core::PCWSTR , lpreturnedstring : :: windows::core::PWSTR , nsize : u32 , lpfilename : :: windows::core::PCWSTR ) -> u32 );
556 GetPrivateProfileSectionW(lpappname.into_param().abi(), ::core::mem::transmute(lpreturnedstring.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpreturnedstring.as_deref().map_or(0, |slice| slice.len() as _), lpfilename.into_param().abi())
557 }
558 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
559 #[inline]
560 pub unsafe fn GetPrivateProfileStringA<P0, P1, P2, P3>(lpappname: P0, lpkeyname: P1, lpdefault: P2, lpreturnedstring: ::core::option::Option<&mut [u8]>, lpfilename: P3) -> u32
561 where
562 P0: ::windows::core::IntoParam<::windows::core::PCSTR>,
563 P1: ::windows::core::IntoParam<::windows::core::PCSTR>,
564 P2: ::windows::core::IntoParam<::windows::core::PCSTR>,
565 P3: ::windows::core::IntoParam<::windows::core::PCSTR>,
566 {
567 ::windows::imp::link ! ( "kernel32.dll""system" fn GetPrivateProfileStringA ( lpappname : :: windows::core::PCSTR , lpkeyname : :: windows::core::PCSTR , lpdefault : :: windows::core::PCSTR , lpreturnedstring : :: windows::core::PSTR , nsize : u32 , lpfilename : :: windows::core::PCSTR ) -> u32 );
568 GetPrivateProfileStringA(lpappname.into_param().abi(), lpkeyname.into_param().abi(), lpdefault.into_param().abi(), ::core::mem::transmute(lpreturnedstring.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpreturnedstring.as_deref().map_or(0, |slice| slice.len() as _), lpfilename.into_param().abi())
569 }
570 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
571 #[inline]
572 pub unsafe fn GetPrivateProfileStringW<P0, P1, P2, P3>(lpappname: P0, lpkeyname: P1, lpdefault: P2, lpreturnedstring: ::core::option::Option<&mut [u16]>, lpfilename: P3) -> u32
573 where
574 P0: ::windows::core::IntoParam<::windows::core::PCWSTR>,
575 P1: ::windows::core::IntoParam<::windows::core::PCWSTR>,
576 P2: ::windows::core::IntoParam<::windows::core::PCWSTR>,
577 P3: ::windows::core::IntoParam<::windows::core::PCWSTR>,
578 {
579 ::windows::imp::link ! ( "kernel32.dll""system" fn GetPrivateProfileStringW ( lpappname : :: windows::core::PCWSTR , lpkeyname : :: windows::core::PCWSTR , lpdefault : :: windows::core::PCWSTR , lpreturnedstring : :: windows::core::PWSTR , nsize : u32 , lpfilename : :: windows::core::PCWSTR ) -> u32 );
580 GetPrivateProfileStringW(lpappname.into_param().abi(), lpkeyname.into_param().abi(), lpdefault.into_param().abi(), ::core::mem::transmute(lpreturnedstring.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpreturnedstring.as_deref().map_or(0, |slice| slice.len() as _), lpfilename.into_param().abi())
581 }
582 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
583 #[cfg(feature = "Win32_Foundation")]
584 #[inline]
585 pub unsafe fn GetPrivateProfileStructA<P0, P1, P2>(lpszsection: P0, lpszkey: P1, lpstruct: ::core::option::Option<*mut ::core::ffi::c_void>, usizestruct: u32, szfile: P2) -> super::super::Foundation::BOOL
586 where
587 P0: ::windows::core::IntoParam<::windows::core::PCSTR>,
588 P1: ::windows::core::IntoParam<::windows::core::PCSTR>,
589 P2: ::windows::core::IntoParam<::windows::core::PCSTR>,
590 {
591 ::windows::imp::link ! ( "kernel32.dll""system" fn GetPrivateProfileStructA ( lpszsection : :: windows::core::PCSTR , lpszkey : :: windows::core::PCSTR , lpstruct : *mut ::core::ffi::c_void , usizestruct : u32 , szfile : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL );
592 GetPrivateProfileStructA(lpszsection.into_param().abi(), lpszkey.into_param().abi(), ::core::mem::transmute(lpstruct.unwrap_or(::std::ptr::null_mut())), usizestruct, szfile.into_param().abi())
593 }
594 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
595 #[cfg(feature = "Win32_Foundation")]
596 #[inline]
597 pub unsafe fn GetPrivateProfileStructW<P0, P1, P2>(lpszsection: P0, lpszkey: P1, lpstruct: ::core::option::Option<*mut ::core::ffi::c_void>, usizestruct: u32, szfile: P2) -> super::super::Foundation::BOOL
598 where
599 P0: ::windows::core::IntoParam<::windows::core::PCWSTR>,
600 P1: ::windows::core::IntoParam<::windows::core::PCWSTR>,
601 P2: ::windows::core::IntoParam<::windows::core::PCWSTR>,
602 {
603 ::windows::imp::link ! ( "kernel32.dll""system" fn GetPrivateProfileStructW ( lpszsection : :: windows::core::PCWSTR , lpszkey : :: windows::core::PCWSTR , lpstruct : *mut ::core::ffi::c_void , usizestruct : u32 , szfile : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL );
604 GetPrivateProfileStructW(lpszsection.into_param().abi(), lpszkey.into_param().abi(), ::core::mem::transmute(lpstruct.unwrap_or(::std::ptr::null_mut())), usizestruct, szfile.into_param().abi())
605 }
606 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
607 #[inline]
608 pub unsafe fn GetProfileIntA<P0, P1>(lpappname: P0, lpkeyname: P1, ndefault: i32) -> u32
609 where
610 P0: ::windows::core::IntoParam<::windows::core::PCSTR>,
611 P1: ::windows::core::IntoParam<::windows::core::PCSTR>,
612 {
613 ::windows::imp::link ! ( "kernel32.dll""system" fn GetProfileIntA ( lpappname : :: windows::core::PCSTR , lpkeyname : :: windows::core::PCSTR , ndefault : i32 ) -> u32 );
614 GetProfileIntA(lpappname.into_param().abi(), lpkeyname.into_param().abi(), ndefault)
615 }
616 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
617 #[inline]
618 pub unsafe fn GetProfileIntW<P0, P1>(lpappname: P0, lpkeyname: P1, ndefault: i32) -> u32
619 where
620 P0: ::windows::core::IntoParam<::windows::core::PCWSTR>,
621 P1: ::windows::core::IntoParam<::windows::core::PCWSTR>,
622 {
623 ::windows::imp::link ! ( "kernel32.dll""system" fn GetProfileIntW ( lpappname : :: windows::core::PCWSTR , lpkeyname : :: windows::core::PCWSTR , ndefault : i32 ) -> u32 );
624 GetProfileIntW(lpappname.into_param().abi(), lpkeyname.into_param().abi(), ndefault)
625 }
626 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
627 #[inline]
628 pub unsafe fn GetProfileSectionA<P0>(lpappname: P0, lpreturnedstring: ::core::option::Option<&mut [u8]>) -> u32
629 where
630 P0: ::windows::core::IntoParam<::windows::core::PCSTR>,
631 {
632 ::windows::imp::link ! ( "kernel32.dll""system" fn GetProfileSectionA ( lpappname : :: windows::core::PCSTR , lpreturnedstring : :: windows::core::PSTR , nsize : u32 ) -> u32 );
633 GetProfileSectionA(lpappname.into_param().abi(), ::core::mem::transmute(lpreturnedstring.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpreturnedstring.as_deref().map_or(0, |slice| slice.len() as _))
634 }
635 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
636 #[inline]
637 pub unsafe fn GetProfileSectionW<P0>(lpappname: P0, lpreturnedstring: ::core::option::Option<&mut [u16]>) -> u32
638 where
639 P0: ::windows::core::IntoParam<::windows::core::PCWSTR>,
640 {
641 ::windows::imp::link ! ( "kernel32.dll""system" fn GetProfileSectionW ( lpappname : :: windows::core::PCWSTR , lpreturnedstring : :: windows::core::PWSTR , nsize : u32 ) -> u32 );
642 GetProfileSectionW(lpappname.into_param().abi(), ::core::mem::transmute(lpreturnedstring.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpreturnedstring.as_deref().map_or(0, |slice| slice.len() as _))
643 }
644 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
645 #[inline]
646 pub unsafe fn GetProfileStringA<P0, P1, P2>(lpappname: P0, lpkeyname: P1, lpdefault: P2, lpreturnedstring: ::core::option::Option<&mut [u8]>) -> u32
647 where
648 P0: ::windows::core::IntoParam<::windows::core::PCSTR>,
649 P1: ::windows::core::IntoParam<::windows::core::PCSTR>,
650 P2: ::windows::core::IntoParam<::windows::core::PCSTR>,
651 {
652 ::windows::imp::link ! ( "kernel32.dll""system" fn GetProfileStringA ( lpappname : :: windows::core::PCSTR , lpkeyname : :: windows::core::PCSTR , lpdefault : :: windows::core::PCSTR , lpreturnedstring : :: windows::core::PSTR , nsize : u32 ) -> u32 );
653 GetProfileStringA(lpappname.into_param().abi(), lpkeyname.into_param().abi(), lpdefault.into_param().abi(), ::core::mem::transmute(lpreturnedstring.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpreturnedstring.as_deref().map_or(0, |slice| slice.len() as _))
654 }
655 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
656 #[inline]
657 pub unsafe fn GetProfileStringW<P0, P1, P2>(lpappname: P0, lpkeyname: P1, lpdefault: P2, lpreturnedstring: ::core::option::Option<&mut [u16]>) -> u32
658 where
659 P0: ::windows::core::IntoParam<::windows::core::PCWSTR>,
660 P1: ::windows::core::IntoParam<::windows::core::PCWSTR>,
661 P2: ::windows::core::IntoParam<::windows::core::PCWSTR>,
662 {
663 ::windows::imp::link ! ( "kernel32.dll""system" fn GetProfileStringW ( lpappname : :: windows::core::PCWSTR , lpkeyname : :: windows::core::PCWSTR , lpdefault : :: windows::core::PCWSTR , lpreturnedstring : :: windows::core::PWSTR , nsize : u32 ) -> u32 );
664 GetProfileStringW(lpappname.into_param().abi(), lpkeyname.into_param().abi(), lpdefault.into_param().abi(), ::core::mem::transmute(lpreturnedstring.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpreturnedstring.as_deref().map_or(0, |slice| slice.len() as _))
665 }
666 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
667 #[cfg(feature = "Win32_Foundation")]
668 #[inline]
669 pub unsafe fn GetSystemRegistryQuota(pdwquotaallowed: ::core::option::Option<*mut u32>, pdwquotaused: ::core::option::Option<*mut u32>) -> super::super::Foundation::BOOL {
670 ::windows::imp::link ! ( "kernel32.dll""system" fn GetSystemRegistryQuota ( pdwquotaallowed : *mut u32 , pdwquotaused : *mut u32 ) -> super::super::Foundation:: BOOL );
671 GetSystemRegistryQuota(::core::mem::transmute(pdwquotaallowed.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pdwquotaused.unwrap_or(::std::ptr::null_mut())))
672 }
673 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
674 #[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
675 #[inline]
676 pub unsafe fn GetThreadEnabledXStateFeatures() -> u64 {
677 ::windows::imp::link ! ( "kernel32.dll""system" fn GetThreadEnabledXStateFeatures ( ) -> u64 );
678 GetThreadEnabledXStateFeatures()
679 }
680 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
681 #[cfg(feature = "Win32_Foundation")]
682 #[inline]
683 pub unsafe fn GetUserNameA(lpbuffer: ::windows::core::PSTR, pcbbuffer: *mut u32) -> super::super::Foundation::BOOL {
684 ::windows::imp::link ! ( "advapi32.dll""system" fn GetUserNameA ( lpbuffer : :: windows::core::PSTR , pcbbuffer : *mut u32 ) -> super::super::Foundation:: BOOL );
685 GetUserNameA(::core::mem::transmute(lpbuffer), pcbbuffer)
686 }
687 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
688 #[cfg(feature = "Win32_Foundation")]
689 #[inline]
690 pub unsafe fn GetUserNameW(lpbuffer: ::windows::core::PWSTR, pcbbuffer: *mut u32) -> super::super::Foundation::BOOL {
691 ::windows::imp::link ! ( "advapi32.dll""system" fn GetUserNameW ( lpbuffer : :: windows::core::PWSTR , pcbbuffer : *mut u32 ) -> super::super::Foundation:: BOOL );
692 GetUserNameW(::core::mem::transmute(lpbuffer), pcbbuffer)
693 }
694 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
695 #[cfg(feature = "Win32_Foundation")]
696 #[inline]
697 pub unsafe fn GetVersionFromFileA<P0, P1>(lpszfilename: P0, pdwmsver: *mut u32, pdwlsver: *mut u32, bversion: P1) -> ::windows::core::Result<()>
698 where
699 P0: ::windows::core::IntoParam<::windows::core::PCSTR>,
700 P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>,
701 {
702 ::windows::imp::link ! ( "advpack.dll""system" fn GetVersionFromFileA ( lpszfilename : :: windows::core::PCSTR , pdwmsver : *mut u32 , pdwlsver : *mut u32 , bversion : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT );
703 GetVersionFromFileA(lpszfilename.into_param().abi(), pdwmsver, pdwlsver, bversion.into_param().abi()).ok()
704 }
705 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
706 #[cfg(feature = "Win32_Foundation")]
707 #[inline]
708 pub unsafe fn GetVersionFromFileExA<P0, P1>(lpszfilename: P0, pdwmsver: *mut u32, pdwlsver: *mut u32, bversion: P1) -> ::windows::core::Result<()>
709 where
710 P0: ::windows::core::IntoParam<::windows::core::PCSTR>,
711 P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>,
712 {
713 ::windows::imp::link ! ( "advpack.dll""system" fn GetVersionFromFileExA ( lpszfilename : :: windows::core::PCSTR , pdwmsver : *mut u32 , pdwlsver : *mut u32 , bversion : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT );
714 GetVersionFromFileExA(lpszfilename.into_param().abi(), pdwmsver, pdwlsver, bversion.into_param().abi()).ok()
715 }
716 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
717 #[cfg(feature = "Win32_Foundation")]
718 #[inline]
719 pub unsafe fn GetVersionFromFileExW<P0, P1>(lpszfilename: P0, pdwmsver: *mut u32, pdwlsver: *mut u32, bversion: P1) -> ::windows::core::Result<()>
720 where
721 P0: ::windows::core::IntoParam<::windows::core::PCWSTR>,
722 P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>,
723 {
724 ::windows::imp::link ! ( "advpack.dll""system" fn GetVersionFromFileExW ( lpszfilename : :: windows::core::PCWSTR , pdwmsver : *mut u32 , pdwlsver : *mut u32 , bversion : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT );
725 GetVersionFromFileExW(lpszfilename.into_param().abi(), pdwmsver, pdwlsver, bversion.into_param().abi()).ok()
726 }
727 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
728 #[cfg(feature = "Win32_Foundation")]
729 #[inline]
730 pub unsafe fn GetVersionFromFileW<P0, P1>(lpszfilename: P0, pdwmsver: *mut u32, pdwlsver: *mut u32, bversion: P1) -> ::windows::core::Result<()>
731 where
732 P0: ::windows::core::IntoParam<::windows::core::PCWSTR>,
733 P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>,
734 {
735 ::windows::imp::link ! ( "advpack.dll""system" fn GetVersionFromFileW ( lpszfilename : :: windows::core::PCWSTR , pdwmsver : *mut u32 , pdwlsver : *mut u32 , bversion : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT );
736 GetVersionFromFileW(lpszfilename.into_param().abi(), pdwmsver, pdwlsver, bversion.into_param().abi()).ok()
737 }
738 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
739 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
740 #[inline]
741 pub unsafe fn GetWindowRegionData<P0>(hwnd: P0, size: u32, prd: *mut super::super::Graphics::Gdi::RGNDATA) -> u32
742 where
743 P0: ::windows::core::IntoParam<super::super::Foundation::HWND>,
744 {
745 ::windows::imp::link ! ( "dciman32.dll""system" fn GetWindowRegionData ( hwnd : super::super::Foundation:: HWND , size : u32 , prd : *mut super::super::Graphics::Gdi:: RGNDATA ) -> u32 );
746 GetWindowRegionData(hwnd.into_param().abi(), size, prd)
747 }
748 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
749 #[inline]
750 pub unsafe fn GlobalCompact(dwminfree: u32) -> usize {
751 ::windows::imp::link ! ( "kernel32.dll""system" fn GlobalCompact ( dwminfree : u32 ) -> usize );
752 GlobalCompact(dwminfree)
753 }
754 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
755 #[cfg(feature = "Win32_Foundation")]
756 #[inline]
757 pub unsafe fn GlobalFix<P0>(hmem: P0)
758 where
759 P0: ::windows::core::IntoParam<super::super::Foundation::HGLOBAL>,
760 {
761 ::windows::imp::link ! ( "kernel32.dll""system" fn GlobalFix ( hmem : super::super::Foundation:: HGLOBAL ) -> ( ) );
762 GlobalFix(hmem.into_param().abi())
763 }
764 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
765 #[cfg(feature = "Win32_Foundation")]
766 #[inline]
767 pub unsafe fn GlobalUnWire<P0>(hmem: P0) -> super::super::Foundation::BOOL
768 where
769 P0: ::windows::core::IntoParam<super::super::Foundation::HGLOBAL>,
770 {
771 ::windows::imp::link ! ( "kernel32.dll""system" fn GlobalUnWire ( hmem : super::super::Foundation:: HGLOBAL ) -> super::super::Foundation:: BOOL );
772 GlobalUnWire(hmem.into_param().abi())
773 }
774 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
775 #[cfg(feature = "Win32_Foundation")]
776 #[inline]
777 pub unsafe fn GlobalUnfix<P0>(hmem: P0)
778 where
779 P0: ::windows::core::IntoParam<super::super::Foundation::HGLOBAL>,
780 {
781 ::windows::imp::link ! ( "kernel32.dll""system" fn GlobalUnfix ( hmem : super::super::Foundation:: HGLOBAL ) -> ( ) );
782 GlobalUnfix(hmem.into_param().abi())
783 }
784 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
785 #[cfg(feature = "Win32_Foundation")]
786 #[inline]
787 pub unsafe fn GlobalWire<P0>(hmem: P0) -> *mut ::core::ffi::c_void
788 where
789 P0: ::windows::core::IntoParam<super::super::Foundation::HGLOBAL>,
790 {
791 ::windows::imp::link ! ( "kernel32.dll""system" fn GlobalWire ( hmem : super::super::Foundation:: HGLOBAL ) -> *mut ::core::ffi::c_void );
792 GlobalWire(hmem.into_param().abi())
793 }
794 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
795 #[cfg(feature = "Win32_Foundation")]
796 #[inline]
797 pub unsafe fn IMPGetIMEA<P0>(param0: P0, param1: *mut IMEPROA) -> super::super::Foundation::BOOL
798 where
799 P0: ::windows::core::IntoParam<super::super::Foundation::HWND>,
800 {
801 ::windows::imp::link ! ( "user32.dll""system" fn IMPGetIMEA ( param0 : super::super::Foundation:: HWND , param1 : *mut IMEPROA ) -> super::super::Foundation:: BOOL );
802 IMPGetIMEA(param0.into_param().abi(), param1)
803 }
804 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
805 #[cfg(feature = "Win32_Foundation")]
806 #[inline]
807 pub unsafe fn IMPGetIMEW<P0>(param0: P0, param1: *mut IMEPROW) -> super::super::Foundation::BOOL
808 where
809 P0: ::windows::core::IntoParam<super::super::Foundation::HWND>,
810 {
811 ::windows::imp::link ! ( "user32.dll""system" fn IMPGetIMEW ( param0 : super::super::Foundation:: HWND , param1 : *mut IMEPROW ) -> super::super::Foundation:: BOOL );
812 IMPGetIMEW(param0.into_param().abi(), param1)
813 }
814 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
815 #[cfg(feature = "Win32_Foundation")]
816 #[inline]
817 pub unsafe fn IMPQueryIMEA(param0: *mut IMEPROA) -> super::super::Foundation::BOOL {
818 ::windows::imp::link ! ( "user32.dll""system" fn IMPQueryIMEA ( param0 : *mut IMEPROA ) -> super::super::Foundation:: BOOL );
819 IMPQueryIMEA(param0)
820 }
821 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
822 #[cfg(feature = "Win32_Foundation")]
823 #[inline]
824 pub unsafe fn IMPQueryIMEW(param0: *mut IMEPROW) -> super::super::Foundation::BOOL {
825 ::windows::imp::link ! ( "user32.dll""system" fn IMPQueryIMEW ( param0 : *mut IMEPROW ) -> super::super::Foundation:: BOOL );
826 IMPQueryIMEW(param0)
827 }
828 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
829 #[cfg(feature = "Win32_Foundation")]
830 #[inline]
831 pub unsafe fn IMPSetIMEA<P0>(param0: P0, param1: *mut IMEPROA) -> super::super::Foundation::BOOL
832 where
833 P0: ::windows::core::IntoParam<super::super::Foundation::HWND>,
834 {
835 ::windows::imp::link ! ( "user32.dll""system" fn IMPSetIMEA ( param0 : super::super::Foundation:: HWND , param1 : *mut IMEPROA ) -> super::super::Foundation:: BOOL );
836 IMPSetIMEA(param0.into_param().abi(), param1)
837 }
838 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
839 #[cfg(feature = "Win32_Foundation")]
840 #[inline]
841 pub unsafe fn IMPSetIMEW<P0>(param0: P0, param1: *mut IMEPROW) -> super::super::Foundation::BOOL
842 where
843 P0: ::windows::core::IntoParam<super::super::Foundation::HWND>,
844 {
845 ::windows::imp::link ! ( "user32.dll""system" fn IMPSetIMEW ( param0 : super::super::Foundation:: HWND , param1 : *mut IMEPROW ) -> super::super::Foundation:: BOOL );
846 IMPSetIMEW(param0.into_param().abi(), param1)
847 }
848 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
849 #[cfg(feature = "Win32_Foundation")]
850 #[inline]
851 pub unsafe fn IsApiSetImplemented<P0>(contract: P0) -> super::super::Foundation::BOOL
852 where
853 P0: ::windows::core::IntoParam<::windows::core::PCSTR>,
854 {
855 ::windows::imp::link ! ( "api-ms-win-core-apiquery-l2-1-0.dll""system" fn IsApiSetImplemented ( contract : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL );
856 IsApiSetImplemented(contract.into_param().abi())
857 }
858 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
859 #[cfg(feature = "Win32_Foundation")]
860 #[inline]
861 pub unsafe fn IsBadHugeReadPtr(lp: ::core::option::Option<*const ::core::ffi::c_void>, ucb: usize) -> super::super::Foundation::BOOL {
862 ::windows::imp::link ! ( "kernel32.dll""system" fn IsBadHugeReadPtr ( lp : *const ::core::ffi::c_void , ucb : usize ) -> super::super::Foundation:: BOOL );
863 IsBadHugeReadPtr(::core::mem::transmute(lp.unwrap_or(::std::ptr::null())), ucb)
864 }
865 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
866 #[cfg(feature = "Win32_Foundation")]
867 #[inline]
868 pub unsafe fn IsBadHugeWritePtr(lp: ::core::option::Option<*const ::core::ffi::c_void>, ucb: usize) -> super::super::Foundation::BOOL {
869 ::windows::imp::link ! ( "kernel32.dll""system" fn IsBadHugeWritePtr ( lp : *const ::core::ffi::c_void , ucb : usize ) -> super::super::Foundation:: BOOL );
870 IsBadHugeWritePtr(::core::mem::transmute(lp.unwrap_or(::std::ptr::null())), ucb)
871 }
872 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
873 #[cfg(feature = "Win32_Foundation")]
874 #[inline]
875 pub unsafe fn IsNTAdmin(dwreserved: u32, lpdwreserved: *mut u32) -> super::super::Foundation::BOOL {
876 ::windows::imp::link ! ( "advpack.dll""system" fn IsNTAdmin ( dwreserved : u32 , lpdwreserved : *mut u32 ) -> super::super::Foundation:: BOOL );
877 IsNTAdmin(dwreserved, lpdwreserved)
878 }
879 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
880 #[cfg(feature = "Win32_Foundation")]
881 #[inline]
882 pub unsafe fn IsNativeVhdBoot(nativevhdboot: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL {
883 ::windows::imp::link ! ( "kernel32.dll""system" fn IsNativeVhdBoot ( nativevhdboot : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL );
884 IsNativeVhdBoot(nativevhdboot)
885 }
886 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
887 #[cfg(feature = "Win32_Foundation")]
888 #[inline]
889 pub unsafe fn IsTokenUntrusted<P0>(tokenhandle: P0) -> super::super::Foundation::BOOL
890 where
891 P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>,
892 {
893 ::windows::imp::link ! ( "advapi32.dll""system" fn IsTokenUntrusted ( tokenhandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL );
894 IsTokenUntrusted(tokenhandle.into_param().abi())
895 }
896 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
897 #[cfg(feature = "Win32_Foundation")]
898 #[inline]
899 pub unsafe fn LaunchINFSectionExW<P0, P1, P2>(hwnd: P0, hinstance: P1, pszparms: P2, nshow: i32) -> ::windows::core::Result<()>
900 where
901 P0: ::windows::core::IntoParam<super::super::Foundation::HWND>,
902 P1: ::windows::core::IntoParam<super::super::Foundation::HINSTANCE>,
903 P2: ::windows::core::IntoParam<::windows::core::PCWSTR>,
904 {
905 ::windows::imp::link ! ( "advpack.dll""system" fn LaunchINFSectionExW ( hwnd : super::super::Foundation:: HWND , hinstance : super::super::Foundation:: HINSTANCE , pszparms : :: windows::core::PCWSTR , nshow : i32 ) -> :: windows::core::HRESULT );
906 LaunchINFSectionExW(hwnd.into_param().abi(), hinstance.into_param().abi(), pszparms.into_param().abi(), nshow).ok()
907 }
908 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
909 #[cfg(feature = "Win32_Foundation")]
910 #[inline]
911 pub unsafe fn LaunchINFSectionW<P0, P1>(hwndowner: P0, hinstance: P1, pszparams: ::windows::core::PWSTR, nshow: i32) -> i32
912 where
913 P0: ::windows::core::IntoParam<super::super::Foundation::HWND>,
914 P1: ::windows::core::IntoParam<super::super::Foundation::HINSTANCE>,
915 {
916 ::windows::imp::link ! ( "advpack.dll""system" fn LaunchINFSectionW ( hwndowner : super::super::Foundation:: HWND , hinstance : super::super::Foundation:: HINSTANCE , pszparams : :: windows::core::PWSTR , nshow : i32 ) -> i32 );
917 LaunchINFSectionW(hwndowner.into_param().abi(), hinstance.into_param().abi(), ::core::mem::transmute(pszparams), nshow)
918 }
919 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
920 #[inline]
921 pub unsafe fn LocalCompact(uminfree: u32) -> usize {
922 ::windows::imp::link ! ( "kernel32.dll""system" fn LocalCompact ( uminfree : u32 ) -> usize );
923 LocalCompact(uminfree)
924 }
925 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
926 #[cfg(feature = "Win32_Foundation")]
927 #[inline]
928 pub unsafe fn LocalShrink<P0>(hmem: P0, cbnewsize: u32) -> usize
929 where
930 P0: ::windows::core::IntoParam<super::super::Foundation::HLOCAL>,
931 {
932 ::windows::imp::link ! ( "kernel32.dll""system" fn LocalShrink ( hmem : super::super::Foundation:: HLOCAL , cbnewsize : u32 ) -> usize );
933 LocalShrink(hmem.into_param().abi(), cbnewsize)
934 }
935 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
936 #[inline]
937 pub unsafe fn MulDiv(nnumber: i32, nnumerator: i32, ndenominator: i32) -> i32 {
938 ::windows::imp::link ! ( "kernel32.dll""system" fn MulDiv ( nnumber : i32 , nnumerator : i32 , ndenominator : i32 ) -> i32 );
939 MulDiv(nnumber, nnumerator, ndenominator)
940 }
941 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
942 #[cfg(feature = "Win32_Foundation")]
943 #[inline]
944 pub unsafe fn NeedReboot(dwrebootcheck: u32) -> super::super::Foundation::BOOL {
945 ::windows::imp::link ! ( "advpack.dll""system" fn NeedReboot ( dwrebootcheck : u32 ) -> super::super::Foundation:: BOOL );
946 NeedReboot(dwrebootcheck)
947 }
948 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
949 #[inline]
950 pub unsafe fn NeedRebootInit() -> u32 {
951 ::windows::imp::link ! ( "advpack.dll""system" fn NeedRebootInit ( ) -> u32 );
952 NeedRebootInit()
953 }
954 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
955 #[cfg(feature = "Win32_Foundation")]
956 #[inline]
957 pub unsafe fn NtClose<P0>(handle: P0) -> ::windows::core::Result<()>
958 where
959 P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>,
960 {
961 ::windows::imp::link ! ( "ntdll.dll""system" fn NtClose ( handle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: NTSTATUS );
962 NtClose(handle.into_param().abi()).ok()
963 }
964 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
965 #[cfg(feature = "Win32_Foundation")]
966 #[inline]
967 pub unsafe fn NtDeviceIoControlFile<P0, P1>(filehandle: P0, event: P1, apcroutine: PIO_APC_ROUTINE, apccontext: *mut ::core::ffi::c_void, iostatusblock: *mut IO_STATUS_BLOCK, iocontrolcode: u32, inputbuffer: *mut ::core::ffi::c_void, inputbufferlength: u32, outputbuffer: *mut ::core::ffi::c_void, outputbufferlength: u32) -> ::windows::core::Result<()>
968 where
969 P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>,
970 P1: ::windows::core::IntoParam<super::super::Foundation::HANDLE>,
971 {
972 ::windows::imp::link ! ( "ntdll.dll""system" fn NtDeviceIoControlFile ( filehandle : super::super::Foundation:: HANDLE , event : super::super::Foundation:: HANDLE , apcroutine : PIO_APC_ROUTINE , apccontext : *mut ::core::ffi::c_void , iostatusblock : *mut IO_STATUS_BLOCK , iocontrolcode : u32 , inputbuffer : *mut ::core::ffi::c_void , inputbufferlength : u32 , outputbuffer : *mut ::core::ffi::c_void , outputbufferlength : u32 ) -> super::super::Foundation:: NTSTATUS );
973 NtDeviceIoControlFile(filehandle.into_param().abi(), event.into_param().abi(), apcroutine, apccontext, iostatusblock, iocontrolcode, inputbuffer, inputbufferlength, outputbuffer, outputbufferlength).ok()
974 }
975 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
976 #[cfg(feature = "Win32_Foundation")]
977 #[inline]
978 pub unsafe fn NtNotifyChangeMultipleKeys<P0, P1, P2, P3>(masterkeyhandle: P0, subordinateobjects: ::core::option::Option<&[OBJECT_ATTRIBUTES]>, event: P1, apcroutine: PIO_APC_ROUTINE, apccontext: ::core::option::Option<*const ::core::ffi::c_void>, iostatusblock: *mut IO_STATUS_BLOCK, completionfilter: u32, watchtree: P2, buffer: ::core::option::Option<*mut ::core::ffi::c_void>, buffersize: u32, asynchronous: P3) -> ::windows::core::Result<()>
979 where
980 P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>,
981 P1: ::windows::core::IntoParam<super::super::Foundation::HANDLE>,
982 P2: ::windows::core::IntoParam<super::super::Foundation::BOOLEAN>,
983 P3: ::windows::core::IntoParam<super::super::Foundation::BOOLEAN>,
984 {
985 ::windows::imp::link ! ( "ntdll.dll""system" fn NtNotifyChangeMultipleKeys ( masterkeyhandle : super::super::Foundation:: HANDLE , count : u32 , subordinateobjects : *const OBJECT_ATTRIBUTES , event : super::super::Foundation:: HANDLE , apcroutine : PIO_APC_ROUTINE , apccontext : *const ::core::ffi::c_void , iostatusblock : *mut IO_STATUS_BLOCK , completionfilter : u32 , watchtree : super::super::Foundation:: BOOLEAN , buffer : *mut ::core::ffi::c_void , buffersize : u32 , asynchronous : super::super::Foundation:: BOOLEAN ) -> super::super::Foundation:: NTSTATUS );
986 NtNotifyChangeMultipleKeys(
987 masterkeyhandle.into_param().abi(),
988 subordinateobjects.as_deref().map_or(0, |slice| slice.len() as _),
989 ::core::mem::transmute(subordinateobjects.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())),
990 event.into_param().abi(),
991 apcroutine,
992 ::core::mem::transmute(apccontext.unwrap_or(::std::ptr::null())),
993 iostatusblock,
994 completionfilter,
995 watchtree.into_param().abi(),
996 ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())),
997 buffersize,
998 asynchronous.into_param().abi(),
999 )
1000 .ok()
1001 }
1002 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1003 #[cfg(feature = "Win32_Foundation")]
1004 #[inline]
1005 pub unsafe fn NtOpenFile(filehandle: *mut super::super::Foundation::HANDLE, desiredaccess: u32, objectattributes: *mut OBJECT_ATTRIBUTES, iostatusblock: *mut IO_STATUS_BLOCK, shareaccess: u32, openoptions: u32) -> ::windows::core::Result<()> {
1006 ::windows::imp::link ! ( "ntdll.dll""system" fn NtOpenFile ( filehandle : *mut super::super::Foundation:: HANDLE , desiredaccess : u32 , objectattributes : *mut OBJECT_ATTRIBUTES , iostatusblock : *mut IO_STATUS_BLOCK , shareaccess : u32 , openoptions : u32 ) -> super::super::Foundation:: NTSTATUS );
1007 NtOpenFile(filehandle, desiredaccess, objectattributes, iostatusblock, shareaccess, openoptions).ok()
1008 }
1009 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1010 #[cfg(feature = "Win32_Foundation")]
1011 #[inline]
1012 pub unsafe fn NtQueryMultipleValueKey<P0>(keyhandle: P0, valueentries: &mut [KEY_VALUE_ENTRY], valuebuffer: *mut ::core::ffi::c_void, bufferlength: *mut u32, requiredbufferlength: ::core::option::Option<*mut u32>) -> ::windows::core::Result<()>
1013 where
1014 P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>,
1015 {
1016 ::windows::imp::link ! ( "ntdll.dll""system" fn NtQueryMultipleValueKey ( keyhandle : super::super::Foundation:: HANDLE , valueentries : *mut KEY_VALUE_ENTRY , entrycount : u32 , valuebuffer : *mut ::core::ffi::c_void , bufferlength : *mut u32 , requiredbufferlength : *mut u32 ) -> super::super::Foundation:: NTSTATUS );
1017 NtQueryMultipleValueKey(keyhandle.into_param().abi(), ::core::mem::transmute(valueentries.as_ptr()), valueentries.len() as _, valuebuffer, bufferlength, ::core::mem::transmute(requiredbufferlength.unwrap_or(::std::ptr::null_mut()))).ok()
1018 }
1019 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1020 #[cfg(feature = "Win32_Foundation")]
1021 #[inline]
1022 pub unsafe fn NtQueryObject<P0>(handle: P0, objectinformationclass: OBJECT_INFORMATION_CLASS, objectinformation: ::core::option::Option<*mut ::core::ffi::c_void>, objectinformationlength: u32, returnlength: ::core::option::Option<*mut u32>) -> ::windows::core::Result<()>
1023 where
1024 P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>,
1025 {
1026 ::windows::imp::link ! ( "ntdll.dll""system" fn NtQueryObject ( handle : super::super::Foundation:: HANDLE , objectinformationclass : OBJECT_INFORMATION_CLASS , objectinformation : *mut ::core::ffi::c_void , objectinformationlength : u32 , returnlength : *mut u32 ) -> super::super::Foundation:: NTSTATUS );
1027 NtQueryObject(handle.into_param().abi(), objectinformationclass, ::core::mem::transmute(objectinformation.unwrap_or(::std::ptr::null_mut())), objectinformationlength, ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut()))).ok()
1028 }
1029 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1030 #[cfg(feature = "Win32_Foundation")]
1031 #[inline]
1032 pub unsafe fn NtQuerySystemInformation(systeminformationclass: SYSTEM_INFORMATION_CLASS, systeminformation: *mut ::core::ffi::c_void, systeminformationlength: u32, returnlength: *mut u32) -> ::windows::core::Result<()> {
1033 ::windows::imp::link ! ( "ntdll.dll""system" fn NtQuerySystemInformation ( systeminformationclass : SYSTEM_INFORMATION_CLASS , systeminformation : *mut ::core::ffi::c_void , systeminformationlength : u32 , returnlength : *mut u32 ) -> super::super::Foundation:: NTSTATUS );
1034 NtQuerySystemInformation(systeminformationclass, systeminformation, systeminformationlength, returnlength).ok()
1035 }
1036 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1037 #[cfg(feature = "Win32_Foundation")]
1038 #[inline]
1039 pub unsafe fn NtQuerySystemTime(systemtime: *mut i64) -> ::windows::core::Result<()> {
1040 ::windows::imp::link ! ( "ntdll.dll""system" fn NtQuerySystemTime ( systemtime : *mut i64 ) -> super::super::Foundation:: NTSTATUS );
1041 NtQuerySystemTime(systemtime).ok()
1042 }
1043 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1044 #[cfg(feature = "Win32_Foundation")]
1045 #[inline]
1046 pub unsafe fn NtQueryTimerResolution(maximumtime: *mut u32, minimumtime: *mut u32, currenttime: *mut u32) -> ::windows::core::Result<()> {
1047 ::windows::imp::link ! ( "ntdll.dll""system" fn NtQueryTimerResolution ( maximumtime : *mut u32 , minimumtime : *mut u32 , currenttime : *mut u32 ) -> super::super::Foundation:: NTSTATUS );
1048 NtQueryTimerResolution(maximumtime, minimumtime, currenttime).ok()
1049 }
1050 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1051 #[cfg(feature = "Win32_Foundation")]
1052 #[inline]
1053 pub unsafe fn NtRenameKey<P0>(keyhandle: P0, newname: *const super::super::Foundation::UNICODE_STRING) -> ::windows::core::Result<()>
1054 where
1055 P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>,
1056 {
1057 ::windows::imp::link ! ( "ntdll.dll""system" fn NtRenameKey ( keyhandle : super::super::Foundation:: HANDLE , newname : *const super::super::Foundation:: UNICODE_STRING ) -> super::super::Foundation:: NTSTATUS );
1058 NtRenameKey(keyhandle.into_param().abi(), newname).ok()
1059 }
1060 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1061 #[cfg(feature = "Win32_Foundation")]
1062 #[inline]
1063 pub unsafe fn NtSetInformationKey<P0>(keyhandle: P0, keysetinformationclass: KEY_SET_INFORMATION_CLASS, keysetinformation: *const ::core::ffi::c_void, keysetinformationlength: u32) -> ::windows::core::Result<()>
1064 where
1065 P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>,
1066 {
1067 ::windows::imp::link ! ( "ntdll.dll""system" fn NtSetInformationKey ( keyhandle : super::super::Foundation:: HANDLE , keysetinformationclass : KEY_SET_INFORMATION_CLASS , keysetinformation : *const ::core::ffi::c_void , keysetinformationlength : u32 ) -> super::super::Foundation:: NTSTATUS );
1068 NtSetInformationKey(keyhandle.into_param().abi(), keysetinformationclass, keysetinformation, keysetinformationlength).ok()
1069 }
1070 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1071 #[cfg(feature = "Win32_Foundation")]
1072 #[inline]
1073 pub unsafe fn NtWaitForSingleObject<P0, P1>(handle: P0, alertable: P1, timeout: *mut i64) -> ::windows::core::Result<()>
1074 where
1075 P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>,
1076 P1: ::windows::core::IntoParam<super::super::Foundation::BOOLEAN>,
1077 {
1078 ::windows::imp::link ! ( "ntdll.dll""system" fn NtWaitForSingleObject ( handle : super::super::Foundation:: HANDLE , alertable : super::super::Foundation:: BOOLEAN , timeout : *mut i64 ) -> super::super::Foundation:: NTSTATUS );
1079 NtWaitForSingleObject(handle.into_param().abi(), alertable.into_param().abi(), timeout).ok()
1080 }
1081 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
1082 #[inline]
1083 pub unsafe fn OpenINFEngineA<P0, P1>(pszinffilename: P0, pszinstallsection: P1, dwflags: u32, phinf: *mut *mut ::core::ffi::c_void, pvreserved: *mut ::core::ffi::c_void) -> ::windows::core::Result<()>
1084 where
1085 P0: ::windows::core::IntoParam<::windows::core::PCSTR>,
1086 P1: ::windows::core::IntoParam<::windows::core::PCSTR>,
1087 {
1088 ::windows::imp::link ! ( "advpack.dll""system" fn OpenINFEngineA ( pszinffilename : :: windows::core::PCSTR , pszinstallsection : :: windows::core::PCSTR , dwflags : u32 , phinf : *mut *mut ::core::ffi::c_void , pvreserved : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT );
1089 OpenINFEngineA(pszinffilename.into_param().abi(), pszinstallsection.into_param().abi(), dwflags, phinf, pvreserved).ok()
1090 }
1091 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
1092 #[inline]
1093 pub unsafe fn OpenINFEngineW<P0, P1>(pszinffilename: P0, pszinstallsection: P1, dwflags: u32, phinf: *mut *mut ::core::ffi::c_void, pvreserved: *mut ::core::ffi::c_void) -> ::windows::core::Result<()>
1094 where
1095 P0: ::windows::core::IntoParam<::windows::core::PCWSTR>,
1096 P1: ::windows::core::IntoParam<::windows::core::PCWSTR>,
1097 {
1098 ::windows::imp::link ! ( "advpack.dll""system" fn OpenINFEngineW ( pszinffilename : :: windows::core::PCWSTR , pszinstallsection : :: windows::core::PCWSTR , dwflags : u32 , phinf : *mut *mut ::core::ffi::c_void , pvreserved : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT );
1099 OpenINFEngineW(pszinffilename.into_param().abi(), pszinstallsection.into_param().abi(), dwflags, phinf, pvreserved).ok()
1100 }
1101 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1102 #[cfg(feature = "Win32_Foundation")]
1103 #[inline]
1104 pub unsafe fn OpenMutexA<P0, P1>(dwdesiredaccess: u32, binherithandle: P0, lpname: P1) -> super::super::Foundation::HANDLE
1105 where
1106 P0: ::windows::core::IntoParam<super::super::Foundation::BOOL>,
1107 P1: ::windows::core::IntoParam<::windows::core::PCSTR>,
1108 {
1109 ::windows::imp::link ! ( "kernel32.dll""system" fn OpenMutexA ( dwdesiredaccess : u32 , binherithandle : super::super::Foundation:: BOOL , lpname : :: windows::core::PCSTR ) -> super::super::Foundation:: HANDLE );
1110 OpenMutexA(dwdesiredaccess, binherithandle.into_param().abi(), lpname.into_param().abi())
1111 }
1112 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1113 #[cfg(feature = "Win32_Foundation")]
1114 #[inline]
1115 pub unsafe fn OpenSemaphoreA<P0, P1>(dwdesiredaccess: u32, binherithandle: P0, lpname: P1) -> super::super::Foundation::HANDLE
1116 where
1117 P0: ::windows::core::IntoParam<super::super::Foundation::BOOL>,
1118 P1: ::windows::core::IntoParam<::windows::core::PCSTR>,
1119 {
1120 ::windows::imp::link ! ( "kernel32.dll""system" fn OpenSemaphoreA ( dwdesiredaccess : u32 , binherithandle : super::super::Foundation:: BOOL , lpname : :: windows::core::PCSTR ) -> super::super::Foundation:: HANDLE );
1121 OpenSemaphoreA(dwdesiredaccess, binherithandle.into_param().abi(), lpname.into_param().abi())
1122 }
1123 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1124 #[cfg(feature = "Win32_Foundation")]
1125 #[inline]
1126 pub unsafe fn OpenWaitableTimerA<P0, P1>(dwdesiredaccess: u32, binherithandle: P0, lptimername: P1) -> super::super::Foundation::HANDLE
1127 where
1128 P0: ::windows::core::IntoParam<super::super::Foundation::BOOL>,
1129 P1: ::windows::core::IntoParam<::windows::core::PCSTR>,
1130 {
1131 ::windows::imp::link ! ( "kernel32.dll""system" fn OpenWaitableTimerA ( dwdesiredaccess : u32 , binherithandle : super::super::Foundation:: BOOL , lptimername : :: windows::core::PCSTR ) -> super::super::Foundation:: HANDLE );
1132 OpenWaitableTimerA(dwdesiredaccess, binherithandle.into_param().abi(), lptimername.into_param().abi())
1133 }
1134 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
1135 #[inline]
1136 pub unsafe fn QueryAuxiliaryCounterFrequency() -> ::windows::core::Result<u64> {
1137 ::windows::imp::link ! ( "api-ms-win-core-realtime-l1-1-2.dll""system" fn QueryAuxiliaryCounterFrequency ( lpauxiliarycounterfrequency : *mut u64 ) -> :: windows::core::HRESULT );
1138 let mut result__ = ::windows::core::zeroed::<u64>();
1139 QueryAuxiliaryCounterFrequency(&mut result__).from_abi(result__)
1140 }
1141 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1142 #[cfg(feature = "Win32_Foundation")]
1143 #[inline]
1144 pub unsafe fn QueryIdleProcessorCycleTime(bufferlength: *mut u32, processoridlecycletime: ::core::option::Option<*mut u64>) -> super::super::Foundation::BOOL {
1145 ::windows::imp::link ! ( "kernel32.dll""system" fn QueryIdleProcessorCycleTime ( bufferlength : *mut u32 , processoridlecycletime : *mut u64 ) -> super::super::Foundation:: BOOL );
1146 QueryIdleProcessorCycleTime(bufferlength, ::core::mem::transmute(processoridlecycletime.unwrap_or(::std::ptr::null_mut())))
1147 }
1148 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1149 #[cfg(feature = "Win32_Foundation")]
1150 #[inline]
1151 pub unsafe fn QueryIdleProcessorCycleTimeEx(group: u16, bufferlength: *mut u32, processoridlecycletime: ::core::option::Option<*mut u64>) -> super::super::Foundation::BOOL {
1152 ::windows::imp::link ! ( "kernel32.dll""system" fn QueryIdleProcessorCycleTimeEx ( group : u16 , bufferlength : *mut u32 , processoridlecycletime : *mut u64 ) -> super::super::Foundation:: BOOL );
1153 QueryIdleProcessorCycleTimeEx(group, bufferlength, ::core::mem::transmute(processoridlecycletime.unwrap_or(::std::ptr::null_mut())))
1154 }
1155 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
1156 #[inline]
1157 pub unsafe fn QueryInterruptTime() -> u64 {
1158 ::windows::imp::link ! ( "api-ms-win-core-realtime-l1-1-1.dll""system" fn QueryInterruptTime ( lpinterrupttime : *mut u64 ) -> ( ) );
1159 let mut result__ = ::windows::core::zeroed::<u64>();
1160 QueryInterruptTime(&mut result__);
1161 ::std::mem::transmute(result__)
1162 }
1163 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
1164 #[inline]
1165 pub unsafe fn QueryInterruptTimePrecise() -> u64 {
1166 ::windows::imp::link ! ( "api-ms-win-core-realtime-l1-1-1.dll""system" fn QueryInterruptTimePrecise ( lpinterrupttimeprecise : *mut u64 ) -> ( ) );
1167 let mut result__ = ::windows::core::zeroed::<u64>();
1168 QueryInterruptTimePrecise(&mut result__);
1169 ::std::mem::transmute(result__)
1170 }
1171 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1172 #[cfg(feature = "Win32_Foundation")]
1173 #[inline]
1174 pub unsafe fn QueryProcessCycleTime<P0>(processhandle: P0, cycletime: *mut u64) -> super::super::Foundation::BOOL
1175 where
1176 P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>,
1177 {
1178 ::windows::imp::link ! ( "kernel32.dll""system" fn QueryProcessCycleTime ( processhandle : super::super::Foundation:: HANDLE , cycletime : *mut u64 ) -> super::super::Foundation:: BOOL );
1179 QueryProcessCycleTime(processhandle.into_param().abi(), cycletime)
1180 }
1181 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1182 #[cfg(feature = "Win32_Foundation")]
1183 #[inline]
1184 pub unsafe fn QueryThreadCycleTime<P0>(threadhandle: P0, cycletime: *mut u64) -> super::super::Foundation::BOOL
1185 where
1186 P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>,
1187 {
1188 ::windows::imp::link ! ( "kernel32.dll""system" fn QueryThreadCycleTime ( threadhandle : super::super::Foundation:: HANDLE , cycletime : *mut u64 ) -> super::super::Foundation:: BOOL );
1189 QueryThreadCycleTime(threadhandle.into_param().abi(), cycletime)
1190 }
1191 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1192 #[cfg(feature = "Win32_Foundation")]
1193 #[inline]
1194 pub unsafe fn QueryUnbiasedInterruptTime(unbiasedtime: *mut u64) -> super::super::Foundation::BOOL {
1195 ::windows::imp::link ! ( "kernel32.dll""system" fn QueryUnbiasedInterruptTime ( unbiasedtime : *mut u64 ) -> super::super::Foundation:: BOOL );
1196 QueryUnbiasedInterruptTime(unbiasedtime)
1197 }
1198 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
1199 #[inline]
1200 pub unsafe fn QueryUnbiasedInterruptTimePrecise() -> u64 {
1201 ::windows::imp::link ! ( "api-ms-win-core-realtime-l1-1-1.dll""system" fn QueryUnbiasedInterruptTimePrecise ( lpunbiasedinterrupttimeprecise : *mut u64 ) -> ( ) );
1202 let mut result__ = ::windows::core::zeroed::<u64>();
1203 QueryUnbiasedInterruptTimePrecise(&mut result__);
1204 ::std::mem::transmute(result__)
1205 }
1206 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
1207 #[inline]
1208 pub unsafe fn RaiseCustomSystemEventTrigger(customsystemeventtriggerconfig: *const CUSTOM_SYSTEM_EVENT_TRIGGER_CONFIG) -> u32 {
1209 ::windows::imp::link ! ( "api-ms-win-core-backgroundtask-l1-1-0.dll""system" fn RaiseCustomSystemEventTrigger ( customsystemeventtriggerconfig : *const CUSTOM_SYSTEM_EVENT_TRIGGER_CONFIG ) -> u32 );
1210 RaiseCustomSystemEventTrigger(customsystemeventtriggerconfig)
1211 }
1212 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1213 #[cfg(feature = "Win32_Foundation")]
1214 #[inline]
1215 pub unsafe fn RebootCheckOnInstallA<P0, P1, P2>(hwnd: P0, pszinf: P1, pszsec: P2, dwreserved: u32) -> ::windows::core::Result<()>
1216 where
1217 P0: ::windows::core::IntoParam<super::super::Foundation::HWND>,
1218 P1: ::windows::core::IntoParam<::windows::core::PCSTR>,
1219 P2: ::windows::core::IntoParam<::windows::core::PCSTR>,
1220 {
1221 ::windows::imp::link ! ( "advpack.dll""system" fn RebootCheckOnInstallA ( hwnd : super::super::Foundation:: HWND , pszinf : :: windows::core::PCSTR , pszsec : :: windows::core::PCSTR , dwreserved : u32 ) -> :: windows::core::HRESULT );
1222 RebootCheckOnInstallA(hwnd.into_param().abi(), pszinf.into_param().abi(), pszsec.into_param().abi(), dwreserved).ok()
1223 }
1224 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1225 #[cfg(feature = "Win32_Foundation")]
1226 #[inline]
1227 pub unsafe fn RebootCheckOnInstallW<P0, P1, P2>(hwnd: P0, pszinf: P1, pszsec: P2, dwreserved: u32) -> ::windows::core::Result<()>
1228 where
1229 P0: ::windows::core::IntoParam<super::super::Foundation::HWND>,
1230 P1: ::windows::core::IntoParam<::windows::core::PCWSTR>,
1231 P2: ::windows::core::IntoParam<::windows::core::PCWSTR>,
1232 {
1233 ::windows::imp::link ! ( "advpack.dll""system" fn RebootCheckOnInstallW ( hwnd : super::super::Foundation:: HWND , pszinf : :: windows::core::PCWSTR , pszsec : :: windows::core::PCWSTR , dwreserved : u32 ) -> :: windows::core::HRESULT );
1234 RebootCheckOnInstallW(hwnd.into_param().abi(), pszinf.into_param().abi(), pszsec.into_param().abi(), dwreserved).ok()
1235 }
1236 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
1237 #[inline]
1238 pub unsafe fn RecordFeatureError(featureid: u32, error: *const FEATURE_ERROR) {
1239 ::windows::imp::link ! ( "api-ms-win-core-featurestaging-l1-1-0.dll""system" fn RecordFeatureError ( featureid : u32 , error : *const FEATURE_ERROR ) -> ( ) );
1240 RecordFeatureError(featureid, error)
1241 }
1242 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
1243 #[inline]
1244 pub unsafe fn RecordFeatureUsage<P0>(featureid: u32, kind: u32, addend: u32, originname: P0)
1245 where
1246 P0: ::windows::core::IntoParam<::windows::core::PCSTR>,
1247 {
1248 ::windows::imp::link ! ( "api-ms-win-core-featurestaging-l1-1-0.dll""system" fn RecordFeatureUsage ( featureid : u32 , kind : u32 , addend : u32 , originname : :: windows::core::PCSTR ) -> ( ) );
1249 RecordFeatureUsage(featureid, kind, addend, originname.into_param().abi())
1250 }
1251 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1252 #[cfg(feature = "Win32_Foundation")]
1253 #[inline]
1254 pub unsafe fn RegInstallA<P0, P1>(hmod: P0, pszsection: P1, psttable: *const STRTABLEA) -> ::windows::core::Result<()>
1255 where
1256 P0: ::windows::core::IntoParam<super::super::Foundation::HINSTANCE>,
1257 P1: ::windows::core::IntoParam<::windows::core::PCSTR>,
1258 {
1259 ::windows::imp::link ! ( "advpack.dll""system" fn RegInstallA ( hmod : super::super::Foundation:: HINSTANCE , pszsection : :: windows::core::PCSTR , psttable : *const STRTABLEA ) -> :: windows::core::HRESULT );
1260 RegInstallA(hmod.into_param().abi(), pszsection.into_param().abi(), psttable).ok()
1261 }
1262 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1263 #[cfg(feature = "Win32_Foundation")]
1264 #[inline]
1265 pub unsafe fn RegInstallW<P0, P1>(hmod: P0, pszsection: P1, psttable: *const STRTABLEW) -> ::windows::core::Result<()>
1266 where
1267 P0: ::windows::core::IntoParam<super::super::Foundation::HINSTANCE>,
1268 P1: ::windows::core::IntoParam<::windows::core::PCWSTR>,
1269 {
1270 ::windows::imp::link ! ( "advpack.dll""system" fn RegInstallW ( hmod : super::super::Foundation:: HINSTANCE , pszsection : :: windows::core::PCWSTR , psttable : *const STRTABLEW ) -> :: windows::core::HRESULT );
1271 RegInstallW(hmod.into_param().abi(), pszsection.into_param().abi(), psttable).ok()
1272 }
1273 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"]
1274 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))]
1275 #[inline]
1276 pub unsafe fn RegRestoreAllA<P0, P1, P2>(hwnd: P0, psztitlestring: P1, hkbckupkey: P2) -> ::windows::core::Result<()>
1277 where
1278 P0: ::windows::core::IntoParam<super::super::Foundation::HWND>,
1279 P1: ::windows::core::IntoParam<::windows::core::PCSTR>,
1280 P2: ::windows::core::IntoParam<super::Registry::HKEY>,
1281 {
1282 ::windows::imp::link ! ( "advpack.dll""system" fn RegRestoreAllA ( hwnd : super::super::Foundation:: HWND , psztitlestring : :: windows::core::PCSTR , hkbckupkey : super::Registry:: HKEY ) -> :: windows::core::HRESULT );
1283 RegRestoreAllA(hwnd.into_param().abi(), psztitlestring.into_param().abi(), hkbckupkey.into_param().abi()).ok()
1284 }
1285 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"]
1286 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))]
1287 #[inline]
1288 pub unsafe fn RegRestoreAllW<P0, P1, P2>(hwnd: P0, psztitlestring: P1, hkbckupkey: P2) -> ::windows::core::Result<()>
1289 where
1290 P0: ::windows::core::IntoParam<super::super::Foundation::HWND>,
1291 P1: ::windows::core::IntoParam<::windows::core::PCWSTR>,
1292 P2: ::windows::core::IntoParam<super::Registry::HKEY>,
1293 {
1294 ::windows::imp::link ! ( "advpack.dll""system" fn RegRestoreAllW ( hwnd : super::super::Foundation:: HWND , psztitlestring : :: windows::core::PCWSTR , hkbckupkey : super::Registry:: HKEY ) -> :: windows::core::HRESULT );
1295 RegRestoreAllW(hwnd.into_param().abi(), psztitlestring.into_param().abi(), hkbckupkey.into_param().abi()).ok()
1296 }
1297 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"]
1298 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))]
1299 #[inline]
1300 pub unsafe fn RegSaveRestoreA<P0, P1, P2, P3, P4, P5>(hwnd: P0, psztitlestring: P1, hkbckupkey: P2, pcszrootkey: P3, pcszsubkey: P4, pcszvaluename: P5, dwflags: u32) -> ::windows::core::Result<()>
1301 where
1302 P0: ::windows::core::IntoParam<super::super::Foundation::HWND>,
1303 P1: ::windows::core::IntoParam<::windows::core::PCSTR>,
1304 P2: ::windows::core::IntoParam<super::Registry::HKEY>,
1305 P3: ::windows::core::IntoParam<::windows::core::PCSTR>,
1306 P4: ::windows::core::IntoParam<::windows::core::PCSTR>,
1307 P5: ::windows::core::IntoParam<::windows::core::PCSTR>,
1308 {
1309 ::windows::imp::link ! ( "advpack.dll""system" fn RegSaveRestoreA ( hwnd : super::super::Foundation:: HWND , psztitlestring : :: windows::core::PCSTR , hkbckupkey : super::Registry:: HKEY , pcszrootkey : :: windows::core::PCSTR , pcszsubkey : :: windows::core::PCSTR , pcszvaluename : :: windows::core::PCSTR , dwflags : u32 ) -> :: windows::core::HRESULT );
1310 RegSaveRestoreA(hwnd.into_param().abi(), psztitlestring.into_param().abi(), hkbckupkey.into_param().abi(), pcszrootkey.into_param().abi(), pcszsubkey.into_param().abi(), pcszvaluename.into_param().abi(), dwflags).ok()
1311 }
1312 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"]
1313 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))]
1314 #[inline]
1315 pub unsafe fn RegSaveRestoreOnINFA<P0, P1, P2, P3, P4, P5>(hwnd: P0, psztitle: P1, pszinf: P2, pszsection: P3, hhklmbackkey: P4, hhkcubackkey: P5, dwflags: u32) -> ::windows::core::Result<()>
1316 where
1317 P0: ::windows::core::IntoParam<super::super::Foundation::HWND>,
1318 P1: ::windows::core::IntoParam<::windows::core::PCSTR>,
1319 P2: ::windows::core::IntoParam<::windows::core::PCSTR>,
1320 P3: ::windows::core::IntoParam<::windows::core::PCSTR>,
1321 P4: ::windows::core::IntoParam<super::Registry::HKEY>,
1322 P5: ::windows::core::IntoParam<super::Registry::HKEY>,
1323 {
1324 ::windows::imp::link ! ( "advpack.dll""system" fn RegSaveRestoreOnINFA ( hwnd : super::super::Foundation:: HWND , psztitle : :: windows::core::PCSTR , pszinf : :: windows::core::PCSTR , pszsection : :: windows::core::PCSTR , hhklmbackkey : super::Registry:: HKEY , hhkcubackkey : super::Registry:: HKEY , dwflags : u32 ) -> :: windows::core::HRESULT );
1325 RegSaveRestoreOnINFA(hwnd.into_param().abi(), psztitle.into_param().abi(), pszinf.into_param().abi(), pszsection.into_param().abi(), hhklmbackkey.into_param().abi(), hhkcubackkey.into_param().abi(), dwflags).ok()
1326 }
1327 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"]
1328 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))]
1329 #[inline]
1330 pub unsafe fn RegSaveRestoreOnINFW<P0, P1, P2, P3, P4, P5>(hwnd: P0, psztitle: P1, pszinf: P2, pszsection: P3, hhklmbackkey: P4, hhkcubackkey: P5, dwflags: u32) -> ::windows::core::Result<()>
1331 where
1332 P0: ::windows::core::IntoParam<super::super::Foundation::HWND>,
1333 P1: ::windows::core::IntoParam<::windows::core::PCWSTR>,
1334 P2: ::windows::core::IntoParam<::windows::core::PCWSTR>,
1335 P3: ::windows::core::IntoParam<::windows::core::PCWSTR>,
1336 P4: ::windows::core::IntoParam<super::Registry::HKEY>,
1337 P5: ::windows::core::IntoParam<super::Registry::HKEY>,
1338 {
1339 ::windows::imp::link ! ( "advpack.dll""system" fn RegSaveRestoreOnINFW ( hwnd : super::super::Foundation:: HWND , psztitle : :: windows::core::PCWSTR , pszinf : :: windows::core::PCWSTR , pszsection : :: windows::core::PCWSTR , hhklmbackkey : super::Registry:: HKEY , hhkcubackkey : super::Registry:: HKEY , dwflags : u32 ) -> :: windows::core::HRESULT );
1340 RegSaveRestoreOnINFW(hwnd.into_param().abi(), psztitle.into_param().abi(), pszinf.into_param().abi(), pszsection.into_param().abi(), hhklmbackkey.into_param().abi(), hhkcubackkey.into_param().abi(), dwflags).ok()
1341 }
1342 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"]
1343 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))]
1344 #[inline]
1345 pub unsafe fn RegSaveRestoreW<P0, P1, P2, P3, P4, P5>(hwnd: P0, psztitlestring: P1, hkbckupkey: P2, pcszrootkey: P3, pcszsubkey: P4, pcszvaluename: P5, dwflags: u32) -> ::windows::core::Result<()>
1346 where
1347 P0: ::windows::core::IntoParam<super::super::Foundation::HWND>,
1348 P1: ::windows::core::IntoParam<::windows::core::PCWSTR>,
1349 P2: ::windows::core::IntoParam<super::Registry::HKEY>,
1350 P3: ::windows::core::IntoParam<::windows::core::PCWSTR>,
1351 P4: ::windows::core::IntoParam<::windows::core::PCWSTR>,
1352 P5: ::windows::core::IntoParam<::windows::core::PCWSTR>,
1353 {
1354 ::windows::imp::link ! ( "advpack.dll""system" fn RegSaveRestoreW ( hwnd : super::super::Foundation:: HWND , psztitlestring : :: windows::core::PCWSTR , hkbckupkey : super::Registry:: HKEY , pcszrootkey : :: windows::core::PCWSTR , pcszsubkey : :: windows::core::PCWSTR , pcszvaluename : :: windows::core::PCWSTR , dwflags : u32 ) -> :: windows::core::HRESULT );
1355 RegSaveRestoreW(hwnd.into_param().abi(), psztitlestring.into_param().abi(), hkbckupkey.into_param().abi(), pcszrootkey.into_param().abi(), pcszsubkey.into_param().abi(), pcszvaluename.into_param().abi(), dwflags).ok()
1356 }
1357 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1358 #[cfg(feature = "Win32_Foundation")]
1359 #[inline]
1360 pub unsafe fn ReplacePartitionUnit<P0, P1>(targetpartition: P0, sparepartition: P1, flags: u32) -> super::super::Foundation::BOOL
1361 where
1362 P0: ::windows::core::IntoParam<::windows::core::PCWSTR>,
1363 P1: ::windows::core::IntoParam<::windows::core::PCWSTR>,
1364 {
1365 ::windows::imp::link ! ( "kernel32.dll""system" fn ReplacePartitionUnit ( targetpartition : :: windows::core::PCWSTR , sparepartition : :: windows::core::PCWSTR , flags : u32 ) -> super::super::Foundation:: BOOL );
1366 ReplacePartitionUnit(targetpartition.into_param().abi(), sparepartition.into_param().abi(), flags)
1367 }
1368 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1369 #[cfg(feature = "Win32_Foundation")]
1370 #[inline]
1371 pub unsafe fn RequestDeviceWakeup<P0>(hdevice: P0) -> super::super::Foundation::BOOL
1372 where
1373 P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>,
1374 {
1375 ::windows::imp::link ! ( "kernel32.dll""system" fn RequestDeviceWakeup ( hdevice : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL );
1376 RequestDeviceWakeup(hdevice.into_param().abi())
1377 }
1378 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
1379 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
1380 #[inline]
1381 pub unsafe fn RtlAnsiStringToUnicodeString<P0>(destinationstring: *mut super::super::Foundation::UNICODE_STRING, sourcestring: *mut super::Kernel::STRING, allocatedestinationstring: P0) -> ::windows::core::Result<()>
1382 where
1383 P0: ::windows::core::IntoParam<super::super::Foundation::BOOLEAN>,
1384 {
1385 ::windows::imp::link ! ( "ntdll.dll""system" fn RtlAnsiStringToUnicodeString ( destinationstring : *mut super::super::Foundation:: UNICODE_STRING , sourcestring : *mut super::Kernel:: STRING , allocatedestinationstring : super::super::Foundation:: BOOLEAN ) -> super::super::Foundation:: NTSTATUS );
1386 RtlAnsiStringToUnicodeString(destinationstring, sourcestring, allocatedestinationstring.into_param().abi()).ok()
1387 }
1388 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1389 #[cfg(feature = "Win32_Foundation")]
1390 #[inline]
1391 pub unsafe fn RtlCharToInteger(string: *mut i8, base: u32, value: *mut u32) -> ::windows::core::Result<()> {
1392 ::windows::imp::link ! ( "ntdll.dll""system" fn RtlCharToInteger ( string : *mut i8 , base : u32 , value : *mut u32 ) -> super::super::Foundation:: NTSTATUS );
1393 RtlCharToInteger(string, base, value).ok()
1394 }
1395 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_System_Kernel\"`*"]
1396 #[cfg(feature = "Win32_System_Kernel")]
1397 #[inline]
1398 pub unsafe fn RtlFreeAnsiString(ansistring: *mut super::Kernel::STRING) {
1399 ::windows::imp::link ! ( "ntdll.dll""system" fn RtlFreeAnsiString ( ansistring : *mut super::Kernel:: STRING ) -> ( ) );
1400 RtlFreeAnsiString(ansistring)
1401 }
1402 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_System_Kernel\"`*"]
1403 #[cfg(feature = "Win32_System_Kernel")]
1404 #[inline]
1405 pub unsafe fn RtlFreeOemString(oemstring: *mut super::Kernel::STRING) {
1406 ::windows::imp::link ! ( "ntdll.dll""system" fn RtlFreeOemString ( oemstring : *mut super::Kernel:: STRING ) -> ( ) );
1407 RtlFreeOemString(oemstring)
1408 }
1409 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1410 #[cfg(feature = "Win32_Foundation")]
1411 #[inline]
1412 pub unsafe fn RtlFreeUnicodeString(unicodestring: *mut super::super::Foundation::UNICODE_STRING) {
1413 ::windows::imp::link ! ( "ntdll.dll""system" fn RtlFreeUnicodeString ( unicodestring : *mut super::super::Foundation:: UNICODE_STRING ) -> ( ) );
1414 RtlFreeUnicodeString(unicodestring)
1415 }
1416 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
1417 #[inline]
1418 pub unsafe fn RtlGetReturnAddressHijackTarget() -> usize {
1419 ::windows::imp::link ! ( "ntdll.dll""system" fn RtlGetReturnAddressHijackTarget ( ) -> usize );
1420 RtlGetReturnAddressHijackTarget()
1421 }
1422 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_System_Kernel\"`*"]
1423 #[cfg(feature = "Win32_System_Kernel")]
1424 #[inline]
1425 pub unsafe fn RtlInitAnsiString(destinationstring: *mut super::Kernel::STRING, sourcestring: *mut i8) {
1426 ::windows::imp::link ! ( "ntdll.dll""system" fn RtlInitAnsiString ( destinationstring : *mut super::Kernel:: STRING , sourcestring : *mut i8 ) -> ( ) );
1427 RtlInitAnsiString(destinationstring, sourcestring)
1428 }
1429 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
1430 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
1431 #[inline]
1432 pub unsafe fn RtlInitAnsiStringEx(destinationstring: *mut super::Kernel::STRING, sourcestring: *mut i8) -> ::windows::core::Result<()> {
1433 ::windows::imp::link ! ( "ntdll.dll""system" fn RtlInitAnsiStringEx ( destinationstring : *mut super::Kernel:: STRING , sourcestring : *mut i8 ) -> super::super::Foundation:: NTSTATUS );
1434 RtlInitAnsiStringEx(destinationstring, sourcestring).ok()
1435 }
1436 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_System_Kernel\"`*"]
1437 #[cfg(feature = "Win32_System_Kernel")]
1438 #[inline]
1439 pub unsafe fn RtlInitString(destinationstring: *mut super::Kernel::STRING, sourcestring: *mut i8) {
1440 ::windows::imp::link ! ( "ntdll.dll""system" fn RtlInitString ( destinationstring : *mut super::Kernel:: STRING , sourcestring : *mut i8 ) -> ( ) );
1441 RtlInitString(destinationstring, sourcestring)
1442 }
1443 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
1444 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
1445 #[inline]
1446 pub unsafe fn RtlInitStringEx(destinationstring: *mut super::Kernel::STRING, sourcestring: *mut i8) -> ::windows::core::Result<()> {
1447 ::windows::imp::link ! ( "ntdll.dll""system" fn RtlInitStringEx ( destinationstring : *mut super::Kernel:: STRING , sourcestring : *mut i8 ) -> super::super::Foundation:: NTSTATUS );
1448 RtlInitStringEx(destinationstring, sourcestring).ok()
1449 }
1450 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1451 #[cfg(feature = "Win32_Foundation")]
1452 #[inline]
1453 pub unsafe fn RtlInitUnicodeString<P0>(destinationstring: *mut super::super::Foundation::UNICODE_STRING, sourcestring: P0)
1454 where
1455 P0: ::windows::core::IntoParam<::windows::core::PCWSTR>,
1456 {
1457 ::windows::imp::link ! ( "ntdll.dll""system" fn RtlInitUnicodeString ( destinationstring : *mut super::super::Foundation:: UNICODE_STRING , sourcestring : :: windows::core::PCWSTR ) -> ( ) );
1458 RtlInitUnicodeString(destinationstring, sourcestring.into_param().abi())
1459 }
1460 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
1461 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
1462 #[inline]
1463 pub unsafe fn RtlIsNameLegalDOS8Dot3(name: *mut super::super::Foundation::UNICODE_STRING, oemname: *mut super::Kernel::STRING, namecontainsspaces: *mut super::super::Foundation::BOOLEAN) -> super::super::Foundation::BOOLEAN {
1464 ::windows::imp::link ! ( "ntdll.dll""system" fn RtlIsNameLegalDOS8Dot3 ( name : *mut super::super::Foundation:: UNICODE_STRING , oemname : *mut super::Kernel:: STRING , namecontainsspaces : *mut super::super::Foundation:: BOOLEAN ) -> super::super::Foundation:: BOOLEAN );
1465 RtlIsNameLegalDOS8Dot3(name, oemname, namecontainsspaces)
1466 }
1467 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1468 #[cfg(feature = "Win32_Foundation")]
1469 #[inline]
1470 pub unsafe fn RtlLocalTimeToSystemTime(localtime: *mut i64, systemtime: *mut i64) -> ::windows::core::Result<()> {
1471 ::windows::imp::link ! ( "ntdll.dll""system" fn RtlLocalTimeToSystemTime ( localtime : *mut i64 , systemtime : *mut i64 ) -> super::super::Foundation:: NTSTATUS );
1472 RtlLocalTimeToSystemTime(localtime, systemtime).ok()
1473 }
1474 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
1475 #[inline]
1476 pub unsafe fn RtlRaiseCustomSystemEventTrigger(triggerconfig: *const CUSTOM_SYSTEM_EVENT_TRIGGER_CONFIG) -> u32 {
1477 ::windows::imp::link ! ( "ntdll.dll""system" fn RtlRaiseCustomSystemEventTrigger ( triggerconfig : *const CUSTOM_SYSTEM_EVENT_TRIGGER_CONFIG ) -> u32 );
1478 RtlRaiseCustomSystemEventTrigger(triggerconfig)
1479 }
1480 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1481 #[cfg(feature = "Win32_Foundation")]
1482 #[inline]
1483 pub unsafe fn RtlTimeToSecondsSince1970(time: *mut i64, elapsedseconds: *mut u32) -> super::super::Foundation::BOOLEAN {
1484 ::windows::imp::link ! ( "ntdll.dll""system" fn RtlTimeToSecondsSince1970 ( time : *mut i64 , elapsedseconds : *mut u32 ) -> super::super::Foundation:: BOOLEAN );
1485 RtlTimeToSecondsSince1970(time, elapsedseconds)
1486 }
1487 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
1488 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
1489 #[inline]
1490 pub unsafe fn RtlUnicodeStringToAnsiString<P0>(destinationstring: *mut super::Kernel::STRING, sourcestring: *mut super::super::Foundation::UNICODE_STRING, allocatedestinationstring: P0) -> ::windows::core::Result<()>
1491 where
1492 P0: ::windows::core::IntoParam<super::super::Foundation::BOOLEAN>,
1493 {
1494 ::windows::imp::link ! ( "ntdll.dll""system" fn RtlUnicodeStringToAnsiString ( destinationstring : *mut super::Kernel:: STRING , sourcestring : *mut super::super::Foundation:: UNICODE_STRING , allocatedestinationstring : super::super::Foundation:: BOOLEAN ) -> super::super::Foundation:: NTSTATUS );
1495 RtlUnicodeStringToAnsiString(destinationstring, sourcestring, allocatedestinationstring.into_param().abi()).ok()
1496 }
1497 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
1498 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
1499 #[inline]
1500 pub unsafe fn RtlUnicodeStringToOemString<P0>(destinationstring: *mut super::Kernel::STRING, sourcestring: *mut super::super::Foundation::UNICODE_STRING, allocatedestinationstring: P0) -> ::windows::core::Result<()>
1501 where
1502 P0: ::windows::core::IntoParam<super::super::Foundation::BOOLEAN>,
1503 {
1504 ::windows::imp::link ! ( "ntdll.dll""system" fn RtlUnicodeStringToOemString ( destinationstring : *mut super::Kernel:: STRING , sourcestring : *mut super::super::Foundation:: UNICODE_STRING , allocatedestinationstring : super::super::Foundation:: BOOLEAN ) -> super::super::Foundation:: NTSTATUS );
1505 RtlUnicodeStringToOemString(destinationstring, sourcestring, allocatedestinationstring.into_param().abi()).ok()
1506 }
1507 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1508 #[cfg(feature = "Win32_Foundation")]
1509 #[inline]
1510 pub unsafe fn RtlUnicodeToMultiByteSize<P0>(bytesinmultibytestring: *mut u32, unicodestring: P0, bytesinunicodestring: u32) -> ::windows::core::Result<()>
1511 where
1512 P0: ::windows::core::IntoParam<::windows::core::PCWSTR>,
1513 {
1514 ::windows::imp::link ! ( "ntdll.dll""system" fn RtlUnicodeToMultiByteSize ( bytesinmultibytestring : *mut u32 , unicodestring : :: windows::core::PCWSTR , bytesinunicodestring : u32 ) -> super::super::Foundation:: NTSTATUS );
1515 RtlUnicodeToMultiByteSize(bytesinmultibytestring, unicodestring.into_param().abi(), bytesinunicodestring).ok()
1516 }
1517 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
1518 #[inline]
1519 pub unsafe fn RtlUniform(seed: *mut u32) -> u32 {
1520 ::windows::imp::link ! ( "ntdll.dll""system" fn RtlUniform ( seed : *mut u32 ) -> u32 );
1521 RtlUniform(seed)
1522 }
1523 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1524 #[cfg(feature = "Win32_Foundation")]
1525 #[inline]
1526 pub unsafe fn RunSetupCommandA<P0, P1, P2, P3, P4>(hwnd: P0, szcmdname: P1, szinfsection: P2, szdir: P3, lpsztitle: P4, phexe: *mut super::super::Foundation::HANDLE, dwflags: u32, pvreserved: *mut ::core::ffi::c_void) -> ::windows::core::Result<()>
1527 where
1528 P0: ::windows::core::IntoParam<super::super::Foundation::HWND>,
1529 P1: ::windows::core::IntoParam<::windows::core::PCSTR>,
1530 P2: ::windows::core::IntoParam<::windows::core::PCSTR>,
1531 P3: ::windows::core::IntoParam<::windows::core::PCSTR>,
1532 P4: ::windows::core::IntoParam<::windows::core::PCSTR>,
1533 {
1534 ::windows::imp::link ! ( "advpack.dll""system" fn RunSetupCommandA ( hwnd : super::super::Foundation:: HWND , szcmdname : :: windows::core::PCSTR , szinfsection : :: windows::core::PCSTR , szdir : :: windows::core::PCSTR , lpsztitle : :: windows::core::PCSTR , phexe : *mut super::super::Foundation:: HANDLE , dwflags : u32 , pvreserved : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT );
1535 RunSetupCommandA(hwnd.into_param().abi(), szcmdname.into_param().abi(), szinfsection.into_param().abi(), szdir.into_param().abi(), lpsztitle.into_param().abi(), phexe, dwflags, pvreserved).ok()
1536 }
1537 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1538 #[cfg(feature = "Win32_Foundation")]
1539 #[inline]
1540 pub unsafe fn RunSetupCommandW<P0, P1, P2, P3, P4>(hwnd: P0, szcmdname: P1, szinfsection: P2, szdir: P3, lpsztitle: P4, phexe: *mut super::super::Foundation::HANDLE, dwflags: u32, pvreserved: *mut ::core::ffi::c_void) -> ::windows::core::Result<()>
1541 where
1542 P0: ::windows::core::IntoParam<super::super::Foundation::HWND>,
1543 P1: ::windows::core::IntoParam<::windows::core::PCWSTR>,
1544 P2: ::windows::core::IntoParam<::windows::core::PCWSTR>,
1545 P3: ::windows::core::IntoParam<::windows::core::PCWSTR>,
1546 P4: ::windows::core::IntoParam<::windows::core::PCWSTR>,
1547 {
1548 ::windows::imp::link ! ( "advpack.dll""system" fn RunSetupCommandW ( hwnd : super::super::Foundation:: HWND , szcmdname : :: windows::core::PCWSTR , szinfsection : :: windows::core::PCWSTR , szdir : :: windows::core::PCWSTR , lpsztitle : :: windows::core::PCWSTR , phexe : *mut super::super::Foundation:: HANDLE , dwflags : u32 , pvreserved : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT );
1549 RunSetupCommandW(hwnd.into_param().abi(), szcmdname.into_param().abi(), szinfsection.into_param().abi(), szdir.into_param().abi(), lpsztitle.into_param().abi(), phexe, dwflags, pvreserved).ok()
1550 }
1551 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1552 #[cfg(feature = "Win32_Foundation")]
1553 #[inline]
1554 pub unsafe fn SendIMEMessageExA<P0, P1>(param0: P0, param1: P1) -> super::super::Foundation::LRESULT
1555 where
1556 P0: ::windows::core::IntoParam<super::super::Foundation::HWND>,
1557 P1: ::windows::core::IntoParam<super::super::Foundation::LPARAM>,
1558 {
1559 ::windows::imp::link ! ( "user32.dll""system" fn SendIMEMessageExA ( param0 : super::super::Foundation:: HWND , param1 : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT );
1560 SendIMEMessageExA(param0.into_param().abi(), param1.into_param().abi())
1561 }
1562 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1563 #[cfg(feature = "Win32_Foundation")]
1564 #[inline]
1565 pub unsafe fn SendIMEMessageExW<P0, P1>(param0: P0, param1: P1) -> super::super::Foundation::LRESULT
1566 where
1567 P0: ::windows::core::IntoParam<super::super::Foundation::HWND>,
1568 P1: ::windows::core::IntoParam<super::super::Foundation::LPARAM>,
1569 {
1570 ::windows::imp::link ! ( "user32.dll""system" fn SendIMEMessageExW ( param0 : super::super::Foundation:: HWND , param1 : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT );
1571 SendIMEMessageExW(param0.into_param().abi(), param1.into_param().abi())
1572 }
1573 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1574 #[cfg(feature = "Win32_Foundation")]
1575 #[inline]
1576 pub unsafe fn SetEnvironmentStringsA<P0>(newenvironment: P0) -> super::super::Foundation::BOOL
1577 where
1578 P0: ::windows::core::IntoParam<::windows::core::PCSTR>,
1579 {
1580 ::windows::imp::link ! ( "kernel32.dll""system" fn SetEnvironmentStringsA ( newenvironment : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL );
1581 SetEnvironmentStringsA(newenvironment.into_param().abi())
1582 }
1583 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1584 #[cfg(feature = "Win32_Foundation")]
1585 #[inline]
1586 pub unsafe fn SetFirmwareEnvironmentVariableA<P0, P1>(lpname: P0, lpguid: P1, pvalue: ::core::option::Option<*const ::core::ffi::c_void>, nsize: u32) -> super::super::Foundation::BOOL
1587 where
1588 P0: ::windows::core::IntoParam<::windows::core::PCSTR>,
1589 P1: ::windows::core::IntoParam<::windows::core::PCSTR>,
1590 {
1591 ::windows::imp::link ! ( "kernel32.dll""system" fn SetFirmwareEnvironmentVariableA ( lpname : :: windows::core::PCSTR , lpguid : :: windows::core::PCSTR , pvalue : *const ::core::ffi::c_void , nsize : u32 ) -> super::super::Foundation:: BOOL );
1592 SetFirmwareEnvironmentVariableA(lpname.into_param().abi(), lpguid.into_param().abi(), ::core::mem::transmute(pvalue.unwrap_or(::std::ptr::null())), nsize)
1593 }
1594 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1595 #[cfg(feature = "Win32_Foundation")]
1596 #[inline]
1597 pub unsafe fn SetFirmwareEnvironmentVariableExA<P0, P1>(lpname: P0, lpguid: P1, pvalue: ::core::option::Option<*const ::core::ffi::c_void>, nsize: u32, dwattributes: u32) -> super::super::Foundation::BOOL
1598 where
1599 P0: ::windows::core::IntoParam<::windows::core::PCSTR>,
1600 P1: ::windows::core::IntoParam<::windows::core::PCSTR>,
1601 {
1602 ::windows::imp::link ! ( "kernel32.dll""system" fn SetFirmwareEnvironmentVariableExA ( lpname : :: windows::core::PCSTR , lpguid : :: windows::core::PCSTR , pvalue : *const ::core::ffi::c_void , nsize : u32 , dwattributes : u32 ) -> super::super::Foundation:: BOOL );
1603 SetFirmwareEnvironmentVariableExA(lpname.into_param().abi(), lpguid.into_param().abi(), ::core::mem::transmute(pvalue.unwrap_or(::std::ptr::null())), nsize, dwattributes)
1604 }
1605 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1606 #[cfg(feature = "Win32_Foundation")]
1607 #[inline]
1608 pub unsafe fn SetFirmwareEnvironmentVariableExW<P0, P1>(lpname: P0, lpguid: P1, pvalue: ::core::option::Option<*const ::core::ffi::c_void>, nsize: u32, dwattributes: u32) -> super::super::Foundation::BOOL
1609 where
1610 P0: ::windows::core::IntoParam<::windows::core::PCWSTR>,
1611 P1: ::windows::core::IntoParam<::windows::core::PCWSTR>,
1612 {
1613 ::windows::imp::link ! ( "kernel32.dll""system" fn SetFirmwareEnvironmentVariableExW ( lpname : :: windows::core::PCWSTR , lpguid : :: windows::core::PCWSTR , pvalue : *const ::core::ffi::c_void , nsize : u32 , dwattributes : u32 ) -> super::super::Foundation:: BOOL );
1614 SetFirmwareEnvironmentVariableExW(lpname.into_param().abi(), lpguid.into_param().abi(), ::core::mem::transmute(pvalue.unwrap_or(::std::ptr::null())), nsize, dwattributes)
1615 }
1616 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1617 #[cfg(feature = "Win32_Foundation")]
1618 #[inline]
1619 pub unsafe fn SetFirmwareEnvironmentVariableW<P0, P1>(lpname: P0, lpguid: P1, pvalue: ::core::option::Option<*const ::core::ffi::c_void>, nsize: u32) -> super::super::Foundation::BOOL
1620 where
1621 P0: ::windows::core::IntoParam<::windows::core::PCWSTR>,
1622 P1: ::windows::core::IntoParam<::windows::core::PCWSTR>,
1623 {
1624 ::windows::imp::link ! ( "kernel32.dll""system" fn SetFirmwareEnvironmentVariableW ( lpname : :: windows::core::PCWSTR , lpguid : :: windows::core::PCWSTR , pvalue : *const ::core::ffi::c_void , nsize : u32 ) -> super::super::Foundation:: BOOL );
1625 SetFirmwareEnvironmentVariableW(lpname.into_param().abi(), lpguid.into_param().abi(), ::core::mem::transmute(pvalue.unwrap_or(::std::ptr::null())), nsize)
1626 }
1627 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
1628 #[inline]
1629 pub unsafe fn SetHandleCount(unumber: u32) -> u32 {
1630 ::windows::imp::link ! ( "kernel32.dll""system" fn SetHandleCount ( unumber : u32 ) -> u32 );
1631 SetHandleCount(unumber)
1632 }
1633 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1634 #[cfg(feature = "Win32_Foundation")]
1635 #[inline]
1636 pub unsafe fn SetMessageWaitingIndicator<P0>(hmsgindicator: P0, ulmsgcount: u32) -> super::super::Foundation::BOOL
1637 where
1638 P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>,
1639 {
1640 ::windows::imp::link ! ( "kernel32.dll""system" fn SetMessageWaitingIndicator ( hmsgindicator : super::super::Foundation:: HANDLE , ulmsgcount : u32 ) -> super::super::Foundation:: BOOL );
1641 SetMessageWaitingIndicator(hmsgindicator.into_param().abi(), ulmsgcount)
1642 }
1643 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1644 #[cfg(feature = "Win32_Foundation")]
1645 #[inline]
1646 pub unsafe fn SetPerUserSecValuesA(pperuser: *mut PERUSERSECTIONA) -> ::windows::core::Result<()> {
1647 ::windows::imp::link ! ( "advpack.dll""system" fn SetPerUserSecValuesA ( pperuser : *mut PERUSERSECTIONA ) -> :: windows::core::HRESULT );
1648 SetPerUserSecValuesA(pperuser).ok()
1649 }
1650 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1651 #[cfg(feature = "Win32_Foundation")]
1652 #[inline]
1653 pub unsafe fn SetPerUserSecValuesW(pperuser: *mut PERUSERSECTIONW) -> ::windows::core::Result<()> {
1654 ::windows::imp::link ! ( "advpack.dll""system" fn SetPerUserSecValuesW ( pperuser : *mut PERUSERSECTIONW ) -> :: windows::core::HRESULT );
1655 SetPerUserSecValuesW(pperuser).ok()
1656 }
1657 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1658 #[cfg(feature = "Win32_Foundation")]
1659 #[inline]
1660 pub unsafe fn SignalObjectAndWait<P0, P1, P2>(hobjecttosignal: P0, hobjecttowaiton: P1, dwmilliseconds: u32, balertable: P2) -> super::super::Foundation::WIN32_ERROR
1661 where
1662 P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>,
1663 P1: ::windows::core::IntoParam<super::super::Foundation::HANDLE>,
1664 P2: ::windows::core::IntoParam<super::super::Foundation::BOOL>,
1665 {
1666 ::windows::imp::link ! ( "kernel32.dll""system" fn SignalObjectAndWait ( hobjecttosignal : super::super::Foundation:: HANDLE , hobjecttowaiton : super::super::Foundation:: HANDLE , dwmilliseconds : u32 , balertable : super::super::Foundation:: BOOL ) -> super::super::Foundation:: WIN32_ERROR );
1667 SignalObjectAndWait(hobjecttosignal.into_param().abi(), hobjecttowaiton.into_param().abi(), dwmilliseconds, balertable.into_param().abi())
1668 }
1669 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
1670 #[inline]
1671 pub unsafe fn SubscribeFeatureStateChangeNotification(subscription: *mut FEATURE_STATE_CHANGE_SUBSCRIPTION, callback: PFEATURE_STATE_CHANGE_CALLBACK, context: ::core::option::Option<*const ::core::ffi::c_void>) {
1672 ::windows::imp::link ! ( "api-ms-win-core-featurestaging-l1-1-0.dll""system" fn SubscribeFeatureStateChangeNotification ( subscription : *mut FEATURE_STATE_CHANGE_SUBSCRIPTION , callback : PFEATURE_STATE_CHANGE_CALLBACK , context : *const ::core::ffi::c_void ) -> ( ) );
1673 SubscribeFeatureStateChangeNotification(subscription, callback, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())))
1674 }
1675 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
1676 #[inline]
1677 pub unsafe fn TranslateInfStringA<P0, P1, P2, P3>(pszinffilename: P0, pszinstallsection: P1, psztranslatesection: P2, psztranslatekey: P3, pszbuffer: ::core::option::Option<&mut [u8]>, pdwrequiredsize: *mut u32, pvreserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()>
1678 where
1679 P0: ::windows::core::IntoParam<::windows::core::PCSTR>,
1680 P1: ::windows::core::IntoParam<::windows::core::PCSTR>,
1681 P2: ::windows::core::IntoParam<::windows::core::PCSTR>,
1682 P3: ::windows::core::IntoParam<::windows::core::PCSTR>,
1683 {
1684 ::windows::imp::link ! ( "advpack.dll""system" fn TranslateInfStringA ( pszinffilename : :: windows::core::PCSTR , pszinstallsection : :: windows::core::PCSTR , psztranslatesection : :: windows::core::PCSTR , psztranslatekey : :: windows::core::PCSTR , pszbuffer : :: windows::core::PSTR , cchbuffer : u32 , pdwrequiredsize : *mut u32 , pvreserved : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT );
1685 TranslateInfStringA(pszinffilename.into_param().abi(), pszinstallsection.into_param().abi(), psztranslatesection.into_param().abi(), psztranslatekey.into_param().abi(), ::core::mem::transmute(pszbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pszbuffer.as_deref().map_or(0, |slice| slice.len() as _), pdwrequiredsize, ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null()))).ok()
1686 }
1687 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
1688 #[inline]
1689 pub unsafe fn TranslateInfStringExA<P0, P1, P2>(hinf: *mut ::core::ffi::c_void, pszinffilename: P0, psztranslatesection: P1, psztranslatekey: P2, pszbuffer: &mut [u8], pdwrequiredsize: *mut u32, pvreserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()>
1690 where
1691 P0: ::windows::core::IntoParam<::windows::core::PCSTR>,
1692 P1: ::windows::core::IntoParam<::windows::core::PCSTR>,
1693 P2: ::windows::core::IntoParam<::windows::core::PCSTR>,
1694 {
1695 ::windows::imp::link ! ( "advpack.dll""system" fn TranslateInfStringExA ( hinf : *mut ::core::ffi::c_void , pszinffilename : :: windows::core::PCSTR , psztranslatesection : :: windows::core::PCSTR , psztranslatekey : :: windows::core::PCSTR , pszbuffer : :: windows::core::PSTR , dwbuffersize : u32 , pdwrequiredsize : *mut u32 , pvreserved : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT );
1696 TranslateInfStringExA(hinf, pszinffilename.into_param().abi(), psztranslatesection.into_param().abi(), psztranslatekey.into_param().abi(), ::core::mem::transmute(pszbuffer.as_ptr()), pszbuffer.len() as _, pdwrequiredsize, ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null()))).ok()
1697 }
1698 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
1699 #[inline]
1700 pub unsafe fn TranslateInfStringExW<P0, P1, P2>(hinf: *mut ::core::ffi::c_void, pszinffilename: P0, psztranslatesection: P1, psztranslatekey: P2, pszbuffer: &mut [u16], pdwrequiredsize: *mut u32, pvreserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()>
1701 where
1702 P0: ::windows::core::IntoParam<::windows::core::PCWSTR>,
1703 P1: ::windows::core::IntoParam<::windows::core::PCWSTR>,
1704 P2: ::windows::core::IntoParam<::windows::core::PCWSTR>,
1705 {
1706 ::windows::imp::link ! ( "advpack.dll""system" fn TranslateInfStringExW ( hinf : *mut ::core::ffi::c_void , pszinffilename : :: windows::core::PCWSTR , psztranslatesection : :: windows::core::PCWSTR , psztranslatekey : :: windows::core::PCWSTR , pszbuffer : :: windows::core::PWSTR , dwbuffersize : u32 , pdwrequiredsize : *mut u32 , pvreserved : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT );
1707 TranslateInfStringExW(hinf, pszinffilename.into_param().abi(), psztranslatesection.into_param().abi(), psztranslatekey.into_param().abi(), ::core::mem::transmute(pszbuffer.as_ptr()), pszbuffer.len() as _, pdwrequiredsize, ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null()))).ok()
1708 }
1709 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
1710 #[inline]
1711 pub unsafe fn TranslateInfStringW<P0, P1, P2, P3>(pszinffilename: P0, pszinstallsection: P1, psztranslatesection: P2, psztranslatekey: P3, pszbuffer: ::core::option::Option<&mut [u16]>, pdwrequiredsize: *mut u32, pvreserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()>
1712 where
1713 P0: ::windows::core::IntoParam<::windows::core::PCWSTR>,
1714 P1: ::windows::core::IntoParam<::windows::core::PCWSTR>,
1715 P2: ::windows::core::IntoParam<::windows::core::PCWSTR>,
1716 P3: ::windows::core::IntoParam<::windows::core::PCWSTR>,
1717 {
1718 ::windows::imp::link ! ( "advpack.dll""system" fn TranslateInfStringW ( pszinffilename : :: windows::core::PCWSTR , pszinstallsection : :: windows::core::PCWSTR , psztranslatesection : :: windows::core::PCWSTR , psztranslatekey : :: windows::core::PCWSTR , pszbuffer : :: windows::core::PWSTR , cchbuffer : u32 , pdwrequiredsize : *mut u32 , pvreserved : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT );
1719 TranslateInfStringW(pszinffilename.into_param().abi(), pszinstallsection.into_param().abi(), psztranslatesection.into_param().abi(), psztranslatekey.into_param().abi(), ::core::mem::transmute(pszbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pszbuffer.as_deref().map_or(0, |slice| slice.len() as _), pdwrequiredsize, ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null()))).ok()
1720 }
1721 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
1722 #[inline]
1723 pub unsafe fn UnsubscribeFeatureStateChangeNotification<P0>(subscription: P0)
1724 where
1725 P0: ::windows::core::IntoParam<FEATURE_STATE_CHANGE_SUBSCRIPTION>,
1726 {
1727 ::windows::imp::link ! ( "api-ms-win-core-featurestaging-l1-1-0.dll""system" fn UnsubscribeFeatureStateChangeNotification ( subscription : FEATURE_STATE_CHANGE_SUBSCRIPTION ) -> ( ) );
1728 UnsubscribeFeatureStateChangeNotification(subscription.into_param().abi())
1729 }
1730 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1731 #[cfg(feature = "Win32_Foundation")]
1732 #[inline]
1733 pub unsafe fn UserInstStubWrapperA<P0, P1, P2>(hwnd: P0, hinstance: P1, pszparms: P2, nshow: i32) -> ::windows::core::Result<()>
1734 where
1735 P0: ::windows::core::IntoParam<super::super::Foundation::HWND>,
1736 P1: ::windows::core::IntoParam<super::super::Foundation::HINSTANCE>,
1737 P2: ::windows::core::IntoParam<::windows::core::PCSTR>,
1738 {
1739 ::windows::imp::link ! ( "advpack.dll""system" fn UserInstStubWrapperA ( hwnd : super::super::Foundation:: HWND , hinstance : super::super::Foundation:: HINSTANCE , pszparms : :: windows::core::PCSTR , nshow : i32 ) -> :: windows::core::HRESULT );
1740 UserInstStubWrapperA(hwnd.into_param().abi(), hinstance.into_param().abi(), pszparms.into_param().abi(), nshow).ok()
1741 }
1742 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1743 #[cfg(feature = "Win32_Foundation")]
1744 #[inline]
1745 pub unsafe fn UserInstStubWrapperW<P0, P1, P2>(hwnd: P0, hinstance: P1, pszparms: P2, nshow: i32) -> ::windows::core::Result<()>
1746 where
1747 P0: ::windows::core::IntoParam<super::super::Foundation::HWND>,
1748 P1: ::windows::core::IntoParam<super::super::Foundation::HINSTANCE>,
1749 P2: ::windows::core::IntoParam<::windows::core::PCWSTR>,
1750 {
1751 ::windows::imp::link ! ( "advpack.dll""system" fn UserInstStubWrapperW ( hwnd : super::super::Foundation:: HWND , hinstance : super::super::Foundation:: HINSTANCE , pszparms : :: windows::core::PCWSTR , nshow : i32 ) -> :: windows::core::HRESULT );
1752 UserInstStubWrapperW(hwnd.into_param().abi(), hinstance.into_param().abi(), pszparms.into_param().abi(), nshow).ok()
1753 }
1754 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1755 #[cfg(feature = "Win32_Foundation")]
1756 #[inline]
1757 pub unsafe fn UserUnInstStubWrapperA<P0, P1, P2>(hwnd: P0, hinstance: P1, pszparms: P2, nshow: i32) -> ::windows::core::Result<()>
1758 where
1759 P0: ::windows::core::IntoParam<super::super::Foundation::HWND>,
1760 P1: ::windows::core::IntoParam<super::super::Foundation::HINSTANCE>,
1761 P2: ::windows::core::IntoParam<::windows::core::PCSTR>,
1762 {
1763 ::windows::imp::link ! ( "advpack.dll""system" fn UserUnInstStubWrapperA ( hwnd : super::super::Foundation:: HWND , hinstance : super::super::Foundation:: HINSTANCE , pszparms : :: windows::core::PCSTR , nshow : i32 ) -> :: windows::core::HRESULT );
1764 UserUnInstStubWrapperA(hwnd.into_param().abi(), hinstance.into_param().abi(), pszparms.into_param().abi(), nshow).ok()
1765 }
1766 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1767 #[cfg(feature = "Win32_Foundation")]
1768 #[inline]
1769 pub unsafe fn UserUnInstStubWrapperW<P0, P1, P2>(hwnd: P0, hinstance: P1, pszparms: P2, nshow: i32) -> ::windows::core::Result<()>
1770 where
1771 P0: ::windows::core::IntoParam<super::super::Foundation::HWND>,
1772 P1: ::windows::core::IntoParam<super::super::Foundation::HINSTANCE>,
1773 P2: ::windows::core::IntoParam<::windows::core::PCWSTR>,
1774 {
1775 ::windows::imp::link ! ( "advpack.dll""system" fn UserUnInstStubWrapperW ( hwnd : super::super::Foundation:: HWND , hinstance : super::super::Foundation:: HINSTANCE , pszparms : :: windows::core::PCWSTR , nshow : i32 ) -> :: windows::core::HRESULT );
1776 UserUnInstStubWrapperW(hwnd.into_param().abi(), hinstance.into_param().abi(), pszparms.into_param().abi(), nshow).ok()
1777 }
1778 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1779 #[cfg(feature = "Win32_Foundation")]
1780 #[inline]
1781 pub unsafe fn WINNLSEnableIME<P0, P1>(param0: P0, param1: P1) -> super::super::Foundation::BOOL
1782 where
1783 P0: ::windows::core::IntoParam<super::super::Foundation::HWND>,
1784 P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>,
1785 {
1786 ::windows::imp::link ! ( "user32.dll""system" fn WINNLSEnableIME ( param0 : super::super::Foundation:: HWND , param1 : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL );
1787 WINNLSEnableIME(param0.into_param().abi(), param1.into_param().abi())
1788 }
1789 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1790 #[cfg(feature = "Win32_Foundation")]
1791 #[inline]
1792 pub unsafe fn WINNLSGetEnableStatus<P0>(param0: P0) -> super::super::Foundation::BOOL
1793 where
1794 P0: ::windows::core::IntoParam<super::super::Foundation::HWND>,
1795 {
1796 ::windows::imp::link ! ( "user32.dll""system" fn WINNLSGetEnableStatus ( param0 : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL );
1797 WINNLSGetEnableStatus(param0.into_param().abi())
1798 }
1799 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1800 #[cfg(feature = "Win32_Foundation")]
1801 #[inline]
1802 pub unsafe fn WINNLSGetIMEHotkey<P0>(param0: P0) -> u32
1803 where
1804 P0: ::windows::core::IntoParam<super::super::Foundation::HWND>,
1805 {
1806 ::windows::imp::link ! ( "user32.dll""system" fn WINNLSGetIMEHotkey ( param0 : super::super::Foundation:: HWND ) -> u32 );
1807 WINNLSGetIMEHotkey(param0.into_param().abi())
1808 }
1809 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
1810 #[inline]
1811 pub unsafe fn WinWatchClose<P0>(hww: P0)
1812 where
1813 P0: ::windows::core::IntoParam<HWINWATCH>,
1814 {
1815 ::windows::imp::link ! ( "dciman32.dll""system" fn WinWatchClose ( hww : HWINWATCH ) -> ( ) );
1816 WinWatchClose(hww.into_param().abi())
1817 }
1818 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1819 #[cfg(feature = "Win32_Foundation")]
1820 #[inline]
1821 pub unsafe fn WinWatchDidStatusChange<P0>(hww: P0) -> super::super::Foundation::BOOL
1822 where
1823 P0: ::windows::core::IntoParam<HWINWATCH>,
1824 {
1825 ::windows::imp::link ! ( "dciman32.dll""system" fn WinWatchDidStatusChange ( hww : HWINWATCH ) -> super::super::Foundation:: BOOL );
1826 WinWatchDidStatusChange(hww.into_param().abi())
1827 }
1828 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
1829 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
1830 #[inline]
1831 pub unsafe fn WinWatchGetClipList<P0>(hww: P0, prc: *mut super::super::Foundation::RECT, size: u32, prd: *mut super::super::Graphics::Gdi::RGNDATA) -> u32
1832 where
1833 P0: ::windows::core::IntoParam<HWINWATCH>,
1834 {
1835 ::windows::imp::link ! ( "dciman32.dll""system" fn WinWatchGetClipList ( hww : HWINWATCH , prc : *mut super::super::Foundation:: RECT , size : u32 , prd : *mut super::super::Graphics::Gdi:: RGNDATA ) -> u32 );
1836 WinWatchGetClipList(hww.into_param().abi(), prc, size, prd)
1837 }
1838 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1839 #[cfg(feature = "Win32_Foundation")]
1840 #[inline]
1841 pub unsafe fn WinWatchNotify<P0, P1>(hww: P0, notifycallback: WINWATCHNOTIFYPROC, notifyparam: P1) -> super::super::Foundation::BOOL
1842 where
1843 P0: ::windows::core::IntoParam<HWINWATCH>,
1844 P1: ::windows::core::IntoParam<super::super::Foundation::LPARAM>,
1845 {
1846 ::windows::imp::link ! ( "dciman32.dll""system" fn WinWatchNotify ( hww : HWINWATCH , notifycallback : WINWATCHNOTIFYPROC , notifyparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL );
1847 WinWatchNotify(hww.into_param().abi(), notifycallback, notifyparam.into_param().abi())
1848 }
1849 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1850 #[cfg(feature = "Win32_Foundation")]
1851 #[inline]
1852 pub unsafe fn WinWatchOpen<P0>(hwnd: P0) -> HWINWATCH
1853 where
1854 P0: ::windows::core::IntoParam<super::super::Foundation::HWND>,
1855 {
1856 ::windows::imp::link ! ( "dciman32.dll""system" fn WinWatchOpen ( hwnd : super::super::Foundation:: HWND ) -> HWINWATCH );
1857 WinWatchOpen(hwnd.into_param().abi())
1858 }
1859 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1860 #[cfg(feature = "Win32_Foundation")]
1861 #[inline]
1862 pub unsafe fn WldpGetLockdownPolicy(hostinformation: ::core::option::Option<*const WLDP_HOST_INFORMATION>, lockdownstate: *mut u32, lockdownflags: u32) -> ::windows::core::Result<()> {
1863 ::windows::imp::link ! ( "wldp.dll""system" fn WldpGetLockdownPolicy ( hostinformation : *const WLDP_HOST_INFORMATION , lockdownstate : *mut u32 , lockdownflags : u32 ) -> :: windows::core::HRESULT );
1864 WldpGetLockdownPolicy(::core::mem::transmute(hostinformation.unwrap_or(::std::ptr::null())), lockdownstate, lockdownflags).ok()
1865 }
1866 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1867 #[cfg(feature = "Win32_Foundation")]
1868 #[inline]
1869 pub unsafe fn WldpIsClassInApprovedList(classid: *const ::windows::core::GUID, hostinformation: *const WLDP_HOST_INFORMATION, isapproved: *mut super::super::Foundation::BOOL, optionalflags: u32) -> ::windows::core::Result<()> {
1870 ::windows::imp::link ! ( "wldp.dll""system" fn WldpIsClassInApprovedList ( classid : *const :: windows::core::GUID , hostinformation : *const WLDP_HOST_INFORMATION , isapproved : *mut super::super::Foundation:: BOOL , optionalflags : u32 ) -> :: windows::core::HRESULT );
1871 WldpIsClassInApprovedList(classid, hostinformation, isapproved, optionalflags).ok()
1872 }
1873 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1874 #[cfg(feature = "Win32_Foundation")]
1875 #[inline]
1876 pub unsafe fn WldpIsDynamicCodePolicyEnabled() -> ::windows::core::Result<super::super::Foundation::BOOL> {
1877 ::windows::imp::link ! ( "wldp.dll""system" fn WldpIsDynamicCodePolicyEnabled ( isenabled : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT );
1878 let mut result__ = ::windows::core::zeroed::<super::super::Foundation::BOOL>();
1879 WldpIsDynamicCodePolicyEnabled(&mut result__).from_abi(result__)
1880 }
1881 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
1882 #[inline]
1883 pub unsafe fn WldpQueryDeviceSecurityInformation(information: ::core::option::Option<&mut [WLDP_DEVICE_SECURITY_INFORMATION]>, returnlength: *mut u32) -> ::windows::core::Result<()> {
1884 ::windows::imp::link ! ( "wldp.dll""system" fn WldpQueryDeviceSecurityInformation ( information : *mut WLDP_DEVICE_SECURITY_INFORMATION , informationlength : u32 , returnlength : *mut u32 ) -> :: windows::core::HRESULT );
1885 WldpQueryDeviceSecurityInformation(::core::mem::transmute(information.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), information.as_deref().map_or(0, |slice| slice.len() as _), returnlength).ok()
1886 }
1887 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1888 #[cfg(feature = "Win32_Foundation")]
1889 #[inline]
1890 pub unsafe fn WldpQueryDynamicCodeTrust<P0>(filehandle: P0, baseimage: ::core::option::Option<*const ::core::ffi::c_void>, imagesize: u32) -> ::windows::core::Result<()>
1891 where
1892 P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>,
1893 {
1894 ::windows::imp::link ! ( "wldp.dll""system" fn WldpQueryDynamicCodeTrust ( filehandle : super::super::Foundation:: HANDLE , baseimage : *const ::core::ffi::c_void , imagesize : u32 ) -> :: windows::core::HRESULT );
1895 WldpQueryDynamicCodeTrust(filehandle.into_param().abi(), ::core::mem::transmute(baseimage.unwrap_or(::std::ptr::null())), imagesize).ok()
1896 }
1897 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1898 #[cfg(feature = "Win32_Foundation")]
1899 #[inline]
1900 pub unsafe fn WldpSetDynamicCodeTrust<P0>(filehandle: P0) -> ::windows::core::Result<()>
1901 where
1902 P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>,
1903 {
1904 ::windows::imp::link ! ( "wldp.dll""system" fn WldpSetDynamicCodeTrust ( filehandle : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT );
1905 WldpSetDynamicCodeTrust(filehandle.into_param().abi()).ok()
1906 }
1907 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1908 #[cfg(feature = "Win32_Foundation")]
1909 #[inline]
1910 pub unsafe fn WritePrivateProfileSectionA<P0, P1, P2>(lpappname: P0, lpstring: P1, lpfilename: P2) -> super::super::Foundation::BOOL
1911 where
1912 P0: ::windows::core::IntoParam<::windows::core::PCSTR>,
1913 P1: ::windows::core::IntoParam<::windows::core::PCSTR>,
1914 P2: ::windows::core::IntoParam<::windows::core::PCSTR>,
1915 {
1916 ::windows::imp::link ! ( "kernel32.dll""system" fn WritePrivateProfileSectionA ( lpappname : :: windows::core::PCSTR , lpstring : :: windows::core::PCSTR , lpfilename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL );
1917 WritePrivateProfileSectionA(lpappname.into_param().abi(), lpstring.into_param().abi(), lpfilename.into_param().abi())
1918 }
1919 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1920 #[cfg(feature = "Win32_Foundation")]
1921 #[inline]
1922 pub unsafe fn WritePrivateProfileSectionW<P0, P1, P2>(lpappname: P0, lpstring: P1, lpfilename: P2) -> super::super::Foundation::BOOL
1923 where
1924 P0: ::windows::core::IntoParam<::windows::core::PCWSTR>,
1925 P1: ::windows::core::IntoParam<::windows::core::PCWSTR>,
1926 P2: ::windows::core::IntoParam<::windows::core::PCWSTR>,
1927 {
1928 ::windows::imp::link ! ( "kernel32.dll""system" fn WritePrivateProfileSectionW ( lpappname : :: windows::core::PCWSTR , lpstring : :: windows::core::PCWSTR , lpfilename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL );
1929 WritePrivateProfileSectionW(lpappname.into_param().abi(), lpstring.into_param().abi(), lpfilename.into_param().abi())
1930 }
1931 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1932 #[cfg(feature = "Win32_Foundation")]
1933 #[inline]
1934 pub unsafe fn WritePrivateProfileStringA<P0, P1, P2, P3>(lpappname: P0, lpkeyname: P1, lpstring: P2, lpfilename: P3) -> super::super::Foundation::BOOL
1935 where
1936 P0: ::windows::core::IntoParam<::windows::core::PCSTR>,
1937 P1: ::windows::core::IntoParam<::windows::core::PCSTR>,
1938 P2: ::windows::core::IntoParam<::windows::core::PCSTR>,
1939 P3: ::windows::core::IntoParam<::windows::core::PCSTR>,
1940 {
1941 ::windows::imp::link ! ( "kernel32.dll""system" fn WritePrivateProfileStringA ( lpappname : :: windows::core::PCSTR , lpkeyname : :: windows::core::PCSTR , lpstring : :: windows::core::PCSTR , lpfilename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL );
1942 WritePrivateProfileStringA(lpappname.into_param().abi(), lpkeyname.into_param().abi(), lpstring.into_param().abi(), lpfilename.into_param().abi())
1943 }
1944 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1945 #[cfg(feature = "Win32_Foundation")]
1946 #[inline]
1947 pub unsafe fn WritePrivateProfileStringW<P0, P1, P2, P3>(lpappname: P0, lpkeyname: P1, lpstring: P2, lpfilename: P3) -> super::super::Foundation::BOOL
1948 where
1949 P0: ::windows::core::IntoParam<::windows::core::PCWSTR>,
1950 P1: ::windows::core::IntoParam<::windows::core::PCWSTR>,
1951 P2: ::windows::core::IntoParam<::windows::core::PCWSTR>,
1952 P3: ::windows::core::IntoParam<::windows::core::PCWSTR>,
1953 {
1954 ::windows::imp::link ! ( "kernel32.dll""system" fn WritePrivateProfileStringW ( lpappname : :: windows::core::PCWSTR , lpkeyname : :: windows::core::PCWSTR , lpstring : :: windows::core::PCWSTR , lpfilename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL );
1955 WritePrivateProfileStringW(lpappname.into_param().abi(), lpkeyname.into_param().abi(), lpstring.into_param().abi(), lpfilename.into_param().abi())
1956 }
1957 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1958 #[cfg(feature = "Win32_Foundation")]
1959 #[inline]
1960 pub unsafe fn WritePrivateProfileStructA<P0, P1, P2>(lpszsection: P0, lpszkey: P1, lpstruct: ::core::option::Option<*const ::core::ffi::c_void>, usizestruct: u32, szfile: P2) -> super::super::Foundation::BOOL
1961 where
1962 P0: ::windows::core::IntoParam<::windows::core::PCSTR>,
1963 P1: ::windows::core::IntoParam<::windows::core::PCSTR>,
1964 P2: ::windows::core::IntoParam<::windows::core::PCSTR>,
1965 {
1966 ::windows::imp::link ! ( "kernel32.dll""system" fn WritePrivateProfileStructA ( lpszsection : :: windows::core::PCSTR , lpszkey : :: windows::core::PCSTR , lpstruct : *const ::core::ffi::c_void , usizestruct : u32 , szfile : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL );
1967 WritePrivateProfileStructA(lpszsection.into_param().abi(), lpszkey.into_param().abi(), ::core::mem::transmute(lpstruct.unwrap_or(::std::ptr::null())), usizestruct, szfile.into_param().abi())
1968 }
1969 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1970 #[cfg(feature = "Win32_Foundation")]
1971 #[inline]
1972 pub unsafe fn WritePrivateProfileStructW<P0, P1, P2>(lpszsection: P0, lpszkey: P1, lpstruct: ::core::option::Option<*const ::core::ffi::c_void>, usizestruct: u32, szfile: P2) -> super::super::Foundation::BOOL
1973 where
1974 P0: ::windows::core::IntoParam<::windows::core::PCWSTR>,
1975 P1: ::windows::core::IntoParam<::windows::core::PCWSTR>,
1976 P2: ::windows::core::IntoParam<::windows::core::PCWSTR>,
1977 {
1978 ::windows::imp::link ! ( "kernel32.dll""system" fn WritePrivateProfileStructW ( lpszsection : :: windows::core::PCWSTR , lpszkey : :: windows::core::PCWSTR , lpstruct : *const ::core::ffi::c_void , usizestruct : u32 , szfile : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL );
1979 WritePrivateProfileStructW(lpszsection.into_param().abi(), lpszkey.into_param().abi(), ::core::mem::transmute(lpstruct.unwrap_or(::std::ptr::null())), usizestruct, szfile.into_param().abi())
1980 }
1981 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1982 #[cfg(feature = "Win32_Foundation")]
1983 #[inline]
1984 pub unsafe fn WriteProfileSectionA<P0, P1>(lpappname: P0, lpstring: P1) -> super::super::Foundation::BOOL
1985 where
1986 P0: ::windows::core::IntoParam<::windows::core::PCSTR>,
1987 P1: ::windows::core::IntoParam<::windows::core::PCSTR>,
1988 {
1989 ::windows::imp::link ! ( "kernel32.dll""system" fn WriteProfileSectionA ( lpappname : :: windows::core::PCSTR , lpstring : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL );
1990 WriteProfileSectionA(lpappname.into_param().abi(), lpstring.into_param().abi())
1991 }
1992 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
1993 #[cfg(feature = "Win32_Foundation")]
1994 #[inline]
1995 pub unsafe fn WriteProfileSectionW<P0, P1>(lpappname: P0, lpstring: P1) -> super::super::Foundation::BOOL
1996 where
1997 P0: ::windows::core::IntoParam<::windows::core::PCWSTR>,
1998 P1: ::windows::core::IntoParam<::windows::core::PCWSTR>,
1999 {
2000 ::windows::imp::link ! ( "kernel32.dll""system" fn WriteProfileSectionW ( lpappname : :: windows::core::PCWSTR , lpstring : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL );
2001 WriteProfileSectionW(lpappname.into_param().abi(), lpstring.into_param().abi())
2002 }
2003 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
2004 #[cfg(feature = "Win32_Foundation")]
2005 #[inline]
2006 pub unsafe fn WriteProfileStringA<P0, P1, P2>(lpappname: P0, lpkeyname: P1, lpstring: P2) -> super::super::Foundation::BOOL
2007 where
2008 P0: ::windows::core::IntoParam<::windows::core::PCSTR>,
2009 P1: ::windows::core::IntoParam<::windows::core::PCSTR>,
2010 P2: ::windows::core::IntoParam<::windows::core::PCSTR>,
2011 {
2012 ::windows::imp::link ! ( "kernel32.dll""system" fn WriteProfileStringA ( lpappname : :: windows::core::PCSTR , lpkeyname : :: windows::core::PCSTR , lpstring : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL );
2013 WriteProfileStringA(lpappname.into_param().abi(), lpkeyname.into_param().abi(), lpstring.into_param().abi())
2014 }
2015 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
2016 #[cfg(feature = "Win32_Foundation")]
2017 #[inline]
2018 pub unsafe fn WriteProfileStringW<P0, P1, P2>(lpappname: P0, lpkeyname: P1, lpstring: P2) -> super::super::Foundation::BOOL
2019 where
2020 P0: ::windows::core::IntoParam<::windows::core::PCWSTR>,
2021 P1: ::windows::core::IntoParam<::windows::core::PCWSTR>,
2022 P2: ::windows::core::IntoParam<::windows::core::PCWSTR>,
2023 {
2024 ::windows::imp::link ! ( "kernel32.dll""system" fn WriteProfileStringW ( lpappname : :: windows::core::PCWSTR , lpkeyname : :: windows::core::PCWSTR , lpstring : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL );
2025 WriteProfileStringW(lpappname.into_param().abi(), lpkeyname.into_param().abi(), lpstring.into_param().abi())
2026 }
2027 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2028 #[inline]
2029 pub unsafe fn _hread(hfile: i32, lpbuffer: *mut ::core::ffi::c_void, lbytes: i32) -> i32 {
2030 ::windows::imp::link ! ( "kernel32.dll""system" fn _hread ( hfile : i32 , lpbuffer : *mut ::core::ffi::c_void , lbytes : i32 ) -> i32 );
2031 _hread(hfile, lpbuffer, lbytes)
2032 }
2033 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2034 #[inline]
2035 pub unsafe fn _hwrite(hfile: i32, lpbuffer: &[u8]) -> i32 {
2036 ::windows::imp::link ! ( "kernel32.dll""system" fn _hwrite ( hfile : i32 , lpbuffer : :: windows::core::PCSTR , lbytes : i32 ) -> i32 );
2037 _hwrite(hfile, ::core::mem::transmute(lpbuffer.as_ptr()), lpbuffer.len() as _)
2038 }
2039 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2040 #[inline]
2041 pub unsafe fn _lclose(hfile: i32) -> i32 {
2042 ::windows::imp::link ! ( "kernel32.dll""system" fn _lclose ( hfile : i32 ) -> i32 );
2043 _lclose(hfile)
2044 }
2045 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2046 #[inline]
2047 pub unsafe fn _lcreat<P0>(lppathname: P0, iattribute: i32) -> i32
2048 where
2049 P0: ::windows::core::IntoParam<::windows::core::PCSTR>,
2050 {
2051 ::windows::imp::link ! ( "kernel32.dll""system" fn _lcreat ( lppathname : :: windows::core::PCSTR , iattribute : i32 ) -> i32 );
2052 _lcreat(lppathname.into_param().abi(), iattribute)
2053 }
2054 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2055 #[inline]
2056 pub unsafe fn _llseek(hfile: i32, loffset: i32, iorigin: i32) -> i32 {
2057 ::windows::imp::link ! ( "kernel32.dll""system" fn _llseek ( hfile : i32 , loffset : i32 , iorigin : i32 ) -> i32 );
2058 _llseek(hfile, loffset, iorigin)
2059 }
2060 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2061 #[inline]
2062 pub unsafe fn _lopen<P0>(lppathname: P0, ireadwrite: i32) -> i32
2063 where
2064 P0: ::windows::core::IntoParam<::windows::core::PCSTR>,
2065 {
2066 ::windows::imp::link ! ( "kernel32.dll""system" fn _lopen ( lppathname : :: windows::core::PCSTR , ireadwrite : i32 ) -> i32 );
2067 _lopen(lppathname.into_param().abi(), ireadwrite)
2068 }
2069 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2070 #[inline]
2071 pub unsafe fn _lread(hfile: i32, lpbuffer: *mut ::core::ffi::c_void, ubytes: u32) -> u32 {
2072 ::windows::imp::link ! ( "kernel32.dll""system" fn _lread ( hfile : i32 , lpbuffer : *mut ::core::ffi::c_void , ubytes : u32 ) -> u32 );
2073 _lread(hfile, lpbuffer, ubytes)
2074 }
2075 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2076 #[inline]
2077 pub unsafe fn _lwrite(hfile: i32, lpbuffer: &[u8]) -> u32 {
2078 ::windows::imp::link ! ( "kernel32.dll""system" fn _lwrite ( hfile : i32 , lpbuffer : :: windows::core::PCSTR , ubytes : u32 ) -> u32 );
2079 _lwrite(hfile, ::core::mem::transmute(lpbuffer.as_ptr()), lpbuffer.len() as _)
2080 }
2081 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2082 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
2083 #[inline]
2084 pub unsafe fn uaw_lstrcmpW(string1: *const u16, string2: *const u16) -> i32 {
2085 ::windows::imp::link ! ( "kernel32.dll""system" fn uaw_lstrcmpW ( string1 : *const u16 , string2 : *const u16 ) -> i32 );
2086 uaw_lstrcmpW(string1, string2)
2087 }
2088 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2089 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
2090 #[inline]
2091 pub unsafe fn uaw_lstrcmpiW(string1: *const u16, string2: *const u16) -> i32 {
2092 ::windows::imp::link ! ( "kernel32.dll""system" fn uaw_lstrcmpiW ( string1 : *const u16 , string2 : *const u16 ) -> i32 );
2093 uaw_lstrcmpiW(string1, string2)
2094 }
2095 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2096 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
2097 #[inline]
2098 pub unsafe fn uaw_lstrlenW(string: *const u16) -> i32 {
2099 ::windows::imp::link ! ( "kernel32.dll""system" fn uaw_lstrlenW ( string : *const u16 ) -> i32 );
2100 uaw_lstrlenW(string)
2101 }
2102 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2103 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
2104 #[inline]
2105 pub unsafe fn uaw_wcschr(string: *const u16, character: u16) -> *mut u16 {
2106 ::windows::imp::link ! ( "kernel32.dll""system" fn uaw_wcschr ( string : *const u16 , character : u16 ) -> *mut u16 );
2107 uaw_wcschr(string, character)
2108 }
2109 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2110 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
2111 #[inline]
2112 pub unsafe fn uaw_wcscpy(destination: *mut u16, source: *const u16) -> *mut u16 {
2113 ::windows::imp::link ! ( "kernel32.dll""system" fn uaw_wcscpy ( destination : *mut u16 , source : *const u16 ) -> *mut u16 );
2114 uaw_wcscpy(destination, source)
2115 }
2116 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2117 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
2118 #[inline]
2119 pub unsafe fn uaw_wcsicmp(string1: *const u16, string2: *const u16) -> i32 {
2120 ::windows::imp::link ! ( "kernel32.dll""system" fn uaw_wcsicmp ( string1 : *const u16 , string2 : *const u16 ) -> i32 );
2121 uaw_wcsicmp(string1, string2)
2122 }
2123 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2124 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
2125 #[inline]
2126 pub unsafe fn uaw_wcslen(string: *const u16) -> usize {
2127 ::windows::imp::link ! ( "kernel32.dll""system" fn uaw_wcslen ( string : *const u16 ) -> usize );
2128 uaw_wcslen(string)
2129 }
2130 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2131 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
2132 #[inline]
2133 pub unsafe fn uaw_wcsrchr(string: *const u16, character: u16) -> *mut u16 {
2134 ::windows::imp::link ! ( "kernel32.dll""system" fn uaw_wcsrchr ( string : *const u16 , character : u16 ) -> *mut u16 );
2135 uaw_wcsrchr(string, character)
2136 }
2137 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2138 #[repr(transparent)]
2139 pub struct ICameraUIControl(::windows::core::IUnknown);
2140 impl ICameraUIControl {
2141 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
2142 #[cfg(feature = "Win32_Foundation")]
2143 pub unsafe fn Show<P0, P1, P2>(&self, pwindow: P0, mode: CameraUIControlMode, selectionmode: CameraUIControlLinearSelectionMode, capturemode: CameraUIControlCaptureMode, photoformat: CameraUIControlPhotoFormat, videoformat: CameraUIControlVideoFormat, bhasclosebutton: P1, peventcallback: P2) -> ::windows::core::Result<()>
2144 where
2145 P0: ::windows::core::IntoParam<::windows::core::IUnknown>,
2146 P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>,
2147 P2: ::windows::core::IntoParam<ICameraUIControlEventCallback>,
2148 {
2149 (::windows::core::Interface::vtable(self).Show)(::windows::core::Interface::as_raw(self), pwindow.into_param().abi(), mode, selectionmode, capturemode, photoformat, videoformat, bhasclosebutton.into_param().abi(), peventcallback.into_param().abi()).ok()
2150 }
2151 pub unsafe fn Close(&self) -> ::windows::core::Result<()> {
2152 (::windows::core::Interface::vtable(self).Close)(::windows::core::Interface::as_raw(self)).ok()
2153 }
2154 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
2155 #[cfg(feature = "Win32_Foundation")]
2156 pub unsafe fn Suspend(&self) -> ::windows::core::Result<super::super::Foundation::BOOL> {
2157 let mut result__ = ::windows::core::zeroed::<super::super::Foundation::BOOL>();
2158 (::windows::core::Interface::vtable(self).Suspend)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__)
2159 }
2160 pub unsafe fn Resume(&self) -> ::windows::core::Result<()> {
2161 (::windows::core::Interface::vtable(self).Resume)(::windows::core::Interface::as_raw(self)).ok()
2162 }
2163 pub unsafe fn GetCurrentViewType(&self) -> ::windows::core::Result<CameraUIControlViewType> {
2164 let mut result__ = ::windows::core::zeroed::<CameraUIControlViewType>();
2165 (::windows::core::Interface::vtable(self).GetCurrentViewType)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__)
2166 }
2167 pub unsafe fn GetActiveItem(&self, pbstractiveitempath: ::core::option::Option<*mut ::windows::core::BSTR>) -> ::windows::core::Result<()> {
2168 (::windows::core::Interface::vtable(self).GetActiveItem)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pbstractiveitempath.unwrap_or(::std::ptr::null_mut()))).ok()
2169 }
2170 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
2171 #[cfg(feature = "Win32_System_Com")]
2172 pub unsafe fn GetSelectedItems(&self) -> ::windows::core::Result<*mut super::Com::SAFEARRAY> {
2173 let mut result__ = ::windows::core::zeroed::<*mut super::Com::SAFEARRAY>();
2174 (::windows::core::Interface::vtable(self).GetSelectedItems)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__)
2175 }
2176 pub unsafe fn RemoveCapturedItem<P0>(&self, pszpath: P0) -> ::windows::core::Result<()>
2177 where
2178 P0: ::windows::core::IntoParam<::windows::core::PCWSTR>,
2179 {
2180 (::windows::core::Interface::vtable(self).RemoveCapturedItem)(::windows::core::Interface::as_raw(self), pszpath.into_param().abi()).ok()
2181 }
2182 }
2183 ::windows::imp::interface_hierarchy!(ICameraUIControl, ::windows::core::IUnknown);
2184 impl ::core::cmp::PartialEq for ICameraUIControl {
2185 fn eq(&self, other: &Self) -> bool {
2186 self.0 == other.0
2187 }
2188 }
2189 impl ::core::cmp::Eq for ICameraUIControl {}
2190 impl ::core::fmt::Debug for ICameraUIControl {
2191 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
2192 f.debug_tuple("ICameraUIControl").field(&self.0).finish()
2193 }
2194 }
2195 unsafe impl ::windows::core::Interface for ICameraUIControl {
2196 type Vtable = ICameraUIControl_Vtbl;
2197 }
2198 impl ::core::clone::Clone for ICameraUIControl {
2199 fn clone(&self) -> Self {
2200 Self(self.0.clone())
2201 }
2202 }
2203 unsafe impl ::windows::core::ComInterface for ICameraUIControl {
2204 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xb8733adf_3d68_4b8f_bb08_e28a0bed0376);
2205 }
2206 #[repr(C)]
2207 #[doc(hidden)]
2208 pub struct ICameraUIControl_Vtbl {
2209 pub base__: ::windows::core::IUnknown_Vtbl,
2210 #[cfg(feature = "Win32_Foundation")]
2211 pub Show: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwindow: *mut ::core::ffi::c_void, mode: CameraUIControlMode, selectionmode: CameraUIControlLinearSelectionMode, capturemode: CameraUIControlCaptureMode, photoformat: CameraUIControlPhotoFormat, videoformat: CameraUIControlVideoFormat, bhasclosebutton: super::super::Foundation::BOOL, peventcallback: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
2212 #[cfg(not(feature = "Win32_Foundation"))]
2213 Show: usize,
2214 pub Close: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
2215 #[cfg(feature = "Win32_Foundation")]
2216 pub Suspend: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbdeferralrequired: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT,
2217 #[cfg(not(feature = "Win32_Foundation"))]
2218 Suspend: usize,
2219 pub Resume: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
2220 pub GetCurrentViewType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pviewtype: *mut CameraUIControlViewType) -> ::windows::core::HRESULT,
2221 pub GetActiveItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbstractiveitempath: *mut ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT,
2222 #[cfg(feature = "Win32_System_Com")]
2223 pub GetSelectedItems: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppselecteditempaths: *mut *mut super::Com::SAFEARRAY) -> ::windows::core::HRESULT,
2224 #[cfg(not(feature = "Win32_System_Com"))]
2225 GetSelectedItems: usize,
2226 pub RemoveCapturedItem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pszpath: ::windows::core::PCWSTR) -> ::windows::core::HRESULT,
2227 }
2228 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2229 #[repr(transparent)]
2230 pub struct ICameraUIControlEventCallback(::windows::core::IUnknown);
2231 impl ICameraUIControlEventCallback {
2232 pub unsafe fn OnStartupComplete(&self) {
2233 (::windows::core::Interface::vtable(self).OnStartupComplete)(::windows::core::Interface::as_raw(self))
2234 }
2235 pub unsafe fn OnSuspendComplete(&self) {
2236 (::windows::core::Interface::vtable(self).OnSuspendComplete)(::windows::core::Interface::as_raw(self))
2237 }
2238 pub unsafe fn OnItemCaptured<P0>(&self, pszpath: P0)
2239 where
2240 P0: ::windows::core::IntoParam<::windows::core::PCWSTR>,
2241 {
2242 (::windows::core::Interface::vtable(self).OnItemCaptured)(::windows::core::Interface::as_raw(self), pszpath.into_param().abi())
2243 }
2244 pub unsafe fn OnItemDeleted<P0>(&self, pszpath: P0)
2245 where
2246 P0: ::windows::core::IntoParam<::windows::core::PCWSTR>,
2247 {
2248 (::windows::core::Interface::vtable(self).OnItemDeleted)(::windows::core::Interface::as_raw(self), pszpath.into_param().abi())
2249 }
2250 pub unsafe fn OnClosed(&self) {
2251 (::windows::core::Interface::vtable(self).OnClosed)(::windows::core::Interface::as_raw(self))
2252 }
2253 }
2254 ::windows::imp::interface_hierarchy!(ICameraUIControlEventCallback, ::windows::core::IUnknown);
2255 impl ::core::cmp::PartialEq for ICameraUIControlEventCallback {
2256 fn eq(&self, other: &Self) -> bool {
2257 self.0 == other.0
2258 }
2259 }
2260 impl ::core::cmp::Eq for ICameraUIControlEventCallback {}
2261 impl ::core::fmt::Debug for ICameraUIControlEventCallback {
2262 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
2263 f.debug_tuple("ICameraUIControlEventCallback").field(&self.0).finish()
2264 }
2265 }
2266 unsafe impl ::windows::core::Interface for ICameraUIControlEventCallback {
2267 type Vtable = ICameraUIControlEventCallback_Vtbl;
2268 }
2269 impl ::core::clone::Clone for ICameraUIControlEventCallback {
2270 fn clone(&self) -> Self {
2271 Self(self.0.clone())
2272 }
2273 }
2274 unsafe impl ::windows::core::ComInterface for ICameraUIControlEventCallback {
2275 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x1bfa0c2c_fbcd_4776_bda4_88bf974e74f4);
2276 }
2277 #[repr(C)]
2278 #[doc(hidden)]
2279 pub struct ICameraUIControlEventCallback_Vtbl {
2280 pub base__: ::windows::core::IUnknown_Vtbl,
2281 pub OnStartupComplete: unsafe extern "system" fn(this: *mut ::core::ffi::c_void),
2282 pub OnSuspendComplete: unsafe extern "system" fn(this: *mut ::core::ffi::c_void),
2283 pub OnItemCaptured: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pszpath: ::windows::core::PCWSTR),
2284 pub OnItemDeleted: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pszpath: ::windows::core::PCWSTR),
2285 pub OnClosed: unsafe extern "system" fn(this: *mut ::core::ffi::c_void),
2286 }
2287 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2288 #[repr(transparent)]
2289 pub struct IClipServiceNotificationHelper(::windows::core::IUnknown);
2290 impl IClipServiceNotificationHelper {
2291 pub unsafe fn ShowToast<P0, P1, P2, P3, P4>(&self, titletext: P0, bodytext: P1, packagename: P2, appid: P3, launchcommand: P4) -> ::windows::core::Result<()>
2292 where
2293 P0: ::windows::core::IntoParam<::windows::core::BSTR>,
2294 P1: ::windows::core::IntoParam<::windows::core::BSTR>,
2295 P2: ::windows::core::IntoParam<::windows::core::BSTR>,
2296 P3: ::windows::core::IntoParam<::windows::core::BSTR>,
2297 P4: ::windows::core::IntoParam<::windows::core::BSTR>,
2298 {
2299 (::windows::core::Interface::vtable(self).ShowToast)(::windows::core::Interface::as_raw(self), titletext.into_param().abi(), bodytext.into_param().abi(), packagename.into_param().abi(), appid.into_param().abi(), launchcommand.into_param().abi()).ok()
2300 }
2301 }
2302 ::windows::imp::interface_hierarchy!(IClipServiceNotificationHelper, ::windows::core::IUnknown);
2303 impl ::core::cmp::PartialEq for IClipServiceNotificationHelper {
2304 fn eq(&self, other: &Self) -> bool {
2305 self.0 == other.0
2306 }
2307 }
2308 impl ::core::cmp::Eq for IClipServiceNotificationHelper {}
2309 impl ::core::fmt::Debug for IClipServiceNotificationHelper {
2310 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
2311 f.debug_tuple("IClipServiceNotificationHelper").field(&self.0).finish()
2312 }
2313 }
2314 unsafe impl ::windows::core::Interface for IClipServiceNotificationHelper {
2315 type Vtable = IClipServiceNotificationHelper_Vtbl;
2316 }
2317 impl ::core::clone::Clone for IClipServiceNotificationHelper {
2318 fn clone(&self) -> Self {
2319 Self(self.0.clone())
2320 }
2321 }
2322 unsafe impl ::windows::core::ComInterface for IClipServiceNotificationHelper {
2323 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xc39948f0_6142_44fd_98ca_e1681a8d68b5);
2324 }
2325 #[repr(C)]
2326 #[doc(hidden)]
2327 pub struct IClipServiceNotificationHelper_Vtbl {
2328 pub base__: ::windows::core::IUnknown_Vtbl,
2329 pub ShowToast: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, titletext: ::std::mem::MaybeUninit<::windows::core::BSTR>, bodytext: ::std::mem::MaybeUninit<::windows::core::BSTR>, packagename: ::std::mem::MaybeUninit<::windows::core::BSTR>, appid: ::std::mem::MaybeUninit<::windows::core::BSTR>, launchcommand: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT,
2330 }
2331 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2332 #[repr(transparent)]
2333 pub struct IContainerActivationHelper(::windows::core::IUnknown);
2334 impl IContainerActivationHelper {
2335 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
2336 #[cfg(feature = "Win32_Foundation")]
2337 pub unsafe fn CanActivateClientVM(&self) -> ::windows::core::Result<super::super::Foundation::VARIANT_BOOL> {
2338 let mut result__ = ::windows::core::zeroed::<super::super::Foundation::VARIANT_BOOL>();
2339 (::windows::core::Interface::vtable(self).CanActivateClientVM)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__)
2340 }
2341 }
2342 ::windows::imp::interface_hierarchy!(IContainerActivationHelper, ::windows::core::IUnknown);
2343 impl ::core::cmp::PartialEq for IContainerActivationHelper {
2344 fn eq(&self, other: &Self) -> bool {
2345 self.0 == other.0
2346 }
2347 }
2348 impl ::core::cmp::Eq for IContainerActivationHelper {}
2349 impl ::core::fmt::Debug for IContainerActivationHelper {
2350 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
2351 f.debug_tuple("IContainerActivationHelper").field(&self.0).finish()
2352 }
2353 }
2354 unsafe impl ::windows::core::Interface for IContainerActivationHelper {
2355 type Vtable = IContainerActivationHelper_Vtbl;
2356 }
2357 impl ::core::clone::Clone for IContainerActivationHelper {
2358 fn clone(&self) -> Self {
2359 Self(self.0.clone())
2360 }
2361 }
2362 unsafe impl ::windows::core::ComInterface for IContainerActivationHelper {
2363 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xb524f93f_80d5_4ec7_ae9e_d66e93ade1fa);
2364 }
2365 #[repr(C)]
2366 #[doc(hidden)]
2367 pub struct IContainerActivationHelper_Vtbl {
2368 pub base__: ::windows::core::IUnknown_Vtbl,
2369 #[cfg(feature = "Win32_Foundation")]
2370 pub CanActivateClientVM: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, isallowed: *mut super::super::Foundation::VARIANT_BOOL) -> ::windows::core::HRESULT,
2371 #[cfg(not(feature = "Win32_Foundation"))]
2372 CanActivateClientVM: usize,
2373 }
2374 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2375 #[repr(transparent)]
2376 pub struct IDefaultBrowserSyncSettings(::windows::core::IUnknown);
2377 impl IDefaultBrowserSyncSettings {
2378 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
2379 #[cfg(feature = "Win32_Foundation")]
2380 pub unsafe fn IsEnabled(&self) -> super::super::Foundation::BOOL {
2381 (::windows::core::Interface::vtable(self).IsEnabled)(::windows::core::Interface::as_raw(self))
2382 }
2383 }
2384 ::windows::imp::interface_hierarchy!(IDefaultBrowserSyncSettings, ::windows::core::IUnknown);
2385 impl ::core::cmp::PartialEq for IDefaultBrowserSyncSettings {
2386 fn eq(&self, other: &Self) -> bool {
2387 self.0 == other.0
2388 }
2389 }
2390 impl ::core::cmp::Eq for IDefaultBrowserSyncSettings {}
2391 impl ::core::fmt::Debug for IDefaultBrowserSyncSettings {
2392 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
2393 f.debug_tuple("IDefaultBrowserSyncSettings").field(&self.0).finish()
2394 }
2395 }
2396 unsafe impl ::windows::core::Interface for IDefaultBrowserSyncSettings {
2397 type Vtable = IDefaultBrowserSyncSettings_Vtbl;
2398 }
2399 impl ::core::clone::Clone for IDefaultBrowserSyncSettings {
2400 fn clone(&self) -> Self {
2401 Self(self.0.clone())
2402 }
2403 }
2404 unsafe impl ::windows::core::ComInterface for IDefaultBrowserSyncSettings {
2405 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x7a27faad_5ae6_4255_9030_c530936292e3);
2406 }
2407 #[repr(C)]
2408 #[doc(hidden)]
2409 pub struct IDefaultBrowserSyncSettings_Vtbl {
2410 pub base__: ::windows::core::IUnknown_Vtbl,
2411 #[cfg(feature = "Win32_Foundation")]
2412 pub IsEnabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL,
2413 #[cfg(not(feature = "Win32_Foundation"))]
2414 IsEnabled: usize,
2415 }
2416 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2417 #[repr(transparent)]
2418 pub struct IDeleteBrowsingHistory(::windows::core::IUnknown);
2419 impl IDeleteBrowsingHistory {
2420 pub unsafe fn DeleteBrowsingHistory(&self, dwflags: u32) -> ::windows::core::Result<()> {
2421 (::windows::core::Interface::vtable(self).DeleteBrowsingHistory)(::windows::core::Interface::as_raw(self), dwflags).ok()
2422 }
2423 }
2424 ::windows::imp::interface_hierarchy!(IDeleteBrowsingHistory, ::windows::core::IUnknown);
2425 impl ::core::cmp::PartialEq for IDeleteBrowsingHistory {
2426 fn eq(&self, other: &Self) -> bool {
2427 self.0 == other.0
2428 }
2429 }
2430 impl ::core::cmp::Eq for IDeleteBrowsingHistory {}
2431 impl ::core::fmt::Debug for IDeleteBrowsingHistory {
2432 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
2433 f.debug_tuple("IDeleteBrowsingHistory").field(&self.0).finish()
2434 }
2435 }
2436 unsafe impl ::windows::core::Interface for IDeleteBrowsingHistory {
2437 type Vtable = IDeleteBrowsingHistory_Vtbl;
2438 }
2439 impl ::core::clone::Clone for IDeleteBrowsingHistory {
2440 fn clone(&self) -> Self {
2441 Self(self.0.clone())
2442 }
2443 }
2444 unsafe impl ::windows::core::ComInterface for IDeleteBrowsingHistory {
2445 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xcf38ed4b_2be7_4461_8b5e_9a466dc82ae3);
2446 }
2447 #[repr(C)]
2448 #[doc(hidden)]
2449 pub struct IDeleteBrowsingHistory_Vtbl {
2450 pub base__: ::windows::core::IUnknown_Vtbl,
2451 pub DeleteBrowsingHistory: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwflags: u32) -> ::windows::core::HRESULT,
2452 }
2453 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2454 #[repr(transparent)]
2455 pub struct IEditionUpgradeBroker(::windows::core::IUnknown);
2456 impl IEditionUpgradeBroker {
2457 #[doc = "*Required features: `\"Win32_System_Ole\"`*"]
2458 #[cfg(feature = "Win32_System_Ole")]
2459 pub unsafe fn InitializeParentWindow<P0>(&self, parenthandle: P0) -> ::windows::core::Result<()>
2460 where
2461 P0: ::windows::core::IntoParam<super::Ole::OLE_HANDLE>,
2462 {
2463 (::windows::core::Interface::vtable(self).InitializeParentWindow)(::windows::core::Interface::as_raw(self), parenthandle.into_param().abi()).ok()
2464 }
2465 pub unsafe fn UpdateOperatingSystem<P0>(&self, parameter: P0) -> ::windows::core::Result<()>
2466 where
2467 P0: ::windows::core::IntoParam<::windows::core::BSTR>,
2468 {
2469 (::windows::core::Interface::vtable(self).UpdateOperatingSystem)(::windows::core::Interface::as_raw(self), parameter.into_param().abi()).ok()
2470 }
2471 pub unsafe fn ShowProductKeyUI(&self) -> ::windows::core::Result<()> {
2472 (::windows::core::Interface::vtable(self).ShowProductKeyUI)(::windows::core::Interface::as_raw(self)).ok()
2473 }
2474 pub unsafe fn CanUpgrade(&self) -> ::windows::core::Result<()> {
2475 (::windows::core::Interface::vtable(self).CanUpgrade)(::windows::core::Interface::as_raw(self)).ok()
2476 }
2477 }
2478 ::windows::imp::interface_hierarchy!(IEditionUpgradeBroker, ::windows::core::IUnknown);
2479 impl ::core::cmp::PartialEq for IEditionUpgradeBroker {
2480 fn eq(&self, other: &Self) -> bool {
2481 self.0 == other.0
2482 }
2483 }
2484 impl ::core::cmp::Eq for IEditionUpgradeBroker {}
2485 impl ::core::fmt::Debug for IEditionUpgradeBroker {
2486 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
2487 f.debug_tuple("IEditionUpgradeBroker").field(&self.0).finish()
2488 }
2489 }
2490 unsafe impl ::windows::core::Interface for IEditionUpgradeBroker {
2491 type Vtable = IEditionUpgradeBroker_Vtbl;
2492 }
2493 impl ::core::clone::Clone for IEditionUpgradeBroker {
2494 fn clone(&self) -> Self {
2495 Self(self.0.clone())
2496 }
2497 }
2498 unsafe impl ::windows::core::ComInterface for IEditionUpgradeBroker {
2499 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xff19cbcf_9455_4937_b872_6b7929a460af);
2500 }
2501 #[repr(C)]
2502 #[doc(hidden)]
2503 pub struct IEditionUpgradeBroker_Vtbl {
2504 pub base__: ::windows::core::IUnknown_Vtbl,
2505 #[cfg(feature = "Win32_System_Ole")]
2506 pub InitializeParentWindow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, parenthandle: super::Ole::OLE_HANDLE) -> ::windows::core::HRESULT,
2507 #[cfg(not(feature = "Win32_System_Ole"))]
2508 InitializeParentWindow: usize,
2509 pub UpdateOperatingSystem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, parameter: ::std::mem::MaybeUninit<::windows::core::BSTR>) -> ::windows::core::HRESULT,
2510 pub ShowProductKeyUI: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
2511 pub CanUpgrade: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
2512 }
2513 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2514 #[repr(transparent)]
2515 pub struct IEditionUpgradeHelper(::windows::core::IUnknown);
2516 impl IEditionUpgradeHelper {
2517 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
2518 #[cfg(feature = "Win32_Foundation")]
2519 pub unsafe fn CanUpgrade(&self) -> ::windows::core::Result<super::super::Foundation::BOOL> {
2520 let mut result__ = ::windows::core::zeroed::<super::super::Foundation::BOOL>();
2521 (::windows::core::Interface::vtable(self).CanUpgrade)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__)
2522 }
2523 pub unsafe fn UpdateOperatingSystem<P0>(&self, contentid: P0) -> ::windows::core::Result<()>
2524 where
2525 P0: ::windows::core::IntoParam<::windows::core::PCWSTR>,
2526 {
2527 (::windows::core::Interface::vtable(self).UpdateOperatingSystem)(::windows::core::Interface::as_raw(self), contentid.into_param().abi()).ok()
2528 }
2529 pub unsafe fn ShowProductKeyUI(&self) -> ::windows::core::Result<()> {
2530 (::windows::core::Interface::vtable(self).ShowProductKeyUI)(::windows::core::Interface::as_raw(self)).ok()
2531 }
2532 pub unsafe fn GetOsProductContentId(&self) -> ::windows::core::Result<::windows::core::PWSTR> {
2533 let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>();
2534 (::windows::core::Interface::vtable(self).GetOsProductContentId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__)
2535 }
2536 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
2537 #[cfg(feature = "Win32_Foundation")]
2538 pub unsafe fn GetGenuineLocalStatus(&self) -> ::windows::core::Result<super::super::Foundation::BOOL> {
2539 let mut result__ = ::windows::core::zeroed::<super::super::Foundation::BOOL>();
2540 (::windows::core::Interface::vtable(self).GetGenuineLocalStatus)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__)
2541 }
2542 }
2543 ::windows::imp::interface_hierarchy!(IEditionUpgradeHelper, ::windows::core::IUnknown);
2544 impl ::core::cmp::PartialEq for IEditionUpgradeHelper {
2545 fn eq(&self, other: &Self) -> bool {
2546 self.0 == other.0
2547 }
2548 }
2549 impl ::core::cmp::Eq for IEditionUpgradeHelper {}
2550 impl ::core::fmt::Debug for IEditionUpgradeHelper {
2551 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
2552 f.debug_tuple("IEditionUpgradeHelper").field(&self.0).finish()
2553 }
2554 }
2555 unsafe impl ::windows::core::Interface for IEditionUpgradeHelper {
2556 type Vtable = IEditionUpgradeHelper_Vtbl;
2557 }
2558 impl ::core::clone::Clone for IEditionUpgradeHelper {
2559 fn clone(&self) -> Self {
2560 Self(self.0.clone())
2561 }
2562 }
2563 unsafe impl ::windows::core::ComInterface for IEditionUpgradeHelper {
2564 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xd3e9e342_5deb_43b6_849e_6913b85d503a);
2565 }
2566 #[repr(C)]
2567 #[doc(hidden)]
2568 pub struct IEditionUpgradeHelper_Vtbl {
2569 pub base__: ::windows::core::IUnknown_Vtbl,
2570 #[cfg(feature = "Win32_Foundation")]
2571 pub CanUpgrade: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, isallowed: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT,
2572 #[cfg(not(feature = "Win32_Foundation"))]
2573 CanUpgrade: usize,
2574 pub UpdateOperatingSystem: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, contentid: ::windows::core::PCWSTR) -> ::windows::core::HRESULT,
2575 pub ShowProductKeyUI: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT,
2576 pub GetOsProductContentId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, contentid: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT,
2577 #[cfg(feature = "Win32_Foundation")]
2578 pub GetGenuineLocalStatus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, isgenuine: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT,
2579 #[cfg(not(feature = "Win32_Foundation"))]
2580 GetGenuineLocalStatus: usize,
2581 }
2582 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2583 #[repr(transparent)]
2584 pub struct IWindowsLockModeHelper(::windows::core::IUnknown);
2585 impl IWindowsLockModeHelper {
2586 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
2587 #[cfg(feature = "Win32_Foundation")]
2588 pub unsafe fn GetSMode(&self) -> ::windows::core::Result<super::super::Foundation::BOOL> {
2589 let mut result__ = ::windows::core::zeroed::<super::super::Foundation::BOOL>();
2590 (::windows::core::Interface::vtable(self).GetSMode)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__)
2591 }
2592 }
2593 ::windows::imp::interface_hierarchy!(IWindowsLockModeHelper, ::windows::core::IUnknown);
2594 impl ::core::cmp::PartialEq for IWindowsLockModeHelper {
2595 fn eq(&self, other: &Self) -> bool {
2596 self.0 == other.0
2597 }
2598 }
2599 impl ::core::cmp::Eq for IWindowsLockModeHelper {}
2600 impl ::core::fmt::Debug for IWindowsLockModeHelper {
2601 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
2602 f.debug_tuple("IWindowsLockModeHelper").field(&self.0).finish()
2603 }
2604 }
2605 unsafe impl ::windows::core::Interface for IWindowsLockModeHelper {
2606 type Vtable = IWindowsLockModeHelper_Vtbl;
2607 }
2608 impl ::core::clone::Clone for IWindowsLockModeHelper {
2609 fn clone(&self) -> Self {
2610 Self(self.0.clone())
2611 }
2612 }
2613 unsafe impl ::windows::core::ComInterface for IWindowsLockModeHelper {
2614 const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xf342d19e_cc22_4648_bb5d_03ccf75b47c5);
2615 }
2616 #[repr(C)]
2617 #[doc(hidden)]
2618 pub struct IWindowsLockModeHelper_Vtbl {
2619 pub base__: ::windows::core::IUnknown_Vtbl,
2620 #[cfg(feature = "Win32_Foundation")]
2621 pub GetSMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, issmode: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT,
2622 #[cfg(not(feature = "Win32_Foundation"))]
2623 GetSMode: usize,
2624 }
2625 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2626 pub const AADBE_ADD_ENTRY: u32 = 1u32;
2627 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2628 pub const AADBE_DEL_ENTRY: u32 = 2u32;
2629 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2630 pub const ACTCTX_FLAG_APPLICATION_NAME_VALID: u32 = 32u32;
2631 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2632 pub const ACTCTX_FLAG_ASSEMBLY_DIRECTORY_VALID: u32 = 4u32;
2633 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2634 pub const ACTCTX_FLAG_HMODULE_VALID: u32 = 128u32;
2635 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2636 pub const ACTCTX_FLAG_LANGID_VALID: u32 = 2u32;
2637 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2638 pub const ACTCTX_FLAG_PROCESSOR_ARCHITECTURE_VALID: u32 = 1u32;
2639 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2640 pub const ACTCTX_FLAG_RESOURCE_NAME_VALID: u32 = 8u32;
2641 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2642 pub const ACTCTX_FLAG_SET_PROCESS_DEFAULT: u32 = 16u32;
2643 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2644 pub const ACTCTX_FLAG_SOURCE_IS_ASSEMBLYREF: u32 = 64u32;
2645 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2646 pub const ACTIVATION_CONTEXT_BASIC_INFORMATION_DEFINED: u32 = 1u32;
2647 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2648 pub const AC_LINE_BACKUP_POWER: u32 = 2u32;
2649 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2650 pub const AC_LINE_OFFLINE: u32 = 0u32;
2651 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2652 pub const AC_LINE_ONLINE: u32 = 1u32;
2653 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2654 pub const AC_LINE_UNKNOWN: u32 = 255u32;
2655 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2656 pub const ADN_DEL_IF_EMPTY: u32 = 1u32;
2657 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2658 pub const ADN_DEL_UNC_PATHS: u32 = 8u32;
2659 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2660 pub const ADN_DONT_DEL_DIR: u32 = 4u32;
2661 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2662 pub const ADN_DONT_DEL_SUBDIRS: u32 = 2u32;
2663 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2664 pub const AFSR_BACKNEW: u32 = 2u32;
2665 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2666 pub const AFSR_EXTRAINCREFCNT: u32 = 2048u32;
2667 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2668 pub const AFSR_NODELETENEW: u32 = 4u32;
2669 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2670 pub const AFSR_NOMESSAGES: u32 = 8u32;
2671 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2672 pub const AFSR_NOPROGRESS: u32 = 16u32;
2673 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2674 pub const AFSR_RESTORE: u32 = 1u32;
2675 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2676 pub const AFSR_UPDREFCNT: u32 = 512u32;
2677 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2678 pub const AFSR_USEREFCNT: u32 = 1024u32;
2679 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2680 pub const AIF_FORCE_FILE_IN_USE: u32 = 8u32;
2681 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2682 pub const AIF_NOLANGUAGECHECK: u32 = 268435456u32;
2683 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2684 pub const AIF_NOOVERWRITE: u32 = 16u32;
2685 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2686 pub const AIF_NOSKIP: u32 = 2u32;
2687 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2688 pub const AIF_NOVERSIONCHECK: u32 = 4u32;
2689 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2690 pub const AIF_NO_VERSION_DIALOG: u32 = 32u32;
2691 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2692 pub const AIF_QUIET: u32 = 536870912u32;
2693 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2694 pub const AIF_REPLACEONLY: u32 = 1024u32;
2695 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2696 pub const AIF_WARNIFSKIP: u32 = 1u32;
2697 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2698 pub const ALINF_BKINSTALL: u32 = 32u32;
2699 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2700 pub const ALINF_CHECKBKDATA: u32 = 128u32;
2701 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2702 pub const ALINF_DELAYREGISTEROCX: u32 = 512u32;
2703 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2704 pub const ALINF_NGCONV: u32 = 8u32;
2705 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2706 pub const ALINF_QUIET: u32 = 4u32;
2707 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2708 pub const ALINF_ROLLBACK: u32 = 64u32;
2709 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2710 pub const ALINF_ROLLBKDOALL: u32 = 256u32;
2711 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2712 pub const ALINF_UPDHLPDLLS: u32 = 16u32;
2713 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2714 pub const ARSR_NOMESSAGES: u32 = 8u32;
2715 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2716 pub const ARSR_REGSECTION: u32 = 128u32;
2717 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2718 pub const ARSR_REMOVREGBKDATA: u32 = 4096u32;
2719 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2720 pub const ARSR_RESTORE: u32 = 1u32;
2721 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2722 pub const ATOM_FLAG_GLOBAL: u32 = 2u32;
2723 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2724 pub const AT_ARP: u32 = 640u32;
2725 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2726 pub const AT_NULL: u32 = 642u32;
2727 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2728 pub const BACKUP_GHOSTED_FILE_EXTENTS: u32 = 11u32;
2729 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2730 pub const BACKUP_INVALID: u32 = 0u32;
2731 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2732 pub const BASE_SEARCH_PATH_DISABLE_SAFE_SEARCHMODE: u32 = 65536u32;
2733 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2734 pub const BASE_SEARCH_PATH_ENABLE_SAFE_SEARCHMODE: u32 = 1u32;
2735 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2736 pub const BASE_SEARCH_PATH_PERMANENT: u32 = 32768u32;
2737 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2738 pub const BATTERY_FLAG_CHARGING: u32 = 8u32;
2739 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2740 pub const BATTERY_FLAG_CRITICAL: u32 = 4u32;
2741 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2742 pub const BATTERY_FLAG_HIGH: u32 = 1u32;
2743 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2744 pub const BATTERY_FLAG_LOW: u32 = 2u32;
2745 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2746 pub const BATTERY_FLAG_NO_BATTERY: u32 = 128u32;
2747 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2748 pub const BATTERY_FLAG_UNKNOWN: u32 = 255u32;
2749 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2750 pub const BATTERY_LIFE_UNKNOWN: u32 = 4294967295u32;
2751 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2752 pub const BATTERY_PERCENTAGE_UNKNOWN: u32 = 255u32;
2753 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2754 pub const BAUD_075: u32 = 1u32;
2755 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2756 pub const BAUD_110: u32 = 2u32;
2757 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2758 pub const BAUD_115200: u32 = 131072u32;
2759 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2760 pub const BAUD_1200: u32 = 64u32;
2761 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2762 pub const BAUD_128K: u32 = 65536u32;
2763 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2764 pub const BAUD_134_5: u32 = 4u32;
2765 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2766 pub const BAUD_14400: u32 = 4096u32;
2767 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2768 pub const BAUD_150: u32 = 8u32;
2769 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2770 pub const BAUD_1800: u32 = 128u32;
2771 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2772 pub const BAUD_19200: u32 = 8192u32;
2773 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2774 pub const BAUD_2400: u32 = 256u32;
2775 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2776 pub const BAUD_300: u32 = 16u32;
2777 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2778 pub const BAUD_38400: u32 = 16384u32;
2779 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2780 pub const BAUD_4800: u32 = 512u32;
2781 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2782 pub const BAUD_56K: u32 = 32768u32;
2783 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2784 pub const BAUD_57600: u32 = 262144u32;
2785 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2786 pub const BAUD_600: u32 = 32u32;
2787 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2788 pub const BAUD_7200: u32 = 1024u32;
2789 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2790 pub const BAUD_9600: u32 = 2048u32;
2791 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2792 pub const BAUD_USER: u32 = 268435456u32;
2793 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2794 pub const CATID_DeleteBrowsingHistory: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x31caf6e4_d6aa_4090_a050_a5ac8972e9ef);
2795 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2796 pub const CBR_110: u32 = 110u32;
2797 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2798 pub const CBR_115200: u32 = 115200u32;
2799 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2800 pub const CBR_1200: u32 = 1200u32;
2801 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2802 pub const CBR_128000: u32 = 128000u32;
2803 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2804 pub const CBR_14400: u32 = 14400u32;
2805 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2806 pub const CBR_19200: u32 = 19200u32;
2807 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2808 pub const CBR_2400: u32 = 2400u32;
2809 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2810 pub const CBR_256000: u32 = 256000u32;
2811 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2812 pub const CBR_300: u32 = 300u32;
2813 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2814 pub const CBR_38400: u32 = 38400u32;
2815 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2816 pub const CBR_4800: u32 = 4800u32;
2817 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2818 pub const CBR_56000: u32 = 56000u32;
2819 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2820 pub const CBR_57600: u32 = 57600u32;
2821 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2822 pub const CBR_600: u32 = 600u32;
2823 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2824 pub const CBR_9600: u32 = 9600u32;
2825 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2826 pub const CE_DNS: u32 = 2048u32;
2827 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2828 pub const CE_IOE: u32 = 1024u32;
2829 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2830 pub const CE_MODE: u32 = 32768u32;
2831 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2832 pub const CE_OOP: u32 = 4096u32;
2833 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2834 pub const CE_PTO: u32 = 512u32;
2835 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2836 pub const CE_TXFULL: u32 = 256u32;
2837 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2838 pub const CL_NL_IP: u32 = 771u32;
2839 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2840 pub const CL_NL_IPX: u32 = 769u32;
2841 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2842 pub const CL_TL_NBF: u32 = 1025u32;
2843 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2844 pub const CL_TL_UDP: u32 = 1027u32;
2845 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2846 pub const CODEINTEGRITY_OPTION_DEBUGMODE_ENABLED: u32 = 128u32;
2847 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2848 pub const CODEINTEGRITY_OPTION_ENABLED: u32 = 1u32;
2849 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2850 pub const CODEINTEGRITY_OPTION_FLIGHTING_ENABLED: u32 = 512u32;
2851 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2852 pub const CODEINTEGRITY_OPTION_FLIGHT_BUILD: u32 = 256u32;
2853 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2854 pub const CODEINTEGRITY_OPTION_HVCI_IUM_ENABLED: u32 = 8192u32;
2855 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2856 pub const CODEINTEGRITY_OPTION_HVCI_KMCI_AUDITMODE_ENABLED: u32 = 2048u32;
2857 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2858 pub const CODEINTEGRITY_OPTION_HVCI_KMCI_ENABLED: u32 = 1024u32;
2859 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2860 pub const CODEINTEGRITY_OPTION_HVCI_KMCI_STRICTMODE_ENABLED: u32 = 4096u32;
2861 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2862 pub const CODEINTEGRITY_OPTION_PREPRODUCTION_BUILD: u32 = 64u32;
2863 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2864 pub const CODEINTEGRITY_OPTION_TESTSIGN: u32 = 2u32;
2865 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2866 pub const CODEINTEGRITY_OPTION_TEST_BUILD: u32 = 32u32;
2867 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2868 pub const CODEINTEGRITY_OPTION_UMCI_AUDITMODE_ENABLED: u32 = 8u32;
2869 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2870 pub const CODEINTEGRITY_OPTION_UMCI_ENABLED: u32 = 4u32;
2871 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2872 pub const CODEINTEGRITY_OPTION_UMCI_EXCLUSIONPATHS_ENABLED: u32 = 16u32;
2873 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2874 pub const COMMPROP_INITIALIZED: u32 = 3879531822u32;
2875 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2876 pub const CONTEXT_SIZE: u32 = 16u32;
2877 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2878 pub const COPYFILE2_IO_CYCLE_SIZE_MAX: u32 = 1073741824u32;
2879 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2880 pub const COPYFILE2_IO_CYCLE_SIZE_MIN: u32 = 4096u32;
2881 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2882 pub const COPYFILE2_IO_RATE_MIN: u32 = 512u32;
2883 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2884 pub const COPYFILE2_MESSAGE_COPY_OFFLOAD: i32 = 1i32;
2885 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2886 pub const COPY_FILE_ALLOW_DECRYPTED_DESTINATION: u32 = 8u32;
2887 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2888 pub const COPY_FILE_COPY_SYMLINK: u32 = 2048u32;
2889 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2890 pub const COPY_FILE_DIRECTORY: u32 = 128u32;
2891 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2892 pub const COPY_FILE_DISABLE_PRE_ALLOCATION: u32 = 67108864u32;
2893 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2894 pub const COPY_FILE_DONT_REQUEST_DEST_WRITE_DAC: u32 = 33554432u32;
2895 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2896 pub const COPY_FILE_ENABLE_LOW_FREE_SPACE_MODE: u32 = 134217728u32;
2897 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2898 pub const COPY_FILE_FAIL_IF_EXISTS: u32 = 1u32;
2899 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2900 pub const COPY_FILE_IGNORE_EDP_BLOCK: u32 = 4194304u32;
2901 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2902 pub const COPY_FILE_IGNORE_SOURCE_ENCRYPTION: u32 = 8388608u32;
2903 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2904 pub const COPY_FILE_NO_BUFFERING: u32 = 4096u32;
2905 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2906 pub const COPY_FILE_NO_OFFLOAD: u32 = 262144u32;
2907 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2908 pub const COPY_FILE_OPEN_AND_COPY_REPARSE_POINT: u32 = 2097152u32;
2909 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2910 pub const COPY_FILE_OPEN_SOURCE_FOR_WRITE: u32 = 4u32;
2911 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2912 pub const COPY_FILE_REQUEST_COMPRESSED_TRAFFIC: u32 = 268435456u32;
2913 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2914 pub const COPY_FILE_REQUEST_SECURITY_PRIVILEGES: u32 = 8192u32;
2915 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2916 pub const COPY_FILE_RESTARTABLE: u32 = 2u32;
2917 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2918 pub const COPY_FILE_RESUME_FROM_PAUSE: u32 = 16384u32;
2919 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2920 pub const COPY_FILE_SKIP_ALTERNATE_STREAMS: u32 = 32768u32;
2921 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2922 pub const CO_TL_NBF: u32 = 1024u32;
2923 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2924 pub const CO_TL_SPP: u32 = 1030u32;
2925 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2926 pub const CO_TL_SPX: u32 = 1026u32;
2927 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2928 pub const CO_TL_TCP: u32 = 1028u32;
2929 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2930 pub const CP_DIRECT: u32 = 2u32;
2931 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2932 pub const CP_HWND: u32 = 0u32;
2933 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2934 pub const CP_LEVEL: u32 = 3u32;
2935 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2936 pub const CP_OPEN: u32 = 1u32;
2937 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2938 pub const CREATE_FOR_DIR: u32 = 2u32;
2939 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2940 pub const CREATE_FOR_IMPORT: u32 = 1u32;
2941 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2942 pub const CRITICAL_SECTION_NO_DEBUG_INFO: u32 = 16777216u32;
2943 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2944 pub const CameraUIControl: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x16d5a2be_b1c5_47b3_8eae_ccbcf452c7e8);
2945 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2946 pub const DCICREATEOFFSCREENSURFACE: u32 = 2u32;
2947 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2948 pub const DCICREATEOVERLAYSURFACE: u32 = 3u32;
2949 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2950 pub const DCICREATEPRIMARYSURFACE: u32 = 1u32;
2951 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2952 pub const DCIENUMSURFACE: u32 = 4u32;
2953 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2954 pub const DCIESCAPE: u32 = 5u32;
2955 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2956 pub const DCI_1632_ACCESS: u32 = 64u32;
2957 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2958 pub const DCI_ASYNC: u32 = 1024u32;
2959 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2960 pub const DCI_CANOVERLAY: u32 = 65536u32;
2961 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2962 pub const DCI_CAN_STRETCHX: u32 = 4096u32;
2963 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2964 pub const DCI_CAN_STRETCHXN: u32 = 16384u32;
2965 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2966 pub const DCI_CAN_STRETCHY: u32 = 8192u32;
2967 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2968 pub const DCI_CAN_STRETCHYN: u32 = 32768u32;
2969 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2970 pub const DCI_CHROMAKEY: u32 = 32u32;
2971 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2972 pub const DCI_DWORDALIGN: u32 = 256u32;
2973 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2974 pub const DCI_DWORDSIZE: u32 = 128u32;
2975 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2976 pub const DCI_ERR_CURRENTLYNOTAVAIL: i32 = -5i32;
2977 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2978 pub const DCI_ERR_HEIGHTALIGN: i32 = -21i32;
2979 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2980 pub const DCI_ERR_INVALIDCLIPLIST: i32 = -15i32;
2981 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2982 pub const DCI_ERR_INVALIDPOSITION: i32 = -13i32;
2983 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2984 pub const DCI_ERR_INVALIDRECT: i32 = -6i32;
2985 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2986 pub const DCI_ERR_INVALIDSTRETCH: i32 = -14i32;
2987 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2988 pub const DCI_ERR_OUTOFMEMORY: i32 = -12i32;
2989 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2990 pub const DCI_ERR_SURFACEISOBSCURED: i32 = -16i32;
2991 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2992 pub const DCI_ERR_TOOBIGHEIGHT: i32 = -9i32;
2993 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2994 pub const DCI_ERR_TOOBIGSIZE: i32 = -11i32;
2995 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2996 pub const DCI_ERR_TOOBIGWIDTH: i32 = -10i32;
2997 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
2998 pub const DCI_ERR_UNSUPPORTEDFORMAT: i32 = -7i32;
2999 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3000 pub const DCI_ERR_UNSUPPORTEDMASK: i32 = -8i32;
3001 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3002 pub const DCI_ERR_WIDTHALIGN: i32 = -20i32;
3003 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3004 pub const DCI_ERR_XALIGN: i32 = -17i32;
3005 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3006 pub const DCI_ERR_XYALIGN: i32 = -19i32;
3007 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3008 pub const DCI_ERR_YALIGN: i32 = -18i32;
3009 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3010 pub const DCI_FAIL_GENERIC: i32 = -1i32;
3011 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3012 pub const DCI_FAIL_INVALIDSURFACE: i32 = -3i32;
3013 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3014 pub const DCI_FAIL_UNSUPPORTED: i32 = -4i32;
3015 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3016 pub const DCI_FAIL_UNSUPPORTEDVERSION: i32 = -2i32;
3017 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3018 pub const DCI_OFFSCREEN: u32 = 1u32;
3019 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3020 pub const DCI_OK: u32 = 0u32;
3021 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3022 pub const DCI_OVERLAY: u32 = 2u32;
3023 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3024 pub const DCI_PRIMARY: u32 = 0u32;
3025 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3026 pub const DCI_STATUS_CHROMAKEYCHANGED: u32 = 16u32;
3027 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3028 pub const DCI_STATUS_FORMATCHANGED: u32 = 4u32;
3029 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3030 pub const DCI_STATUS_POINTERCHANGED: u32 = 1u32;
3031 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3032 pub const DCI_STATUS_STRIDECHANGED: u32 = 2u32;
3033 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3034 pub const DCI_STATUS_SURFACEINFOCHANGED: u32 = 8u32;
3035 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3036 pub const DCI_STATUS_WASSTILLDRAWING: u32 = 32u32;
3037 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3038 pub const DCI_SURFACE_TYPE: u32 = 15u32;
3039 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3040 pub const DCI_VERSION: u32 = 256u32;
3041 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3042 pub const DCI_VISIBLE: u32 = 16u32;
3043 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3044 pub const DCI_WRITEONLY: u32 = 512u32;
3045 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3046 pub const DEACTIVATE_ACTCTX_FLAG_FORCE_EARLY_DEACTIVATION: u32 = 1u32;
3047 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3048 pub const DELAYLOAD_GPA_FAILURE: u32 = 4u32;
3049 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3050 pub const DELETE_BROWSING_HISTORY_COOKIES: u32 = 2u32;
3051 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3052 pub const DELETE_BROWSING_HISTORY_DOWNLOADHISTORY: u32 = 64u32;
3053 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3054 pub const DELETE_BROWSING_HISTORY_FORMDATA: u32 = 8u32;
3055 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3056 pub const DELETE_BROWSING_HISTORY_HISTORY: u32 = 1u32;
3057 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3058 pub const DELETE_BROWSING_HISTORY_PASSWORDS: u32 = 16u32;
3059 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3060 pub const DELETE_BROWSING_HISTORY_PRESERVEFAVORITES: u32 = 32u32;
3061 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3062 pub const DELETE_BROWSING_HISTORY_TIF: u32 = 4u32;
3063 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3064 pub const DOCKINFO_DOCKED: u32 = 2u32;
3065 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3066 pub const DOCKINFO_UNDOCKED: u32 = 1u32;
3067 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3068 pub const DOCKINFO_USER_SUPPLIED: u32 = 4u32;
3069 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3070 pub const DRIVE_CDROM: u32 = 5u32;
3071 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3072 pub const DRIVE_FIXED: u32 = 3u32;
3073 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3074 pub const DRIVE_NO_ROOT_DIR: u32 = 1u32;
3075 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3076 pub const DRIVE_RAMDISK: u32 = 6u32;
3077 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3078 pub const DRIVE_REMOTE: u32 = 4u32;
3079 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3080 pub const DRIVE_REMOVABLE: u32 = 2u32;
3081 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3082 pub const DRIVE_UNKNOWN: u32 = 0u32;
3083 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3084 pub const DTR_CONTROL_DISABLE: u32 = 0u32;
3085 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3086 pub const DTR_CONTROL_ENABLE: u32 = 1u32;
3087 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3088 pub const DTR_CONTROL_HANDSHAKE: u32 = 2u32;
3089 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3090 pub const DefaultBrowserSyncSettings: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3ac83423_3112_4aa6_9b5b_1feb23d0c5f9);
3091 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3092 pub const EFSRPC_SECURE_ONLY: u32 = 8u32;
3093 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3094 pub const EFS_DROP_ALTERNATE_STREAMS: u32 = 16u32;
3095 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3096 pub const EFS_USE_RECOVERY_KEYS: u32 = 1u32;
3097 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3098 pub const ENTITY_LIST_ID: u32 = 0u32;
3099 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3100 pub const ENTITY_TYPE_ID: u32 = 1u32;
3101 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3102 pub const ER_ICMP: u32 = 896u32;
3103 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3104 pub const EVENTLOG_FULL_INFO: u32 = 0u32;
3105 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3106 pub const EditionUpgradeBroker: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xc4270827_4f39_45df_9288_12ff6b85a921);
3107 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3108 pub const EditionUpgradeHelper: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x01776df3_b9af_4e50_9b1c_56e93116d704);
3109 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3110 pub const FAIL_FAST_GENERATE_EXCEPTION_ADDRESS: u32 = 1u32;
3111 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3112 pub const FAIL_FAST_NO_HARD_ERROR_DLG: u32 = 2u32;
3113 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3114 pub const FIBER_FLAG_FLOAT_SWITCH: u32 = 1u32;
3115 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3116 pub const FILE_COMPLETE_IF_OPLOCKED: u32 = 256u32;
3117 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3118 pub const FILE_CREATED: u32 = 2u32;
3119 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3120 pub const FILE_CREATE_TREE_CONNECTION: u32 = 128u32;
3121 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3122 pub const FILE_DELETE_ON_CLOSE: u32 = 4096u32;
3123 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3124 pub const FILE_DIRECTORY_FILE: u32 = 1u32;
3125 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3126 pub const FILE_DIR_DISALLOWED: u32 = 9u32;
3127 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3128 pub const FILE_DISPOSITION_FLAG_DELETE: u32 = 1u32;
3129 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3130 pub const FILE_DISPOSITION_FLAG_DO_NOT_DELETE: u32 = 0u32;
3131 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3132 pub const FILE_DISPOSITION_FLAG_FORCE_IMAGE_SECTION_CHECK: u32 = 4u32;
3133 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3134 pub const FILE_DISPOSITION_FLAG_IGNORE_READONLY_ATTRIBUTE: u32 = 16u32;
3135 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3136 pub const FILE_DISPOSITION_FLAG_ON_CLOSE: u32 = 8u32;
3137 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3138 pub const FILE_DISPOSITION_FLAG_POSIX_SEMANTICS: u32 = 2u32;
3139 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3140 pub const FILE_DOES_NOT_EXIST: u32 = 5u32;
3141 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3142 pub const FILE_ENCRYPTABLE: u32 = 0u32;
3143 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3144 pub const FILE_EXISTS: u32 = 4u32;
3145 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3146 pub const FILE_FLAG_OPEN_REQUIRING_OPLOCK: u32 = 262144u32;
3147 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3148 pub const FILE_IS_ENCRYPTED: u32 = 1u32;
3149 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3150 pub const FILE_MAXIMUM_DISPOSITION: u32 = 5u32;
3151 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3152 pub const FILE_NON_DIRECTORY_FILE: u32 = 64u32;
3153 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3154 pub const FILE_NO_COMPRESSION: u32 = 32768u32;
3155 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3156 pub const FILE_NO_EA_KNOWLEDGE: u32 = 512u32;
3157 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3158 pub const FILE_NO_INTERMEDIATE_BUFFERING: u32 = 8u32;
3159 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3160 pub const FILE_OPENED: u32 = 1u32;
3161 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3162 pub const FILE_OPEN_BY_FILE_ID: u32 = 8192u32;
3163 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3164 pub const FILE_OPEN_FOR_BACKUP_INTENT: u32 = 16384u32;
3165 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3166 pub const FILE_OPEN_FOR_FREE_SPACE_QUERY: u32 = 8388608u32;
3167 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3168 pub const FILE_OPEN_NO_RECALL: u32 = 4194304u32;
3169 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3170 pub const FILE_OPEN_REMOTE_INSTANCE: u32 = 1024u32;
3171 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3172 pub const FILE_OPEN_REPARSE_POINT: u32 = 2097152u32;
3173 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3174 pub const FILE_OPEN_REQUIRING_OPLOCK: u32 = 65536u32;
3175 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3176 pub const FILE_OVERWRITTEN: u32 = 3u32;
3177 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3178 pub const FILE_RANDOM_ACCESS: u32 = 2048u32;
3179 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3180 pub const FILE_READ_ONLY: u32 = 8u32;
3181 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3182 pub const FILE_RENAME_FLAG_POSIX_SEMANTICS: u32 = 2u32;
3183 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3184 pub const FILE_RENAME_FLAG_REPLACE_IF_EXISTS: u32 = 1u32;
3185 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3186 pub const FILE_RENAME_FLAG_SUPPRESS_PIN_STATE_INHERITANCE: u32 = 4u32;
3187 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3188 pub const FILE_RESERVE_OPFILTER: u32 = 1048576u32;
3189 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3190 pub const FILE_ROOT_DIR: u32 = 3u32;
3191 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3192 pub const FILE_SEQUENTIAL_ONLY: u32 = 4u32;
3193 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3194 pub const FILE_SKIP_COMPLETION_PORT_ON_SUCCESS: u32 = 1u32;
3195 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3196 pub const FILE_SKIP_SET_EVENT_ON_HANDLE: u32 = 2u32;
3197 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3198 pub const FILE_SUPERSEDED: u32 = 0u32;
3199 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3200 pub const FILE_SYNCHRONOUS_IO_ALERT: u32 = 16u32;
3201 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3202 pub const FILE_SYNCHRONOUS_IO_NONALERT: u32 = 32u32;
3203 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3204 pub const FILE_SYSTEM_ATTR: u32 = 2u32;
3205 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3206 pub const FILE_SYSTEM_DIR: u32 = 4u32;
3207 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3208 pub const FILE_SYSTEM_NOT_SUPPORT: u32 = 6u32;
3209 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3210 pub const FILE_UNKNOWN: u32 = 5u32;
3211 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3212 pub const FILE_USER_DISALLOWED: u32 = 7u32;
3213 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3214 pub const FILE_VALID_MAILSLOT_OPTION_FLAGS: u32 = 50u32;
3215 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3216 pub const FILE_VALID_OPTION_FLAGS: u32 = 16777215u32;
3217 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3218 pub const FILE_VALID_PIPE_OPTION_FLAGS: u32 = 50u32;
3219 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3220 pub const FILE_VALID_SET_FLAGS: u32 = 54u32;
3221 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3222 pub const FILE_WRITE_THROUGH: u32 = 2u32;
3223 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3224 pub const FIND_ACTCTX_SECTION_KEY_RETURN_ASSEMBLY_METADATA: u32 = 4u32;
3225 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3226 pub const FIND_ACTCTX_SECTION_KEY_RETURN_FLAGS: u32 = 2u32;
3227 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3228 pub const FIND_ACTCTX_SECTION_KEY_RETURN_HACTCTX: u32 = 1u32;
3229 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3230 pub const FORMAT_MESSAGE_MAX_WIDTH_MASK: u32 = 255u32;
3231 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3232 pub const FS_CASE_IS_PRESERVED: u32 = 2u32;
3233 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3234 pub const FS_CASE_SENSITIVE: u32 = 1u32;
3235 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3236 pub const FS_FILE_COMPRESSION: u32 = 16u32;
3237 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3238 pub const FS_FILE_ENCRYPTION: u32 = 131072u32;
3239 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3240 pub const FS_PERSISTENT_ACLS: u32 = 8u32;
3241 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3242 pub const FS_UNICODE_STORED_ON_DISK: u32 = 4u32;
3243 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3244 pub const FS_VOL_IS_COMPRESSED: u32 = 32768u32;
3245 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3246 pub const GET_SYSTEM_WOW64_DIRECTORY_NAME_A_A: ::windows::core::PCSTR = ::windows::s!("GetSystemWow64DirectoryA");
3247 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3248 pub const GET_SYSTEM_WOW64_DIRECTORY_NAME_A_T: ::windows::core::PCWSTR = ::windows::w!("GetSystemWow64DirectoryA");
3249 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3250 pub const GET_SYSTEM_WOW64_DIRECTORY_NAME_A_W: ::windows::core::PCWSTR = ::windows::w!("GetSystemWow64DirectoryA");
3251 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3252 pub const GET_SYSTEM_WOW64_DIRECTORY_NAME_T_A: ::windows::core::PCWSTR = ::windows::w!("GetSystemWow64DirectoryW");
3253 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3254 pub const GET_SYSTEM_WOW64_DIRECTORY_NAME_T_T: ::windows::core::PCWSTR = ::windows::w!("GetSystemWow64DirectoryW");
3255 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3256 pub const GET_SYSTEM_WOW64_DIRECTORY_NAME_T_W: ::windows::core::PCWSTR = ::windows::w!("GetSystemWow64DirectoryW");
3257 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3258 pub const GET_SYSTEM_WOW64_DIRECTORY_NAME_W_A: ::windows::core::PCSTR = ::windows::s!("GetSystemWow64DirectoryW");
3259 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3260 pub const GET_SYSTEM_WOW64_DIRECTORY_NAME_W_T: ::windows::core::PCWSTR = ::windows::w!("GetSystemWow64DirectoryW");
3261 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3262 pub const GET_SYSTEM_WOW64_DIRECTORY_NAME_W_W: ::windows::core::PCWSTR = ::windows::w!("GetSystemWow64DirectoryW");
3263 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3264 pub const GMEM_DDESHARE: u32 = 8192u32;
3265 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3266 pub const GMEM_DISCARDABLE: u32 = 256u32;
3267 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3268 pub const GMEM_DISCARDED: u32 = 16384u32;
3269 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3270 pub const GMEM_INVALID_HANDLE: u32 = 32768u32;
3271 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3272 pub const GMEM_LOCKCOUNT: u32 = 255u32;
3273 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3274 pub const GMEM_LOWER: u32 = 4096u32;
3275 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3276 pub const GMEM_MODIFY: u32 = 128u32;
3277 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3278 pub const GMEM_NOCOMPACT: u32 = 16u32;
3279 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3280 pub const GMEM_NODISCARD: u32 = 32u32;
3281 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3282 pub const GMEM_NOTIFY: u32 = 16384u32;
3283 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3284 pub const GMEM_NOT_BANKED: u32 = 4096u32;
3285 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3286 pub const GMEM_SHARE: u32 = 8192u32;
3287 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3288 pub const GMEM_VALID_FLAGS: u32 = 32626u32;
3289 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3290 pub const HANJA_WINDOW: u32 = 2u32;
3291 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3292 pub const HINSTANCE_ERROR: u32 = 32u32;
3293 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3294 pub const HW_PROFILE_GUIDLEN: u32 = 39u32;
3295 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3296 pub const IE4_BACKNEW: u32 = 2u32;
3297 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3298 pub const IE4_EXTRAINCREFCNT: u32 = 2048u32;
3299 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3300 pub const IE4_FRDOALL: u32 = 256u32;
3301 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3302 pub const IE4_NODELETENEW: u32 = 4u32;
3303 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3304 pub const IE4_NOENUMKEY: u32 = 32u32;
3305 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3306 pub const IE4_NOMESSAGES: u32 = 8u32;
3307 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3308 pub const IE4_NOPROGRESS: u32 = 16u32;
3309 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3310 pub const IE4_NO_CRC_MAPPING: u32 = 64u32;
3311 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3312 pub const IE4_REGSECTION: u32 = 128u32;
3313 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3314 pub const IE4_REMOVREGBKDATA: u32 = 4096u32;
3315 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3316 pub const IE4_RESTORE: u32 = 1u32;
3317 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3318 pub const IE4_UPDREFCNT: u32 = 512u32;
3319 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3320 pub const IE4_USEREFCNT: u32 = 1024u32;
3321 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3322 pub const IE_BADID: i32 = -1i32;
3323 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3324 pub const IE_BAUDRATE: i32 = -12i32;
3325 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3326 pub const IE_BYTESIZE: i32 = -11i32;
3327 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3328 pub const IE_DEFAULT: i32 = -5i32;
3329 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3330 pub const IE_HARDWARE: i32 = -10i32;
3331 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3332 pub const IE_MEMORY: i32 = -4i32;
3333 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3334 pub const IE_NOPEN: i32 = -3i32;
3335 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3336 pub const IE_OPEN: i32 = -2i32;
3337 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3338 pub const IF_GENERIC: u32 = 512u32;
3339 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3340 pub const IF_MIB: u32 = 514u32;
3341 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3342 pub const IGNORE: u32 = 0u32;
3343 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3344 pub const IMEA_INIT: u32 = 1u32;
3345 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3346 pub const IMEA_NEXT: u32 = 2u32;
3347 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3348 pub const IMEA_PREV: u32 = 3u32;
3349 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3350 pub const IME_BANJAtoJUNJA: u32 = 19u32;
3351 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3352 pub const IME_ENABLE_CONVERT: u32 = 2u32;
3353 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3354 pub const IME_ENTERWORDREGISTERMODE: u32 = 24u32;
3355 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3356 pub const IME_GETCONVERSIONMODE: u32 = 17u32;
3357 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3358 pub const IME_GETIMECAPS: u32 = 3u32;
3359 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3360 pub const IME_GETOPEN: u32 = 5u32;
3361 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3362 pub const IME_GETVERSION: u32 = 7u32;
3363 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3364 pub const IME_JOHABtoKS: u32 = 21u32;
3365 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3366 pub const IME_JUNJAtoBANJA: u32 = 20u32;
3367 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3368 pub const IME_KStoJOHAB: u32 = 22u32;
3369 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3370 pub const IME_MAXPROCESS: u32 = 32u32;
3371 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3372 pub const IME_MODE_ALPHANUMERIC: u32 = 1u32;
3373 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3374 pub const IME_MODE_CODEINPUT: u32 = 128u32;
3375 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3376 pub const IME_MODE_DBCSCHAR: u32 = 16u32;
3377 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3378 pub const IME_MODE_HANJACONVERT: u32 = 4u32;
3379 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3380 pub const IME_MODE_HIRAGANA: u32 = 4u32;
3381 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3382 pub const IME_MODE_KATAKANA: u32 = 2u32;
3383 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3384 pub const IME_MODE_NOCODEINPUT: u32 = 256u32;
3385 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3386 pub const IME_MODE_NOROMAN: u32 = 64u32;
3387 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3388 pub const IME_MODE_ROMAN: u32 = 32u32;
3389 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3390 pub const IME_MODE_SBCSCHAR: u32 = 2u32;
3391 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3392 pub const IME_MOVEIMEWINDOW: u32 = 8u32;
3393 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3394 pub const IME_REQUEST_CONVERT: u32 = 1u32;
3395 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3396 pub const IME_RS_DISKERROR: u32 = 14u32;
3397 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3398 pub const IME_RS_ERROR: u32 = 1u32;
3399 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3400 pub const IME_RS_ILLEGAL: u32 = 6u32;
3401 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3402 pub const IME_RS_INVALID: u32 = 17u32;
3403 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3404 pub const IME_RS_NEST: u32 = 18u32;
3405 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3406 pub const IME_RS_NOIME: u32 = 2u32;
3407 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3408 pub const IME_RS_NOROOM: u32 = 10u32;
3409 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3410 pub const IME_RS_NOTFOUND: u32 = 7u32;
3411 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3412 pub const IME_RS_SYSTEMMODAL: u32 = 19u32;
3413 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3414 pub const IME_RS_TOOLONG: u32 = 5u32;
3415 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3416 pub const IME_SENDVKEY: u32 = 19u32;
3417 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3418 pub const IME_SETCONVERSIONFONTEX: u32 = 25u32;
3419 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3420 pub const IME_SETCONVERSIONMODE: u32 = 16u32;
3421 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3422 pub const IME_SETCONVERSIONWINDOW: u32 = 8u32;
3423 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3424 pub const IME_SETOPEN: u32 = 4u32;
3425 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3426 pub const IME_SET_MODE: u32 = 18u32;
3427 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3428 pub const INFINITE: u32 = 4294967295u32;
3429 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3430 pub const INFO_CLASS_GENERIC: u32 = 256u32;
3431 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3432 pub const INFO_CLASS_IMPLEMENTATION: u32 = 768u32;
3433 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3434 pub const INFO_CLASS_PROTOCOL: u32 = 512u32;
3435 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3436 pub const INFO_TYPE_ADDRESS_OBJECT: u32 = 512u32;
3437 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3438 pub const INFO_TYPE_CONNECTION: u32 = 768u32;
3439 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3440 pub const INFO_TYPE_PROVIDER: u32 = 256u32;
3441 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3442 pub const INTERIM_WINDOW: u32 = 0u32;
3443 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3444 pub const INVALID_ENTITY_INSTANCE: i32 = -1i32;
3445 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3446 pub const IOCTL_TDI_TL_IO_CONTROL_ENDPOINT: u32 = 2162744u32;
3447 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3448 pub const IR_CHANGECONVERT: u32 = 289u32;
3449 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3450 pub const IR_CLOSECONVERT: u32 = 290u32;
3451 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3452 pub const IR_DBCSCHAR: u32 = 352u32;
3453 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3454 pub const IR_FULLCONVERT: u32 = 291u32;
3455 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3456 pub const IR_IMESELECT: u32 = 304u32;
3457 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3458 pub const IR_MODEINFO: u32 = 400u32;
3459 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3460 pub const IR_OPENCONVERT: u32 = 288u32;
3461 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3462 pub const IR_STRING: u32 = 320u32;
3463 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3464 pub const IR_STRINGEND: u32 = 257u32;
3465 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3466 pub const IR_STRINGEX: u32 = 384u32;
3467 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3468 pub const IR_STRINGSTART: u32 = 256u32;
3469 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3470 pub const IR_UNDETERMINE: u32 = 368u32;
3471 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3472 pub const LIS_NOGRPCONV: u32 = 2u32;
3473 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3474 pub const LIS_QUIET: u32 = 1u32;
3475 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3476 pub const LOGON32_PROVIDER_VIRTUAL: u32 = 4u32;
3477 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3478 pub const LOGON32_PROVIDER_WINNT35: u32 = 1u32;
3479 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3480 pub const LOGON_ZERO_PASSWORD_BUFFER: u32 = 2147483648u32;
3481 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3482 pub const LPTx: u32 = 128u32;
3483 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3484 pub const MAXINTATOM: u32 = 49152u32;
3485 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3486 pub const MAX_COMPUTERNAME_LENGTH: u32 = 15u32;
3487 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3488 pub const MAX_TDI_ENTITIES: u32 = 4096u32;
3489 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3490 pub const MCW_DEFAULT: u32 = 0u32;
3491 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3492 pub const MCW_HIDDEN: u32 = 16u32;
3493 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3494 pub const MCW_RECT: u32 = 1u32;
3495 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3496 pub const MCW_SCREEN: u32 = 4u32;
3497 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3498 pub const MCW_VERTICAL: u32 = 8u32;
3499 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3500 pub const MCW_WINDOW: u32 = 2u32;
3501 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3502 pub const MICROSOFT_WINBASE_H_DEFINE_INTERLOCKED_CPLUSPLUS_OVERLOADS: u32 = 0u32;
3503 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3504 pub const MICROSOFT_WINDOWS_WINBASE_H_DEFINE_INTERLOCKED_CPLUSPLUS_OVERLOADS: u32 = 0u32;
3505 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3506 pub const MODE_WINDOW: u32 = 1u32;
3507 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3508 pub const OFS_MAXPATHNAME: u32 = 128u32;
3509 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3510 pub const OPERATION_API_VERSION: u32 = 1u32;
3511 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3512 pub const OVERWRITE_HIDDEN: u32 = 4u32;
3513 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3514 pub const PCF_16BITMODE: u32 = 512u32;
3515 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3516 pub const PCF_DTRDSR: u32 = 1u32;
3517 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3518 pub const PCF_INTTIMEOUTS: u32 = 128u32;
3519 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3520 pub const PCF_PARITY_CHECK: u32 = 8u32;
3521 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3522 pub const PCF_RLSD: u32 = 4u32;
3523 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3524 pub const PCF_RTSCTS: u32 = 2u32;
3525 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3526 pub const PCF_SETXCHAR: u32 = 32u32;
3527 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3528 pub const PCF_SPECIALCHARS: u32 = 256u32;
3529 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3530 pub const PCF_TOTALTIMEOUTS: u32 = 64u32;
3531 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3532 pub const PCF_XONXOFF: u32 = 16u32;
3533 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3534 pub const PROCESS_CREATION_ALL_APPLICATION_PACKAGES_OPT_OUT: u32 = 1u32;
3535 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3536 pub const PROCESS_CREATION_CHILD_PROCESS_OVERRIDE: u32 = 2u32;
3537 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3538 pub const PROCESS_CREATION_CHILD_PROCESS_RESTRICTED: u32 = 1u32;
3539 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3540 pub const PROCESS_CREATION_CHILD_PROCESS_RESTRICTED_UNLESS_SECURE: u32 = 4u32;
3541 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3542 pub const PROCESS_CREATION_DESKTOP_APP_BREAKAWAY_DISABLE_PROCESS_TREE: u32 = 2u32;
3543 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3544 pub const PROCESS_CREATION_DESKTOP_APP_BREAKAWAY_ENABLE_PROCESS_TREE: u32 = 1u32;
3545 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3546 pub const PROCESS_CREATION_DESKTOP_APP_BREAKAWAY_OVERRIDE: u32 = 4u32;
3547 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3548 pub const PROCESS_CREATION_MITIGATION_POLICY_DEP_ATL_THUNK_ENABLE: u32 = 2u32;
3549 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3550 pub const PROCESS_CREATION_MITIGATION_POLICY_DEP_ENABLE: u32 = 1u32;
3551 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3552 pub const PROCESS_CREATION_MITIGATION_POLICY_SEHOP_ENABLE: u32 = 4u32;
3553 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3554 pub const PROC_THREAD_ATTRIBUTE_ADDITIVE: u32 = 262144u32;
3555 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3556 pub const PROC_THREAD_ATTRIBUTE_INPUT: u32 = 131072u32;
3557 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3558 pub const PROC_THREAD_ATTRIBUTE_NUMBER: u32 = 65535u32;
3559 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3560 pub const PROC_THREAD_ATTRIBUTE_THREAD: u32 = 65536u32;
3561 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3562 pub const PROGRESS_CANCEL: u32 = 1u32;
3563 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3564 pub const PROGRESS_CONTINUE: u32 = 0u32;
3565 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3566 pub const PROGRESS_QUIET: u32 = 3u32;
3567 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3568 pub const PROGRESS_STOP: u32 = 2u32;
3569 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3570 pub const PROTECTION_LEVEL_SAME: u32 = 4294967295u32;
3571 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3572 pub const PST_FAX: u32 = 33u32;
3573 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3574 pub const PST_LAT: u32 = 257u32;
3575 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3576 pub const PST_MODEM: u32 = 6u32;
3577 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3578 pub const PST_NETWORK_BRIDGE: u32 = 256u32;
3579 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3580 pub const PST_PARALLELPORT: u32 = 2u32;
3581 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3582 pub const PST_RS232: u32 = 1u32;
3583 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3584 pub const PST_RS422: u32 = 3u32;
3585 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3586 pub const PST_RS423: u32 = 4u32;
3587 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3588 pub const PST_RS449: u32 = 5u32;
3589 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3590 pub const PST_SCANNER: u32 = 34u32;
3591 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3592 pub const PST_TCPIP_TELNET: u32 = 258u32;
3593 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3594 pub const PST_UNSPECIFIED: u32 = 0u32;
3595 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3596 pub const PST_X25: u32 = 259u32;
3597 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3598 pub const QUERY_ACTCTX_FLAG_ACTCTX_IS_ADDRESS: u32 = 16u32;
3599 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3600 pub const QUERY_ACTCTX_FLAG_ACTCTX_IS_HMODULE: u32 = 8u32;
3601 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3602 pub const QUERY_ACTCTX_FLAG_NO_ADDREF: u32 = 2147483648u32;
3603 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3604 pub const QUERY_ACTCTX_FLAG_USE_ACTIVE_ACTCTX: u32 = 4u32;
3605 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3606 pub const RECOVERY_DEFAULT_PING_INTERVAL: u32 = 5000u32;
3607 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3608 pub const REG_RESTORE_LOG_KEY: ::windows::core::PCWSTR = ::windows::w!("RegRestoreLogFile");
3609 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3610 pub const REG_SAVE_LOG_KEY: ::windows::core::PCWSTR = ::windows::w!("RegSaveLogFile");
3611 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3612 pub const REMOTE_PROTOCOL_INFO_FLAG_LOOPBACK: u32 = 1u32;
3613 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3614 pub const REMOTE_PROTOCOL_INFO_FLAG_OFFLINE: u32 = 2u32;
3615 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3616 pub const REMOTE_PROTOCOL_INFO_FLAG_PERSISTENT_HANDLE: u32 = 4u32;
3617 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3618 pub const RESETDEV: u32 = 7u32;
3619 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3620 pub const RESTART_MAX_CMD_LINE: u32 = 1024u32;
3621 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3622 pub const RPI_FLAG_SMB2_SHARECAP_CLUSTER: u32 = 64u32;
3623 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3624 pub const RPI_FLAG_SMB2_SHARECAP_CONTINUOUS_AVAILABILITY: u32 = 16u32;
3625 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3626 pub const RPI_FLAG_SMB2_SHARECAP_DFS: u32 = 8u32;
3627 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3628 pub const RPI_FLAG_SMB2_SHARECAP_SCALEOUT: u32 = 32u32;
3629 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3630 pub const RPI_FLAG_SMB2_SHARECAP_TIMEWARP: u32 = 2u32;
3631 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3632 pub const RPI_SMB2_FLAG_SERVERCAP_DFS: u32 = 1u32;
3633 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3634 pub const RPI_SMB2_FLAG_SERVERCAP_DIRECTORY_LEASING: u32 = 32u32;
3635 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3636 pub const RPI_SMB2_FLAG_SERVERCAP_LARGEMTU: u32 = 4u32;
3637 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3638 pub const RPI_SMB2_FLAG_SERVERCAP_LEASING: u32 = 2u32;
3639 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3640 pub const RPI_SMB2_FLAG_SERVERCAP_MULTICHANNEL: u32 = 8u32;
3641 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3642 pub const RPI_SMB2_FLAG_SERVERCAP_PERSISTENT_HANDLES: u32 = 16u32;
3643 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3644 pub const RSC_FLAG_DELAYREGISTEROCX: u32 = 512u32;
3645 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3646 pub const RSC_FLAG_INF: u32 = 1u32;
3647 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3648 pub const RSC_FLAG_NGCONV: u32 = 8u32;
3649 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3650 pub const RSC_FLAG_QUIET: u32 = 4u32;
3651 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3652 pub const RSC_FLAG_SETUPAPI: u32 = 1024u32;
3653 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3654 pub const RSC_FLAG_SKIPDISKSPACECHECK: u32 = 2u32;
3655 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3656 pub const RSC_FLAG_UPDHLPDLLS: u32 = 16u32;
3657 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3658 pub const RTS_CONTROL_DISABLE: u32 = 0u32;
3659 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3660 pub const RTS_CONTROL_ENABLE: u32 = 1u32;
3661 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3662 pub const RTS_CONTROL_HANDSHAKE: u32 = 2u32;
3663 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3664 pub const RTS_CONTROL_TOGGLE: u32 = 3u32;
3665 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3666 pub const RUNCMDS_DELAYPOSTCMD: u32 = 4u32;
3667 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3668 pub const RUNCMDS_NOWAIT: u32 = 2u32;
3669 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3670 pub const RUNCMDS_QUIET: u32 = 1u32;
3671 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3672 pub const SCS_32BIT_BINARY: u32 = 0u32;
3673 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3674 pub const SCS_64BIT_BINARY: u32 = 6u32;
3675 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3676 pub const SCS_DOS_BINARY: u32 = 1u32;
3677 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3678 pub const SCS_OS216_BINARY: u32 = 5u32;
3679 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3680 pub const SCS_PIF_BINARY: u32 = 3u32;
3681 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3682 pub const SCS_POSIX_BINARY: u32 = 4u32;
3683 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3684 pub const SCS_THIS_PLATFORM_BINARY: u32 = 6u32;
3685 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3686 pub const SCS_WOW_BINARY: u32 = 2u32;
3687 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3688 pub const SHUTDOWN_NORETRY: u32 = 1u32;
3689 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3690 pub const SP_BAUD: u32 = 2u32;
3691 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3692 pub const SP_DATABITS: u32 = 4u32;
3693 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3694 pub const SP_HANDSHAKING: u32 = 16u32;
3695 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3696 pub const SP_PARITY: u32 = 1u32;
3697 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3698 pub const SP_PARITY_CHECK: u32 = 32u32;
3699 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3700 pub const SP_RLSD: u32 = 64u32;
3701 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3702 pub const SP_SERIALCOMM: u32 = 1u32;
3703 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3704 pub const SP_STOPBITS: u32 = 8u32;
3705 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3706 pub const STARTF_HOLOGRAPHIC: u32 = 262144u32;
3707 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3708 pub const STORAGE_INFO_FLAGS_ALIGNED_DEVICE: u32 = 1u32;
3709 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3710 pub const STORAGE_INFO_FLAGS_PARTITION_ALIGNED_ON_DEVICE: u32 = 2u32;
3711 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3712 pub const STORAGE_INFO_OFFSET_UNKNOWN: u32 = 4294967295u32;
3713 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3714 pub const STREAM_CONTAINS_GHOSTED_FILE_EXTENTS: u32 = 16u32;
3715 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3716 pub const STREAM_CONTAINS_PROPERTIES: u32 = 4u32;
3717 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3718 pub const STREAM_CONTAINS_SECURITY: u32 = 2u32;
3719 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3720 pub const STREAM_MODIFIED_WHEN_READ: u32 = 1u32;
3721 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3722 pub const STREAM_NORMAL_ATTRIBUTE: u32 = 0u32;
3723 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3724 pub const STREAM_SPARSE_ATTRIBUTE: u32 = 8u32;
3725 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3726 pub const SYSTEM_STATUS_FLAG_POWER_SAVING_ON: u32 = 1u32;
3727 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3728 pub const S_ALLTHRESHOLD: u32 = 2u32;
3729 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3730 pub const S_LEGATO: u32 = 1u32;
3731 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3732 pub const S_NORMAL: u32 = 0u32;
3733 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3734 pub const S_PERIOD1024: u32 = 1u32;
3735 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3736 pub const S_PERIOD2048: u32 = 2u32;
3737 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3738 pub const S_PERIOD512: u32 = 0u32;
3739 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3740 pub const S_PERIODVOICE: u32 = 3u32;
3741 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3742 pub const S_QUEUEEMPTY: u32 = 0u32;
3743 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3744 pub const S_SERBDNT: i32 = -5i32;
3745 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3746 pub const S_SERDCC: i32 = -7i32;
3747 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3748 pub const S_SERDDR: i32 = -14i32;
3749 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3750 pub const S_SERDFQ: i32 = -13i32;
3751 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3752 pub const S_SERDLN: i32 = -6i32;
3753 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3754 pub const S_SERDMD: i32 = -10i32;
3755 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3756 pub const S_SERDPT: i32 = -12i32;
3757 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3758 pub const S_SERDSH: i32 = -11i32;
3759 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3760 pub const S_SERDSR: i32 = -15i32;
3761 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3762 pub const S_SERDST: i32 = -16i32;
3763 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3764 pub const S_SERDTP: i32 = -8i32;
3765 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3766 pub const S_SERDVL: i32 = -9i32;
3767 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3768 pub const S_SERDVNA: i32 = -1i32;
3769 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3770 pub const S_SERMACT: i32 = -3i32;
3771 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3772 pub const S_SEROFM: i32 = -2i32;
3773 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3774 pub const S_SERQFUL: i32 = -4i32;
3775 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3776 pub const S_STACCATO: u32 = 2u32;
3777 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3778 pub const S_THRESHOLD: u32 = 1u32;
3779 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3780 pub const S_WHITE1024: u32 = 5u32;
3781 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3782 pub const S_WHITE2048: u32 = 6u32;
3783 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3784 pub const S_WHITE512: u32 = 4u32;
3785 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3786 pub const S_WHITEVOICE: u32 = 7u32;
3787 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3788 pub const TC_GP_TRAP: u32 = 2u32;
3789 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3790 pub const TC_HARDERR: u32 = 1u32;
3791 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3792 pub const TC_NORMAL: u32 = 0u32;
3793 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3794 pub const TC_SIGNAL: u32 = 3u32;
3795 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3796 pub const THREAD_PRIORITY_ERROR_RETURN: u32 = 2147483647u32;
3797 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3798 pub const UMS_VERSION: u32 = 256u32;
3799 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3800 pub const VOLUME_NAME_DOS: u32 = 0u32;
3801 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3802 pub const VOLUME_NAME_GUID: u32 = 1u32;
3803 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3804 pub const VOLUME_NAME_NONE: u32 = 4u32;
3805 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3806 pub const VOLUME_NAME_NT: u32 = 2u32;
3807 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3808 pub const WINWATCHNOTIFY_CHANGED: u32 = 4u32;
3809 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3810 pub const WINWATCHNOTIFY_CHANGING: u32 = 3u32;
3811 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3812 pub const WINWATCHNOTIFY_DESTROY: u32 = 2u32;
3813 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3814 pub const WINWATCHNOTIFY_START: u32 = 0u32;
3815 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3816 pub const WINWATCHNOTIFY_STOP: u32 = 1u32;
3817 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3818 pub const WLDP_DLL: ::windows::core::PCWSTR = ::windows::w!("WLDP.DLL");
3819 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3820 pub const WLDP_FLAGS_SKIPSIGNATUREVALIDATION: u32 = 256u32;
3821 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3822 pub const WLDP_GETLOCKDOWNPOLICY_FN: ::windows::core::PCSTR = ::windows::s!("WldpGetLockdownPolicy");
3823 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3824 pub const WLDP_HOST_INFORMATION_REVISION: u32 = 1u32;
3825 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3826 pub const WLDP_ISAPPAPPROVEDBYPOLICY_FN: ::windows::core::PCSTR = ::windows::s!("WldpIsAppApprovedByPolicy");
3827 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3828 pub const WLDP_ISCLASSINAPPROVEDLIST_FN: ::windows::core::PCSTR = ::windows::s!("WldpIsClassInApprovedList");
3829 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3830 pub const WLDP_ISDYNAMICCODEPOLICYENABLED_FN: ::windows::core::PCSTR = ::windows::s!("WldpIsDynamicCodePolicyEnabled");
3831 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3832 pub const WLDP_ISPRODUCTIONCONFIGURATION_FN: ::windows::core::PCSTR = ::windows::s!("WldpIsProductionConfiguration");
3833 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3834 pub const WLDP_ISWCOSPRODUCTIONCONFIGURATION_FN: ::windows::core::PCSTR = ::windows::s!("WldpIsWcosProductionConfiguration");
3835 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3836 pub const WLDP_LOCKDOWN_AUDIT_FLAG: u32 = 8u32;
3837 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3838 pub const WLDP_LOCKDOWN_CONFIG_CI_AUDIT_FLAG: u32 = 2u32;
3839 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3840 pub const WLDP_LOCKDOWN_CONFIG_CI_FLAG: u32 = 1u32;
3841 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3842 pub const WLDP_LOCKDOWN_DEFINED_FLAG: u32 = 2147483648u32;
3843 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3844 pub const WLDP_LOCKDOWN_EXCLUSION_FLAG: u32 = 16u32;
3845 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3846 pub const WLDP_LOCKDOWN_OFF: u32 = 2147483648u32;
3847 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3848 pub const WLDP_LOCKDOWN_UMCIENFORCE_FLAG: u32 = 4u32;
3849 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3850 pub const WLDP_LOCKDOWN_UNDEFINED: u32 = 0u32;
3851 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3852 pub const WLDP_QUERYDANAMICCODETRUST_FN: ::windows::core::PCSTR = ::windows::s!("WldpQueryDynamicCodeTrust");
3853 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3854 pub const WLDP_QUERYDEVICESECURITYINFORMATION_FN: ::windows::core::PCSTR = ::windows::s!("WldpQueryDeviceSecurityInformation");
3855 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3856 pub const WLDP_QUERYDYNAMICCODETRUST_FN: ::windows::core::PCSTR = ::windows::s!("WldpQueryDynamicCodeTrust");
3857 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3858 pub const WLDP_QUERYPOLICYSETTINGENABLED2_FN: ::windows::core::PCSTR = ::windows::s!("WldpQueryPolicySettingEnabled2");
3859 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3860 pub const WLDP_QUERYPOLICYSETTINGENABLED_FN: ::windows::core::PCSTR = ::windows::s!("WldpQueryPolicySettingEnabled");
3861 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3862 pub const WLDP_QUERYWINDOWSLOCKDOWNMODE_FN: ::windows::core::PCSTR = ::windows::s!("WldpQueryWindowsLockdownMode");
3863 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3864 pub const WLDP_QUERYWINDOWSLOCKDOWNRESTRICTION_FN: ::windows::core::PCSTR = ::windows::s!("WldpQueryWindowsLockdownRestriction");
3865 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3866 pub const WLDP_RESETPRODUCTIONCONFIGURATION_FN: ::windows::core::PCSTR = ::windows::s!("WldpResetProductionConfiguration");
3867 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3868 pub const WLDP_RESETWCOSPRODUCTIONCONFIGURATION_FN: ::windows::core::PCSTR = ::windows::s!("WldpResetWcosProductionConfiguration");
3869 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3870 pub const WLDP_SETDYNAMICCODETRUST_FN: ::windows::core::PCSTR = ::windows::s!("WldpSetDynamicCodeTrust");
3871 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3872 pub const WLDP_SETWINDOWSLOCKDOWNRESTRICTION_FN: ::windows::core::PCSTR = ::windows::s!("WldpSetWindowsLockdownRestriction");
3873 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3874 pub const WM_CONVERTREQUEST: u32 = 266u32;
3875 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3876 pub const WM_CONVERTRESULT: u32 = 267u32;
3877 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3878 pub const WM_IMEKEYDOWN: u32 = 656u32;
3879 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3880 pub const WM_IMEKEYUP: u32 = 657u32;
3881 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3882 pub const WM_IME_REPORT: u32 = 640u32;
3883 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3884 pub const WM_INTERIM: u32 = 268u32;
3885 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3886 pub const WM_WNT_CONVERTREQUESTEX: u32 = 265u32;
3887 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3888 #[repr(transparent)]
3889 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
3890 pub struct CameraUIControlCaptureMode(pub i32);
3891 impl CameraUIControlCaptureMode {
3892 pub const PhotoOrVideo: Self = Self(0i32);
3893 pub const Photo: Self = Self(1i32);
3894 pub const Video: Self = Self(2i32);
3895 }
3896 impl ::core::marker::Copy for CameraUIControlCaptureMode {}
3897 impl ::core::clone::Clone for CameraUIControlCaptureMode {
3898 fn clone(&self) -> Self {
3899 *self
3900 }
3901 }
3902 impl ::core::default::Default for CameraUIControlCaptureMode {
3903 fn default() -> Self {
3904 Self(0)
3905 }
3906 }
3907 impl ::windows::core::TypeKind for CameraUIControlCaptureMode {
3908 type TypeKind = ::windows::core::CopyType;
3909 }
3910 impl ::core::fmt::Debug for CameraUIControlCaptureMode {
3911 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
3912 f.debug_tuple("CameraUIControlCaptureMode").field(&self.0).finish()
3913 }
3914 }
3915 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3916 #[repr(transparent)]
3917 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
3918 pub struct CameraUIControlLinearSelectionMode(pub i32);
3919 impl CameraUIControlLinearSelectionMode {
3920 pub const Single: Self = Self(0i32);
3921 pub const Multiple: Self = Self(1i32);
3922 }
3923 impl ::core::marker::Copy for CameraUIControlLinearSelectionMode {}
3924 impl ::core::clone::Clone for CameraUIControlLinearSelectionMode {
3925 fn clone(&self) -> Self {
3926 *self
3927 }
3928 }
3929 impl ::core::default::Default for CameraUIControlLinearSelectionMode {
3930 fn default() -> Self {
3931 Self(0)
3932 }
3933 }
3934 impl ::windows::core::TypeKind for CameraUIControlLinearSelectionMode {
3935 type TypeKind = ::windows::core::CopyType;
3936 }
3937 impl ::core::fmt::Debug for CameraUIControlLinearSelectionMode {
3938 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
3939 f.debug_tuple("CameraUIControlLinearSelectionMode").field(&self.0).finish()
3940 }
3941 }
3942 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3943 #[repr(transparent)]
3944 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
3945 pub struct CameraUIControlMode(pub i32);
3946 impl CameraUIControlMode {
3947 pub const Browse: Self = Self(0i32);
3948 pub const Linear: Self = Self(1i32);
3949 }
3950 impl ::core::marker::Copy for CameraUIControlMode {}
3951 impl ::core::clone::Clone for CameraUIControlMode {
3952 fn clone(&self) -> Self {
3953 *self
3954 }
3955 }
3956 impl ::core::default::Default for CameraUIControlMode {
3957 fn default() -> Self {
3958 Self(0)
3959 }
3960 }
3961 impl ::windows::core::TypeKind for CameraUIControlMode {
3962 type TypeKind = ::windows::core::CopyType;
3963 }
3964 impl ::core::fmt::Debug for CameraUIControlMode {
3965 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
3966 f.debug_tuple("CameraUIControlMode").field(&self.0).finish()
3967 }
3968 }
3969 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3970 #[repr(transparent)]
3971 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
3972 pub struct CameraUIControlPhotoFormat(pub i32);
3973 impl CameraUIControlPhotoFormat {
3974 pub const Jpeg: Self = Self(0i32);
3975 pub const Png: Self = Self(1i32);
3976 pub const JpegXR: Self = Self(2i32);
3977 }
3978 impl ::core::marker::Copy for CameraUIControlPhotoFormat {}
3979 impl ::core::clone::Clone for CameraUIControlPhotoFormat {
3980 fn clone(&self) -> Self {
3981 *self
3982 }
3983 }
3984 impl ::core::default::Default for CameraUIControlPhotoFormat {
3985 fn default() -> Self {
3986 Self(0)
3987 }
3988 }
3989 impl ::windows::core::TypeKind for CameraUIControlPhotoFormat {
3990 type TypeKind = ::windows::core::CopyType;
3991 }
3992 impl ::core::fmt::Debug for CameraUIControlPhotoFormat {
3993 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
3994 f.debug_tuple("CameraUIControlPhotoFormat").field(&self.0).finish()
3995 }
3996 }
3997 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
3998 #[repr(transparent)]
3999 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
4000 pub struct CameraUIControlVideoFormat(pub i32);
4001 impl CameraUIControlVideoFormat {
4002 pub const Mp4: Self = Self(0i32);
4003 pub const Wmv: Self = Self(1i32);
4004 }
4005 impl ::core::marker::Copy for CameraUIControlVideoFormat {}
4006 impl ::core::clone::Clone for CameraUIControlVideoFormat {
4007 fn clone(&self) -> Self {
4008 *self
4009 }
4010 }
4011 impl ::core::default::Default for CameraUIControlVideoFormat {
4012 fn default() -> Self {
4013 Self(0)
4014 }
4015 }
4016 impl ::windows::core::TypeKind for CameraUIControlVideoFormat {
4017 type TypeKind = ::windows::core::CopyType;
4018 }
4019 impl ::core::fmt::Debug for CameraUIControlVideoFormat {
4020 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4021 f.debug_tuple("CameraUIControlVideoFormat").field(&self.0).finish()
4022 }
4023 }
4024 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4025 #[repr(transparent)]
4026 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
4027 pub struct CameraUIControlViewType(pub i32);
4028 impl CameraUIControlViewType {
4029 pub const SingleItem: Self = Self(0i32);
4030 pub const ItemList: Self = Self(1i32);
4031 }
4032 impl ::core::marker::Copy for CameraUIControlViewType {}
4033 impl ::core::clone::Clone for CameraUIControlViewType {
4034 fn clone(&self) -> Self {
4035 *self
4036 }
4037 }
4038 impl ::core::default::Default for CameraUIControlViewType {
4039 fn default() -> Self {
4040 Self(0)
4041 }
4042 }
4043 impl ::windows::core::TypeKind for CameraUIControlViewType {
4044 type TypeKind = ::windows::core::CopyType;
4045 }
4046 impl ::core::fmt::Debug for CameraUIControlViewType {
4047 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4048 f.debug_tuple("CameraUIControlViewType").field(&self.0).finish()
4049 }
4050 }
4051 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4052 #[repr(transparent)]
4053 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
4054 pub struct DECISION_LOCATION(pub i32);
4055 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4056 pub const DECISION_LOCATION_REFRESH_GLOBAL_DATA: DECISION_LOCATION = DECISION_LOCATION(0i32);
4057 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4058 pub const DECISION_LOCATION_PARAMETER_VALIDATION: DECISION_LOCATION = DECISION_LOCATION(1i32);
4059 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4060 pub const DECISION_LOCATION_AUDIT: DECISION_LOCATION = DECISION_LOCATION(2i32);
4061 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4062 pub const DECISION_LOCATION_FAILED_CONVERT_GUID: DECISION_LOCATION = DECISION_LOCATION(3i32);
4063 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4064 pub const DECISION_LOCATION_ENTERPRISE_DEFINED_CLASS_ID: DECISION_LOCATION = DECISION_LOCATION(4i32);
4065 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4066 pub const DECISION_LOCATION_GLOBAL_BUILT_IN_LIST: DECISION_LOCATION = DECISION_LOCATION(5i32);
4067 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4068 pub const DECISION_LOCATION_PROVIDER_BUILT_IN_LIST: DECISION_LOCATION = DECISION_LOCATION(6i32);
4069 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4070 pub const DECISION_LOCATION_ENFORCE_STATE_LIST: DECISION_LOCATION = DECISION_LOCATION(7i32);
4071 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4072 pub const DECISION_LOCATION_NOT_FOUND: DECISION_LOCATION = DECISION_LOCATION(8i32);
4073 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4074 pub const DECISION_LOCATION_UNKNOWN: DECISION_LOCATION = DECISION_LOCATION(9i32);
4075 impl ::core::marker::Copy for DECISION_LOCATION {}
4076 impl ::core::clone::Clone for DECISION_LOCATION {
4077 fn clone(&self) -> Self {
4078 *self
4079 }
4080 }
4081 impl ::core::default::Default for DECISION_LOCATION {
4082 fn default() -> Self {
4083 Self(0)
4084 }
4085 }
4086 impl ::windows::core::TypeKind for DECISION_LOCATION {
4087 type TypeKind = ::windows::core::CopyType;
4088 }
4089 impl ::core::fmt::Debug for DECISION_LOCATION {
4090 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4091 f.debug_tuple("DECISION_LOCATION").field(&self.0).finish()
4092 }
4093 }
4094 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4095 #[repr(transparent)]
4096 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
4097 pub struct FEATURE_CHANGE_TIME(pub i32);
4098 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4099 pub const FEATURE_CHANGE_TIME_READ: FEATURE_CHANGE_TIME = FEATURE_CHANGE_TIME(0i32);
4100 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4101 pub const FEATURE_CHANGE_TIME_MODULE_RELOAD: FEATURE_CHANGE_TIME = FEATURE_CHANGE_TIME(1i32);
4102 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4103 pub const FEATURE_CHANGE_TIME_SESSION: FEATURE_CHANGE_TIME = FEATURE_CHANGE_TIME(2i32);
4104 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4105 pub const FEATURE_CHANGE_TIME_REBOOT: FEATURE_CHANGE_TIME = FEATURE_CHANGE_TIME(3i32);
4106 impl ::core::marker::Copy for FEATURE_CHANGE_TIME {}
4107 impl ::core::clone::Clone for FEATURE_CHANGE_TIME {
4108 fn clone(&self) -> Self {
4109 *self
4110 }
4111 }
4112 impl ::core::default::Default for FEATURE_CHANGE_TIME {
4113 fn default() -> Self {
4114 Self(0)
4115 }
4116 }
4117 impl ::windows::core::TypeKind for FEATURE_CHANGE_TIME {
4118 type TypeKind = ::windows::core::CopyType;
4119 }
4120 impl ::core::fmt::Debug for FEATURE_CHANGE_TIME {
4121 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4122 f.debug_tuple("FEATURE_CHANGE_TIME").field(&self.0).finish()
4123 }
4124 }
4125 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4126 #[repr(transparent)]
4127 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
4128 pub struct FEATURE_ENABLED_STATE(pub i32);
4129 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4130 pub const FEATURE_ENABLED_STATE_DEFAULT: FEATURE_ENABLED_STATE = FEATURE_ENABLED_STATE(0i32);
4131 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4132 pub const FEATURE_ENABLED_STATE_DISABLED: FEATURE_ENABLED_STATE = FEATURE_ENABLED_STATE(1i32);
4133 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4134 pub const FEATURE_ENABLED_STATE_ENABLED: FEATURE_ENABLED_STATE = FEATURE_ENABLED_STATE(2i32);
4135 impl ::core::marker::Copy for FEATURE_ENABLED_STATE {}
4136 impl ::core::clone::Clone for FEATURE_ENABLED_STATE {
4137 fn clone(&self) -> Self {
4138 *self
4139 }
4140 }
4141 impl ::core::default::Default for FEATURE_ENABLED_STATE {
4142 fn default() -> Self {
4143 Self(0)
4144 }
4145 }
4146 impl ::windows::core::TypeKind for FEATURE_ENABLED_STATE {
4147 type TypeKind = ::windows::core::CopyType;
4148 }
4149 impl ::core::fmt::Debug for FEATURE_ENABLED_STATE {
4150 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4151 f.debug_tuple("FEATURE_ENABLED_STATE").field(&self.0).finish()
4152 }
4153 }
4154 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4155 #[repr(transparent)]
4156 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
4157 pub struct FILE_INFORMATION_CLASS(pub i32);
4158 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4159 pub const FileDirectoryInformation: FILE_INFORMATION_CLASS = FILE_INFORMATION_CLASS(1i32);
4160 impl ::core::marker::Copy for FILE_INFORMATION_CLASS {}
4161 impl ::core::clone::Clone for FILE_INFORMATION_CLASS {
4162 fn clone(&self) -> Self {
4163 *self
4164 }
4165 }
4166 impl ::core::default::Default for FILE_INFORMATION_CLASS {
4167 fn default() -> Self {
4168 Self(0)
4169 }
4170 }
4171 impl ::windows::core::TypeKind for FILE_INFORMATION_CLASS {
4172 type TypeKind = ::windows::core::CopyType;
4173 }
4174 impl ::core::fmt::Debug for FILE_INFORMATION_CLASS {
4175 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4176 f.debug_tuple("FILE_INFORMATION_CLASS").field(&self.0).finish()
4177 }
4178 }
4179 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4180 #[repr(transparent)]
4181 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
4182 pub struct KEY_SET_INFORMATION_CLASS(pub i32);
4183 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4184 pub const KeyWriteTimeInformation: KEY_SET_INFORMATION_CLASS = KEY_SET_INFORMATION_CLASS(0i32);
4185 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4186 pub const KeyWow64FlagsInformation: KEY_SET_INFORMATION_CLASS = KEY_SET_INFORMATION_CLASS(1i32);
4187 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4188 pub const KeyControlFlagsInformation: KEY_SET_INFORMATION_CLASS = KEY_SET_INFORMATION_CLASS(2i32);
4189 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4190 pub const KeySetVirtualizationInformation: KEY_SET_INFORMATION_CLASS = KEY_SET_INFORMATION_CLASS(3i32);
4191 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4192 pub const KeySetDebugInformation: KEY_SET_INFORMATION_CLASS = KEY_SET_INFORMATION_CLASS(4i32);
4193 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4194 pub const KeySetHandleTagsInformation: KEY_SET_INFORMATION_CLASS = KEY_SET_INFORMATION_CLASS(5i32);
4195 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4196 pub const MaxKeySetInfoClass: KEY_SET_INFORMATION_CLASS = KEY_SET_INFORMATION_CLASS(6i32);
4197 impl ::core::marker::Copy for KEY_SET_INFORMATION_CLASS {}
4198 impl ::core::clone::Clone for KEY_SET_INFORMATION_CLASS {
4199 fn clone(&self) -> Self {
4200 *self
4201 }
4202 }
4203 impl ::core::default::Default for KEY_SET_INFORMATION_CLASS {
4204 fn default() -> Self {
4205 Self(0)
4206 }
4207 }
4208 impl ::windows::core::TypeKind for KEY_SET_INFORMATION_CLASS {
4209 type TypeKind = ::windows::core::CopyType;
4210 }
4211 impl ::core::fmt::Debug for KEY_SET_INFORMATION_CLASS {
4212 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4213 f.debug_tuple("KEY_SET_INFORMATION_CLASS").field(&self.0).finish()
4214 }
4215 }
4216 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4217 #[repr(transparent)]
4218 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
4219 pub struct OBJECT_INFORMATION_CLASS(pub i32);
4220 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4221 pub const ObjectBasicInformation: OBJECT_INFORMATION_CLASS = OBJECT_INFORMATION_CLASS(0i32);
4222 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4223 pub const ObjectTypeInformation: OBJECT_INFORMATION_CLASS = OBJECT_INFORMATION_CLASS(2i32);
4224 impl ::core::marker::Copy for OBJECT_INFORMATION_CLASS {}
4225 impl ::core::clone::Clone for OBJECT_INFORMATION_CLASS {
4226 fn clone(&self) -> Self {
4227 *self
4228 }
4229 }
4230 impl ::core::default::Default for OBJECT_INFORMATION_CLASS {
4231 fn default() -> Self {
4232 Self(0)
4233 }
4234 }
4235 impl ::windows::core::TypeKind for OBJECT_INFORMATION_CLASS {
4236 type TypeKind = ::windows::core::CopyType;
4237 }
4238 impl ::core::fmt::Debug for OBJECT_INFORMATION_CLASS {
4239 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4240 f.debug_tuple("OBJECT_INFORMATION_CLASS").field(&self.0).finish()
4241 }
4242 }
4243 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4244 #[repr(transparent)]
4245 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
4246 pub struct SYSTEM_INFORMATION_CLASS(pub i32);
4247 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4248 pub const SystemBasicInformation: SYSTEM_INFORMATION_CLASS = SYSTEM_INFORMATION_CLASS(0i32);
4249 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4250 pub const SystemPerformanceInformation: SYSTEM_INFORMATION_CLASS = SYSTEM_INFORMATION_CLASS(2i32);
4251 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4252 pub const SystemTimeOfDayInformation: SYSTEM_INFORMATION_CLASS = SYSTEM_INFORMATION_CLASS(3i32);
4253 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4254 pub const SystemProcessInformation: SYSTEM_INFORMATION_CLASS = SYSTEM_INFORMATION_CLASS(5i32);
4255 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4256 pub const SystemProcessorPerformanceInformation: SYSTEM_INFORMATION_CLASS = SYSTEM_INFORMATION_CLASS(8i32);
4257 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4258 pub const SystemInterruptInformation: SYSTEM_INFORMATION_CLASS = SYSTEM_INFORMATION_CLASS(23i32);
4259 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4260 pub const SystemExceptionInformation: SYSTEM_INFORMATION_CLASS = SYSTEM_INFORMATION_CLASS(33i32);
4261 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4262 pub const SystemRegistryQuotaInformation: SYSTEM_INFORMATION_CLASS = SYSTEM_INFORMATION_CLASS(37i32);
4263 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4264 pub const SystemLookasideInformation: SYSTEM_INFORMATION_CLASS = SYSTEM_INFORMATION_CLASS(45i32);
4265 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4266 pub const SystemCodeIntegrityInformation: SYSTEM_INFORMATION_CLASS = SYSTEM_INFORMATION_CLASS(103i32);
4267 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4268 pub const SystemPolicyInformation: SYSTEM_INFORMATION_CLASS = SYSTEM_INFORMATION_CLASS(134i32);
4269 impl ::core::marker::Copy for SYSTEM_INFORMATION_CLASS {}
4270 impl ::core::clone::Clone for SYSTEM_INFORMATION_CLASS {
4271 fn clone(&self) -> Self {
4272 *self
4273 }
4274 }
4275 impl ::core::default::Default for SYSTEM_INFORMATION_CLASS {
4276 fn default() -> Self {
4277 Self(0)
4278 }
4279 }
4280 impl ::windows::core::TypeKind for SYSTEM_INFORMATION_CLASS {
4281 type TypeKind = ::windows::core::CopyType;
4282 }
4283 impl ::core::fmt::Debug for SYSTEM_INFORMATION_CLASS {
4284 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4285 f.debug_tuple("SYSTEM_INFORMATION_CLASS").field(&self.0).finish()
4286 }
4287 }
4288 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4289 #[repr(transparent)]
4290 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
4291 pub struct TDIENTITY_ENTITY_TYPE(pub u32);
4292 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4293 pub const GENERIC_ENTITY: TDIENTITY_ENTITY_TYPE = TDIENTITY_ENTITY_TYPE(0u32);
4294 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4295 pub const AT_ENTITY: TDIENTITY_ENTITY_TYPE = TDIENTITY_ENTITY_TYPE(640u32);
4296 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4297 pub const CL_NL_ENTITY: TDIENTITY_ENTITY_TYPE = TDIENTITY_ENTITY_TYPE(769u32);
4298 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4299 pub const CO_NL_ENTITY: TDIENTITY_ENTITY_TYPE = TDIENTITY_ENTITY_TYPE(768u32);
4300 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4301 pub const CL_TL_ENTITY: TDIENTITY_ENTITY_TYPE = TDIENTITY_ENTITY_TYPE(1025u32);
4302 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4303 pub const CO_TL_ENTITY: TDIENTITY_ENTITY_TYPE = TDIENTITY_ENTITY_TYPE(1024u32);
4304 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4305 pub const ER_ENTITY: TDIENTITY_ENTITY_TYPE = TDIENTITY_ENTITY_TYPE(896u32);
4306 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4307 pub const IF_ENTITY: TDIENTITY_ENTITY_TYPE = TDIENTITY_ENTITY_TYPE(512u32);
4308 impl ::core::marker::Copy for TDIENTITY_ENTITY_TYPE {}
4309 impl ::core::clone::Clone for TDIENTITY_ENTITY_TYPE {
4310 fn clone(&self) -> Self {
4311 *self
4312 }
4313 }
4314 impl ::core::default::Default for TDIENTITY_ENTITY_TYPE {
4315 fn default() -> Self {
4316 Self(0)
4317 }
4318 }
4319 impl ::windows::core::TypeKind for TDIENTITY_ENTITY_TYPE {
4320 type TypeKind = ::windows::core::CopyType;
4321 }
4322 impl ::core::fmt::Debug for TDIENTITY_ENTITY_TYPE {
4323 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4324 f.debug_tuple("TDIENTITY_ENTITY_TYPE").field(&self.0).finish()
4325 }
4326 }
4327 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4328 #[repr(transparent)]
4329 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
4330 pub struct TDI_TL_IO_CONTROL_TYPE(pub i32);
4331 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4332 pub const EndpointIoControlType: TDI_TL_IO_CONTROL_TYPE = TDI_TL_IO_CONTROL_TYPE(0i32);
4333 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4334 pub const SetSockOptIoControlType: TDI_TL_IO_CONTROL_TYPE = TDI_TL_IO_CONTROL_TYPE(1i32);
4335 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4336 pub const GetSockOptIoControlType: TDI_TL_IO_CONTROL_TYPE = TDI_TL_IO_CONTROL_TYPE(2i32);
4337 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4338 pub const SocketIoControlType: TDI_TL_IO_CONTROL_TYPE = TDI_TL_IO_CONTROL_TYPE(3i32);
4339 impl ::core::marker::Copy for TDI_TL_IO_CONTROL_TYPE {}
4340 impl ::core::clone::Clone for TDI_TL_IO_CONTROL_TYPE {
4341 fn clone(&self) -> Self {
4342 *self
4343 }
4344 }
4345 impl ::core::default::Default for TDI_TL_IO_CONTROL_TYPE {
4346 fn default() -> Self {
4347 Self(0)
4348 }
4349 }
4350 impl ::windows::core::TypeKind for TDI_TL_IO_CONTROL_TYPE {
4351 type TypeKind = ::windows::core::CopyType;
4352 }
4353 impl ::core::fmt::Debug for TDI_TL_IO_CONTROL_TYPE {
4354 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4355 f.debug_tuple("TDI_TL_IO_CONTROL_TYPE").field(&self.0).finish()
4356 }
4357 }
4358 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4359 #[repr(transparent)]
4360 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
4361 pub struct VALUENAME(pub i32);
4362 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4363 pub const VALUENAME_UNKNOWN: VALUENAME = VALUENAME(0i32);
4364 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4365 pub const VALUENAME_ENTERPRISE_DEFINED_CLASS_ID: VALUENAME = VALUENAME(1i32);
4366 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4367 pub const VALUENAME_BUILT_IN_LIST: VALUENAME = VALUENAME(2i32);
4368 impl ::core::marker::Copy for VALUENAME {}
4369 impl ::core::clone::Clone for VALUENAME {
4370 fn clone(&self) -> Self {
4371 *self
4372 }
4373 }
4374 impl ::core::default::Default for VALUENAME {
4375 fn default() -> Self {
4376 Self(0)
4377 }
4378 }
4379 impl ::windows::core::TypeKind for VALUENAME {
4380 type TypeKind = ::windows::core::CopyType;
4381 }
4382 impl ::core::fmt::Debug for VALUENAME {
4383 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4384 f.debug_tuple("VALUENAME").field(&self.0).finish()
4385 }
4386 }
4387 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4388 #[repr(transparent)]
4389 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
4390 pub struct WINSTATIONINFOCLASS(pub i32);
4391 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4392 pub const WinStationInformation: WINSTATIONINFOCLASS = WINSTATIONINFOCLASS(8i32);
4393 impl ::core::marker::Copy for WINSTATIONINFOCLASS {}
4394 impl ::core::clone::Clone for WINSTATIONINFOCLASS {
4395 fn clone(&self) -> Self {
4396 *self
4397 }
4398 }
4399 impl ::core::default::Default for WINSTATIONINFOCLASS {
4400 fn default() -> Self {
4401 Self(0)
4402 }
4403 }
4404 impl ::windows::core::TypeKind for WINSTATIONINFOCLASS {
4405 type TypeKind = ::windows::core::CopyType;
4406 }
4407 impl ::core::fmt::Debug for WINSTATIONINFOCLASS {
4408 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4409 f.debug_tuple("WINSTATIONINFOCLASS").field(&self.0).finish()
4410 }
4411 }
4412 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4413 #[repr(transparent)]
4414 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
4415 pub struct WLDP_HOST(pub i32);
4416 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4417 pub const WLDP_HOST_RUNDLL32: WLDP_HOST = WLDP_HOST(0i32);
4418 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4419 pub const WLDP_HOST_SVCHOST: WLDP_HOST = WLDP_HOST(1i32);
4420 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4421 pub const WLDP_HOST_MAX: WLDP_HOST = WLDP_HOST(2i32);
4422 impl ::core::marker::Copy for WLDP_HOST {}
4423 impl ::core::clone::Clone for WLDP_HOST {
4424 fn clone(&self) -> Self {
4425 *self
4426 }
4427 }
4428 impl ::core::default::Default for WLDP_HOST {
4429 fn default() -> Self {
4430 Self(0)
4431 }
4432 }
4433 impl ::windows::core::TypeKind for WLDP_HOST {
4434 type TypeKind = ::windows::core::CopyType;
4435 }
4436 impl ::core::fmt::Debug for WLDP_HOST {
4437 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4438 f.debug_tuple("WLDP_HOST").field(&self.0).finish()
4439 }
4440 }
4441 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4442 #[repr(transparent)]
4443 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
4444 pub struct WLDP_HOST_ID(pub i32);
4445 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4446 pub const WLDP_HOST_ID_UNKNOWN: WLDP_HOST_ID = WLDP_HOST_ID(0i32);
4447 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4448 pub const WLDP_HOST_ID_GLOBAL: WLDP_HOST_ID = WLDP_HOST_ID(1i32);
4449 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4450 pub const WLDP_HOST_ID_VBA: WLDP_HOST_ID = WLDP_HOST_ID(2i32);
4451 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4452 pub const WLDP_HOST_ID_WSH: WLDP_HOST_ID = WLDP_HOST_ID(3i32);
4453 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4454 pub const WLDP_HOST_ID_POWERSHELL: WLDP_HOST_ID = WLDP_HOST_ID(4i32);
4455 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4456 pub const WLDP_HOST_ID_IE: WLDP_HOST_ID = WLDP_HOST_ID(5i32);
4457 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4458 pub const WLDP_HOST_ID_MSI: WLDP_HOST_ID = WLDP_HOST_ID(6i32);
4459 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4460 pub const WLDP_HOST_ID_ALL: WLDP_HOST_ID = WLDP_HOST_ID(7i32);
4461 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4462 pub const WLDP_HOST_ID_MAX: WLDP_HOST_ID = WLDP_HOST_ID(8i32);
4463 impl ::core::marker::Copy for WLDP_HOST_ID {}
4464 impl ::core::clone::Clone for WLDP_HOST_ID {
4465 fn clone(&self) -> Self {
4466 *self
4467 }
4468 }
4469 impl ::core::default::Default for WLDP_HOST_ID {
4470 fn default() -> Self {
4471 Self(0)
4472 }
4473 }
4474 impl ::windows::core::TypeKind for WLDP_HOST_ID {
4475 type TypeKind = ::windows::core::CopyType;
4476 }
4477 impl ::core::fmt::Debug for WLDP_HOST_ID {
4478 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4479 f.debug_tuple("WLDP_HOST_ID").field(&self.0).finish()
4480 }
4481 }
4482 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4483 #[repr(transparent)]
4484 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
4485 pub struct WLDP_KEY(pub i32);
4486 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4487 pub const KEY_UNKNOWN: WLDP_KEY = WLDP_KEY(0i32);
4488 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4489 pub const KEY_OVERRIDE: WLDP_KEY = WLDP_KEY(1i32);
4490 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4491 pub const KEY_ALL_KEYS: WLDP_KEY = WLDP_KEY(2i32);
4492 impl ::core::marker::Copy for WLDP_KEY {}
4493 impl ::core::clone::Clone for WLDP_KEY {
4494 fn clone(&self) -> Self {
4495 *self
4496 }
4497 }
4498 impl ::core::default::Default for WLDP_KEY {
4499 fn default() -> Self {
4500 Self(0)
4501 }
4502 }
4503 impl ::windows::core::TypeKind for WLDP_KEY {
4504 type TypeKind = ::windows::core::CopyType;
4505 }
4506 impl ::core::fmt::Debug for WLDP_KEY {
4507 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4508 f.debug_tuple("WLDP_KEY").field(&self.0).finish()
4509 }
4510 }
4511 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4512 #[repr(transparent)]
4513 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
4514 pub struct WLDP_POLICY_SETTING(pub i32);
4515 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4516 pub const WLDP_POLICY_SETTING_AV_PERF_MODE: WLDP_POLICY_SETTING = WLDP_POLICY_SETTING(1000i32);
4517 impl ::core::marker::Copy for WLDP_POLICY_SETTING {}
4518 impl ::core::clone::Clone for WLDP_POLICY_SETTING {
4519 fn clone(&self) -> Self {
4520 *self
4521 }
4522 }
4523 impl ::core::default::Default for WLDP_POLICY_SETTING {
4524 fn default() -> Self {
4525 Self(0)
4526 }
4527 }
4528 impl ::windows::core::TypeKind for WLDP_POLICY_SETTING {
4529 type TypeKind = ::windows::core::CopyType;
4530 }
4531 impl ::core::fmt::Debug for WLDP_POLICY_SETTING {
4532 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4533 f.debug_tuple("WLDP_POLICY_SETTING").field(&self.0).finish()
4534 }
4535 }
4536 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4537 #[repr(transparent)]
4538 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
4539 pub struct WLDP_WINDOWS_LOCKDOWN_MODE(pub i32);
4540 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4541 pub const WLDP_WINDOWS_LOCKDOWN_MODE_UNLOCKED: WLDP_WINDOWS_LOCKDOWN_MODE = WLDP_WINDOWS_LOCKDOWN_MODE(0i32);
4542 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4543 pub const WLDP_WINDOWS_LOCKDOWN_MODE_TRIAL: WLDP_WINDOWS_LOCKDOWN_MODE = WLDP_WINDOWS_LOCKDOWN_MODE(1i32);
4544 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4545 pub const WLDP_WINDOWS_LOCKDOWN_MODE_LOCKED: WLDP_WINDOWS_LOCKDOWN_MODE = WLDP_WINDOWS_LOCKDOWN_MODE(2i32);
4546 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4547 pub const WLDP_WINDOWS_LOCKDOWN_MODE_MAX: WLDP_WINDOWS_LOCKDOWN_MODE = WLDP_WINDOWS_LOCKDOWN_MODE(3i32);
4548 impl ::core::marker::Copy for WLDP_WINDOWS_LOCKDOWN_MODE {}
4549 impl ::core::clone::Clone for WLDP_WINDOWS_LOCKDOWN_MODE {
4550 fn clone(&self) -> Self {
4551 *self
4552 }
4553 }
4554 impl ::core::default::Default for WLDP_WINDOWS_LOCKDOWN_MODE {
4555 fn default() -> Self {
4556 Self(0)
4557 }
4558 }
4559 impl ::windows::core::TypeKind for WLDP_WINDOWS_LOCKDOWN_MODE {
4560 type TypeKind = ::windows::core::CopyType;
4561 }
4562 impl ::core::fmt::Debug for WLDP_WINDOWS_LOCKDOWN_MODE {
4563 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4564 f.debug_tuple("WLDP_WINDOWS_LOCKDOWN_MODE").field(&self.0).finish()
4565 }
4566 }
4567 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4568 #[repr(transparent)]
4569 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
4570 pub struct WLDP_WINDOWS_LOCKDOWN_RESTRICTION(pub i32);
4571 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4572 pub const WLDP_WINDOWS_LOCKDOWN_RESTRICTION_NONE: WLDP_WINDOWS_LOCKDOWN_RESTRICTION = WLDP_WINDOWS_LOCKDOWN_RESTRICTION(0i32);
4573 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4574 pub const WLDP_WINDOWS_LOCKDOWN_RESTRICTION_NOUNLOCK: WLDP_WINDOWS_LOCKDOWN_RESTRICTION = WLDP_WINDOWS_LOCKDOWN_RESTRICTION(1i32);
4575 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4576 pub const WLDP_WINDOWS_LOCKDOWN_RESTRICTION_NOUNLOCK_PERMANENT: WLDP_WINDOWS_LOCKDOWN_RESTRICTION = WLDP_WINDOWS_LOCKDOWN_RESTRICTION(2i32);
4577 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4578 pub const WLDP_WINDOWS_LOCKDOWN_RESTRICTION_MAX: WLDP_WINDOWS_LOCKDOWN_RESTRICTION = WLDP_WINDOWS_LOCKDOWN_RESTRICTION(3i32);
4579 impl ::core::marker::Copy for WLDP_WINDOWS_LOCKDOWN_RESTRICTION {}
4580 impl ::core::clone::Clone for WLDP_WINDOWS_LOCKDOWN_RESTRICTION {
4581 fn clone(&self) -> Self {
4582 *self
4583 }
4584 }
4585 impl ::core::default::Default for WLDP_WINDOWS_LOCKDOWN_RESTRICTION {
4586 fn default() -> Self {
4587 Self(0)
4588 }
4589 }
4590 impl ::windows::core::TypeKind for WLDP_WINDOWS_LOCKDOWN_RESTRICTION {
4591 type TypeKind = ::windows::core::CopyType;
4592 }
4593 impl ::core::fmt::Debug for WLDP_WINDOWS_LOCKDOWN_RESTRICTION {
4594 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4595 f.debug_tuple("WLDP_WINDOWS_LOCKDOWN_RESTRICTION").field(&self.0).finish()
4596 }
4597 }
4598 #[repr(C)]
4599 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
4600 #[cfg(feature = "Win32_Foundation")]
4601 pub struct ACTCTX_SECTION_KEYED_DATA_2600 {
4602 pub cbSize: u32,
4603 pub ulDataFormatVersion: u32,
4604 pub lpData: *mut ::core::ffi::c_void,
4605 pub ulLength: u32,
4606 pub lpSectionGlobalData: *mut ::core::ffi::c_void,
4607 pub ulSectionGlobalDataLength: u32,
4608 pub lpSectionBase: *mut ::core::ffi::c_void,
4609 pub ulSectionTotalLength: u32,
4610 pub hActCtx: super::super::Foundation::HANDLE,
4611 pub ulAssemblyRosterIndex: u32,
4612 }
4613 #[cfg(feature = "Win32_Foundation")]
4614 impl ::core::marker::Copy for ACTCTX_SECTION_KEYED_DATA_2600 {}
4615 #[cfg(feature = "Win32_Foundation")]
4616 impl ::core::clone::Clone for ACTCTX_SECTION_KEYED_DATA_2600 {
4617 fn clone(&self) -> Self {
4618 *self
4619 }
4620 }
4621 #[cfg(feature = "Win32_Foundation")]
4622 impl ::core::fmt::Debug for ACTCTX_SECTION_KEYED_DATA_2600 {
4623 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4624 f.debug_struct("ACTCTX_SECTION_KEYED_DATA_2600")
4625 .field("cbSize", &self.cbSize)
4626 .field("ulDataFormatVersion", &self.ulDataFormatVersion)
4627 .field("lpData", &self.lpData)
4628 .field("ulLength", &self.ulLength)
4629 .field("lpSectionGlobalData", &self.lpSectionGlobalData)
4630 .field("ulSectionGlobalDataLength", &self.ulSectionGlobalDataLength)
4631 .field("lpSectionBase", &self.lpSectionBase)
4632 .field("ulSectionTotalLength", &self.ulSectionTotalLength)
4633 .field("hActCtx", &self.hActCtx)
4634 .field("ulAssemblyRosterIndex", &self.ulAssemblyRosterIndex)
4635 .finish()
4636 }
4637 }
4638 #[cfg(feature = "Win32_Foundation")]
4639 impl ::windows::core::TypeKind for ACTCTX_SECTION_KEYED_DATA_2600 {
4640 type TypeKind = ::windows::core::CopyType;
4641 }
4642 #[cfg(feature = "Win32_Foundation")]
4643 impl ::core::cmp::PartialEq for ACTCTX_SECTION_KEYED_DATA_2600 {
4644 fn eq(&self, other: &Self) -> bool {
4645 self.cbSize == other.cbSize && self.ulDataFormatVersion == other.ulDataFormatVersion && self.lpData == other.lpData && self.ulLength == other.ulLength && self.lpSectionGlobalData == other.lpSectionGlobalData && self.ulSectionGlobalDataLength == other.ulSectionGlobalDataLength && self.lpSectionBase == other.lpSectionBase && self.ulSectionTotalLength == other.ulSectionTotalLength && self.hActCtx == other.hActCtx && self.ulAssemblyRosterIndex == other.ulAssemblyRosterIndex
4646 }
4647 }
4648 #[cfg(feature = "Win32_Foundation")]
4649 impl ::core::cmp::Eq for ACTCTX_SECTION_KEYED_DATA_2600 {}
4650 #[cfg(feature = "Win32_Foundation")]
4651 impl ::core::default::Default for ACTCTX_SECTION_KEYED_DATA_2600 {
4652 fn default() -> Self {
4653 unsafe { ::core::mem::zeroed() }
4654 }
4655 }
4656 #[repr(C)]
4657 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4658 pub struct ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA {
4659 pub lpInformation: *mut ::core::ffi::c_void,
4660 pub lpSectionBase: *mut ::core::ffi::c_void,
4661 pub ulSectionLength: u32,
4662 pub lpSectionGlobalDataBase: *mut ::core::ffi::c_void,
4663 pub ulSectionGlobalDataLength: u32,
4664 }
4665 impl ::core::marker::Copy for ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA {}
4666 impl ::core::clone::Clone for ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA {
4667 fn clone(&self) -> Self {
4668 *self
4669 }
4670 }
4671 impl ::core::fmt::Debug for ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA {
4672 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4673 f.debug_struct("ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA").field("lpInformation", &self.lpInformation).field("lpSectionBase", &self.lpSectionBase).field("ulSectionLength", &self.ulSectionLength).field("lpSectionGlobalDataBase", &self.lpSectionGlobalDataBase).field("ulSectionGlobalDataLength", &self.ulSectionGlobalDataLength).finish()
4674 }
4675 }
4676 impl ::windows::core::TypeKind for ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA {
4677 type TypeKind = ::windows::core::CopyType;
4678 }
4679 impl ::core::cmp::PartialEq for ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA {
4680 fn eq(&self, other: &Self) -> bool {
4681 self.lpInformation == other.lpInformation && self.lpSectionBase == other.lpSectionBase && self.ulSectionLength == other.ulSectionLength && self.lpSectionGlobalDataBase == other.lpSectionGlobalDataBase && self.ulSectionGlobalDataLength == other.ulSectionGlobalDataLength
4682 }
4683 }
4684 impl ::core::cmp::Eq for ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA {}
4685 impl ::core::default::Default for ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA {
4686 fn default() -> Self {
4687 unsafe { ::core::mem::zeroed() }
4688 }
4689 }
4690 #[repr(C)]
4691 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
4692 #[cfg(feature = "Win32_Foundation")]
4693 pub struct ACTIVATION_CONTEXT_BASIC_INFORMATION {
4694 pub hActCtx: super::super::Foundation::HANDLE,
4695 pub dwFlags: u32,
4696 }
4697 #[cfg(feature = "Win32_Foundation")]
4698 impl ::core::marker::Copy for ACTIVATION_CONTEXT_BASIC_INFORMATION {}
4699 #[cfg(feature = "Win32_Foundation")]
4700 impl ::core::clone::Clone for ACTIVATION_CONTEXT_BASIC_INFORMATION {
4701 fn clone(&self) -> Self {
4702 *self
4703 }
4704 }
4705 #[cfg(feature = "Win32_Foundation")]
4706 impl ::core::fmt::Debug for ACTIVATION_CONTEXT_BASIC_INFORMATION {
4707 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4708 f.debug_struct("ACTIVATION_CONTEXT_BASIC_INFORMATION").field("hActCtx", &self.hActCtx).field("dwFlags", &self.dwFlags).finish()
4709 }
4710 }
4711 #[cfg(feature = "Win32_Foundation")]
4712 impl ::windows::core::TypeKind for ACTIVATION_CONTEXT_BASIC_INFORMATION {
4713 type TypeKind = ::windows::core::CopyType;
4714 }
4715 #[cfg(feature = "Win32_Foundation")]
4716 impl ::core::cmp::PartialEq for ACTIVATION_CONTEXT_BASIC_INFORMATION {
4717 fn eq(&self, other: &Self) -> bool {
4718 self.hActCtx == other.hActCtx && self.dwFlags == other.dwFlags
4719 }
4720 }
4721 #[cfg(feature = "Win32_Foundation")]
4722 impl ::core::cmp::Eq for ACTIVATION_CONTEXT_BASIC_INFORMATION {}
4723 #[cfg(feature = "Win32_Foundation")]
4724 impl ::core::default::Default for ACTIVATION_CONTEXT_BASIC_INFORMATION {
4725 fn default() -> Self {
4726 unsafe { ::core::mem::zeroed() }
4727 }
4728 }
4729 #[repr(C)]
4730 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4731 pub struct CABINFOA {
4732 pub pszCab: ::windows::core::PSTR,
4733 pub pszInf: ::windows::core::PSTR,
4734 pub pszSection: ::windows::core::PSTR,
4735 pub szSrcPath: [u8; 260],
4736 pub dwFlags: u32,
4737 }
4738 impl ::core::marker::Copy for CABINFOA {}
4739 impl ::core::clone::Clone for CABINFOA {
4740 fn clone(&self) -> Self {
4741 *self
4742 }
4743 }
4744 impl ::core::fmt::Debug for CABINFOA {
4745 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4746 f.debug_struct("CABINFOA").field("pszCab", &self.pszCab).field("pszInf", &self.pszInf).field("pszSection", &self.pszSection).field("szSrcPath", &self.szSrcPath).field("dwFlags", &self.dwFlags).finish()
4747 }
4748 }
4749 impl ::windows::core::TypeKind for CABINFOA {
4750 type TypeKind = ::windows::core::CopyType;
4751 }
4752 impl ::core::cmp::PartialEq for CABINFOA {
4753 fn eq(&self, other: &Self) -> bool {
4754 self.pszCab == other.pszCab && self.pszInf == other.pszInf && self.pszSection == other.pszSection && self.szSrcPath == other.szSrcPath && self.dwFlags == other.dwFlags
4755 }
4756 }
4757 impl ::core::cmp::Eq for CABINFOA {}
4758 impl ::core::default::Default for CABINFOA {
4759 fn default() -> Self {
4760 unsafe { ::core::mem::zeroed() }
4761 }
4762 }
4763 #[repr(C)]
4764 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4765 pub struct CABINFOW {
4766 pub pszCab: ::windows::core::PWSTR,
4767 pub pszInf: ::windows::core::PWSTR,
4768 pub pszSection: ::windows::core::PWSTR,
4769 pub szSrcPath: [u16; 260],
4770 pub dwFlags: u32,
4771 }
4772 impl ::core::marker::Copy for CABINFOW {}
4773 impl ::core::clone::Clone for CABINFOW {
4774 fn clone(&self) -> Self {
4775 *self
4776 }
4777 }
4778 impl ::core::fmt::Debug for CABINFOW {
4779 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4780 f.debug_struct("CABINFOW").field("pszCab", &self.pszCab).field("pszInf", &self.pszInf).field("pszSection", &self.pszSection).field("szSrcPath", &self.szSrcPath).field("dwFlags", &self.dwFlags).finish()
4781 }
4782 }
4783 impl ::windows::core::TypeKind for CABINFOW {
4784 type TypeKind = ::windows::core::CopyType;
4785 }
4786 impl ::core::cmp::PartialEq for CABINFOW {
4787 fn eq(&self, other: &Self) -> bool {
4788 self.pszCab == other.pszCab && self.pszInf == other.pszInf && self.pszSection == other.pszSection && self.szSrcPath == other.szSrcPath && self.dwFlags == other.dwFlags
4789 }
4790 }
4791 impl ::core::cmp::Eq for CABINFOW {}
4792 impl ::core::default::Default for CABINFOW {
4793 fn default() -> Self {
4794 unsafe { ::core::mem::zeroed() }
4795 }
4796 }
4797 #[repr(C)]
4798 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
4799 #[cfg(feature = "Win32_Foundation")]
4800 pub struct CLIENT_ID {
4801 pub UniqueProcess: super::super::Foundation::HANDLE,
4802 pub UniqueThread: super::super::Foundation::HANDLE,
4803 }
4804 #[cfg(feature = "Win32_Foundation")]
4805 impl ::core::marker::Copy for CLIENT_ID {}
4806 #[cfg(feature = "Win32_Foundation")]
4807 impl ::core::clone::Clone for CLIENT_ID {
4808 fn clone(&self) -> Self {
4809 *self
4810 }
4811 }
4812 #[cfg(feature = "Win32_Foundation")]
4813 impl ::core::fmt::Debug for CLIENT_ID {
4814 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4815 f.debug_struct("CLIENT_ID").field("UniqueProcess", &self.UniqueProcess).field("UniqueThread", &self.UniqueThread).finish()
4816 }
4817 }
4818 #[cfg(feature = "Win32_Foundation")]
4819 impl ::windows::core::TypeKind for CLIENT_ID {
4820 type TypeKind = ::windows::core::CopyType;
4821 }
4822 #[cfg(feature = "Win32_Foundation")]
4823 impl ::core::cmp::PartialEq for CLIENT_ID {
4824 fn eq(&self, other: &Self) -> bool {
4825 self.UniqueProcess == other.UniqueProcess && self.UniqueThread == other.UniqueThread
4826 }
4827 }
4828 #[cfg(feature = "Win32_Foundation")]
4829 impl ::core::cmp::Eq for CLIENT_ID {}
4830 #[cfg(feature = "Win32_Foundation")]
4831 impl ::core::default::Default for CLIENT_ID {
4832 fn default() -> Self {
4833 unsafe { ::core::mem::zeroed() }
4834 }
4835 }
4836 #[repr(C)]
4837 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4838 pub struct CUSTOM_SYSTEM_EVENT_TRIGGER_CONFIG {
4839 pub Size: u32,
4840 pub TriggerId: ::windows::core::PCWSTR,
4841 }
4842 impl ::core::marker::Copy for CUSTOM_SYSTEM_EVENT_TRIGGER_CONFIG {}
4843 impl ::core::clone::Clone for CUSTOM_SYSTEM_EVENT_TRIGGER_CONFIG {
4844 fn clone(&self) -> Self {
4845 *self
4846 }
4847 }
4848 impl ::core::fmt::Debug for CUSTOM_SYSTEM_EVENT_TRIGGER_CONFIG {
4849 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4850 f.debug_struct("CUSTOM_SYSTEM_EVENT_TRIGGER_CONFIG").field("Size", &self.Size).field("TriggerId", &self.TriggerId).finish()
4851 }
4852 }
4853 impl ::windows::core::TypeKind for CUSTOM_SYSTEM_EVENT_TRIGGER_CONFIG {
4854 type TypeKind = ::windows::core::CopyType;
4855 }
4856 impl ::core::cmp::PartialEq for CUSTOM_SYSTEM_EVENT_TRIGGER_CONFIG {
4857 fn eq(&self, other: &Self) -> bool {
4858 self.Size == other.Size && self.TriggerId == other.TriggerId
4859 }
4860 }
4861 impl ::core::cmp::Eq for CUSTOM_SYSTEM_EVENT_TRIGGER_CONFIG {}
4862 impl ::core::default::Default for CUSTOM_SYSTEM_EVENT_TRIGGER_CONFIG {
4863 fn default() -> Self {
4864 unsafe { ::core::mem::zeroed() }
4865 }
4866 }
4867 #[repr(C)]
4868 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4869 pub struct DATETIME {
4870 pub year: u16,
4871 pub month: u16,
4872 pub day: u16,
4873 pub hour: u16,
4874 pub min: u16,
4875 pub sec: u16,
4876 }
4877 impl ::core::marker::Copy for DATETIME {}
4878 impl ::core::clone::Clone for DATETIME {
4879 fn clone(&self) -> Self {
4880 *self
4881 }
4882 }
4883 impl ::core::fmt::Debug for DATETIME {
4884 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4885 f.debug_struct("DATETIME").field("year", &self.year).field("month", &self.month).field("day", &self.day).field("hour", &self.hour).field("min", &self.min).field("sec", &self.sec).finish()
4886 }
4887 }
4888 impl ::windows::core::TypeKind for DATETIME {
4889 type TypeKind = ::windows::core::CopyType;
4890 }
4891 impl ::core::cmp::PartialEq for DATETIME {
4892 fn eq(&self, other: &Self) -> bool {
4893 self.year == other.year && self.month == other.month && self.day == other.day && self.hour == other.hour && self.min == other.min && self.sec == other.sec
4894 }
4895 }
4896 impl ::core::cmp::Eq for DATETIME {}
4897 impl ::core::default::Default for DATETIME {
4898 fn default() -> Self {
4899 unsafe { ::core::mem::zeroed() }
4900 }
4901 }
4902 #[repr(C)]
4903 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4904 pub struct DCICMD {
4905 pub dwCommand: u32,
4906 pub dwParam1: u32,
4907 pub dwParam2: u32,
4908 pub dwVersion: u32,
4909 pub dwReserved: u32,
4910 }
4911 impl ::core::marker::Copy for DCICMD {}
4912 impl ::core::clone::Clone for DCICMD {
4913 fn clone(&self) -> Self {
4914 *self
4915 }
4916 }
4917 impl ::core::fmt::Debug for DCICMD {
4918 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4919 f.debug_struct("DCICMD").field("dwCommand", &self.dwCommand).field("dwParam1", &self.dwParam1).field("dwParam2", &self.dwParam2).field("dwVersion", &self.dwVersion).field("dwReserved", &self.dwReserved).finish()
4920 }
4921 }
4922 impl ::windows::core::TypeKind for DCICMD {
4923 type TypeKind = ::windows::core::CopyType;
4924 }
4925 impl ::core::cmp::PartialEq for DCICMD {
4926 fn eq(&self, other: &Self) -> bool {
4927 self.dwCommand == other.dwCommand && self.dwParam1 == other.dwParam1 && self.dwParam2 == other.dwParam2 && self.dwVersion == other.dwVersion && self.dwReserved == other.dwReserved
4928 }
4929 }
4930 impl ::core::cmp::Eq for DCICMD {}
4931 impl ::core::default::Default for DCICMD {
4932 fn default() -> Self {
4933 unsafe { ::core::mem::zeroed() }
4934 }
4935 }
4936 #[repr(C)]
4937 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
4938 pub struct DCICREATEINPUT {
4939 pub cmd: DCICMD,
4940 pub dwCompression: u32,
4941 pub dwMask: [u32; 3],
4942 pub dwWidth: u32,
4943 pub dwHeight: u32,
4944 pub dwDCICaps: u32,
4945 pub dwBitCount: u32,
4946 pub lpSurface: *mut ::core::ffi::c_void,
4947 }
4948 impl ::core::marker::Copy for DCICREATEINPUT {}
4949 impl ::core::clone::Clone for DCICREATEINPUT {
4950 fn clone(&self) -> Self {
4951 *self
4952 }
4953 }
4954 impl ::core::fmt::Debug for DCICREATEINPUT {
4955 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4956 f.debug_struct("DCICREATEINPUT").field("cmd", &self.cmd).field("dwCompression", &self.dwCompression).field("dwMask", &self.dwMask).field("dwWidth", &self.dwWidth).field("dwHeight", &self.dwHeight).field("dwDCICaps", &self.dwDCICaps).field("dwBitCount", &self.dwBitCount).field("lpSurface", &self.lpSurface).finish()
4957 }
4958 }
4959 impl ::windows::core::TypeKind for DCICREATEINPUT {
4960 type TypeKind = ::windows::core::CopyType;
4961 }
4962 impl ::core::cmp::PartialEq for DCICREATEINPUT {
4963 fn eq(&self, other: &Self) -> bool {
4964 self.cmd == other.cmd && self.dwCompression == other.dwCompression && self.dwMask == other.dwMask && self.dwWidth == other.dwWidth && self.dwHeight == other.dwHeight && self.dwDCICaps == other.dwDCICaps && self.dwBitCount == other.dwBitCount && self.lpSurface == other.lpSurface
4965 }
4966 }
4967 impl ::core::cmp::Eq for DCICREATEINPUT {}
4968 impl ::core::default::Default for DCICREATEINPUT {
4969 fn default() -> Self {
4970 unsafe { ::core::mem::zeroed() }
4971 }
4972 }
4973 #[repr(C)]
4974 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
4975 #[cfg(feature = "Win32_Foundation")]
4976 pub struct DCIENUMINPUT {
4977 pub cmd: DCICMD,
4978 pub rSrc: super::super::Foundation::RECT,
4979 pub rDst: super::super::Foundation::RECT,
4980 pub EnumCallback: isize,
4981 pub lpContext: *mut ::core::ffi::c_void,
4982 }
4983 #[cfg(feature = "Win32_Foundation")]
4984 impl ::core::marker::Copy for DCIENUMINPUT {}
4985 #[cfg(feature = "Win32_Foundation")]
4986 impl ::core::clone::Clone for DCIENUMINPUT {
4987 fn clone(&self) -> Self {
4988 *self
4989 }
4990 }
4991 #[cfg(feature = "Win32_Foundation")]
4992 impl ::core::fmt::Debug for DCIENUMINPUT {
4993 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4994 f.debug_struct("DCIENUMINPUT").field("cmd", &self.cmd).field("rSrc", &self.rSrc).field("rDst", &self.rDst).field("EnumCallback", &self.EnumCallback).field("lpContext", &self.lpContext).finish()
4995 }
4996 }
4997 #[cfg(feature = "Win32_Foundation")]
4998 impl ::windows::core::TypeKind for DCIENUMINPUT {
4999 type TypeKind = ::windows::core::CopyType;
5000 }
5001 #[cfg(feature = "Win32_Foundation")]
5002 impl ::core::cmp::PartialEq for DCIENUMINPUT {
5003 fn eq(&self, other: &Self) -> bool {
5004 self.cmd == other.cmd && self.rSrc == other.rSrc && self.rDst == other.rDst && self.EnumCallback == other.EnumCallback && self.lpContext == other.lpContext
5005 }
5006 }
5007 #[cfg(feature = "Win32_Foundation")]
5008 impl ::core::cmp::Eq for DCIENUMINPUT {}
5009 #[cfg(feature = "Win32_Foundation")]
5010 impl ::core::default::Default for DCIENUMINPUT {
5011 fn default() -> Self {
5012 unsafe { ::core::mem::zeroed() }
5013 }
5014 }
5015 #[repr(C)]
5016 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
5017 pub struct DCIOFFSCREEN {
5018 pub dciInfo: DCISURFACEINFO,
5019 pub Draw: isize,
5020 pub SetClipList: isize,
5021 pub SetDestination: isize,
5022 }
5023 impl ::core::marker::Copy for DCIOFFSCREEN {}
5024 impl ::core::clone::Clone for DCIOFFSCREEN {
5025 fn clone(&self) -> Self {
5026 *self
5027 }
5028 }
5029 impl ::core::fmt::Debug for DCIOFFSCREEN {
5030 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
5031 f.debug_struct("DCIOFFSCREEN").field("dciInfo", &self.dciInfo).field("Draw", &self.Draw).field("SetClipList", &self.SetClipList).field("SetDestination", &self.SetDestination).finish()
5032 }
5033 }
5034 impl ::windows::core::TypeKind for DCIOFFSCREEN {
5035 type TypeKind = ::windows::core::CopyType;
5036 }
5037 impl ::core::cmp::PartialEq for DCIOFFSCREEN {
5038 fn eq(&self, other: &Self) -> bool {
5039 self.dciInfo == other.dciInfo && self.Draw == other.Draw && self.SetClipList == other.SetClipList && self.SetDestination == other.SetDestination
5040 }
5041 }
5042 impl ::core::cmp::Eq for DCIOFFSCREEN {}
5043 impl ::core::default::Default for DCIOFFSCREEN {
5044 fn default() -> Self {
5045 unsafe { ::core::mem::zeroed() }
5046 }
5047 }
5048 #[repr(C)]
5049 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
5050 pub struct DCIOVERLAY {
5051 pub dciInfo: DCISURFACEINFO,
5052 pub dwChromakeyValue: u32,
5053 pub dwChromakeyMask: u32,
5054 }
5055 impl ::core::marker::Copy for DCIOVERLAY {}
5056 impl ::core::clone::Clone for DCIOVERLAY {
5057 fn clone(&self) -> Self {
5058 *self
5059 }
5060 }
5061 impl ::core::fmt::Debug for DCIOVERLAY {
5062 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
5063 f.debug_struct("DCIOVERLAY").field("dciInfo", &self.dciInfo).field("dwChromakeyValue", &self.dwChromakeyValue).field("dwChromakeyMask", &self.dwChromakeyMask).finish()
5064 }
5065 }
5066 impl ::windows::core::TypeKind for DCIOVERLAY {
5067 type TypeKind = ::windows::core::CopyType;
5068 }
5069 impl ::core::cmp::PartialEq for DCIOVERLAY {
5070 fn eq(&self, other: &Self) -> bool {
5071 self.dciInfo == other.dciInfo && self.dwChromakeyValue == other.dwChromakeyValue && self.dwChromakeyMask == other.dwChromakeyMask
5072 }
5073 }
5074 impl ::core::cmp::Eq for DCIOVERLAY {}
5075 impl ::core::default::Default for DCIOVERLAY {
5076 fn default() -> Self {
5077 unsafe { ::core::mem::zeroed() }
5078 }
5079 }
5080 #[repr(C)]
5081 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
5082 pub struct DCISURFACEINFO {
5083 pub dwSize: u32,
5084 pub dwDCICaps: u32,
5085 pub dwCompression: u32,
5086 pub dwMask: [u32; 3],
5087 pub dwWidth: u32,
5088 pub dwHeight: u32,
5089 pub lStride: i32,
5090 pub dwBitCount: u32,
5091 pub dwOffSurface: usize,
5092 pub wSelSurface: u16,
5093 pub wReserved: u16,
5094 pub dwReserved1: u32,
5095 pub dwReserved2: u32,
5096 pub dwReserved3: u32,
5097 pub BeginAccess: isize,
5098 pub EndAccess: isize,
5099 pub DestroySurface: isize,
5100 }
5101 impl ::core::marker::Copy for DCISURFACEINFO {}
5102 impl ::core::clone::Clone for DCISURFACEINFO {
5103 fn clone(&self) -> Self {
5104 *self
5105 }
5106 }
5107 impl ::core::fmt::Debug for DCISURFACEINFO {
5108 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
5109 f.debug_struct("DCISURFACEINFO")
5110 .field("dwSize", &self.dwSize)
5111 .field("dwDCICaps", &self.dwDCICaps)
5112 .field("dwCompression", &self.dwCompression)
5113 .field("dwMask", &self.dwMask)
5114 .field("dwWidth", &self.dwWidth)
5115 .field("dwHeight", &self.dwHeight)
5116 .field("lStride", &self.lStride)
5117 .field("dwBitCount", &self.dwBitCount)
5118 .field("dwOffSurface", &self.dwOffSurface)
5119 .field("wSelSurface", &self.wSelSurface)
5120 .field("wReserved", &self.wReserved)
5121 .field("dwReserved1", &self.dwReserved1)
5122 .field("dwReserved2", &self.dwReserved2)
5123 .field("dwReserved3", &self.dwReserved3)
5124 .field("BeginAccess", &self.BeginAccess)
5125 .field("EndAccess", &self.EndAccess)
5126 .field("DestroySurface", &self.DestroySurface)
5127 .finish()
5128 }
5129 }
5130 impl ::windows::core::TypeKind for DCISURFACEINFO {
5131 type TypeKind = ::windows::core::CopyType;
5132 }
5133 impl ::core::cmp::PartialEq for DCISURFACEINFO {
5134 fn eq(&self, other: &Self) -> bool {
5135 self.dwSize == other.dwSize && self.dwDCICaps == other.dwDCICaps && self.dwCompression == other.dwCompression && self.dwMask == other.dwMask && self.dwWidth == other.dwWidth && self.dwHeight == other.dwHeight && self.lStride == other.lStride && self.dwBitCount == other.dwBitCount && self.dwOffSurface == other.dwOffSurface && self.wSelSurface == other.wSelSurface && self.wReserved == other.wReserved && self.dwReserved1 == other.dwReserved1 && self.dwReserved2 == other.dwReserved2 && self.dwReserved3 == other.dwReserved3 && self.BeginAccess == other.BeginAccess && self.EndAccess == other.EndAccess && self.DestroySurface == other.DestroySurface
5136 }
5137 }
5138 impl ::core::cmp::Eq for DCISURFACEINFO {}
5139 impl ::core::default::Default for DCISURFACEINFO {
5140 fn default() -> Self {
5141 unsafe { ::core::mem::zeroed() }
5142 }
5143 }
5144 #[repr(C)]
5145 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
5146 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
5147 pub struct DELAYLOAD_INFO {
5148 pub Size: u32,
5149 pub DelayloadDescriptor: *mut IMAGE_DELAYLOAD_DESCRIPTOR,
5150 pub ThunkAddress: *mut IMAGE_THUNK_DATA64,
5151 pub TargetDllName: ::windows::core::PCSTR,
5152 pub TargetApiDescriptor: DELAYLOAD_PROC_DESCRIPTOR,
5153 pub TargetModuleBase: *mut ::core::ffi::c_void,
5154 pub Unused: *mut ::core::ffi::c_void,
5155 pub LastError: u32,
5156 }
5157 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
5158 impl ::core::marker::Copy for DELAYLOAD_INFO {}
5159 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
5160 impl ::core::clone::Clone for DELAYLOAD_INFO {
5161 fn clone(&self) -> Self {
5162 *self
5163 }
5164 }
5165 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
5166 impl ::windows::core::TypeKind for DELAYLOAD_INFO {
5167 type TypeKind = ::windows::core::CopyType;
5168 }
5169 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
5170 impl ::core::default::Default for DELAYLOAD_INFO {
5171 fn default() -> Self {
5172 unsafe { ::core::mem::zeroed() }
5173 }
5174 }
5175 #[repr(C)]
5176 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
5177 #[cfg(target_arch = "x86")]
5178 pub struct DELAYLOAD_INFO {
5179 pub Size: u32,
5180 pub DelayloadDescriptor: *mut IMAGE_DELAYLOAD_DESCRIPTOR,
5181 pub ThunkAddress: *mut IMAGE_THUNK_DATA32,
5182 pub TargetDllName: ::windows::core::PCSTR,
5183 pub TargetApiDescriptor: DELAYLOAD_PROC_DESCRIPTOR,
5184 pub TargetModuleBase: *mut ::core::ffi::c_void,
5185 pub Unused: *mut ::core::ffi::c_void,
5186 pub LastError: u32,
5187 }
5188 #[cfg(target_arch = "x86")]
5189 impl ::core::marker::Copy for DELAYLOAD_INFO {}
5190 #[cfg(target_arch = "x86")]
5191 impl ::core::clone::Clone for DELAYLOAD_INFO {
5192 fn clone(&self) -> Self {
5193 *self
5194 }
5195 }
5196 #[cfg(target_arch = "x86")]
5197 impl ::windows::core::TypeKind for DELAYLOAD_INFO {
5198 type TypeKind = ::windows::core::CopyType;
5199 }
5200 #[cfg(target_arch = "x86")]
5201 impl ::core::default::Default for DELAYLOAD_INFO {
5202 fn default() -> Self {
5203 unsafe { ::core::mem::zeroed() }
5204 }
5205 }
5206 #[repr(C)]
5207 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
5208 pub struct DELAYLOAD_PROC_DESCRIPTOR {
5209 pub ImportDescribedByName: u32,
5210 pub Description: DELAYLOAD_PROC_DESCRIPTOR_0,
5211 }
5212 impl ::core::marker::Copy for DELAYLOAD_PROC_DESCRIPTOR {}
5213 impl ::core::clone::Clone for DELAYLOAD_PROC_DESCRIPTOR {
5214 fn clone(&self) -> Self {
5215 *self
5216 }
5217 }
5218 impl ::windows::core::TypeKind for DELAYLOAD_PROC_DESCRIPTOR {
5219 type TypeKind = ::windows::core::CopyType;
5220 }
5221 impl ::core::default::Default for DELAYLOAD_PROC_DESCRIPTOR {
5222 fn default() -> Self {
5223 unsafe { ::core::mem::zeroed() }
5224 }
5225 }
5226 #[repr(C)]
5227 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
5228 pub union DELAYLOAD_PROC_DESCRIPTOR_0 {
5229 pub Name: ::windows::core::PCSTR,
5230 pub Ordinal: u32,
5231 }
5232 impl ::core::marker::Copy for DELAYLOAD_PROC_DESCRIPTOR_0 {}
5233 impl ::core::clone::Clone for DELAYLOAD_PROC_DESCRIPTOR_0 {
5234 fn clone(&self) -> Self {
5235 *self
5236 }
5237 }
5238 impl ::windows::core::TypeKind for DELAYLOAD_PROC_DESCRIPTOR_0 {
5239 type TypeKind = ::windows::core::CopyType;
5240 }
5241 impl ::core::default::Default for DELAYLOAD_PROC_DESCRIPTOR_0 {
5242 fn default() -> Self {
5243 unsafe { ::core::mem::zeroed() }
5244 }
5245 }
5246 #[repr(C)]
5247 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
5248 pub struct FEATURE_ERROR {
5249 pub hr: ::windows::core::HRESULT,
5250 pub lineNumber: u16,
5251 pub file: ::windows::core::PCSTR,
5252 pub process: ::windows::core::PCSTR,
5253 pub module: ::windows::core::PCSTR,
5254 pub callerReturnAddressOffset: u32,
5255 pub callerModule: ::windows::core::PCSTR,
5256 pub message: ::windows::core::PCSTR,
5257 pub originLineNumber: u16,
5258 pub originFile: ::windows::core::PCSTR,
5259 pub originModule: ::windows::core::PCSTR,
5260 pub originCallerReturnAddressOffset: u32,
5261 pub originCallerModule: ::windows::core::PCSTR,
5262 pub originName: ::windows::core::PCSTR,
5263 }
5264 impl ::core::marker::Copy for FEATURE_ERROR {}
5265 impl ::core::clone::Clone for FEATURE_ERROR {
5266 fn clone(&self) -> Self {
5267 *self
5268 }
5269 }
5270 impl ::core::fmt::Debug for FEATURE_ERROR {
5271 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
5272 f.debug_struct("FEATURE_ERROR")
5273 .field("hr", &self.hr)
5274 .field("lineNumber", &self.lineNumber)
5275 .field("file", &self.file)
5276 .field("process", &self.process)
5277 .field("module", &self.module)
5278 .field("callerReturnAddressOffset", &self.callerReturnAddressOffset)
5279 .field("callerModule", &self.callerModule)
5280 .field("message", &self.message)
5281 .field("originLineNumber", &self.originLineNumber)
5282 .field("originFile", &self.originFile)
5283 .field("originModule", &self.originModule)
5284 .field("originCallerReturnAddressOffset", &self.originCallerReturnAddressOffset)
5285 .field("originCallerModule", &self.originCallerModule)
5286 .field("originName", &self.originName)
5287 .finish()
5288 }
5289 }
5290 impl ::windows::core::TypeKind for FEATURE_ERROR {
5291 type TypeKind = ::windows::core::CopyType;
5292 }
5293 impl ::core::cmp::PartialEq for FEATURE_ERROR {
5294 fn eq(&self, other: &Self) -> bool {
5295 self.hr == other.hr && self.lineNumber == other.lineNumber && self.file == other.file && self.process == other.process && self.module == other.module && self.callerReturnAddressOffset == other.callerReturnAddressOffset && self.callerModule == other.callerModule && self.message == other.message && self.originLineNumber == other.originLineNumber && self.originFile == other.originFile && self.originModule == other.originModule && self.originCallerReturnAddressOffset == other.originCallerReturnAddressOffset && self.originCallerModule == other.originCallerModule && self.originName == other.originName
5296 }
5297 }
5298 impl ::core::cmp::Eq for FEATURE_ERROR {}
5299 impl ::core::default::Default for FEATURE_ERROR {
5300 fn default() -> Self {
5301 unsafe { ::core::mem::zeroed() }
5302 }
5303 }
5304 #[repr(transparent)]
5305 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
5306 pub struct FEATURE_STATE_CHANGE_SUBSCRIPTION(pub isize);
5307 impl FEATURE_STATE_CHANGE_SUBSCRIPTION {
5308 pub fn is_invalid(&self) -> bool {
5309 self.0 == -1 || self.0 == 0
5310 }
5311 }
5312 impl ::core::default::Default for FEATURE_STATE_CHANGE_SUBSCRIPTION {
5313 fn default() -> Self {
5314 unsafe { ::core::mem::zeroed() }
5315 }
5316 }
5317 impl ::core::clone::Clone for FEATURE_STATE_CHANGE_SUBSCRIPTION {
5318 fn clone(&self) -> Self {
5319 *self
5320 }
5321 }
5322 impl ::core::marker::Copy for FEATURE_STATE_CHANGE_SUBSCRIPTION {}
5323 impl ::core::fmt::Debug for FEATURE_STATE_CHANGE_SUBSCRIPTION {
5324 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
5325 f.debug_tuple("FEATURE_STATE_CHANGE_SUBSCRIPTION").field(&self.0).finish()
5326 }
5327 }
5328 impl ::windows::core::TypeKind for FEATURE_STATE_CHANGE_SUBSCRIPTION {
5329 type TypeKind = ::windows::core::CopyType;
5330 }
5331 #[repr(transparent)]
5332 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
5333 pub struct FH_SERVICE_PIPE_HANDLE(pub isize);
5334 impl FH_SERVICE_PIPE_HANDLE {
5335 pub fn is_invalid(&self) -> bool {
5336 self.0 == -1 || self.0 == 0
5337 }
5338 }
5339 impl ::core::default::Default for FH_SERVICE_PIPE_HANDLE {
5340 fn default() -> Self {
5341 unsafe { ::core::mem::zeroed() }
5342 }
5343 }
5344 impl ::core::clone::Clone for FH_SERVICE_PIPE_HANDLE {
5345 fn clone(&self) -> Self {
5346 *self
5347 }
5348 }
5349 impl ::core::marker::Copy for FH_SERVICE_PIPE_HANDLE {}
5350 impl ::core::fmt::Debug for FH_SERVICE_PIPE_HANDLE {
5351 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
5352 f.debug_tuple("FH_SERVICE_PIPE_HANDLE").field(&self.0).finish()
5353 }
5354 }
5355 impl ::windows::core::TypeKind for FH_SERVICE_PIPE_HANDLE {
5356 type TypeKind = ::windows::core::CopyType;
5357 }
5358 #[repr(C)]
5359 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
5360 pub struct FILE_CASE_SENSITIVE_INFO {
5361 pub Flags: u32,
5362 }
5363 impl ::core::marker::Copy for FILE_CASE_SENSITIVE_INFO {}
5364 impl ::core::clone::Clone for FILE_CASE_SENSITIVE_INFO {
5365 fn clone(&self) -> Self {
5366 *self
5367 }
5368 }
5369 impl ::core::fmt::Debug for FILE_CASE_SENSITIVE_INFO {
5370 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
5371 f.debug_struct("FILE_CASE_SENSITIVE_INFO").field("Flags", &self.Flags).finish()
5372 }
5373 }
5374 impl ::windows::core::TypeKind for FILE_CASE_SENSITIVE_INFO {
5375 type TypeKind = ::windows::core::CopyType;
5376 }
5377 impl ::core::cmp::PartialEq for FILE_CASE_SENSITIVE_INFO {
5378 fn eq(&self, other: &Self) -> bool {
5379 self.Flags == other.Flags
5380 }
5381 }
5382 impl ::core::cmp::Eq for FILE_CASE_SENSITIVE_INFO {}
5383 impl ::core::default::Default for FILE_CASE_SENSITIVE_INFO {
5384 fn default() -> Self {
5385 unsafe { ::core::mem::zeroed() }
5386 }
5387 }
5388 #[repr(C)]
5389 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
5390 pub struct FILE_DISPOSITION_INFO_EX {
5391 pub Flags: u32,
5392 }
5393 impl ::core::marker::Copy for FILE_DISPOSITION_INFO_EX {}
5394 impl ::core::clone::Clone for FILE_DISPOSITION_INFO_EX {
5395 fn clone(&self) -> Self {
5396 *self
5397 }
5398 }
5399 impl ::core::fmt::Debug for FILE_DISPOSITION_INFO_EX {
5400 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
5401 f.debug_struct("FILE_DISPOSITION_INFO_EX").field("Flags", &self.Flags).finish()
5402 }
5403 }
5404 impl ::windows::core::TypeKind for FILE_DISPOSITION_INFO_EX {
5405 type TypeKind = ::windows::core::CopyType;
5406 }
5407 impl ::core::cmp::PartialEq for FILE_DISPOSITION_INFO_EX {
5408 fn eq(&self, other: &Self) -> bool {
5409 self.Flags == other.Flags
5410 }
5411 }
5412 impl ::core::cmp::Eq for FILE_DISPOSITION_INFO_EX {}
5413 impl ::core::default::Default for FILE_DISPOSITION_INFO_EX {
5414 fn default() -> Self {
5415 unsafe { ::core::mem::zeroed() }
5416 }
5417 }
5418 #[repr(transparent)]
5419 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
5420 pub struct HWINWATCH(pub isize);
5421 impl HWINWATCH {
5422 pub fn is_invalid(&self) -> bool {
5423 self.0 == -1 || self.0 == 0
5424 }
5425 }
5426 impl ::core::default::Default for HWINWATCH {
5427 fn default() -> Self {
5428 unsafe { ::core::mem::zeroed() }
5429 }
5430 }
5431 impl ::core::clone::Clone for HWINWATCH {
5432 fn clone(&self) -> Self {
5433 *self
5434 }
5435 }
5436 impl ::core::marker::Copy for HWINWATCH {}
5437 impl ::core::fmt::Debug for HWINWATCH {
5438 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
5439 f.debug_tuple("HWINWATCH").field(&self.0).finish()
5440 }
5441 }
5442 impl ::windows::core::TypeKind for HWINWATCH {
5443 type TypeKind = ::windows::core::CopyType;
5444 }
5445 #[repr(C)]
5446 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
5447 pub struct HW_PROFILE_INFOA {
5448 pub dwDockInfo: u32,
5449 pub szHwProfileGuid: [u8; 39],
5450 pub szHwProfileName: [u8; 80],
5451 }
5452 impl ::core::marker::Copy for HW_PROFILE_INFOA {}
5453 impl ::core::clone::Clone for HW_PROFILE_INFOA {
5454 fn clone(&self) -> Self {
5455 *self
5456 }
5457 }
5458 impl ::core::fmt::Debug for HW_PROFILE_INFOA {
5459 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
5460 f.debug_struct("HW_PROFILE_INFOA").field("dwDockInfo", &self.dwDockInfo).field("szHwProfileGuid", &self.szHwProfileGuid).field("szHwProfileName", &self.szHwProfileName).finish()
5461 }
5462 }
5463 impl ::windows::core::TypeKind for HW_PROFILE_INFOA {
5464 type TypeKind = ::windows::core::CopyType;
5465 }
5466 impl ::core::cmp::PartialEq for HW_PROFILE_INFOA {
5467 fn eq(&self, other: &Self) -> bool {
5468 self.dwDockInfo == other.dwDockInfo && self.szHwProfileGuid == other.szHwProfileGuid && self.szHwProfileName == other.szHwProfileName
5469 }
5470 }
5471 impl ::core::cmp::Eq for HW_PROFILE_INFOA {}
5472 impl ::core::default::Default for HW_PROFILE_INFOA {
5473 fn default() -> Self {
5474 unsafe { ::core::mem::zeroed() }
5475 }
5476 }
5477 #[repr(C)]
5478 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
5479 pub struct HW_PROFILE_INFOW {
5480 pub dwDockInfo: u32,
5481 pub szHwProfileGuid: [u16; 39],
5482 pub szHwProfileName: [u16; 80],
5483 }
5484 impl ::core::marker::Copy for HW_PROFILE_INFOW {}
5485 impl ::core::clone::Clone for HW_PROFILE_INFOW {
5486 fn clone(&self) -> Self {
5487 *self
5488 }
5489 }
5490 impl ::core::fmt::Debug for HW_PROFILE_INFOW {
5491 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
5492 f.debug_struct("HW_PROFILE_INFOW").field("dwDockInfo", &self.dwDockInfo).field("szHwProfileGuid", &self.szHwProfileGuid).field("szHwProfileName", &self.szHwProfileName).finish()
5493 }
5494 }
5495 impl ::windows::core::TypeKind for HW_PROFILE_INFOW {
5496 type TypeKind = ::windows::core::CopyType;
5497 }
5498 impl ::core::cmp::PartialEq for HW_PROFILE_INFOW {
5499 fn eq(&self, other: &Self) -> bool {
5500 self.dwDockInfo == other.dwDockInfo && self.szHwProfileGuid == other.szHwProfileGuid && self.szHwProfileName == other.szHwProfileName
5501 }
5502 }
5503 impl ::core::cmp::Eq for HW_PROFILE_INFOW {}
5504 impl ::core::default::Default for HW_PROFILE_INFOW {
5505 fn default() -> Self {
5506 unsafe { ::core::mem::zeroed() }
5507 }
5508 }
5509 #[repr(C)]
5510 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
5511 pub struct IMAGE_DELAYLOAD_DESCRIPTOR {
5512 pub Attributes: IMAGE_DELAYLOAD_DESCRIPTOR_0,
5513 pub DllNameRVA: u32,
5514 pub ModuleHandleRVA: u32,
5515 pub ImportAddressTableRVA: u32,
5516 pub ImportNameTableRVA: u32,
5517 pub BoundImportAddressTableRVA: u32,
5518 pub UnloadInformationTableRVA: u32,
5519 pub TimeDateStamp: u32,
5520 }
5521 impl ::core::marker::Copy for IMAGE_DELAYLOAD_DESCRIPTOR {}
5522 impl ::core::clone::Clone for IMAGE_DELAYLOAD_DESCRIPTOR {
5523 fn clone(&self) -> Self {
5524 *self
5525 }
5526 }
5527 impl ::windows::core::TypeKind for IMAGE_DELAYLOAD_DESCRIPTOR {
5528 type TypeKind = ::windows::core::CopyType;
5529 }
5530 impl ::core::default::Default for IMAGE_DELAYLOAD_DESCRIPTOR {
5531 fn default() -> Self {
5532 unsafe { ::core::mem::zeroed() }
5533 }
5534 }
5535 #[repr(C)]
5536 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
5537 pub union IMAGE_DELAYLOAD_DESCRIPTOR_0 {
5538 pub AllAttributes: u32,
5539 pub Anonymous: IMAGE_DELAYLOAD_DESCRIPTOR_0_0,
5540 }
5541 impl ::core::marker::Copy for IMAGE_DELAYLOAD_DESCRIPTOR_0 {}
5542 impl ::core::clone::Clone for IMAGE_DELAYLOAD_DESCRIPTOR_0 {
5543 fn clone(&self) -> Self {
5544 *self
5545 }
5546 }
5547 impl ::windows::core::TypeKind for IMAGE_DELAYLOAD_DESCRIPTOR_0 {
5548 type TypeKind = ::windows::core::CopyType;
5549 }
5550 impl ::core::default::Default for IMAGE_DELAYLOAD_DESCRIPTOR_0 {
5551 fn default() -> Self {
5552 unsafe { ::core::mem::zeroed() }
5553 }
5554 }
5555 #[repr(C)]
5556 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
5557 pub struct IMAGE_DELAYLOAD_DESCRIPTOR_0_0 {
5558 pub _bitfield: u32,
5559 }
5560 impl ::core::marker::Copy for IMAGE_DELAYLOAD_DESCRIPTOR_0_0 {}
5561 impl ::core::clone::Clone for IMAGE_DELAYLOAD_DESCRIPTOR_0_0 {
5562 fn clone(&self) -> Self {
5563 *self
5564 }
5565 }
5566 impl ::core::fmt::Debug for IMAGE_DELAYLOAD_DESCRIPTOR_0_0 {
5567 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
5568 f.debug_struct("IMAGE_DELAYLOAD_DESCRIPTOR_0_0").field("_bitfield", &self._bitfield).finish()
5569 }
5570 }
5571 impl ::windows::core::TypeKind for IMAGE_DELAYLOAD_DESCRIPTOR_0_0 {
5572 type TypeKind = ::windows::core::CopyType;
5573 }
5574 impl ::core::cmp::PartialEq for IMAGE_DELAYLOAD_DESCRIPTOR_0_0 {
5575 fn eq(&self, other: &Self) -> bool {
5576 self._bitfield == other._bitfield
5577 }
5578 }
5579 impl ::core::cmp::Eq for IMAGE_DELAYLOAD_DESCRIPTOR_0_0 {}
5580 impl ::core::default::Default for IMAGE_DELAYLOAD_DESCRIPTOR_0_0 {
5581 fn default() -> Self {
5582 unsafe { ::core::mem::zeroed() }
5583 }
5584 }
5585 #[repr(C)]
5586 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
5587 pub struct IMAGE_THUNK_DATA32 {
5588 pub u1: IMAGE_THUNK_DATA32_0,
5589 }
5590 impl ::core::marker::Copy for IMAGE_THUNK_DATA32 {}
5591 impl ::core::clone::Clone for IMAGE_THUNK_DATA32 {
5592 fn clone(&self) -> Self {
5593 *self
5594 }
5595 }
5596 impl ::windows::core::TypeKind for IMAGE_THUNK_DATA32 {
5597 type TypeKind = ::windows::core::CopyType;
5598 }
5599 impl ::core::default::Default for IMAGE_THUNK_DATA32 {
5600 fn default() -> Self {
5601 unsafe { ::core::mem::zeroed() }
5602 }
5603 }
5604 #[repr(C)]
5605 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
5606 pub union IMAGE_THUNK_DATA32_0 {
5607 pub ForwarderString: u32,
5608 pub Function: u32,
5609 pub Ordinal: u32,
5610 pub AddressOfData: u32,
5611 }
5612 impl ::core::marker::Copy for IMAGE_THUNK_DATA32_0 {}
5613 impl ::core::clone::Clone for IMAGE_THUNK_DATA32_0 {
5614 fn clone(&self) -> Self {
5615 *self
5616 }
5617 }
5618 impl ::windows::core::TypeKind for IMAGE_THUNK_DATA32_0 {
5619 type TypeKind = ::windows::core::CopyType;
5620 }
5621 impl ::core::default::Default for IMAGE_THUNK_DATA32_0 {
5622 fn default() -> Self {
5623 unsafe { ::core::mem::zeroed() }
5624 }
5625 }
5626 #[repr(C)]
5627 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
5628 pub struct IMAGE_THUNK_DATA64 {
5629 pub u1: IMAGE_THUNK_DATA64_0,
5630 }
5631 impl ::core::marker::Copy for IMAGE_THUNK_DATA64 {}
5632 impl ::core::clone::Clone for IMAGE_THUNK_DATA64 {
5633 fn clone(&self) -> Self {
5634 *self
5635 }
5636 }
5637 impl ::windows::core::TypeKind for IMAGE_THUNK_DATA64 {
5638 type TypeKind = ::windows::core::CopyType;
5639 }
5640 impl ::core::default::Default for IMAGE_THUNK_DATA64 {
5641 fn default() -> Self {
5642 unsafe { ::core::mem::zeroed() }
5643 }
5644 }
5645 #[repr(C)]
5646 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
5647 pub union IMAGE_THUNK_DATA64_0 {
5648 pub ForwarderString: u64,
5649 pub Function: u64,
5650 pub Ordinal: u64,
5651 pub AddressOfData: u64,
5652 }
5653 impl ::core::marker::Copy for IMAGE_THUNK_DATA64_0 {}
5654 impl ::core::clone::Clone for IMAGE_THUNK_DATA64_0 {
5655 fn clone(&self) -> Self {
5656 *self
5657 }
5658 }
5659 impl ::windows::core::TypeKind for IMAGE_THUNK_DATA64_0 {
5660 type TypeKind = ::windows::core::CopyType;
5661 }
5662 impl ::core::default::Default for IMAGE_THUNK_DATA64_0 {
5663 fn default() -> Self {
5664 unsafe { ::core::mem::zeroed() }
5665 }
5666 }
5667 #[repr(C)]
5668 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
5669 #[cfg(feature = "Win32_Foundation")]
5670 pub struct IMEPROA {
5671 pub hWnd: super::super::Foundation::HWND,
5672 pub InstDate: DATETIME,
5673 pub wVersion: u32,
5674 pub szDescription: [u8; 50],
5675 pub szName: [u8; 80],
5676 pub szOptions: [u8; 30],
5677 }
5678 #[cfg(feature = "Win32_Foundation")]
5679 impl ::core::marker::Copy for IMEPROA {}
5680 #[cfg(feature = "Win32_Foundation")]
5681 impl ::core::clone::Clone for IMEPROA {
5682 fn clone(&self) -> Self {
5683 *self
5684 }
5685 }
5686 #[cfg(feature = "Win32_Foundation")]
5687 impl ::core::fmt::Debug for IMEPROA {
5688 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
5689 f.debug_struct("IMEPROA").field("hWnd", &self.hWnd).field("InstDate", &self.InstDate).field("wVersion", &self.wVersion).field("szDescription", &self.szDescription).field("szName", &self.szName).field("szOptions", &self.szOptions).finish()
5690 }
5691 }
5692 #[cfg(feature = "Win32_Foundation")]
5693 impl ::windows::core::TypeKind for IMEPROA {
5694 type TypeKind = ::windows::core::CopyType;
5695 }
5696 #[cfg(feature = "Win32_Foundation")]
5697 impl ::core::cmp::PartialEq for IMEPROA {
5698 fn eq(&self, other: &Self) -> bool {
5699 self.hWnd == other.hWnd && self.InstDate == other.InstDate && self.wVersion == other.wVersion && self.szDescription == other.szDescription && self.szName == other.szName && self.szOptions == other.szOptions
5700 }
5701 }
5702 #[cfg(feature = "Win32_Foundation")]
5703 impl ::core::cmp::Eq for IMEPROA {}
5704 #[cfg(feature = "Win32_Foundation")]
5705 impl ::core::default::Default for IMEPROA {
5706 fn default() -> Self {
5707 unsafe { ::core::mem::zeroed() }
5708 }
5709 }
5710 #[repr(C)]
5711 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
5712 #[cfg(feature = "Win32_Foundation")]
5713 pub struct IMEPROW {
5714 pub hWnd: super::super::Foundation::HWND,
5715 pub InstDate: DATETIME,
5716 pub wVersion: u32,
5717 pub szDescription: [u16; 50],
5718 pub szName: [u16; 80],
5719 pub szOptions: [u16; 30],
5720 }
5721 #[cfg(feature = "Win32_Foundation")]
5722 impl ::core::marker::Copy for IMEPROW {}
5723 #[cfg(feature = "Win32_Foundation")]
5724 impl ::core::clone::Clone for IMEPROW {
5725 fn clone(&self) -> Self {
5726 *self
5727 }
5728 }
5729 #[cfg(feature = "Win32_Foundation")]
5730 impl ::core::fmt::Debug for IMEPROW {
5731 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
5732 f.debug_struct("IMEPROW").field("hWnd", &self.hWnd).field("InstDate", &self.InstDate).field("wVersion", &self.wVersion).field("szDescription", &self.szDescription).field("szName", &self.szName).field("szOptions", &self.szOptions).finish()
5733 }
5734 }
5735 #[cfg(feature = "Win32_Foundation")]
5736 impl ::windows::core::TypeKind for IMEPROW {
5737 type TypeKind = ::windows::core::CopyType;
5738 }
5739 #[cfg(feature = "Win32_Foundation")]
5740 impl ::core::cmp::PartialEq for IMEPROW {
5741 fn eq(&self, other: &Self) -> bool {
5742 self.hWnd == other.hWnd && self.InstDate == other.InstDate && self.wVersion == other.wVersion && self.szDescription == other.szDescription && self.szName == other.szName && self.szOptions == other.szOptions
5743 }
5744 }
5745 #[cfg(feature = "Win32_Foundation")]
5746 impl ::core::cmp::Eq for IMEPROW {}
5747 #[cfg(feature = "Win32_Foundation")]
5748 impl ::core::default::Default for IMEPROW {
5749 fn default() -> Self {
5750 unsafe { ::core::mem::zeroed() }
5751 }
5752 }
5753 #[repr(C)]
5754 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
5755 #[cfg(feature = "Win32_Foundation")]
5756 pub struct IMESTRUCT {
5757 pub fnc: u32,
5758 pub wParam: super::super::Foundation::WPARAM,
5759 pub wCount: u32,
5760 pub dchSource: u32,
5761 pub dchDest: u32,
5762 pub lParam1: super::super::Foundation::LPARAM,
5763 pub lParam2: super::super::Foundation::LPARAM,
5764 pub lParam3: super::super::Foundation::LPARAM,
5765 }
5766 #[cfg(feature = "Win32_Foundation")]
5767 impl ::core::marker::Copy for IMESTRUCT {}
5768 #[cfg(feature = "Win32_Foundation")]
5769 impl ::core::clone::Clone for IMESTRUCT {
5770 fn clone(&self) -> Self {
5771 *self
5772 }
5773 }
5774 #[cfg(feature = "Win32_Foundation")]
5775 impl ::core::fmt::Debug for IMESTRUCT {
5776 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
5777 f.debug_struct("IMESTRUCT").field("fnc", &self.fnc).field("wParam", &self.wParam).field("wCount", &self.wCount).field("dchSource", &self.dchSource).field("dchDest", &self.dchDest).field("lParam1", &self.lParam1).field("lParam2", &self.lParam2).field("lParam3", &self.lParam3).finish()
5778 }
5779 }
5780 #[cfg(feature = "Win32_Foundation")]
5781 impl ::windows::core::TypeKind for IMESTRUCT {
5782 type TypeKind = ::windows::core::CopyType;
5783 }
5784 #[cfg(feature = "Win32_Foundation")]
5785 impl ::core::cmp::PartialEq for IMESTRUCT {
5786 fn eq(&self, other: &Self) -> bool {
5787 self.fnc == other.fnc && self.wParam == other.wParam && self.wCount == other.wCount && self.dchSource == other.dchSource && self.dchDest == other.dchDest && self.lParam1 == other.lParam1 && self.lParam2 == other.lParam2 && self.lParam3 == other.lParam3
5788 }
5789 }
5790 #[cfg(feature = "Win32_Foundation")]
5791 impl ::core::cmp::Eq for IMESTRUCT {}
5792 #[cfg(feature = "Win32_Foundation")]
5793 impl ::core::default::Default for IMESTRUCT {
5794 fn default() -> Self {
5795 unsafe { ::core::mem::zeroed() }
5796 }
5797 }
5798 #[repr(C)]
5799 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
5800 #[cfg(feature = "Win32_Foundation")]
5801 pub struct IO_STATUS_BLOCK {
5802 pub Anonymous: IO_STATUS_BLOCK_0,
5803 pub Information: usize,
5804 }
5805 #[cfg(feature = "Win32_Foundation")]
5806 impl ::core::marker::Copy for IO_STATUS_BLOCK {}
5807 #[cfg(feature = "Win32_Foundation")]
5808 impl ::core::clone::Clone for IO_STATUS_BLOCK {
5809 fn clone(&self) -> Self {
5810 *self
5811 }
5812 }
5813 #[cfg(feature = "Win32_Foundation")]
5814 impl ::windows::core::TypeKind for IO_STATUS_BLOCK {
5815 type TypeKind = ::windows::core::CopyType;
5816 }
5817 #[cfg(feature = "Win32_Foundation")]
5818 impl ::core::default::Default for IO_STATUS_BLOCK {
5819 fn default() -> Self {
5820 unsafe { ::core::mem::zeroed() }
5821 }
5822 }
5823 #[repr(C)]
5824 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
5825 #[cfg(feature = "Win32_Foundation")]
5826 pub union IO_STATUS_BLOCK_0 {
5827 pub Status: super::super::Foundation::NTSTATUS,
5828 pub Pointer: *mut ::core::ffi::c_void,
5829 }
5830 #[cfg(feature = "Win32_Foundation")]
5831 impl ::core::marker::Copy for IO_STATUS_BLOCK_0 {}
5832 #[cfg(feature = "Win32_Foundation")]
5833 impl ::core::clone::Clone for IO_STATUS_BLOCK_0 {
5834 fn clone(&self) -> Self {
5835 *self
5836 }
5837 }
5838 #[cfg(feature = "Win32_Foundation")]
5839 impl ::windows::core::TypeKind for IO_STATUS_BLOCK_0 {
5840 type TypeKind = ::windows::core::CopyType;
5841 }
5842 #[cfg(feature = "Win32_Foundation")]
5843 impl ::core::default::Default for IO_STATUS_BLOCK_0 {
5844 fn default() -> Self {
5845 unsafe { ::core::mem::zeroed() }
5846 }
5847 }
5848 #[repr(C)]
5849 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
5850 #[cfg(feature = "Win32_Foundation")]
5851 pub struct JAVA_TRUST {
5852 pub cbSize: u32,
5853 pub flag: u32,
5854 pub fAllActiveXPermissions: super::super::Foundation::BOOL,
5855 pub fAllPermissions: super::super::Foundation::BOOL,
5856 pub dwEncodingType: u32,
5857 pub pbJavaPermissions: *mut u8,
5858 pub cbJavaPermissions: u32,
5859 pub pbSigner: *mut u8,
5860 pub cbSigner: u32,
5861 pub pwszZone: ::windows::core::PCWSTR,
5862 pub guidZone: ::windows::core::GUID,
5863 pub hVerify: ::windows::core::HRESULT,
5864 }
5865 #[cfg(feature = "Win32_Foundation")]
5866 impl ::core::marker::Copy for JAVA_TRUST {}
5867 #[cfg(feature = "Win32_Foundation")]
5868 impl ::core::clone::Clone for JAVA_TRUST {
5869 fn clone(&self) -> Self {
5870 *self
5871 }
5872 }
5873 #[cfg(feature = "Win32_Foundation")]
5874 impl ::core::fmt::Debug for JAVA_TRUST {
5875 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
5876 f.debug_struct("JAVA_TRUST")
5877 .field("cbSize", &self.cbSize)
5878 .field("flag", &self.flag)
5879 .field("fAllActiveXPermissions", &self.fAllActiveXPermissions)
5880 .field("fAllPermissions", &self.fAllPermissions)
5881 .field("dwEncodingType", &self.dwEncodingType)
5882 .field("pbJavaPermissions", &self.pbJavaPermissions)
5883 .field("cbJavaPermissions", &self.cbJavaPermissions)
5884 .field("pbSigner", &self.pbSigner)
5885 .field("cbSigner", &self.cbSigner)
5886 .field("pwszZone", &self.pwszZone)
5887 .field("guidZone", &self.guidZone)
5888 .field("hVerify", &self.hVerify)
5889 .finish()
5890 }
5891 }
5892 #[cfg(feature = "Win32_Foundation")]
5893 impl ::windows::core::TypeKind for JAVA_TRUST {
5894 type TypeKind = ::windows::core::CopyType;
5895 }
5896 #[cfg(feature = "Win32_Foundation")]
5897 impl ::core::cmp::PartialEq for JAVA_TRUST {
5898 fn eq(&self, other: &Self) -> bool {
5899 self.cbSize == other.cbSize && self.flag == other.flag && self.fAllActiveXPermissions == other.fAllActiveXPermissions && self.fAllPermissions == other.fAllPermissions && self.dwEncodingType == other.dwEncodingType && self.pbJavaPermissions == other.pbJavaPermissions && self.cbJavaPermissions == other.cbJavaPermissions && self.pbSigner == other.pbSigner && self.cbSigner == other.cbSigner && self.pwszZone == other.pwszZone && self.guidZone == other.guidZone && self.hVerify == other.hVerify
5900 }
5901 }
5902 #[cfg(feature = "Win32_Foundation")]
5903 impl ::core::cmp::Eq for JAVA_TRUST {}
5904 #[cfg(feature = "Win32_Foundation")]
5905 impl ::core::default::Default for JAVA_TRUST {
5906 fn default() -> Self {
5907 unsafe { ::core::mem::zeroed() }
5908 }
5909 }
5910 #[repr(C)]
5911 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
5912 pub struct JIT_DEBUG_INFO {
5913 pub dwSize: u32,
5914 pub dwProcessorArchitecture: u32,
5915 pub dwThreadID: u32,
5916 pub dwReserved0: u32,
5917 pub lpExceptionAddress: u64,
5918 pub lpExceptionRecord: u64,
5919 pub lpContextRecord: u64,
5920 }
5921 impl ::core::marker::Copy for JIT_DEBUG_INFO {}
5922 impl ::core::clone::Clone for JIT_DEBUG_INFO {
5923 fn clone(&self) -> Self {
5924 *self
5925 }
5926 }
5927 impl ::core::fmt::Debug for JIT_DEBUG_INFO {
5928 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
5929 f.debug_struct("JIT_DEBUG_INFO").field("dwSize", &self.dwSize).field("dwProcessorArchitecture", &self.dwProcessorArchitecture).field("dwThreadID", &self.dwThreadID).field("dwReserved0", &self.dwReserved0).field("lpExceptionAddress", &self.lpExceptionAddress).field("lpExceptionRecord", &self.lpExceptionRecord).field("lpContextRecord", &self.lpContextRecord).finish()
5930 }
5931 }
5932 impl ::windows::core::TypeKind for JIT_DEBUG_INFO {
5933 type TypeKind = ::windows::core::CopyType;
5934 }
5935 impl ::core::cmp::PartialEq for JIT_DEBUG_INFO {
5936 fn eq(&self, other: &Self) -> bool {
5937 self.dwSize == other.dwSize && self.dwProcessorArchitecture == other.dwProcessorArchitecture && self.dwThreadID == other.dwThreadID && self.dwReserved0 == other.dwReserved0 && self.lpExceptionAddress == other.lpExceptionAddress && self.lpExceptionRecord == other.lpExceptionRecord && self.lpContextRecord == other.lpContextRecord
5938 }
5939 }
5940 impl ::core::cmp::Eq for JIT_DEBUG_INFO {}
5941 impl ::core::default::Default for JIT_DEBUG_INFO {
5942 fn default() -> Self {
5943 unsafe { ::core::mem::zeroed() }
5944 }
5945 }
5946 #[repr(C)]
5947 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
5948 #[cfg(feature = "Win32_Foundation")]
5949 pub struct KEY_VALUE_ENTRY {
5950 pub ValueName: *mut super::super::Foundation::UNICODE_STRING,
5951 pub DataLength: u32,
5952 pub DataOffset: u32,
5953 pub Type: u32,
5954 }
5955 #[cfg(feature = "Win32_Foundation")]
5956 impl ::core::marker::Copy for KEY_VALUE_ENTRY {}
5957 #[cfg(feature = "Win32_Foundation")]
5958 impl ::core::clone::Clone for KEY_VALUE_ENTRY {
5959 fn clone(&self) -> Self {
5960 *self
5961 }
5962 }
5963 #[cfg(feature = "Win32_Foundation")]
5964 impl ::core::fmt::Debug for KEY_VALUE_ENTRY {
5965 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
5966 f.debug_struct("KEY_VALUE_ENTRY").field("ValueName", &self.ValueName).field("DataLength", &self.DataLength).field("DataOffset", &self.DataOffset).field("Type", &self.Type).finish()
5967 }
5968 }
5969 #[cfg(feature = "Win32_Foundation")]
5970 impl ::windows::core::TypeKind for KEY_VALUE_ENTRY {
5971 type TypeKind = ::windows::core::CopyType;
5972 }
5973 #[cfg(feature = "Win32_Foundation")]
5974 impl ::core::cmp::PartialEq for KEY_VALUE_ENTRY {
5975 fn eq(&self, other: &Self) -> bool {
5976 self.ValueName == other.ValueName && self.DataLength == other.DataLength && self.DataOffset == other.DataOffset && self.Type == other.Type
5977 }
5978 }
5979 #[cfg(feature = "Win32_Foundation")]
5980 impl ::core::cmp::Eq for KEY_VALUE_ENTRY {}
5981 #[cfg(feature = "Win32_Foundation")]
5982 impl ::core::default::Default for KEY_VALUE_ENTRY {
5983 fn default() -> Self {
5984 unsafe { ::core::mem::zeroed() }
5985 }
5986 }
5987 #[repr(C)]
5988 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
5989 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
5990 pub struct LDR_DATA_TABLE_ENTRY {
5991 pub Reserved1: [*mut ::core::ffi::c_void; 2],
5992 pub InMemoryOrderLinks: super::Kernel::LIST_ENTRY,
5993 pub Reserved2: [*mut ::core::ffi::c_void; 2],
5994 pub DllBase: *mut ::core::ffi::c_void,
5995 pub Reserved3: [*mut ::core::ffi::c_void; 2],
5996 pub FullDllName: super::super::Foundation::UNICODE_STRING,
5997 pub Reserved4: [u8; 8],
5998 pub Reserved5: [*mut ::core::ffi::c_void; 3],
5999 pub Anonymous: LDR_DATA_TABLE_ENTRY_0,
6000 pub TimeDateStamp: u32,
6001 }
6002 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
6003 impl ::core::marker::Copy for LDR_DATA_TABLE_ENTRY {}
6004 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
6005 impl ::core::clone::Clone for LDR_DATA_TABLE_ENTRY {
6006 fn clone(&self) -> Self {
6007 *self
6008 }
6009 }
6010 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
6011 impl ::windows::core::TypeKind for LDR_DATA_TABLE_ENTRY {
6012 type TypeKind = ::windows::core::CopyType;
6013 }
6014 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
6015 impl ::core::default::Default for LDR_DATA_TABLE_ENTRY {
6016 fn default() -> Self {
6017 unsafe { ::core::mem::zeroed() }
6018 }
6019 }
6020 #[repr(C)]
6021 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
6022 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
6023 pub union LDR_DATA_TABLE_ENTRY_0 {
6024 pub CheckSum: u32,
6025 pub Reserved6: *mut ::core::ffi::c_void,
6026 }
6027 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
6028 impl ::core::marker::Copy for LDR_DATA_TABLE_ENTRY_0 {}
6029 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
6030 impl ::core::clone::Clone for LDR_DATA_TABLE_ENTRY_0 {
6031 fn clone(&self) -> Self {
6032 *self
6033 }
6034 }
6035 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
6036 impl ::windows::core::TypeKind for LDR_DATA_TABLE_ENTRY_0 {
6037 type TypeKind = ::windows::core::CopyType;
6038 }
6039 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
6040 impl ::core::default::Default for LDR_DATA_TABLE_ENTRY_0 {
6041 fn default() -> Self {
6042 unsafe { ::core::mem::zeroed() }
6043 }
6044 }
6045 #[repr(C)]
6046 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
6047 #[cfg(feature = "Win32_Foundation")]
6048 pub struct OBJECT_ATTRIBUTES {
6049 pub Length: u32,
6050 pub RootDirectory: super::super::Foundation::HANDLE,
6051 pub ObjectName: *mut super::super::Foundation::UNICODE_STRING,
6052 pub Attributes: u32,
6053 pub SecurityDescriptor: *mut ::core::ffi::c_void,
6054 pub SecurityQualityOfService: *mut ::core::ffi::c_void,
6055 }
6056 #[cfg(feature = "Win32_Foundation")]
6057 impl ::core::marker::Copy for OBJECT_ATTRIBUTES {}
6058 #[cfg(feature = "Win32_Foundation")]
6059 impl ::core::clone::Clone for OBJECT_ATTRIBUTES {
6060 fn clone(&self) -> Self {
6061 *self
6062 }
6063 }
6064 #[cfg(feature = "Win32_Foundation")]
6065 impl ::core::fmt::Debug for OBJECT_ATTRIBUTES {
6066 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
6067 f.debug_struct("OBJECT_ATTRIBUTES").field("Length", &self.Length).field("RootDirectory", &self.RootDirectory).field("ObjectName", &self.ObjectName).field("Attributes", &self.Attributes).field("SecurityDescriptor", &self.SecurityDescriptor).field("SecurityQualityOfService", &self.SecurityQualityOfService).finish()
6068 }
6069 }
6070 #[cfg(feature = "Win32_Foundation")]
6071 impl ::windows::core::TypeKind for OBJECT_ATTRIBUTES {
6072 type TypeKind = ::windows::core::CopyType;
6073 }
6074 #[cfg(feature = "Win32_Foundation")]
6075 impl ::core::cmp::PartialEq for OBJECT_ATTRIBUTES {
6076 fn eq(&self, other: &Self) -> bool {
6077 self.Length == other.Length && self.RootDirectory == other.RootDirectory && self.ObjectName == other.ObjectName && self.Attributes == other.Attributes && self.SecurityDescriptor == other.SecurityDescriptor && self.SecurityQualityOfService == other.SecurityQualityOfService
6078 }
6079 }
6080 #[cfg(feature = "Win32_Foundation")]
6081 impl ::core::cmp::Eq for OBJECT_ATTRIBUTES {}
6082 #[cfg(feature = "Win32_Foundation")]
6083 impl ::core::default::Default for OBJECT_ATTRIBUTES {
6084 fn default() -> Self {
6085 unsafe { ::core::mem::zeroed() }
6086 }
6087 }
6088 #[repr(C)]
6089 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
6090 #[cfg(feature = "Win32_Foundation")]
6091 pub struct PERUSERSECTIONA {
6092 pub szGUID: [u8; 59],
6093 pub szDispName: [u8; 128],
6094 pub szLocale: [u8; 10],
6095 pub szStub: [u8; 1040],
6096 pub szVersion: [u8; 32],
6097 pub szCompID: [u8; 128],
6098 pub dwIsInstalled: u32,
6099 pub bRollback: super::super::Foundation::BOOL,
6100 }
6101 #[cfg(feature = "Win32_Foundation")]
6102 impl ::core::marker::Copy for PERUSERSECTIONA {}
6103 #[cfg(feature = "Win32_Foundation")]
6104 impl ::core::clone::Clone for PERUSERSECTIONA {
6105 fn clone(&self) -> Self {
6106 *self
6107 }
6108 }
6109 #[cfg(feature = "Win32_Foundation")]
6110 impl ::core::fmt::Debug for PERUSERSECTIONA {
6111 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
6112 f.debug_struct("PERUSERSECTIONA").field("szGUID", &self.szGUID).field("szDispName", &self.szDispName).field("szLocale", &self.szLocale).field("szStub", &self.szStub).field("szVersion", &self.szVersion).field("szCompID", &self.szCompID).field("dwIsInstalled", &self.dwIsInstalled).field("bRollback", &self.bRollback).finish()
6113 }
6114 }
6115 #[cfg(feature = "Win32_Foundation")]
6116 impl ::windows::core::TypeKind for PERUSERSECTIONA {
6117 type TypeKind = ::windows::core::CopyType;
6118 }
6119 #[cfg(feature = "Win32_Foundation")]
6120 impl ::core::cmp::PartialEq for PERUSERSECTIONA {
6121 fn eq(&self, other: &Self) -> bool {
6122 self.szGUID == other.szGUID && self.szDispName == other.szDispName && self.szLocale == other.szLocale && self.szStub == other.szStub && self.szVersion == other.szVersion && self.szCompID == other.szCompID && self.dwIsInstalled == other.dwIsInstalled && self.bRollback == other.bRollback
6123 }
6124 }
6125 #[cfg(feature = "Win32_Foundation")]
6126 impl ::core::cmp::Eq for PERUSERSECTIONA {}
6127 #[cfg(feature = "Win32_Foundation")]
6128 impl ::core::default::Default for PERUSERSECTIONA {
6129 fn default() -> Self {
6130 unsafe { ::core::mem::zeroed() }
6131 }
6132 }
6133 #[repr(C)]
6134 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
6135 #[cfg(feature = "Win32_Foundation")]
6136 pub struct PERUSERSECTIONW {
6137 pub szGUID: [u16; 59],
6138 pub szDispName: [u16; 128],
6139 pub szLocale: [u16; 10],
6140 pub szStub: [u16; 1040],
6141 pub szVersion: [u16; 32],
6142 pub szCompID: [u16; 128],
6143 pub dwIsInstalled: u32,
6144 pub bRollback: super::super::Foundation::BOOL,
6145 }
6146 #[cfg(feature = "Win32_Foundation")]
6147 impl ::core::marker::Copy for PERUSERSECTIONW {}
6148 #[cfg(feature = "Win32_Foundation")]
6149 impl ::core::clone::Clone for PERUSERSECTIONW {
6150 fn clone(&self) -> Self {
6151 *self
6152 }
6153 }
6154 #[cfg(feature = "Win32_Foundation")]
6155 impl ::core::fmt::Debug for PERUSERSECTIONW {
6156 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
6157 f.debug_struct("PERUSERSECTIONW").field("szGUID", &self.szGUID).field("szDispName", &self.szDispName).field("szLocale", &self.szLocale).field("szStub", &self.szStub).field("szVersion", &self.szVersion).field("szCompID", &self.szCompID).field("dwIsInstalled", &self.dwIsInstalled).field("bRollback", &self.bRollback).finish()
6158 }
6159 }
6160 #[cfg(feature = "Win32_Foundation")]
6161 impl ::windows::core::TypeKind for PERUSERSECTIONW {
6162 type TypeKind = ::windows::core::CopyType;
6163 }
6164 #[cfg(feature = "Win32_Foundation")]
6165 impl ::core::cmp::PartialEq for PERUSERSECTIONW {
6166 fn eq(&self, other: &Self) -> bool {
6167 self.szGUID == other.szGUID && self.szDispName == other.szDispName && self.szLocale == other.szLocale && self.szStub == other.szStub && self.szVersion == other.szVersion && self.szCompID == other.szCompID && self.dwIsInstalled == other.dwIsInstalled && self.bRollback == other.bRollback
6168 }
6169 }
6170 #[cfg(feature = "Win32_Foundation")]
6171 impl ::core::cmp::Eq for PERUSERSECTIONW {}
6172 #[cfg(feature = "Win32_Foundation")]
6173 impl ::core::default::Default for PERUSERSECTIONW {
6174 fn default() -> Self {
6175 unsafe { ::core::mem::zeroed() }
6176 }
6177 }
6178 #[repr(C)]
6179 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
6180 pub struct PUBLIC_OBJECT_BASIC_INFORMATION {
6181 pub Attributes: u32,
6182 pub GrantedAccess: u32,
6183 pub HandleCount: u32,
6184 pub PointerCount: u32,
6185 pub Reserved: [u32; 10],
6186 }
6187 impl ::core::marker::Copy for PUBLIC_OBJECT_BASIC_INFORMATION {}
6188 impl ::core::clone::Clone for PUBLIC_OBJECT_BASIC_INFORMATION {
6189 fn clone(&self) -> Self {
6190 *self
6191 }
6192 }
6193 impl ::core::fmt::Debug for PUBLIC_OBJECT_BASIC_INFORMATION {
6194 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
6195 f.debug_struct("PUBLIC_OBJECT_BASIC_INFORMATION").field("Attributes", &self.Attributes).field("GrantedAccess", &self.GrantedAccess).field("HandleCount", &self.HandleCount).field("PointerCount", &self.PointerCount).field("Reserved", &self.Reserved).finish()
6196 }
6197 }
6198 impl ::windows::core::TypeKind for PUBLIC_OBJECT_BASIC_INFORMATION {
6199 type TypeKind = ::windows::core::CopyType;
6200 }
6201 impl ::core::cmp::PartialEq for PUBLIC_OBJECT_BASIC_INFORMATION {
6202 fn eq(&self, other: &Self) -> bool {
6203 self.Attributes == other.Attributes && self.GrantedAccess == other.GrantedAccess && self.HandleCount == other.HandleCount && self.PointerCount == other.PointerCount && self.Reserved == other.Reserved
6204 }
6205 }
6206 impl ::core::cmp::Eq for PUBLIC_OBJECT_BASIC_INFORMATION {}
6207 impl ::core::default::Default for PUBLIC_OBJECT_BASIC_INFORMATION {
6208 fn default() -> Self {
6209 unsafe { ::core::mem::zeroed() }
6210 }
6211 }
6212 #[repr(C)]
6213 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
6214 #[cfg(feature = "Win32_Foundation")]
6215 pub struct PUBLIC_OBJECT_TYPE_INFORMATION {
6216 pub TypeName: super::super::Foundation::UNICODE_STRING,
6217 pub Reserved: [u32; 22],
6218 }
6219 #[cfg(feature = "Win32_Foundation")]
6220 impl ::core::marker::Copy for PUBLIC_OBJECT_TYPE_INFORMATION {}
6221 #[cfg(feature = "Win32_Foundation")]
6222 impl ::core::clone::Clone for PUBLIC_OBJECT_TYPE_INFORMATION {
6223 fn clone(&self) -> Self {
6224 *self
6225 }
6226 }
6227 #[cfg(feature = "Win32_Foundation")]
6228 impl ::core::fmt::Debug for PUBLIC_OBJECT_TYPE_INFORMATION {
6229 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
6230 f.debug_struct("PUBLIC_OBJECT_TYPE_INFORMATION").field("TypeName", &self.TypeName).field("Reserved", &self.Reserved).finish()
6231 }
6232 }
6233 #[cfg(feature = "Win32_Foundation")]
6234 impl ::windows::core::TypeKind for PUBLIC_OBJECT_TYPE_INFORMATION {
6235 type TypeKind = ::windows::core::CopyType;
6236 }
6237 #[cfg(feature = "Win32_Foundation")]
6238 impl ::core::cmp::PartialEq for PUBLIC_OBJECT_TYPE_INFORMATION {
6239 fn eq(&self, other: &Self) -> bool {
6240 self.TypeName == other.TypeName && self.Reserved == other.Reserved
6241 }
6242 }
6243 #[cfg(feature = "Win32_Foundation")]
6244 impl ::core::cmp::Eq for PUBLIC_OBJECT_TYPE_INFORMATION {}
6245 #[cfg(feature = "Win32_Foundation")]
6246 impl ::core::default::Default for PUBLIC_OBJECT_TYPE_INFORMATION {
6247 fn default() -> Self {
6248 unsafe { ::core::mem::zeroed() }
6249 }
6250 }
6251 #[repr(C)]
6252 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
6253 pub struct STRENTRYA {
6254 pub pszName: ::windows::core::PSTR,
6255 pub pszValue: ::windows::core::PSTR,
6256 }
6257 impl ::core::marker::Copy for STRENTRYA {}
6258 impl ::core::clone::Clone for STRENTRYA {
6259 fn clone(&self) -> Self {
6260 *self
6261 }
6262 }
6263 impl ::core::fmt::Debug for STRENTRYA {
6264 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
6265 f.debug_struct("STRENTRYA").field("pszName", &self.pszName).field("pszValue", &self.pszValue).finish()
6266 }
6267 }
6268 impl ::windows::core::TypeKind for STRENTRYA {
6269 type TypeKind = ::windows::core::CopyType;
6270 }
6271 impl ::core::cmp::PartialEq for STRENTRYA {
6272 fn eq(&self, other: &Self) -> bool {
6273 self.pszName == other.pszName && self.pszValue == other.pszValue
6274 }
6275 }
6276 impl ::core::cmp::Eq for STRENTRYA {}
6277 impl ::core::default::Default for STRENTRYA {
6278 fn default() -> Self {
6279 unsafe { ::core::mem::zeroed() }
6280 }
6281 }
6282 #[repr(C)]
6283 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
6284 pub struct STRENTRYW {
6285 pub pszName: ::windows::core::PWSTR,
6286 pub pszValue: ::windows::core::PWSTR,
6287 }
6288 impl ::core::marker::Copy for STRENTRYW {}
6289 impl ::core::clone::Clone for STRENTRYW {
6290 fn clone(&self) -> Self {
6291 *self
6292 }
6293 }
6294 impl ::core::fmt::Debug for STRENTRYW {
6295 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
6296 f.debug_struct("STRENTRYW").field("pszName", &self.pszName).field("pszValue", &self.pszValue).finish()
6297 }
6298 }
6299 impl ::windows::core::TypeKind for STRENTRYW {
6300 type TypeKind = ::windows::core::CopyType;
6301 }
6302 impl ::core::cmp::PartialEq for STRENTRYW {
6303 fn eq(&self, other: &Self) -> bool {
6304 self.pszName == other.pszName && self.pszValue == other.pszValue
6305 }
6306 }
6307 impl ::core::cmp::Eq for STRENTRYW {}
6308 impl ::core::default::Default for STRENTRYW {
6309 fn default() -> Self {
6310 unsafe { ::core::mem::zeroed() }
6311 }
6312 }
6313 #[repr(C)]
6314 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
6315 pub struct STRINGEXSTRUCT {
6316 pub dwSize: u32,
6317 pub uDeterminePos: u32,
6318 pub uDetermineDelimPos: u32,
6319 pub uYomiPos: u32,
6320 pub uYomiDelimPos: u32,
6321 }
6322 impl ::core::marker::Copy for STRINGEXSTRUCT {}
6323 impl ::core::clone::Clone for STRINGEXSTRUCT {
6324 fn clone(&self) -> Self {
6325 *self
6326 }
6327 }
6328 impl ::core::fmt::Debug for STRINGEXSTRUCT {
6329 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
6330 f.debug_struct("STRINGEXSTRUCT").field("dwSize", &self.dwSize).field("uDeterminePos", &self.uDeterminePos).field("uDetermineDelimPos", &self.uDetermineDelimPos).field("uYomiPos", &self.uYomiPos).field("uYomiDelimPos", &self.uYomiDelimPos).finish()
6331 }
6332 }
6333 impl ::windows::core::TypeKind for STRINGEXSTRUCT {
6334 type TypeKind = ::windows::core::CopyType;
6335 }
6336 impl ::core::cmp::PartialEq for STRINGEXSTRUCT {
6337 fn eq(&self, other: &Self) -> bool {
6338 self.dwSize == other.dwSize && self.uDeterminePos == other.uDeterminePos && self.uDetermineDelimPos == other.uDetermineDelimPos && self.uYomiPos == other.uYomiPos && self.uYomiDelimPos == other.uYomiDelimPos
6339 }
6340 }
6341 impl ::core::cmp::Eq for STRINGEXSTRUCT {}
6342 impl ::core::default::Default for STRINGEXSTRUCT {
6343 fn default() -> Self {
6344 unsafe { ::core::mem::zeroed() }
6345 }
6346 }
6347 #[repr(C)]
6348 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
6349 pub struct STRTABLEA {
6350 pub cEntries: u32,
6351 pub pse: *mut STRENTRYA,
6352 }
6353 impl ::core::marker::Copy for STRTABLEA {}
6354 impl ::core::clone::Clone for STRTABLEA {
6355 fn clone(&self) -> Self {
6356 *self
6357 }
6358 }
6359 impl ::core::fmt::Debug for STRTABLEA {
6360 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
6361 f.debug_struct("STRTABLEA").field("cEntries", &self.cEntries).field("pse", &self.pse).finish()
6362 }
6363 }
6364 impl ::windows::core::TypeKind for STRTABLEA {
6365 type TypeKind = ::windows::core::CopyType;
6366 }
6367 impl ::core::cmp::PartialEq for STRTABLEA {
6368 fn eq(&self, other: &Self) -> bool {
6369 self.cEntries == other.cEntries && self.pse == other.pse
6370 }
6371 }
6372 impl ::core::cmp::Eq for STRTABLEA {}
6373 impl ::core::default::Default for STRTABLEA {
6374 fn default() -> Self {
6375 unsafe { ::core::mem::zeroed() }
6376 }
6377 }
6378 #[repr(C)]
6379 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
6380 pub struct STRTABLEW {
6381 pub cEntries: u32,
6382 pub pse: *mut STRENTRYW,
6383 }
6384 impl ::core::marker::Copy for STRTABLEW {}
6385 impl ::core::clone::Clone for STRTABLEW {
6386 fn clone(&self) -> Self {
6387 *self
6388 }
6389 }
6390 impl ::core::fmt::Debug for STRTABLEW {
6391 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
6392 f.debug_struct("STRTABLEW").field("cEntries", &self.cEntries).field("pse", &self.pse).finish()
6393 }
6394 }
6395 impl ::windows::core::TypeKind for STRTABLEW {
6396 type TypeKind = ::windows::core::CopyType;
6397 }
6398 impl ::core::cmp::PartialEq for STRTABLEW {
6399 fn eq(&self, other: &Self) -> bool {
6400 self.cEntries == other.cEntries && self.pse == other.pse
6401 }
6402 }
6403 impl ::core::cmp::Eq for STRTABLEW {}
6404 impl ::core::default::Default for STRTABLEW {
6405 fn default() -> Self {
6406 unsafe { ::core::mem::zeroed() }
6407 }
6408 }
6409 #[repr(C)]
6410 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
6411 pub struct SYSTEM_BASIC_INFORMATION {
6412 pub Reserved1: [u8; 24],
6413 pub Reserved2: [*mut ::core::ffi::c_void; 4],
6414 pub NumberOfProcessors: i8,
6415 }
6416 impl ::core::marker::Copy for SYSTEM_BASIC_INFORMATION {}
6417 impl ::core::clone::Clone for SYSTEM_BASIC_INFORMATION {
6418 fn clone(&self) -> Self {
6419 *self
6420 }
6421 }
6422 impl ::core::fmt::Debug for SYSTEM_BASIC_INFORMATION {
6423 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
6424 f.debug_struct("SYSTEM_BASIC_INFORMATION").field("Reserved1", &self.Reserved1).field("Reserved2", &self.Reserved2).field("NumberOfProcessors", &self.NumberOfProcessors).finish()
6425 }
6426 }
6427 impl ::windows::core::TypeKind for SYSTEM_BASIC_INFORMATION {
6428 type TypeKind = ::windows::core::CopyType;
6429 }
6430 impl ::core::cmp::PartialEq for SYSTEM_BASIC_INFORMATION {
6431 fn eq(&self, other: &Self) -> bool {
6432 self.Reserved1 == other.Reserved1 && self.Reserved2 == other.Reserved2 && self.NumberOfProcessors == other.NumberOfProcessors
6433 }
6434 }
6435 impl ::core::cmp::Eq for SYSTEM_BASIC_INFORMATION {}
6436 impl ::core::default::Default for SYSTEM_BASIC_INFORMATION {
6437 fn default() -> Self {
6438 unsafe { ::core::mem::zeroed() }
6439 }
6440 }
6441 #[repr(C)]
6442 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
6443 pub struct SYSTEM_CODEINTEGRITY_INFORMATION {
6444 pub Length: u32,
6445 pub CodeIntegrityOptions: u32,
6446 }
6447 impl ::core::marker::Copy for SYSTEM_CODEINTEGRITY_INFORMATION {}
6448 impl ::core::clone::Clone for SYSTEM_CODEINTEGRITY_INFORMATION {
6449 fn clone(&self) -> Self {
6450 *self
6451 }
6452 }
6453 impl ::core::fmt::Debug for SYSTEM_CODEINTEGRITY_INFORMATION {
6454 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
6455 f.debug_struct("SYSTEM_CODEINTEGRITY_INFORMATION").field("Length", &self.Length).field("CodeIntegrityOptions", &self.CodeIntegrityOptions).finish()
6456 }
6457 }
6458 impl ::windows::core::TypeKind for SYSTEM_CODEINTEGRITY_INFORMATION {
6459 type TypeKind = ::windows::core::CopyType;
6460 }
6461 impl ::core::cmp::PartialEq for SYSTEM_CODEINTEGRITY_INFORMATION {
6462 fn eq(&self, other: &Self) -> bool {
6463 self.Length == other.Length && self.CodeIntegrityOptions == other.CodeIntegrityOptions
6464 }
6465 }
6466 impl ::core::cmp::Eq for SYSTEM_CODEINTEGRITY_INFORMATION {}
6467 impl ::core::default::Default for SYSTEM_CODEINTEGRITY_INFORMATION {
6468 fn default() -> Self {
6469 unsafe { ::core::mem::zeroed() }
6470 }
6471 }
6472 #[repr(C)]
6473 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
6474 pub struct SYSTEM_EXCEPTION_INFORMATION {
6475 pub Reserved1: [u8; 16],
6476 }
6477 impl ::core::marker::Copy for SYSTEM_EXCEPTION_INFORMATION {}
6478 impl ::core::clone::Clone for SYSTEM_EXCEPTION_INFORMATION {
6479 fn clone(&self) -> Self {
6480 *self
6481 }
6482 }
6483 impl ::core::fmt::Debug for SYSTEM_EXCEPTION_INFORMATION {
6484 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
6485 f.debug_struct("SYSTEM_EXCEPTION_INFORMATION").field("Reserved1", &self.Reserved1).finish()
6486 }
6487 }
6488 impl ::windows::core::TypeKind for SYSTEM_EXCEPTION_INFORMATION {
6489 type TypeKind = ::windows::core::CopyType;
6490 }
6491 impl ::core::cmp::PartialEq for SYSTEM_EXCEPTION_INFORMATION {
6492 fn eq(&self, other: &Self) -> bool {
6493 self.Reserved1 == other.Reserved1
6494 }
6495 }
6496 impl ::core::cmp::Eq for SYSTEM_EXCEPTION_INFORMATION {}
6497 impl ::core::default::Default for SYSTEM_EXCEPTION_INFORMATION {
6498 fn default() -> Self {
6499 unsafe { ::core::mem::zeroed() }
6500 }
6501 }
6502 #[repr(C)]
6503 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
6504 pub struct SYSTEM_INTERRUPT_INFORMATION {
6505 pub Reserved1: [u8; 24],
6506 }
6507 impl ::core::marker::Copy for SYSTEM_INTERRUPT_INFORMATION {}
6508 impl ::core::clone::Clone for SYSTEM_INTERRUPT_INFORMATION {
6509 fn clone(&self) -> Self {
6510 *self
6511 }
6512 }
6513 impl ::core::fmt::Debug for SYSTEM_INTERRUPT_INFORMATION {
6514 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
6515 f.debug_struct("SYSTEM_INTERRUPT_INFORMATION").field("Reserved1", &self.Reserved1).finish()
6516 }
6517 }
6518 impl ::windows::core::TypeKind for SYSTEM_INTERRUPT_INFORMATION {
6519 type TypeKind = ::windows::core::CopyType;
6520 }
6521 impl ::core::cmp::PartialEq for SYSTEM_INTERRUPT_INFORMATION {
6522 fn eq(&self, other: &Self) -> bool {
6523 self.Reserved1 == other.Reserved1
6524 }
6525 }
6526 impl ::core::cmp::Eq for SYSTEM_INTERRUPT_INFORMATION {}
6527 impl ::core::default::Default for SYSTEM_INTERRUPT_INFORMATION {
6528 fn default() -> Self {
6529 unsafe { ::core::mem::zeroed() }
6530 }
6531 }
6532 #[repr(C)]
6533 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
6534 pub struct SYSTEM_LOOKASIDE_INFORMATION {
6535 pub Reserved1: [u8; 32],
6536 }
6537 impl ::core::marker::Copy for SYSTEM_LOOKASIDE_INFORMATION {}
6538 impl ::core::clone::Clone for SYSTEM_LOOKASIDE_INFORMATION {
6539 fn clone(&self) -> Self {
6540 *self
6541 }
6542 }
6543 impl ::core::fmt::Debug for SYSTEM_LOOKASIDE_INFORMATION {
6544 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
6545 f.debug_struct("SYSTEM_LOOKASIDE_INFORMATION").field("Reserved1", &self.Reserved1).finish()
6546 }
6547 }
6548 impl ::windows::core::TypeKind for SYSTEM_LOOKASIDE_INFORMATION {
6549 type TypeKind = ::windows::core::CopyType;
6550 }
6551 impl ::core::cmp::PartialEq for SYSTEM_LOOKASIDE_INFORMATION {
6552 fn eq(&self, other: &Self) -> bool {
6553 self.Reserved1 == other.Reserved1
6554 }
6555 }
6556 impl ::core::cmp::Eq for SYSTEM_LOOKASIDE_INFORMATION {}
6557 impl ::core::default::Default for SYSTEM_LOOKASIDE_INFORMATION {
6558 fn default() -> Self {
6559 unsafe { ::core::mem::zeroed() }
6560 }
6561 }
6562 #[repr(C)]
6563 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
6564 pub struct SYSTEM_PERFORMANCE_INFORMATION {
6565 pub Reserved1: [u8; 312],
6566 }
6567 impl ::core::marker::Copy for SYSTEM_PERFORMANCE_INFORMATION {}
6568 impl ::core::clone::Clone for SYSTEM_PERFORMANCE_INFORMATION {
6569 fn clone(&self) -> Self {
6570 *self
6571 }
6572 }
6573 impl ::core::fmt::Debug for SYSTEM_PERFORMANCE_INFORMATION {
6574 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
6575 f.debug_struct("SYSTEM_PERFORMANCE_INFORMATION").field("Reserved1", &self.Reserved1).finish()
6576 }
6577 }
6578 impl ::windows::core::TypeKind for SYSTEM_PERFORMANCE_INFORMATION {
6579 type TypeKind = ::windows::core::CopyType;
6580 }
6581 impl ::core::cmp::PartialEq for SYSTEM_PERFORMANCE_INFORMATION {
6582 fn eq(&self, other: &Self) -> bool {
6583 self.Reserved1 == other.Reserved1
6584 }
6585 }
6586 impl ::core::cmp::Eq for SYSTEM_PERFORMANCE_INFORMATION {}
6587 impl ::core::default::Default for SYSTEM_PERFORMANCE_INFORMATION {
6588 fn default() -> Self {
6589 unsafe { ::core::mem::zeroed() }
6590 }
6591 }
6592 #[repr(C)]
6593 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
6594 pub struct SYSTEM_POLICY_INFORMATION {
6595 pub Reserved1: [*mut ::core::ffi::c_void; 2],
6596 pub Reserved2: [u32; 3],
6597 }
6598 impl ::core::marker::Copy for SYSTEM_POLICY_INFORMATION {}
6599 impl ::core::clone::Clone for SYSTEM_POLICY_INFORMATION {
6600 fn clone(&self) -> Self {
6601 *self
6602 }
6603 }
6604 impl ::core::fmt::Debug for SYSTEM_POLICY_INFORMATION {
6605 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
6606 f.debug_struct("SYSTEM_POLICY_INFORMATION").field("Reserved1", &self.Reserved1).field("Reserved2", &self.Reserved2).finish()
6607 }
6608 }
6609 impl ::windows::core::TypeKind for SYSTEM_POLICY_INFORMATION {
6610 type TypeKind = ::windows::core::CopyType;
6611 }
6612 impl ::core::cmp::PartialEq for SYSTEM_POLICY_INFORMATION {
6613 fn eq(&self, other: &Self) -> bool {
6614 self.Reserved1 == other.Reserved1 && self.Reserved2 == other.Reserved2
6615 }
6616 }
6617 impl ::core::cmp::Eq for SYSTEM_POLICY_INFORMATION {}
6618 impl ::core::default::Default for SYSTEM_POLICY_INFORMATION {
6619 fn default() -> Self {
6620 unsafe { ::core::mem::zeroed() }
6621 }
6622 }
6623 #[repr(C)]
6624 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
6625 pub struct SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION {
6626 pub IdleTime: i64,
6627 pub KernelTime: i64,
6628 pub UserTime: i64,
6629 pub Reserved1: [i64; 2],
6630 pub Reserved2: u32,
6631 }
6632 impl ::core::marker::Copy for SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION {}
6633 impl ::core::clone::Clone for SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION {
6634 fn clone(&self) -> Self {
6635 *self
6636 }
6637 }
6638 impl ::core::fmt::Debug for SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION {
6639 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
6640 f.debug_struct("SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION").field("IdleTime", &self.IdleTime).field("KernelTime", &self.KernelTime).field("UserTime", &self.UserTime).field("Reserved1", &self.Reserved1).field("Reserved2", &self.Reserved2).finish()
6641 }
6642 }
6643 impl ::windows::core::TypeKind for SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION {
6644 type TypeKind = ::windows::core::CopyType;
6645 }
6646 impl ::core::cmp::PartialEq for SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION {
6647 fn eq(&self, other: &Self) -> bool {
6648 self.IdleTime == other.IdleTime && self.KernelTime == other.KernelTime && self.UserTime == other.UserTime && self.Reserved1 == other.Reserved1 && self.Reserved2 == other.Reserved2
6649 }
6650 }
6651 impl ::core::cmp::Eq for SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION {}
6652 impl ::core::default::Default for SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION {
6653 fn default() -> Self {
6654 unsafe { ::core::mem::zeroed() }
6655 }
6656 }
6657 #[repr(C)]
6658 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
6659 #[cfg(feature = "Win32_Foundation")]
6660 pub struct SYSTEM_PROCESS_INFORMATION {
6661 pub NextEntryOffset: u32,
6662 pub NumberOfThreads: u32,
6663 pub Reserved1: [u8; 48],
6664 pub ImageName: super::super::Foundation::UNICODE_STRING,
6665 pub BasePriority: i32,
6666 pub UniqueProcessId: super::super::Foundation::HANDLE,
6667 pub Reserved2: *mut ::core::ffi::c_void,
6668 pub HandleCount: u32,
6669 pub SessionId: u32,
6670 pub Reserved3: *mut ::core::ffi::c_void,
6671 pub PeakVirtualSize: usize,
6672 pub VirtualSize: usize,
6673 pub Reserved4: u32,
6674 pub PeakWorkingSetSize: usize,
6675 pub WorkingSetSize: usize,
6676 pub Reserved5: *mut ::core::ffi::c_void,
6677 pub QuotaPagedPoolUsage: usize,
6678 pub Reserved6: *mut ::core::ffi::c_void,
6679 pub QuotaNonPagedPoolUsage: usize,
6680 pub PagefileUsage: usize,
6681 pub PeakPagefileUsage: usize,
6682 pub PrivatePageCount: usize,
6683 pub Reserved7: [i64; 6],
6684 }
6685 #[cfg(feature = "Win32_Foundation")]
6686 impl ::core::marker::Copy for SYSTEM_PROCESS_INFORMATION {}
6687 #[cfg(feature = "Win32_Foundation")]
6688 impl ::core::clone::Clone for SYSTEM_PROCESS_INFORMATION {
6689 fn clone(&self) -> Self {
6690 *self
6691 }
6692 }
6693 #[cfg(feature = "Win32_Foundation")]
6694 impl ::core::fmt::Debug for SYSTEM_PROCESS_INFORMATION {
6695 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
6696 f.debug_struct("SYSTEM_PROCESS_INFORMATION")
6697 .field("NextEntryOffset", &self.NextEntryOffset)
6698 .field("NumberOfThreads", &self.NumberOfThreads)
6699 .field("Reserved1", &self.Reserved1)
6700 .field("ImageName", &self.ImageName)
6701 .field("BasePriority", &self.BasePriority)
6702 .field("UniqueProcessId", &self.UniqueProcessId)
6703 .field("Reserved2", &self.Reserved2)
6704 .field("HandleCount", &self.HandleCount)
6705 .field("SessionId", &self.SessionId)
6706 .field("Reserved3", &self.Reserved3)
6707 .field("PeakVirtualSize", &self.PeakVirtualSize)
6708 .field("VirtualSize", &self.VirtualSize)
6709 .field("Reserved4", &self.Reserved4)
6710 .field("PeakWorkingSetSize", &self.PeakWorkingSetSize)
6711 .field("WorkingSetSize", &self.WorkingSetSize)
6712 .field("Reserved5", &self.Reserved5)
6713 .field("QuotaPagedPoolUsage", &self.QuotaPagedPoolUsage)
6714 .field("Reserved6", &self.Reserved6)
6715 .field("QuotaNonPagedPoolUsage", &self.QuotaNonPagedPoolUsage)
6716 .field("PagefileUsage", &self.PagefileUsage)
6717 .field("PeakPagefileUsage", &self.PeakPagefileUsage)
6718 .field("PrivatePageCount", &self.PrivatePageCount)
6719 .field("Reserved7", &self.Reserved7)
6720 .finish()
6721 }
6722 }
6723 #[cfg(feature = "Win32_Foundation")]
6724 impl ::windows::core::TypeKind for SYSTEM_PROCESS_INFORMATION {
6725 type TypeKind = ::windows::core::CopyType;
6726 }
6727 #[cfg(feature = "Win32_Foundation")]
6728 impl ::core::cmp::PartialEq for SYSTEM_PROCESS_INFORMATION {
6729 fn eq(&self, other: &Self) -> bool {
6730 self.NextEntryOffset == other.NextEntryOffset
6731 && self.NumberOfThreads == other.NumberOfThreads
6732 && self.Reserved1 == other.Reserved1
6733 && self.ImageName == other.ImageName
6734 && self.BasePriority == other.BasePriority
6735 && self.UniqueProcessId == other.UniqueProcessId
6736 && self.Reserved2 == other.Reserved2
6737 && self.HandleCount == other.HandleCount
6738 && self.SessionId == other.SessionId
6739 && self.Reserved3 == other.Reserved3
6740 && self.PeakVirtualSize == other.PeakVirtualSize
6741 && self.VirtualSize == other.VirtualSize
6742 && self.Reserved4 == other.Reserved4
6743 && self.PeakWorkingSetSize == other.PeakWorkingSetSize
6744 && self.WorkingSetSize == other.WorkingSetSize
6745 && self.Reserved5 == other.Reserved5
6746 && self.QuotaPagedPoolUsage == other.QuotaPagedPoolUsage
6747 && self.Reserved6 == other.Reserved6
6748 && self.QuotaNonPagedPoolUsage == other.QuotaNonPagedPoolUsage
6749 && self.PagefileUsage == other.PagefileUsage
6750 && self.PeakPagefileUsage == other.PeakPagefileUsage
6751 && self.PrivatePageCount == other.PrivatePageCount
6752 && self.Reserved7 == other.Reserved7
6753 }
6754 }
6755 #[cfg(feature = "Win32_Foundation")]
6756 impl ::core::cmp::Eq for SYSTEM_PROCESS_INFORMATION {}
6757 #[cfg(feature = "Win32_Foundation")]
6758 impl ::core::default::Default for SYSTEM_PROCESS_INFORMATION {
6759 fn default() -> Self {
6760 unsafe { ::core::mem::zeroed() }
6761 }
6762 }
6763 #[repr(C)]
6764 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
6765 pub struct SYSTEM_REGISTRY_QUOTA_INFORMATION {
6766 pub RegistryQuotaAllowed: u32,
6767 pub RegistryQuotaUsed: u32,
6768 pub Reserved1: *mut ::core::ffi::c_void,
6769 }
6770 impl ::core::marker::Copy for SYSTEM_REGISTRY_QUOTA_INFORMATION {}
6771 impl ::core::clone::Clone for SYSTEM_REGISTRY_QUOTA_INFORMATION {
6772 fn clone(&self) -> Self {
6773 *self
6774 }
6775 }
6776 impl ::core::fmt::Debug for SYSTEM_REGISTRY_QUOTA_INFORMATION {
6777 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
6778 f.debug_struct("SYSTEM_REGISTRY_QUOTA_INFORMATION").field("RegistryQuotaAllowed", &self.RegistryQuotaAllowed).field("RegistryQuotaUsed", &self.RegistryQuotaUsed).field("Reserved1", &self.Reserved1).finish()
6779 }
6780 }
6781 impl ::windows::core::TypeKind for SYSTEM_REGISTRY_QUOTA_INFORMATION {
6782 type TypeKind = ::windows::core::CopyType;
6783 }
6784 impl ::core::cmp::PartialEq for SYSTEM_REGISTRY_QUOTA_INFORMATION {
6785 fn eq(&self, other: &Self) -> bool {
6786 self.RegistryQuotaAllowed == other.RegistryQuotaAllowed && self.RegistryQuotaUsed == other.RegistryQuotaUsed && self.Reserved1 == other.Reserved1
6787 }
6788 }
6789 impl ::core::cmp::Eq for SYSTEM_REGISTRY_QUOTA_INFORMATION {}
6790 impl ::core::default::Default for SYSTEM_REGISTRY_QUOTA_INFORMATION {
6791 fn default() -> Self {
6792 unsafe { ::core::mem::zeroed() }
6793 }
6794 }
6795 #[repr(C)]
6796 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
6797 #[cfg(feature = "Win32_Foundation")]
6798 pub struct SYSTEM_THREAD_INFORMATION {
6799 pub Reserved1: [i64; 3],
6800 pub Reserved2: u32,
6801 pub StartAddress: *mut ::core::ffi::c_void,
6802 pub ClientId: CLIENT_ID,
6803 pub Priority: i32,
6804 pub BasePriority: i32,
6805 pub Reserved3: u32,
6806 pub ThreadState: u32,
6807 pub WaitReason: u32,
6808 }
6809 #[cfg(feature = "Win32_Foundation")]
6810 impl ::core::marker::Copy for SYSTEM_THREAD_INFORMATION {}
6811 #[cfg(feature = "Win32_Foundation")]
6812 impl ::core::clone::Clone for SYSTEM_THREAD_INFORMATION {
6813 fn clone(&self) -> Self {
6814 *self
6815 }
6816 }
6817 #[cfg(feature = "Win32_Foundation")]
6818 impl ::core::fmt::Debug for SYSTEM_THREAD_INFORMATION {
6819 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
6820 f.debug_struct("SYSTEM_THREAD_INFORMATION").field("Reserved1", &self.Reserved1).field("Reserved2", &self.Reserved2).field("StartAddress", &self.StartAddress).field("ClientId", &self.ClientId).field("Priority", &self.Priority).field("BasePriority", &self.BasePriority).field("Reserved3", &self.Reserved3).field("ThreadState", &self.ThreadState).field("WaitReason", &self.WaitReason).finish()
6821 }
6822 }
6823 #[cfg(feature = "Win32_Foundation")]
6824 impl ::windows::core::TypeKind for SYSTEM_THREAD_INFORMATION {
6825 type TypeKind = ::windows::core::CopyType;
6826 }
6827 #[cfg(feature = "Win32_Foundation")]
6828 impl ::core::cmp::PartialEq for SYSTEM_THREAD_INFORMATION {
6829 fn eq(&self, other: &Self) -> bool {
6830 self.Reserved1 == other.Reserved1 && self.Reserved2 == other.Reserved2 && self.StartAddress == other.StartAddress && self.ClientId == other.ClientId && self.Priority == other.Priority && self.BasePriority == other.BasePriority && self.Reserved3 == other.Reserved3 && self.ThreadState == other.ThreadState && self.WaitReason == other.WaitReason
6831 }
6832 }
6833 #[cfg(feature = "Win32_Foundation")]
6834 impl ::core::cmp::Eq for SYSTEM_THREAD_INFORMATION {}
6835 #[cfg(feature = "Win32_Foundation")]
6836 impl ::core::default::Default for SYSTEM_THREAD_INFORMATION {
6837 fn default() -> Self {
6838 unsafe { ::core::mem::zeroed() }
6839 }
6840 }
6841 #[repr(C)]
6842 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
6843 pub struct SYSTEM_TIMEOFDAY_INFORMATION {
6844 pub Reserved1: [u8; 48],
6845 }
6846 impl ::core::marker::Copy for SYSTEM_TIMEOFDAY_INFORMATION {}
6847 impl ::core::clone::Clone for SYSTEM_TIMEOFDAY_INFORMATION {
6848 fn clone(&self) -> Self {
6849 *self
6850 }
6851 }
6852 impl ::core::fmt::Debug for SYSTEM_TIMEOFDAY_INFORMATION {
6853 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
6854 f.debug_struct("SYSTEM_TIMEOFDAY_INFORMATION").field("Reserved1", &self.Reserved1).finish()
6855 }
6856 }
6857 impl ::windows::core::TypeKind for SYSTEM_TIMEOFDAY_INFORMATION {
6858 type TypeKind = ::windows::core::CopyType;
6859 }
6860 impl ::core::cmp::PartialEq for SYSTEM_TIMEOFDAY_INFORMATION {
6861 fn eq(&self, other: &Self) -> bool {
6862 self.Reserved1 == other.Reserved1
6863 }
6864 }
6865 impl ::core::cmp::Eq for SYSTEM_TIMEOFDAY_INFORMATION {}
6866 impl ::core::default::Default for SYSTEM_TIMEOFDAY_INFORMATION {
6867 fn default() -> Self {
6868 unsafe { ::core::mem::zeroed() }
6869 }
6870 }
6871 #[repr(C)]
6872 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
6873 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
6874 pub struct TCP_REQUEST_QUERY_INFORMATION_EX32_XP {
6875 pub ID: TDIObjectID,
6876 pub Context: [u32; 4],
6877 }
6878 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
6879 impl ::core::marker::Copy for TCP_REQUEST_QUERY_INFORMATION_EX32_XP {}
6880 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
6881 impl ::core::clone::Clone for TCP_REQUEST_QUERY_INFORMATION_EX32_XP {
6882 fn clone(&self) -> Self {
6883 *self
6884 }
6885 }
6886 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
6887 impl ::core::fmt::Debug for TCP_REQUEST_QUERY_INFORMATION_EX32_XP {
6888 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
6889 f.debug_struct("TCP_REQUEST_QUERY_INFORMATION_EX32_XP").field("ID", &self.ID).field("Context", &self.Context).finish()
6890 }
6891 }
6892 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
6893 impl ::windows::core::TypeKind for TCP_REQUEST_QUERY_INFORMATION_EX32_XP {
6894 type TypeKind = ::windows::core::CopyType;
6895 }
6896 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
6897 impl ::core::cmp::PartialEq for TCP_REQUEST_QUERY_INFORMATION_EX32_XP {
6898 fn eq(&self, other: &Self) -> bool {
6899 self.ID == other.ID && self.Context == other.Context
6900 }
6901 }
6902 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
6903 impl ::core::cmp::Eq for TCP_REQUEST_QUERY_INFORMATION_EX32_XP {}
6904 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
6905 impl ::core::default::Default for TCP_REQUEST_QUERY_INFORMATION_EX32_XP {
6906 fn default() -> Self {
6907 unsafe { ::core::mem::zeroed() }
6908 }
6909 }
6910 #[repr(C)]
6911 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
6912 pub struct TCP_REQUEST_QUERY_INFORMATION_EX_W2K {
6913 pub ID: TDIObjectID,
6914 pub Context: [u8; 16],
6915 }
6916 impl ::core::marker::Copy for TCP_REQUEST_QUERY_INFORMATION_EX_W2K {}
6917 impl ::core::clone::Clone for TCP_REQUEST_QUERY_INFORMATION_EX_W2K {
6918 fn clone(&self) -> Self {
6919 *self
6920 }
6921 }
6922 impl ::core::fmt::Debug for TCP_REQUEST_QUERY_INFORMATION_EX_W2K {
6923 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
6924 f.debug_struct("TCP_REQUEST_QUERY_INFORMATION_EX_W2K").field("ID", &self.ID).field("Context", &self.Context).finish()
6925 }
6926 }
6927 impl ::windows::core::TypeKind for TCP_REQUEST_QUERY_INFORMATION_EX_W2K {
6928 type TypeKind = ::windows::core::CopyType;
6929 }
6930 impl ::core::cmp::PartialEq for TCP_REQUEST_QUERY_INFORMATION_EX_W2K {
6931 fn eq(&self, other: &Self) -> bool {
6932 self.ID == other.ID && self.Context == other.Context
6933 }
6934 }
6935 impl ::core::cmp::Eq for TCP_REQUEST_QUERY_INFORMATION_EX_W2K {}
6936 impl ::core::default::Default for TCP_REQUEST_QUERY_INFORMATION_EX_W2K {
6937 fn default() -> Self {
6938 unsafe { ::core::mem::zeroed() }
6939 }
6940 }
6941 #[repr(C)]
6942 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
6943 pub struct TCP_REQUEST_QUERY_INFORMATION_EX_XP {
6944 pub ID: TDIObjectID,
6945 pub Context: [usize; 4],
6946 }
6947 impl ::core::marker::Copy for TCP_REQUEST_QUERY_INFORMATION_EX_XP {}
6948 impl ::core::clone::Clone for TCP_REQUEST_QUERY_INFORMATION_EX_XP {
6949 fn clone(&self) -> Self {
6950 *self
6951 }
6952 }
6953 impl ::core::fmt::Debug for TCP_REQUEST_QUERY_INFORMATION_EX_XP {
6954 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
6955 f.debug_struct("TCP_REQUEST_QUERY_INFORMATION_EX_XP").field("ID", &self.ID).field("Context", &self.Context).finish()
6956 }
6957 }
6958 impl ::windows::core::TypeKind for TCP_REQUEST_QUERY_INFORMATION_EX_XP {
6959 type TypeKind = ::windows::core::CopyType;
6960 }
6961 impl ::core::cmp::PartialEq for TCP_REQUEST_QUERY_INFORMATION_EX_XP {
6962 fn eq(&self, other: &Self) -> bool {
6963 self.ID == other.ID && self.Context == other.Context
6964 }
6965 }
6966 impl ::core::cmp::Eq for TCP_REQUEST_QUERY_INFORMATION_EX_XP {}
6967 impl ::core::default::Default for TCP_REQUEST_QUERY_INFORMATION_EX_XP {
6968 fn default() -> Self {
6969 unsafe { ::core::mem::zeroed() }
6970 }
6971 }
6972 #[repr(C)]
6973 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
6974 pub struct TCP_REQUEST_SET_INFORMATION_EX {
6975 pub ID: TDIObjectID,
6976 pub BufferSize: u32,
6977 pub Buffer: [u8; 1],
6978 }
6979 impl ::core::marker::Copy for TCP_REQUEST_SET_INFORMATION_EX {}
6980 impl ::core::clone::Clone for TCP_REQUEST_SET_INFORMATION_EX {
6981 fn clone(&self) -> Self {
6982 *self
6983 }
6984 }
6985 impl ::core::fmt::Debug for TCP_REQUEST_SET_INFORMATION_EX {
6986 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
6987 f.debug_struct("TCP_REQUEST_SET_INFORMATION_EX").field("ID", &self.ID).field("BufferSize", &self.BufferSize).field("Buffer", &self.Buffer).finish()
6988 }
6989 }
6990 impl ::windows::core::TypeKind for TCP_REQUEST_SET_INFORMATION_EX {
6991 type TypeKind = ::windows::core::CopyType;
6992 }
6993 impl ::core::cmp::PartialEq for TCP_REQUEST_SET_INFORMATION_EX {
6994 fn eq(&self, other: &Self) -> bool {
6995 self.ID == other.ID && self.BufferSize == other.BufferSize && self.Buffer == other.Buffer
6996 }
6997 }
6998 impl ::core::cmp::Eq for TCP_REQUEST_SET_INFORMATION_EX {}
6999 impl ::core::default::Default for TCP_REQUEST_SET_INFORMATION_EX {
7000 fn default() -> Self {
7001 unsafe { ::core::mem::zeroed() }
7002 }
7003 }
7004 #[repr(C)]
7005 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
7006 pub struct TDIEntityID {
7007 pub tei_entity: TDIENTITY_ENTITY_TYPE,
7008 pub tei_instance: u32,
7009 }
7010 impl ::core::marker::Copy for TDIEntityID {}
7011 impl ::core::clone::Clone for TDIEntityID {
7012 fn clone(&self) -> Self {
7013 *self
7014 }
7015 }
7016 impl ::core::fmt::Debug for TDIEntityID {
7017 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
7018 f.debug_struct("TDIEntityID").field("tei_entity", &self.tei_entity).field("tei_instance", &self.tei_instance).finish()
7019 }
7020 }
7021 impl ::windows::core::TypeKind for TDIEntityID {
7022 type TypeKind = ::windows::core::CopyType;
7023 }
7024 impl ::core::cmp::PartialEq for TDIEntityID {
7025 fn eq(&self, other: &Self) -> bool {
7026 self.tei_entity == other.tei_entity && self.tei_instance == other.tei_instance
7027 }
7028 }
7029 impl ::core::cmp::Eq for TDIEntityID {}
7030 impl ::core::default::Default for TDIEntityID {
7031 fn default() -> Self {
7032 unsafe { ::core::mem::zeroed() }
7033 }
7034 }
7035 #[repr(C)]
7036 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
7037 pub struct TDIObjectID {
7038 pub toi_entity: TDIEntityID,
7039 pub toi_class: u32,
7040 pub toi_type: u32,
7041 pub toi_id: u32,
7042 }
7043 impl ::core::marker::Copy for TDIObjectID {}
7044 impl ::core::clone::Clone for TDIObjectID {
7045 fn clone(&self) -> Self {
7046 *self
7047 }
7048 }
7049 impl ::core::fmt::Debug for TDIObjectID {
7050 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
7051 f.debug_struct("TDIObjectID").field("toi_entity", &self.toi_entity).field("toi_class", &self.toi_class).field("toi_type", &self.toi_type).field("toi_id", &self.toi_id).finish()
7052 }
7053 }
7054 impl ::windows::core::TypeKind for TDIObjectID {
7055 type TypeKind = ::windows::core::CopyType;
7056 }
7057 impl ::core::cmp::PartialEq for TDIObjectID {
7058 fn eq(&self, other: &Self) -> bool {
7059 self.toi_entity == other.toi_entity && self.toi_class == other.toi_class && self.toi_type == other.toi_type && self.toi_id == other.toi_id
7060 }
7061 }
7062 impl ::core::cmp::Eq for TDIObjectID {}
7063 impl ::core::default::Default for TDIObjectID {
7064 fn default() -> Self {
7065 unsafe { ::core::mem::zeroed() }
7066 }
7067 }
7068 #[repr(C)]
7069 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
7070 pub struct TDI_TL_IO_CONTROL_ENDPOINT {
7071 pub Type: TDI_TL_IO_CONTROL_TYPE,
7072 pub Level: u32,
7073 pub Anonymous: TDI_TL_IO_CONTROL_ENDPOINT_0,
7074 pub InputBuffer: *mut ::core::ffi::c_void,
7075 pub InputBufferLength: u32,
7076 pub OutputBuffer: *mut ::core::ffi::c_void,
7077 pub OutputBufferLength: u32,
7078 }
7079 impl ::core::marker::Copy for TDI_TL_IO_CONTROL_ENDPOINT {}
7080 impl ::core::clone::Clone for TDI_TL_IO_CONTROL_ENDPOINT {
7081 fn clone(&self) -> Self {
7082 *self
7083 }
7084 }
7085 impl ::windows::core::TypeKind for TDI_TL_IO_CONTROL_ENDPOINT {
7086 type TypeKind = ::windows::core::CopyType;
7087 }
7088 impl ::core::default::Default for TDI_TL_IO_CONTROL_ENDPOINT {
7089 fn default() -> Self {
7090 unsafe { ::core::mem::zeroed() }
7091 }
7092 }
7093 #[repr(C)]
7094 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
7095 pub union TDI_TL_IO_CONTROL_ENDPOINT_0 {
7096 pub IoControlCode: u32,
7097 pub OptionName: u32,
7098 }
7099 impl ::core::marker::Copy for TDI_TL_IO_CONTROL_ENDPOINT_0 {}
7100 impl ::core::clone::Clone for TDI_TL_IO_CONTROL_ENDPOINT_0 {
7101 fn clone(&self) -> Self {
7102 *self
7103 }
7104 }
7105 impl ::windows::core::TypeKind for TDI_TL_IO_CONTROL_ENDPOINT_0 {
7106 type TypeKind = ::windows::core::CopyType;
7107 }
7108 impl ::core::default::Default for TDI_TL_IO_CONTROL_ENDPOINT_0 {
7109 fn default() -> Self {
7110 unsafe { ::core::mem::zeroed() }
7111 }
7112 }
7113 #[repr(C)]
7114 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
7115 #[cfg(feature = "Win32_Foundation")]
7116 pub struct THREAD_NAME_INFORMATION {
7117 pub ThreadName: super::super::Foundation::UNICODE_STRING,
7118 }
7119 #[cfg(feature = "Win32_Foundation")]
7120 impl ::core::marker::Copy for THREAD_NAME_INFORMATION {}
7121 #[cfg(feature = "Win32_Foundation")]
7122 impl ::core::clone::Clone for THREAD_NAME_INFORMATION {
7123 fn clone(&self) -> Self {
7124 *self
7125 }
7126 }
7127 #[cfg(feature = "Win32_Foundation")]
7128 impl ::core::fmt::Debug for THREAD_NAME_INFORMATION {
7129 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
7130 f.debug_struct("THREAD_NAME_INFORMATION").field("ThreadName", &self.ThreadName).finish()
7131 }
7132 }
7133 #[cfg(feature = "Win32_Foundation")]
7134 impl ::windows::core::TypeKind for THREAD_NAME_INFORMATION {
7135 type TypeKind = ::windows::core::CopyType;
7136 }
7137 #[cfg(feature = "Win32_Foundation")]
7138 impl ::core::cmp::PartialEq for THREAD_NAME_INFORMATION {
7139 fn eq(&self, other: &Self) -> bool {
7140 self.ThreadName == other.ThreadName
7141 }
7142 }
7143 #[cfg(feature = "Win32_Foundation")]
7144 impl ::core::cmp::Eq for THREAD_NAME_INFORMATION {}
7145 #[cfg(feature = "Win32_Foundation")]
7146 impl ::core::default::Default for THREAD_NAME_INFORMATION {
7147 fn default() -> Self {
7148 unsafe { ::core::mem::zeroed() }
7149 }
7150 }
7151 #[repr(C)]
7152 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
7153 pub struct UNDETERMINESTRUCT {
7154 pub dwSize: u32,
7155 pub uDefIMESize: u32,
7156 pub uDefIMEPos: u32,
7157 pub uUndetTextLen: u32,
7158 pub uUndetTextPos: u32,
7159 pub uUndetAttrPos: u32,
7160 pub uCursorPos: u32,
7161 pub uDeltaStart: u32,
7162 pub uDetermineTextLen: u32,
7163 pub uDetermineTextPos: u32,
7164 pub uDetermineDelimPos: u32,
7165 pub uYomiTextLen: u32,
7166 pub uYomiTextPos: u32,
7167 pub uYomiDelimPos: u32,
7168 }
7169 impl ::core::marker::Copy for UNDETERMINESTRUCT {}
7170 impl ::core::clone::Clone for UNDETERMINESTRUCT {
7171 fn clone(&self) -> Self {
7172 *self
7173 }
7174 }
7175 impl ::core::fmt::Debug for UNDETERMINESTRUCT {
7176 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
7177 f.debug_struct("UNDETERMINESTRUCT")
7178 .field("dwSize", &self.dwSize)
7179 .field("uDefIMESize", &self.uDefIMESize)
7180 .field("uDefIMEPos", &self.uDefIMEPos)
7181 .field("uUndetTextLen", &self.uUndetTextLen)
7182 .field("uUndetTextPos", &self.uUndetTextPos)
7183 .field("uUndetAttrPos", &self.uUndetAttrPos)
7184 .field("uCursorPos", &self.uCursorPos)
7185 .field("uDeltaStart", &self.uDeltaStart)
7186 .field("uDetermineTextLen", &self.uDetermineTextLen)
7187 .field("uDetermineTextPos", &self.uDetermineTextPos)
7188 .field("uDetermineDelimPos", &self.uDetermineDelimPos)
7189 .field("uYomiTextLen", &self.uYomiTextLen)
7190 .field("uYomiTextPos", &self.uYomiTextPos)
7191 .field("uYomiDelimPos", &self.uYomiDelimPos)
7192 .finish()
7193 }
7194 }
7195 impl ::windows::core::TypeKind for UNDETERMINESTRUCT {
7196 type TypeKind = ::windows::core::CopyType;
7197 }
7198 impl ::core::cmp::PartialEq for UNDETERMINESTRUCT {
7199 fn eq(&self, other: &Self) -> bool {
7200 self.dwSize == other.dwSize && self.uDefIMESize == other.uDefIMESize && self.uDefIMEPos == other.uDefIMEPos && self.uUndetTextLen == other.uUndetTextLen && self.uUndetTextPos == other.uUndetTextPos && self.uUndetAttrPos == other.uUndetAttrPos && self.uCursorPos == other.uCursorPos && self.uDeltaStart == other.uDeltaStart && self.uDetermineTextLen == other.uDetermineTextLen && self.uDetermineTextPos == other.uDetermineTextPos && self.uDetermineDelimPos == other.uDetermineDelimPos && self.uYomiTextLen == other.uYomiTextLen && self.uYomiTextPos == other.uYomiTextPos && self.uYomiDelimPos == other.uYomiDelimPos
7201 }
7202 }
7203 impl ::core::cmp::Eq for UNDETERMINESTRUCT {}
7204 impl ::core::default::Default for UNDETERMINESTRUCT {
7205 fn default() -> Self {
7206 unsafe { ::core::mem::zeroed() }
7207 }
7208 }
7209 #[repr(C)]
7210 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
7211 pub struct WINSTATIONINFORMATIONW {
7212 pub Reserved2: [u8; 70],
7213 pub LogonId: u32,
7214 pub Reserved3: [u8; 1140],
7215 }
7216 impl ::core::marker::Copy for WINSTATIONINFORMATIONW {}
7217 impl ::core::clone::Clone for WINSTATIONINFORMATIONW {
7218 fn clone(&self) -> Self {
7219 *self
7220 }
7221 }
7222 impl ::core::fmt::Debug for WINSTATIONINFORMATIONW {
7223 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
7224 f.debug_struct("WINSTATIONINFORMATIONW").field("Reserved2", &self.Reserved2).field("LogonId", &self.LogonId).field("Reserved3", &self.Reserved3).finish()
7225 }
7226 }
7227 impl ::windows::core::TypeKind for WINSTATIONINFORMATIONW {
7228 type TypeKind = ::windows::core::CopyType;
7229 }
7230 impl ::core::cmp::PartialEq for WINSTATIONINFORMATIONW {
7231 fn eq(&self, other: &Self) -> bool {
7232 self.Reserved2 == other.Reserved2 && self.LogonId == other.LogonId && self.Reserved3 == other.Reserved3
7233 }
7234 }
7235 impl ::core::cmp::Eq for WINSTATIONINFORMATIONW {}
7236 impl ::core::default::Default for WINSTATIONINFORMATIONW {
7237 fn default() -> Self {
7238 unsafe { ::core::mem::zeroed() }
7239 }
7240 }
7241 #[repr(C)]
7242 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
7243 pub struct WLDP_DEVICE_SECURITY_INFORMATION {
7244 pub UnlockIdSize: u32,
7245 pub UnlockId: *mut u8,
7246 pub ManufacturerIDLength: u32,
7247 pub ManufacturerID: ::windows::core::PWSTR,
7248 }
7249 impl ::core::marker::Copy for WLDP_DEVICE_SECURITY_INFORMATION {}
7250 impl ::core::clone::Clone for WLDP_DEVICE_SECURITY_INFORMATION {
7251 fn clone(&self) -> Self {
7252 *self
7253 }
7254 }
7255 impl ::core::fmt::Debug for WLDP_DEVICE_SECURITY_INFORMATION {
7256 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
7257 f.debug_struct("WLDP_DEVICE_SECURITY_INFORMATION").field("UnlockIdSize", &self.UnlockIdSize).field("UnlockId", &self.UnlockId).field("ManufacturerIDLength", &self.ManufacturerIDLength).field("ManufacturerID", &self.ManufacturerID).finish()
7258 }
7259 }
7260 impl ::windows::core::TypeKind for WLDP_DEVICE_SECURITY_INFORMATION {
7261 type TypeKind = ::windows::core::CopyType;
7262 }
7263 impl ::core::cmp::PartialEq for WLDP_DEVICE_SECURITY_INFORMATION {
7264 fn eq(&self, other: &Self) -> bool {
7265 self.UnlockIdSize == other.UnlockIdSize && self.UnlockId == other.UnlockId && self.ManufacturerIDLength == other.ManufacturerIDLength && self.ManufacturerID == other.ManufacturerID
7266 }
7267 }
7268 impl ::core::cmp::Eq for WLDP_DEVICE_SECURITY_INFORMATION {}
7269 impl ::core::default::Default for WLDP_DEVICE_SECURITY_INFORMATION {
7270 fn default() -> Self {
7271 unsafe { ::core::mem::zeroed() }
7272 }
7273 }
7274 #[repr(C)]
7275 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
7276 #[cfg(feature = "Win32_Foundation")]
7277 pub struct WLDP_HOST_INFORMATION {
7278 pub dwRevision: u32,
7279 pub dwHostId: WLDP_HOST_ID,
7280 pub szSource: ::windows::core::PCWSTR,
7281 pub hSource: super::super::Foundation::HANDLE,
7282 }
7283 #[cfg(feature = "Win32_Foundation")]
7284 impl ::core::marker::Copy for WLDP_HOST_INFORMATION {}
7285 #[cfg(feature = "Win32_Foundation")]
7286 impl ::core::clone::Clone for WLDP_HOST_INFORMATION {
7287 fn clone(&self) -> Self {
7288 *self
7289 }
7290 }
7291 #[cfg(feature = "Win32_Foundation")]
7292 impl ::core::fmt::Debug for WLDP_HOST_INFORMATION {
7293 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
7294 f.debug_struct("WLDP_HOST_INFORMATION").field("dwRevision", &self.dwRevision).field("dwHostId", &self.dwHostId).field("szSource", &self.szSource).field("hSource", &self.hSource).finish()
7295 }
7296 }
7297 #[cfg(feature = "Win32_Foundation")]
7298 impl ::windows::core::TypeKind for WLDP_HOST_INFORMATION {
7299 type TypeKind = ::windows::core::CopyType;
7300 }
7301 #[cfg(feature = "Win32_Foundation")]
7302 impl ::core::cmp::PartialEq for WLDP_HOST_INFORMATION {
7303 fn eq(&self, other: &Self) -> bool {
7304 self.dwRevision == other.dwRevision && self.dwHostId == other.dwHostId && self.szSource == other.szSource && self.hSource == other.hSource
7305 }
7306 }
7307 #[cfg(feature = "Win32_Foundation")]
7308 impl ::core::cmp::Eq for WLDP_HOST_INFORMATION {}
7309 #[cfg(feature = "Win32_Foundation")]
7310 impl ::core::default::Default for WLDP_HOST_INFORMATION {
7311 fn default() -> Self {
7312 unsafe { ::core::mem::zeroed() }
7313 }
7314 }
7315 #[repr(C)]
7316 pub struct _D3DHAL_CALLBACKS(pub u8);
7317 #[repr(C)]
7318 pub struct _D3DHAL_GLOBALDRIVERDATA(pub u8);
7319 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
7320 pub type APPLICATION_RECOVERY_CALLBACK = ::core::option::Option<unsafe extern "system" fn(pvparameter: *mut ::core::ffi::c_void) -> u32>;
7321 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
7322 pub type ENUM_CALLBACK = ::core::option::Option<unsafe extern "system" fn(lpsurfaceinfo: *mut DCISURFACEINFO, lpcontext: *mut ::core::ffi::c_void) -> ()>;
7323 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
7324 pub type PDELAYLOAD_FAILURE_DLL_CALLBACK = ::core::option::Option<unsafe extern "system" fn(notificationreason: u32, delayloadinfo: *const DELAYLOAD_INFO) -> *mut ::core::ffi::c_void>;
7325 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
7326 pub type PFEATURE_STATE_CHANGE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void) -> ()>;
7327 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
7328 pub type PFIBER_CALLOUT_ROUTINE = ::core::option::Option<unsafe extern "system" fn(lpparameter: *mut ::core::ffi::c_void) -> *mut ::core::ffi::c_void>;
7329 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
7330 #[cfg(feature = "Win32_Foundation")]
7331 pub type PIO_APC_ROUTINE = ::core::option::Option<unsafe extern "system" fn(apccontext: *mut ::core::ffi::c_void, iostatusblock: *mut IO_STATUS_BLOCK, reserved: u32) -> ()>;
7332 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
7333 #[cfg(feature = "Win32_Foundation")]
7334 pub type PQUERYACTCTXW_FUNC = ::core::option::Option<unsafe extern "system" fn(dwflags: u32, hactctx: super::super::Foundation::HANDLE, pvsubinstance: *const ::core::ffi::c_void, ulinfoclass: u32, pvbuffer: *mut ::core::ffi::c_void, cbbuffer: usize, pcbwrittenorrequired: *mut usize) -> super::super::Foundation::BOOL>;
7335 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
7336 #[cfg(feature = "Win32_Foundation")]
7337 pub type PWINSTATIONQUERYINFORMATIONW = ::core::option::Option<unsafe extern "system" fn(param0: super::super::Foundation::HANDLE, param1: u32, param2: WINSTATIONINFOCLASS, param3: *mut ::core::ffi::c_void, param4: u32, param5: *mut u32) -> super::super::Foundation::BOOLEAN>;
7338 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
7339 pub type PWLDP_ISAPPAPPROVEDBYPOLICY_API = ::core::option::Option<unsafe extern "system" fn(packagefamilyname: ::windows::core::PCWSTR, packageversion: u64) -> ::windows::core::HRESULT>;
7340 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
7341 #[cfg(feature = "Win32_Foundation")]
7342 pub type PWLDP_ISDYNAMICCODEPOLICYENABLED_API = ::core::option::Option<unsafe extern "system" fn(pbenabled: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT>;
7343 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
7344 #[cfg(feature = "Win32_Foundation")]
7345 pub type PWLDP_ISPRODUCTIONCONFIGURATION_API = ::core::option::Option<unsafe extern "system" fn(isproductionconfiguration: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT>;
7346 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
7347 #[cfg(feature = "Win32_Foundation")]
7348 pub type PWLDP_ISWCOSPRODUCTIONCONFIGURATION_API = ::core::option::Option<unsafe extern "system" fn(isproductionconfiguration: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT>;
7349 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
7350 pub type PWLDP_QUERYDEVICESECURITYINFORMATION_API = ::core::option::Option<unsafe extern "system" fn(information: *mut WLDP_DEVICE_SECURITY_INFORMATION, informationlength: u32, returnlength: *mut u32) -> ::windows::core::HRESULT>;
7351 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
7352 #[cfg(feature = "Win32_Foundation")]
7353 pub type PWLDP_QUERYDYNAMICODETRUST_API = ::core::option::Option<unsafe extern "system" fn(filehandle: super::super::Foundation::HANDLE, baseimage: *const ::core::ffi::c_void, imagesize: u32) -> ::windows::core::HRESULT>;
7354 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
7355 #[cfg(feature = "Win32_Foundation")]
7356 pub type PWLDP_QUERYPOLICYSETTINGENABLED2_API = ::core::option::Option<unsafe extern "system" fn(setting: ::windows::core::PCWSTR, enabled: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT>;
7357 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
7358 #[cfg(feature = "Win32_Foundation")]
7359 pub type PWLDP_QUERYPOLICYSETTINGENABLED_API = ::core::option::Option<unsafe extern "system" fn(setting: WLDP_POLICY_SETTING, enabled: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT>;
7360 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
7361 pub type PWLDP_QUERYWINDOWSLOCKDOWNMODE_API = ::core::option::Option<unsafe extern "system" fn(lockdownmode: *mut WLDP_WINDOWS_LOCKDOWN_MODE) -> ::windows::core::HRESULT>;
7362 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
7363 pub type PWLDP_QUERYWINDOWSLOCKDOWNRESTRICTION_API = ::core::option::Option<unsafe extern "system" fn(lockdownrestriction: *mut WLDP_WINDOWS_LOCKDOWN_RESTRICTION) -> ::windows::core::HRESULT>;
7364 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
7365 pub type PWLDP_RESETPRODUCTIONCONFIGURATION_API = ::core::option::Option<unsafe extern "system" fn() -> ::windows::core::HRESULT>;
7366 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
7367 pub type PWLDP_RESETWCOSPRODUCTIONCONFIGURATION_API = ::core::option::Option<unsafe extern "system" fn() -> ::windows::core::HRESULT>;
7368 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
7369 #[cfg(feature = "Win32_Foundation")]
7370 pub type PWLDP_SETDYNAMICCODETRUST_API = ::core::option::Option<unsafe extern "system" fn(hfilehandle: super::super::Foundation::HANDLE) -> ::windows::core::HRESULT>;
7371 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"]
7372 pub type PWLDP_SETWINDOWSLOCKDOWNRESTRICTION_API = ::core::option::Option<unsafe extern "system" fn(lockdownrestriction: WLDP_WINDOWS_LOCKDOWN_RESTRICTION) -> ::windows::core::HRESULT>;
7373 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
7374 #[cfg(feature = "Win32_Foundation")]
7375 pub type REGINSTALLA = ::core::option::Option<unsafe extern "system" fn(hm: super::super::Foundation::HINSTANCE, pszsection: ::windows::core::PCSTR, psttable: *const STRTABLEA) -> ::windows::core::HRESULT>;
7376 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"]
7377 #[cfg(feature = "Win32_Foundation")]
7378 pub type WINWATCHNOTIFYPROC = ::core::option::Option<unsafe extern "system" fn(hww: HWINWATCH, hwnd: super::super::Foundation::HWND, code: u32, lparam: super::super::Foundation::LPARAM) -> ()>;
7379 #[cfg(feature = "implement")]
7380 ::core::include!("impl.rs");