Debian Codegraph @

.cargo/vendor/windows-sys/src/Windows/Wdk/Foundation/mod.rs

raw
1 #[cfg(feature = "Win32_Foundation")]
2 ::windows_targets::link!("ntdll.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NtClose(handle : super::super::Win32::Foundation:: HANDLE) -> super::super::Win32::Foundation:: NTSTATUS);
3 #[cfg(feature = "Win32_Foundation")]
4 ::windows_targets::link!("ntdll.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NtQueryObject(handle : super::super::Win32::Foundation:: HANDLE, objectinformationclass : OBJECT_INFORMATION_CLASS, objectinformation : *mut ::core::ffi::c_void, objectinformationlength : u32, returnlength : *mut u32) -> super::super::Win32::Foundation:: NTSTATUS);
5 pub const DontUseThisType: POOL_TYPE = 3i32;
6 pub const DontUseThisTypeSession: POOL_TYPE = 35i32;
7 pub const IoPriorityCritical: IO_PRIORITY_HINT = 4i32;
8 pub const IoPriorityHigh: IO_PRIORITY_HINT = 3i32;
9 pub const IoPriorityLow: IO_PRIORITY_HINT = 1i32;
10 pub const IoPriorityNormal: IO_PRIORITY_HINT = 2i32;
11 pub const IoPriorityVeryLow: IO_PRIORITY_HINT = 0i32;
12 pub const LockQueueAfdWorkQueueLock: KSPIN_LOCK_QUEUE_NUMBER = 13i32;
13 pub const LockQueueBcbLock: KSPIN_LOCK_QUEUE_NUMBER = 14i32;
14 pub const LockQueueIoCancelLock: KSPIN_LOCK_QUEUE_NUMBER = 7i32;
15 pub const LockQueueIoCompletionLock: KSPIN_LOCK_QUEUE_NUMBER = 11i32;
16 pub const LockQueueIoDatabaseLock: KSPIN_LOCK_QUEUE_NUMBER = 10i32;
17 pub const LockQueueIoVpbLock: KSPIN_LOCK_QUEUE_NUMBER = 9i32;
18 pub const LockQueueMasterLock: KSPIN_LOCK_QUEUE_NUMBER = 5i32;
19 pub const LockQueueMaximumLock: KSPIN_LOCK_QUEUE_NUMBER = 17i32;
20 pub const LockQueueNonPagedPoolLock: KSPIN_LOCK_QUEUE_NUMBER = 6i32;
21 pub const LockQueueNtfsStructLock: KSPIN_LOCK_QUEUE_NUMBER = 12i32;
22 pub const LockQueueUnusedSpare0: KSPIN_LOCK_QUEUE_NUMBER = 0i32;
23 pub const LockQueueUnusedSpare1: KSPIN_LOCK_QUEUE_NUMBER = 1i32;
24 pub const LockQueueUnusedSpare15: KSPIN_LOCK_QUEUE_NUMBER = 15i32;
25 pub const LockQueueUnusedSpare16: KSPIN_LOCK_QUEUE_NUMBER = 16i32;
26 pub const LockQueueUnusedSpare2: KSPIN_LOCK_QUEUE_NUMBER = 2i32;
27 pub const LockQueueUnusedSpare3: KSPIN_LOCK_QUEUE_NUMBER = 3i32;
28 pub const LockQueueUnusedSpare8: KSPIN_LOCK_QUEUE_NUMBER = 8i32;
29 pub const LockQueueVacbLock: KSPIN_LOCK_QUEUE_NUMBER = 4i32;
30 pub const MaxIoPriorityTypes: IO_PRIORITY_HINT = 5i32;
31 pub const MaxPoolType: POOL_TYPE = 7i32;
32 pub const NonPagedPool: POOL_TYPE = 0i32;
33 pub const NonPagedPoolBase: POOL_TYPE = 0i32;
34 pub const NonPagedPoolBaseCacheAligned: POOL_TYPE = 4i32;
35 pub const NonPagedPoolBaseCacheAlignedMustS: POOL_TYPE = 6i32;
36 pub const NonPagedPoolBaseMustSucceed: POOL_TYPE = 2i32;
37 pub const NonPagedPoolCacheAligned: POOL_TYPE = 4i32;
38 pub const NonPagedPoolCacheAlignedMustS: POOL_TYPE = 6i32;
39 pub const NonPagedPoolCacheAlignedMustSSession: POOL_TYPE = 38i32;
40 pub const NonPagedPoolCacheAlignedSession: POOL_TYPE = 36i32;
41 pub const NonPagedPoolExecute: POOL_TYPE = 0i32;
42 pub const NonPagedPoolMustSucceed: POOL_TYPE = 2i32;
43 pub const NonPagedPoolMustSucceedSession: POOL_TYPE = 34i32;
44 pub const NonPagedPoolNx: POOL_TYPE = 512i32;
45 pub const NonPagedPoolNxCacheAligned: POOL_TYPE = 516i32;
46 pub const NonPagedPoolSession: POOL_TYPE = 32i32;
47 pub const NonPagedPoolSessionNx: POOL_TYPE = 544i32;
48 pub const ObjectBasicInformation: OBJECT_INFORMATION_CLASS = 0i32;
49 pub const ObjectTypeInformation: OBJECT_INFORMATION_CLASS = 2i32;
50 pub const PagedPool: POOL_TYPE = 1i32;
51 pub const PagedPoolCacheAligned: POOL_TYPE = 5i32;
52 pub const PagedPoolCacheAlignedSession: POOL_TYPE = 37i32;
53 pub const PagedPoolSession: POOL_TYPE = 33i32;
54 pub type IO_PRIORITY_HINT = i32;
55 pub type KSPIN_LOCK_QUEUE_NUMBER = i32;
56 pub type OBJECT_INFORMATION_CLASS = i32;
57 pub type POOL_TYPE = i32;
58 #[repr(C)]
59 #[doc = "Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`"]
60 #[cfg(all(feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security"))]
61 pub struct ACCESS_STATE {
62 pub OperationID: super::super::Win32::Foundation::LUID,
63 pub SecurityEvaluated: super::super::Win32::Foundation::BOOLEAN,
64 pub GenerateAudit: super::super::Win32::Foundation::BOOLEAN,
65 pub GenerateOnClose: super::super::Win32::Foundation::BOOLEAN,
66 pub PrivilegesAllocated: super::super::Win32::Foundation::BOOLEAN,
67 pub Flags: u32,
68 pub RemainingDesiredAccess: u32,
69 pub PreviouslyGrantedAccess: u32,
70 pub OriginalDesiredAccess: u32,
71 pub SubjectSecurityContext: SECURITY_SUBJECT_CONTEXT,
72 pub SecurityDescriptor: super::super::Win32::Security::PSECURITY_DESCRIPTOR,
73 pub AuxData: *mut ::core::ffi::c_void,
74 pub Privileges: ACCESS_STATE_0,
75 pub AuditPrivileges: super::super::Win32::Foundation::BOOLEAN,
76 pub ObjectName: super::super::Win32::Foundation::UNICODE_STRING,
77 pub ObjectTypeName: super::super::Win32::Foundation::UNICODE_STRING,
78 }
79 #[cfg(all(feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security"))]
80 impl ::core::marker::Copy for ACCESS_STATE {}
81 #[cfg(all(feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security"))]
82 impl ::core::clone::Clone for ACCESS_STATE {
83 fn clone(&self) -> Self {
84 *self
85 }
86 }
87 #[repr(C)]
88 #[doc = "Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`"]
89 #[cfg(all(feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security"))]
90 pub union ACCESS_STATE_0 {
91 pub InitialPrivilegeSet: super::System::SystemServices::INITIAL_PRIVILEGE_SET,
92 pub PrivilegeSet: super::super::Win32::Security::PRIVILEGE_SET,
93 }
94 #[cfg(all(feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security"))]
95 impl ::core::marker::Copy for ACCESS_STATE_0 {}
96 #[cfg(all(feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security"))]
97 impl ::core::clone::Clone for ACCESS_STATE_0 {
98 fn clone(&self) -> Self {
99 *self
100 }
101 }
102 #[repr(C)]
103 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
104 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
105 pub struct DEVICE_OBJECT {
106 pub Type: i16,
107 pub Size: u16,
108 pub ReferenceCount: i32,
109 pub DriverObject: *mut DRIVER_OBJECT,
110 pub NextDevice: *mut DEVICE_OBJECT,
111 pub AttachedDevice: *mut DEVICE_OBJECT,
112 pub CurrentIrp: *mut IRP,
113 pub Timer: PIO_TIMER,
114 pub Flags: u32,
115 pub Characteristics: u32,
116 pub Vpb: *mut VPB,
117 pub DeviceExtension: *mut ::core::ffi::c_void,
118 pub DeviceType: u32,
119 pub StackSize: i8,
120 pub Queue: DEVICE_OBJECT_0,
121 pub AlignmentRequirement: u32,
122 pub DeviceQueue: KDEVICE_QUEUE,
123 pub Dpc: KDPC,
124 pub ActiveThreadCount: u32,
125 pub SecurityDescriptor: super::super::Win32::Security::PSECURITY_DESCRIPTOR,
126 pub DeviceLock: KEVENT,
127 pub SectorSize: u16,
128 pub Spare1: u16,
129 pub DeviceObjectExtension: *mut DEVOBJ_EXTENSION,
130 pub Reserved: *mut ::core::ffi::c_void,
131 }
132 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
133 impl ::core::marker::Copy for DEVICE_OBJECT {}
134 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
135 impl ::core::clone::Clone for DEVICE_OBJECT {
136 fn clone(&self) -> Self {
137 *self
138 }
139 }
140 #[repr(C)]
141 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
142 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
143 pub union DEVICE_OBJECT_0 {
144 pub ListEntry: super::super::Win32::System::Kernel::LIST_ENTRY,
145 pub Wcb: super::System::SystemServices::WAIT_CONTEXT_BLOCK,
146 }
147 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
148 impl ::core::marker::Copy for DEVICE_OBJECT_0 {}
149 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
150 impl ::core::clone::Clone for DEVICE_OBJECT_0 {
151 fn clone(&self) -> Self {
152 *self
153 }
154 }
155 #[repr(C)]
156 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
157 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
158 pub struct DEVOBJ_EXTENSION {
159 pub Type: i16,
160 pub Size: u16,
161 pub DeviceObject: *mut DEVICE_OBJECT,
162 pub PowerFlags: u32,
163 pub Dope: *mut _DEVICE_OBJECT_POWER_EXTENSION,
164 pub ExtensionFlags: u32,
165 pub DeviceNode: *mut ::core::ffi::c_void,
166 pub AttachedTo: *mut DEVICE_OBJECT,
167 pub StartIoCount: i32,
168 pub StartIoKey: i32,
169 pub StartIoFlags: u32,
170 pub Vpb: *mut VPB,
171 pub DependencyNode: *mut ::core::ffi::c_void,
172 pub InterruptContext: *mut ::core::ffi::c_void,
173 pub InterruptCount: i32,
174 pub VerifierContext: *mut ::core::ffi::c_void,
175 }
176 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
177 impl ::core::marker::Copy for DEVOBJ_EXTENSION {}
178 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
179 impl ::core::clone::Clone for DEVOBJ_EXTENSION {
180 fn clone(&self) -> Self {
181 *self
182 }
183 }
184 #[repr(C)]
185 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"]
186 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
187 pub struct DISPATCHER_HEADER {
188 pub Anonymous: DISPATCHER_HEADER_0,
189 pub SignalState: i32,
190 pub WaitListHead: super::super::Win32::System::Kernel::LIST_ENTRY,
191 }
192 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
193 impl ::core::marker::Copy for DISPATCHER_HEADER {}
194 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
195 impl ::core::clone::Clone for DISPATCHER_HEADER {
196 fn clone(&self) -> Self {
197 *self
198 }
199 }
200 #[repr(C)]
201 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"]
202 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
203 pub union DISPATCHER_HEADER_0 {
204 pub Anonymous1: DISPATCHER_HEADER_0_0,
205 pub Anonymous2: DISPATCHER_HEADER_0_1,
206 pub Anonymous3: DISPATCHER_HEADER_0_2,
207 pub Anonymous4: DISPATCHER_HEADER_0_3,
208 pub Anonymous5: DISPATCHER_HEADER_0_4,
209 pub Anonymous6: DISPATCHER_HEADER_0_5,
210 pub Anonymous7: DISPATCHER_HEADER_0_6,
211 }
212 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
213 impl ::core::marker::Copy for DISPATCHER_HEADER_0 {}
214 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
215 impl ::core::clone::Clone for DISPATCHER_HEADER_0 {
216 fn clone(&self) -> Self {
217 *self
218 }
219 }
220 #[repr(C)]
221 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"]
222 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
223 pub union DISPATCHER_HEADER_0_0 {
224 pub Lock: i32,
225 pub LockNV: i32,
226 }
227 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
228 impl ::core::marker::Copy for DISPATCHER_HEADER_0_0 {}
229 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
230 impl ::core::clone::Clone for DISPATCHER_HEADER_0_0 {
231 fn clone(&self) -> Self {
232 *self
233 }
234 }
235 #[repr(C)]
236 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"]
237 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
238 pub struct DISPATCHER_HEADER_0_1 {
239 pub Type: u8,
240 pub Signalling: u8,
241 pub Size: u8,
242 pub Reserved1: u8,
243 }
244 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
245 impl ::core::marker::Copy for DISPATCHER_HEADER_0_1 {}
246 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
247 impl ::core::clone::Clone for DISPATCHER_HEADER_0_1 {
248 fn clone(&self) -> Self {
249 *self
250 }
251 }
252 #[repr(C)]
253 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"]
254 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
255 pub struct DISPATCHER_HEADER_0_2 {
256 pub TimerType: u8,
257 pub Anonymous1: DISPATCHER_HEADER_0_2_0,
258 pub Hand: u8,
259 pub Anonymous2: DISPATCHER_HEADER_0_2_1,
260 }
261 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
262 impl ::core::marker::Copy for DISPATCHER_HEADER_0_2 {}
263 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
264 impl ::core::clone::Clone for DISPATCHER_HEADER_0_2 {
265 fn clone(&self) -> Self {
266 *self
267 }
268 }
269 #[repr(C)]
270 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"]
271 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
272 pub union DISPATCHER_HEADER_0_2_0 {
273 pub TimerControlFlags: u8,
274 pub Anonymous: DISPATCHER_HEADER_0_2_0_0,
275 }
276 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
277 impl ::core::marker::Copy for DISPATCHER_HEADER_0_2_0 {}
278 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
279 impl ::core::clone::Clone for DISPATCHER_HEADER_0_2_0 {
280 fn clone(&self) -> Self {
281 *self
282 }
283 }
284 #[repr(C)]
285 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"]
286 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
287 pub struct DISPATCHER_HEADER_0_2_0_0 {
288 pub _bitfield: u8,
289 }
290 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
291 impl ::core::marker::Copy for DISPATCHER_HEADER_0_2_0_0 {}
292 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
293 impl ::core::clone::Clone for DISPATCHER_HEADER_0_2_0_0 {
294 fn clone(&self) -> Self {
295 *self
296 }
297 }
298 #[repr(C)]
299 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"]
300 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
301 pub union DISPATCHER_HEADER_0_2_1 {
302 pub TimerMiscFlags: u8,
303 pub Anonymous: DISPATCHER_HEADER_0_2_1_0,
304 }
305 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
306 impl ::core::marker::Copy for DISPATCHER_HEADER_0_2_1 {}
307 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
308 impl ::core::clone::Clone for DISPATCHER_HEADER_0_2_1 {
309 fn clone(&self) -> Self {
310 *self
311 }
312 }
313 #[repr(C)]
314 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"]
315 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
316 pub struct DISPATCHER_HEADER_0_2_1_0 {
317 pub _bitfield: u8,
318 }
319 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
320 impl ::core::marker::Copy for DISPATCHER_HEADER_0_2_1_0 {}
321 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
322 impl ::core::clone::Clone for DISPATCHER_HEADER_0_2_1_0 {
323 fn clone(&self) -> Self {
324 *self
325 }
326 }
327 #[repr(C)]
328 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"]
329 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
330 pub struct DISPATCHER_HEADER_0_3 {
331 pub Timer2Type: u8,
332 pub Anonymous: DISPATCHER_HEADER_0_3_0,
333 pub Timer2ComponentId: u8,
334 pub Timer2RelativeId: u8,
335 }
336 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
337 impl ::core::marker::Copy for DISPATCHER_HEADER_0_3 {}
338 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
339 impl ::core::clone::Clone for DISPATCHER_HEADER_0_3 {
340 fn clone(&self) -> Self {
341 *self
342 }
343 }
344 #[repr(C)]
345 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"]
346 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
347 pub union DISPATCHER_HEADER_0_3_0 {
348 pub Timer2Flags: u8,
349 pub Anonymous: DISPATCHER_HEADER_0_3_0_0,
350 }
351 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
352 impl ::core::marker::Copy for DISPATCHER_HEADER_0_3_0 {}
353 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
354 impl ::core::clone::Clone for DISPATCHER_HEADER_0_3_0 {
355 fn clone(&self) -> Self {
356 *self
357 }
358 }
359 #[repr(C)]
360 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"]
361 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
362 pub struct DISPATCHER_HEADER_0_3_0_0 {
363 pub _bitfield: u8,
364 }
365 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
366 impl ::core::marker::Copy for DISPATCHER_HEADER_0_3_0_0 {}
367 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
368 impl ::core::clone::Clone for DISPATCHER_HEADER_0_3_0_0 {
369 fn clone(&self) -> Self {
370 *self
371 }
372 }
373 #[repr(C)]
374 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"]
375 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
376 pub struct DISPATCHER_HEADER_0_4 {
377 pub QueueType: u8,
378 pub Anonymous: DISPATCHER_HEADER_0_4_0,
379 pub QueueSize: u8,
380 pub QueueReserved: u8,
381 }
382 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
383 impl ::core::marker::Copy for DISPATCHER_HEADER_0_4 {}
384 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
385 impl ::core::clone::Clone for DISPATCHER_HEADER_0_4 {
386 fn clone(&self) -> Self {
387 *self
388 }
389 }
390 #[repr(C)]
391 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"]
392 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
393 pub union DISPATCHER_HEADER_0_4_0 {
394 pub QueueControlFlags: u8,
395 pub Anonymous: DISPATCHER_HEADER_0_4_0_0,
396 }
397 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
398 impl ::core::marker::Copy for DISPATCHER_HEADER_0_4_0 {}
399 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
400 impl ::core::clone::Clone for DISPATCHER_HEADER_0_4_0 {
401 fn clone(&self) -> Self {
402 *self
403 }
404 }
405 #[repr(C)]
406 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"]
407 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
408 pub struct DISPATCHER_HEADER_0_4_0_0 {
409 pub _bitfield: u8,
410 }
411 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
412 impl ::core::marker::Copy for DISPATCHER_HEADER_0_4_0_0 {}
413 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
414 impl ::core::clone::Clone for DISPATCHER_HEADER_0_4_0_0 {
415 fn clone(&self) -> Self {
416 *self
417 }
418 }
419 #[repr(C)]
420 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"]
421 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
422 pub struct DISPATCHER_HEADER_0_5 {
423 pub ThreadType: u8,
424 pub ThreadReserved: u8,
425 pub Anonymous1: DISPATCHER_HEADER_0_5_0,
426 pub Anonymous2: DISPATCHER_HEADER_0_5_1,
427 }
428 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
429 impl ::core::marker::Copy for DISPATCHER_HEADER_0_5 {}
430 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
431 impl ::core::clone::Clone for DISPATCHER_HEADER_0_5 {
432 fn clone(&self) -> Self {
433 *self
434 }
435 }
436 #[repr(C)]
437 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"]
438 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
439 pub union DISPATCHER_HEADER_0_5_0 {
440 pub ThreadControlFlags: u8,
441 pub Anonymous: DISPATCHER_HEADER_0_5_0_0,
442 }
443 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
444 impl ::core::marker::Copy for DISPATCHER_HEADER_0_5_0 {}
445 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
446 impl ::core::clone::Clone for DISPATCHER_HEADER_0_5_0 {
447 fn clone(&self) -> Self {
448 *self
449 }
450 }
451 #[repr(C)]
452 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"]
453 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
454 pub struct DISPATCHER_HEADER_0_5_0_0 {
455 pub _bitfield: u8,
456 }
457 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
458 impl ::core::marker::Copy for DISPATCHER_HEADER_0_5_0_0 {}
459 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
460 impl ::core::clone::Clone for DISPATCHER_HEADER_0_5_0_0 {
461 fn clone(&self) -> Self {
462 *self
463 }
464 }
465 #[repr(C)]
466 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"]
467 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
468 pub union DISPATCHER_HEADER_0_5_1 {
469 pub DebugActive: u8,
470 }
471 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
472 impl ::core::marker::Copy for DISPATCHER_HEADER_0_5_1 {}
473 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
474 impl ::core::clone::Clone for DISPATCHER_HEADER_0_5_1 {
475 fn clone(&self) -> Self {
476 *self
477 }
478 }
479 #[repr(C)]
480 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"]
481 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
482 pub struct DISPATCHER_HEADER_0_6 {
483 pub MutantType: u8,
484 pub MutantSize: u8,
485 pub DpcActive: super::super::Win32::Foundation::BOOLEAN,
486 pub MutantReserved: u8,
487 }
488 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
489 impl ::core::marker::Copy for DISPATCHER_HEADER_0_6 {}
490 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
491 impl ::core::clone::Clone for DISPATCHER_HEADER_0_6 {
492 fn clone(&self) -> Self {
493 *self
494 }
495 }
496 pub type DMA_COMMON_BUFFER_VECTOR = isize;
497 #[repr(C)]
498 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
499 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
500 pub struct DRIVER_EXTENSION {
501 pub DriverObject: *mut DRIVER_OBJECT,
502 pub AddDevice: PDRIVER_ADD_DEVICE,
503 pub Count: u32,
504 pub ServiceKeyName: super::super::Win32::Foundation::UNICODE_STRING,
505 }
506 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
507 impl ::core::marker::Copy for DRIVER_EXTENSION {}
508 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
509 impl ::core::clone::Clone for DRIVER_EXTENSION {
510 fn clone(&self) -> Self {
511 *self
512 }
513 }
514 #[repr(C)]
515 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
516 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
517 pub struct DRIVER_OBJECT {
518 pub Type: i16,
519 pub Size: i16,
520 pub DeviceObject: *mut DEVICE_OBJECT,
521 pub Flags: u32,
522 pub DriverStart: *mut ::core::ffi::c_void,
523 pub DriverSize: u32,
524 pub DriverSection: *mut ::core::ffi::c_void,
525 pub DriverExtension: *mut DRIVER_EXTENSION,
526 pub DriverName: super::super::Win32::Foundation::UNICODE_STRING,
527 pub HardwareDatabase: *mut super::super::Win32::Foundation::UNICODE_STRING,
528 pub FastIoDispatch: *mut FAST_IO_DISPATCH,
529 pub DriverInit: PDRIVER_INITIALIZE,
530 pub DriverStartIo: PDRIVER_STARTIO,
531 pub DriverUnload: PDRIVER_UNLOAD,
532 pub MajorFunction: [PDRIVER_DISPATCH; 28],
533 }
534 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
535 impl ::core::marker::Copy for DRIVER_OBJECT {}
536 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
537 impl ::core::clone::Clone for DRIVER_OBJECT {
538 fn clone(&self) -> Self {
539 *self
540 }
541 }
542 pub type ECP_HEADER = isize;
543 pub type ECP_LIST = isize;
544 #[repr(C)]
545 #[doc = "Required features: `\"Win32_System_Kernel\"`"]
546 #[cfg(feature = "Win32_System_Kernel")]
547 pub struct ERESOURCE {
548 pub SystemResourcesList: super::super::Win32::System::Kernel::LIST_ENTRY,
549 pub OwnerTable: *mut OWNER_ENTRY,
550 pub ActiveCount: i16,
551 pub Anonymous1: ERESOURCE_0,
552 pub SharedWaiters: *mut ::core::ffi::c_void,
553 pub ExclusiveWaiters: *mut ::core::ffi::c_void,
554 pub OwnerEntry: OWNER_ENTRY,
555 pub ActiveEntries: u32,
556 pub ContentionCount: u32,
557 pub NumberOfSharedWaiters: u32,
558 pub NumberOfExclusiveWaiters: u32,
559 pub Anonymous2: ERESOURCE_1,
560 pub SpinLock: usize,
561 }
562 #[cfg(feature = "Win32_System_Kernel")]
563 impl ::core::marker::Copy for ERESOURCE {}
564 #[cfg(feature = "Win32_System_Kernel")]
565 impl ::core::clone::Clone for ERESOURCE {
566 fn clone(&self) -> Self {
567 *self
568 }
569 }
570 #[repr(C)]
571 #[doc = "Required features: `\"Win32_System_Kernel\"`"]
572 #[cfg(feature = "Win32_System_Kernel")]
573 pub union ERESOURCE_0 {
574 pub Flag: u16,
575 pub Anonymous: ERESOURCE_0_0,
576 }
577 #[cfg(feature = "Win32_System_Kernel")]
578 impl ::core::marker::Copy for ERESOURCE_0 {}
579 #[cfg(feature = "Win32_System_Kernel")]
580 impl ::core::clone::Clone for ERESOURCE_0 {
581 fn clone(&self) -> Self {
582 *self
583 }
584 }
585 #[repr(C)]
586 #[doc = "Required features: `\"Win32_System_Kernel\"`"]
587 #[cfg(feature = "Win32_System_Kernel")]
588 pub struct ERESOURCE_0_0 {
589 pub ReservedLowFlags: u8,
590 pub WaiterPriority: u8,
591 }
592 #[cfg(feature = "Win32_System_Kernel")]
593 impl ::core::marker::Copy for ERESOURCE_0_0 {}
594 #[cfg(feature = "Win32_System_Kernel")]
595 impl ::core::clone::Clone for ERESOURCE_0_0 {
596 fn clone(&self) -> Self {
597 *self
598 }
599 }
600 #[repr(C)]
601 #[doc = "Required features: `\"Win32_System_Kernel\"`"]
602 #[cfg(feature = "Win32_System_Kernel")]
603 pub union ERESOURCE_1 {
604 pub Address: *mut ::core::ffi::c_void,
605 pub CreatorBackTraceIndex: usize,
606 }
607 #[cfg(feature = "Win32_System_Kernel")]
608 impl ::core::marker::Copy for ERESOURCE_1 {}
609 #[cfg(feature = "Win32_System_Kernel")]
610 impl ::core::clone::Clone for ERESOURCE_1 {
611 fn clone(&self) -> Self {
612 *self
613 }
614 }
615 #[repr(C)]
616 #[doc = "Required features: `\"Win32_Foundation\"`"]
617 #[cfg(feature = "Win32_Foundation")]
618 pub struct FAST_IO_DISPATCH {
619 pub SizeOfFastIoDispatch: u32,
620 pub FastIoCheckIfPossible: PFAST_IO_CHECK_IF_POSSIBLE,
621 pub FastIoRead: PFAST_IO_READ,
622 pub FastIoWrite: PFAST_IO_WRITE,
623 pub FastIoQueryBasicInfo: PFAST_IO_QUERY_BASIC_INFO,
624 pub FastIoQueryStandardInfo: PFAST_IO_QUERY_STANDARD_INFO,
625 pub FastIoLock: PFAST_IO_LOCK,
626 pub FastIoUnlockSingle: PFAST_IO_UNLOCK_SINGLE,
627 pub FastIoUnlockAll: PFAST_IO_UNLOCK_ALL,
628 pub FastIoUnlockAllByKey: PFAST_IO_UNLOCK_ALL_BY_KEY,
629 pub FastIoDeviceControl: PFAST_IO_DEVICE_CONTROL,
630 pub AcquireFileForNtCreateSection: PFAST_IO_ACQUIRE_FILE,
631 pub ReleaseFileForNtCreateSection: PFAST_IO_RELEASE_FILE,
632 pub FastIoDetachDevice: PFAST_IO_DETACH_DEVICE,
633 pub FastIoQueryNetworkOpenInfo: PFAST_IO_QUERY_NETWORK_OPEN_INFO,
634 pub AcquireForModWrite: PFAST_IO_ACQUIRE_FOR_MOD_WRITE,
635 pub MdlRead: PFAST_IO_MDL_READ,
636 pub MdlReadComplete: PFAST_IO_MDL_READ_COMPLETE,
637 pub PrepareMdlWrite: PFAST_IO_PREPARE_MDL_WRITE,
638 pub MdlWriteComplete: PFAST_IO_MDL_WRITE_COMPLETE,
639 pub FastIoReadCompressed: PFAST_IO_READ_COMPRESSED,
640 pub FastIoWriteCompressed: PFAST_IO_WRITE_COMPRESSED,
641 pub MdlReadCompleteCompressed: PFAST_IO_MDL_READ_COMPLETE_COMPRESSED,
642 pub MdlWriteCompleteCompressed: PFAST_IO_MDL_WRITE_COMPLETE_COMPRESSED,
643 pub FastIoQueryOpen: PFAST_IO_QUERY_OPEN,
644 pub ReleaseForModWrite: PFAST_IO_RELEASE_FOR_MOD_WRITE,
645 pub AcquireForCcFlush: PFAST_IO_ACQUIRE_FOR_CCFLUSH,
646 pub ReleaseForCcFlush: PFAST_IO_RELEASE_FOR_CCFLUSH,
647 }
648 #[cfg(feature = "Win32_Foundation")]
649 impl ::core::marker::Copy for FAST_IO_DISPATCH {}
650 #[cfg(feature = "Win32_Foundation")]
651 impl ::core::clone::Clone for FAST_IO_DISPATCH {
652 fn clone(&self) -> Self {
653 *self
654 }
655 }
656 #[repr(C)]
657 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"]
658 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
659 pub struct FAST_MUTEX {
660 pub Count: i32,
661 pub Owner: *mut ::core::ffi::c_void,
662 pub Contention: u32,
663 pub Event: KEVENT,
664 pub OldIrql: u32,
665 }
666 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
667 impl ::core::marker::Copy for FAST_MUTEX {}
668 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
669 impl ::core::clone::Clone for FAST_MUTEX {
670 fn clone(&self) -> Self {
671 *self
672 }
673 }
674 #[repr(C)]
675 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
676 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
677 pub struct FILE_OBJECT {
678 pub Type: i16,
679 pub Size: i16,
680 pub DeviceObject: *mut DEVICE_OBJECT,
681 pub Vpb: *mut VPB,
682 pub FsContext: *mut ::core::ffi::c_void,
683 pub FsContext2: *mut ::core::ffi::c_void,
684 pub SectionObjectPointer: *mut SECTION_OBJECT_POINTERS,
685 pub PrivateCacheMap: *mut ::core::ffi::c_void,
686 pub FinalStatus: super::super::Win32::Foundation::NTSTATUS,
687 pub RelatedFileObject: *mut FILE_OBJECT,
688 pub LockOperation: super::super::Win32::Foundation::BOOLEAN,
689 pub DeletePending: super::super::Win32::Foundation::BOOLEAN,
690 pub ReadAccess: super::super::Win32::Foundation::BOOLEAN,
691 pub WriteAccess: super::super::Win32::Foundation::BOOLEAN,
692 pub DeleteAccess: super::super::Win32::Foundation::BOOLEAN,
693 pub SharedRead: super::super::Win32::Foundation::BOOLEAN,
694 pub SharedWrite: super::super::Win32::Foundation::BOOLEAN,
695 pub SharedDelete: super::super::Win32::Foundation::BOOLEAN,
696 pub Flags: u32,
697 pub FileName: super::super::Win32::Foundation::UNICODE_STRING,
698 pub CurrentByteOffset: i64,
699 pub Waiters: u32,
700 pub Busy: u32,
701 pub LastLock: *mut ::core::ffi::c_void,
702 pub Lock: KEVENT,
703 pub Event: KEVENT,
704 pub CompletionContext: *mut IO_COMPLETION_CONTEXT,
705 pub IrpListLock: usize,
706 pub IrpList: super::super::Win32::System::Kernel::LIST_ENTRY,
707 pub FileObjectExtension: *mut ::core::ffi::c_void,
708 }
709 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
710 impl ::core::marker::Copy for FILE_OBJECT {}
711 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
712 impl ::core::clone::Clone for FILE_OBJECT {
713 fn clone(&self) -> Self {
714 *self
715 }
716 }
717 pub type IOMMU_DMA_DEVICE = isize;
718 pub type IOMMU_DMA_DOMAIN = isize;
719 #[repr(C)]
720 pub struct IO_COMPLETION_CONTEXT {
721 pub Port: *mut ::core::ffi::c_void,
722 pub Key: *mut ::core::ffi::c_void,
723 pub UsageCount: isize,
724 }
725 impl ::core::marker::Copy for IO_COMPLETION_CONTEXT {}
726 impl ::core::clone::Clone for IO_COMPLETION_CONTEXT {
727 fn clone(&self) -> Self {
728 *self
729 }
730 }
731 #[repr(C)]
732 #[doc = "Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`"]
733 #[cfg(all(feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security"))]
734 pub struct IO_SECURITY_CONTEXT {
735 pub SecurityQos: *mut super::super::Win32::Security::SECURITY_QUALITY_OF_SERVICE,
736 pub AccessState: *mut ACCESS_STATE,
737 pub DesiredAccess: u32,
738 pub FullCreateOptions: u32,
739 }
740 #[cfg(all(feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security"))]
741 impl ::core::marker::Copy for IO_SECURITY_CONTEXT {}
742 #[cfg(all(feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security"))]
743 impl ::core::clone::Clone for IO_SECURITY_CONTEXT {
744 fn clone(&self) -> Self {
745 *self
746 }
747 }
748 #[repr(C)]
749 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
750 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
751 pub struct IO_STACK_LOCATION {
752 pub MajorFunction: u8,
753 pub MinorFunction: u8,
754 pub Flags: u8,
755 pub Control: u8,
756 pub Parameters: IO_STACK_LOCATION_0,
757 pub DeviceObject: *mut DEVICE_OBJECT,
758 pub FileObject: *mut FILE_OBJECT,
759 pub CompletionRoutine: PIO_COMPLETION_ROUTINE,
760 pub Context: *mut ::core::ffi::c_void,
761 }
762 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
763 impl ::core::marker::Copy for IO_STACK_LOCATION {}
764 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
765 impl ::core::clone::Clone for IO_STACK_LOCATION {
766 fn clone(&self) -> Self {
767 *self
768 }
769 }
770 #[repr(C)]
771 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
772 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
773 pub union IO_STACK_LOCATION_0 {
774 pub Create: IO_STACK_LOCATION_0_2,
775 pub CreatePipe: IO_STACK_LOCATION_0_1,
776 pub CreateMailslot: IO_STACK_LOCATION_0_0,
777 pub Read: IO_STACK_LOCATION_0_25,
778 pub Write: IO_STACK_LOCATION_0_38,
779 pub QueryDirectory: IO_STACK_LOCATION_0_16,
780 pub NotifyDirectory: IO_STACK_LOCATION_0_10,
781 pub NotifyDirectoryEx: IO_STACK_LOCATION_0_9,
782 pub QueryFile: IO_STACK_LOCATION_0_18,
783 pub SetFile: IO_STACK_LOCATION_0_28,
784 pub QueryEa: IO_STACK_LOCATION_0_17,
785 pub SetEa: IO_STACK_LOCATION_0_27,
786 pub QueryVolume: IO_STACK_LOCATION_0_23,
787 pub SetVolume: IO_STACK_LOCATION_0_32,
788 pub FileSystemControl: IO_STACK_LOCATION_0_5,
789 pub LockControl: IO_STACK_LOCATION_0_7,
790 pub DeviceIoControl: IO_STACK_LOCATION_0_4,
791 pub QuerySecurity: IO_STACK_LOCATION_0_22,
792 pub SetSecurity: IO_STACK_LOCATION_0_31,
793 pub MountVolume: IO_STACK_LOCATION_0_8,
794 pub VerifyVolume: IO_STACK_LOCATION_0_35,
795 pub Scsi: IO_STACK_LOCATION_0_26,
796 pub QueryQuota: IO_STACK_LOCATION_0_21,
797 pub SetQuota: IO_STACK_LOCATION_0_30,
798 pub QueryDeviceRelations: IO_STACK_LOCATION_0_14,
799 pub QueryInterface: IO_STACK_LOCATION_0_20,
800 pub DeviceCapabilities: IO_STACK_LOCATION_0_3,
801 pub FilterResourceRequirements: IO_STACK_LOCATION_0_6,
802 pub ReadWriteConfig: IO_STACK_LOCATION_0_24,
803 pub SetLock: IO_STACK_LOCATION_0_29,
804 pub QueryId: IO_STACK_LOCATION_0_19,
805 pub QueryDeviceText: IO_STACK_LOCATION_0_15,
806 pub UsageNotification: IO_STACK_LOCATION_0_34,
807 pub WaitWake: IO_STACK_LOCATION_0_37,
808 pub PowerSequence: IO_STACK_LOCATION_0_12,
809 pub Power: IO_STACK_LOCATION_0_13,
810 pub StartDevice: IO_STACK_LOCATION_0_33,
811 pub WMI: IO_STACK_LOCATION_0_36,
812 pub Others: IO_STACK_LOCATION_0_11,
813 }
814 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
815 impl ::core::marker::Copy for IO_STACK_LOCATION_0 {}
816 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
817 impl ::core::clone::Clone for IO_STACK_LOCATION_0 {
818 fn clone(&self) -> Self {
819 *self
820 }
821 }
822 #[repr(C)]
823 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
824 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
825 pub struct IO_STACK_LOCATION_0_0 {
826 pub SecurityContext: *mut IO_SECURITY_CONTEXT,
827 pub Options: u32,
828 pub Reserved: u16,
829 pub ShareAccess: u16,
830 pub Parameters: *mut super::System::SystemServices::MAILSLOT_CREATE_PARAMETERS,
831 }
832 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
833 impl ::core::marker::Copy for IO_STACK_LOCATION_0_0 {}
834 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
835 impl ::core::clone::Clone for IO_STACK_LOCATION_0_0 {
836 fn clone(&self) -> Self {
837 *self
838 }
839 }
840 #[repr(C)]
841 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
842 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
843 pub struct IO_STACK_LOCATION_0_1 {
844 pub SecurityContext: *mut IO_SECURITY_CONTEXT,
845 pub Options: u32,
846 pub Reserved: u16,
847 pub ShareAccess: u16,
848 pub Parameters: *mut super::System::SystemServices::NAMED_PIPE_CREATE_PARAMETERS,
849 }
850 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
851 impl ::core::marker::Copy for IO_STACK_LOCATION_0_1 {}
852 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
853 impl ::core::clone::Clone for IO_STACK_LOCATION_0_1 {
854 fn clone(&self) -> Self {
855 *self
856 }
857 }
858 #[repr(C)]
859 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
860 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
861 pub struct IO_STACK_LOCATION_0_2 {
862 pub SecurityContext: *mut IO_SECURITY_CONTEXT,
863 pub Options: u32,
864 pub FileAttributes: u16,
865 pub ShareAccess: u16,
866 pub EaLength: u32,
867 }
868 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
869 impl ::core::marker::Copy for IO_STACK_LOCATION_0_2 {}
870 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
871 impl ::core::clone::Clone for IO_STACK_LOCATION_0_2 {
872 fn clone(&self) -> Self {
873 *self
874 }
875 }
876 #[repr(C)]
877 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
878 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
879 pub struct IO_STACK_LOCATION_0_3 {
880 pub Capabilities: *mut super::System::SystemServices::DEVICE_CAPABILITIES,
881 }
882 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
883 impl ::core::marker::Copy for IO_STACK_LOCATION_0_3 {}
884 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
885 impl ::core::clone::Clone for IO_STACK_LOCATION_0_3 {
886 fn clone(&self) -> Self {
887 *self
888 }
889 }
890 #[repr(C)]
891 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
892 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
893 pub struct IO_STACK_LOCATION_0_4 {
894 pub OutputBufferLength: u32,
895 pub InputBufferLength: u32,
896 pub IoControlCode: u32,
897 pub Type3InputBuffer: *mut ::core::ffi::c_void,
898 }
899 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
900 impl ::core::marker::Copy for IO_STACK_LOCATION_0_4 {}
901 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
902 impl ::core::clone::Clone for IO_STACK_LOCATION_0_4 {
903 fn clone(&self) -> Self {
904 *self
905 }
906 }
907 #[repr(C)]
908 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
909 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
910 pub struct IO_STACK_LOCATION_0_5 {
911 pub OutputBufferLength: u32,
912 pub InputBufferLength: u32,
913 pub FsControlCode: u32,
914 pub Type3InputBuffer: *mut ::core::ffi::c_void,
915 }
916 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
917 impl ::core::marker::Copy for IO_STACK_LOCATION_0_5 {}
918 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
919 impl ::core::clone::Clone for IO_STACK_LOCATION_0_5 {
920 fn clone(&self) -> Self {
921 *self
922 }
923 }
924 #[repr(C)]
925 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
926 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
927 pub struct IO_STACK_LOCATION_0_6 {
928 pub IoResourceRequirementList: *mut super::System::SystemServices::IO_RESOURCE_REQUIREMENTS_LIST,
929 }
930 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
931 impl ::core::marker::Copy for IO_STACK_LOCATION_0_6 {}
932 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
933 impl ::core::clone::Clone for IO_STACK_LOCATION_0_6 {
934 fn clone(&self) -> Self {
935 *self
936 }
937 }
938 #[repr(C, packed(4))]
939 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
940 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
941 pub struct IO_STACK_LOCATION_0_7 {
942 pub Length: *mut i64,
943 pub Key: u32,
944 pub ByteOffset: i64,
945 }
946 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
947 impl ::core::marker::Copy for IO_STACK_LOCATION_0_7 {}
948 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
949 impl ::core::clone::Clone for IO_STACK_LOCATION_0_7 {
950 fn clone(&self) -> Self {
951 *self
952 }
953 }
954 #[repr(C)]
955 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
956 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
957 pub struct IO_STACK_LOCATION_0_8 {
958 pub Vpb: *mut VPB,
959 pub DeviceObject: *mut DEVICE_OBJECT,
960 }
961 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
962 impl ::core::marker::Copy for IO_STACK_LOCATION_0_8 {}
963 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
964 impl ::core::clone::Clone for IO_STACK_LOCATION_0_8 {
965 fn clone(&self) -> Self {
966 *self
967 }
968 }
969 #[repr(C)]
970 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
971 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
972 pub struct IO_STACK_LOCATION_0_9 {
973 pub Length: u32,
974 pub CompletionFilter: u32,
975 pub DirectoryNotifyInformationClass: super::System::SystemServices::DIRECTORY_NOTIFY_INFORMATION_CLASS,
976 }
977 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
978 impl ::core::marker::Copy for IO_STACK_LOCATION_0_9 {}
979 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
980 impl ::core::clone::Clone for IO_STACK_LOCATION_0_9 {
981 fn clone(&self) -> Self {
982 *self
983 }
984 }
985 #[repr(C)]
986 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
987 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
988 pub struct IO_STACK_LOCATION_0_10 {
989 pub Length: u32,
990 pub CompletionFilter: u32,
991 }
992 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
993 impl ::core::marker::Copy for IO_STACK_LOCATION_0_10 {}
994 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
995 impl ::core::clone::Clone for IO_STACK_LOCATION_0_10 {
996 fn clone(&self) -> Self {
997 *self
998 }
999 }
1000 #[repr(C)]
1001 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
1002 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1003 pub struct IO_STACK_LOCATION_0_11 {
1004 pub Argument1: *mut ::core::ffi::c_void,
1005 pub Argument2: *mut ::core::ffi::c_void,
1006 pub Argument3: *mut ::core::ffi::c_void,
1007 pub Argument4: *mut ::core::ffi::c_void,
1008 }
1009 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1010 impl ::core::marker::Copy for IO_STACK_LOCATION_0_11 {}
1011 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1012 impl ::core::clone::Clone for IO_STACK_LOCATION_0_11 {
1013 fn clone(&self) -> Self {
1014 *self
1015 }
1016 }
1017 #[repr(C)]
1018 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
1019 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1020 pub struct IO_STACK_LOCATION_0_12 {
1021 pub PowerSequence: *mut super::System::SystemServices::POWER_SEQUENCE,
1022 }
1023 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1024 impl ::core::marker::Copy for IO_STACK_LOCATION_0_12 {}
1025 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1026 impl ::core::clone::Clone for IO_STACK_LOCATION_0_12 {
1027 fn clone(&self) -> Self {
1028 *self
1029 }
1030 }
1031 #[repr(C)]
1032 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
1033 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1034 pub struct IO_STACK_LOCATION_0_13 {
1035 pub Anonymous: IO_STACK_LOCATION_0_13_0,
1036 pub Type: super::System::SystemServices::POWER_STATE_TYPE,
1037 pub State: super::System::SystemServices::POWER_STATE,
1038 pub ShutdownType: super::super::Win32::System::Power::POWER_ACTION,
1039 }
1040 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1041 impl ::core::marker::Copy for IO_STACK_LOCATION_0_13 {}
1042 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1043 impl ::core::clone::Clone for IO_STACK_LOCATION_0_13 {
1044 fn clone(&self) -> Self {
1045 *self
1046 }
1047 }
1048 #[repr(C)]
1049 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
1050 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1051 pub union IO_STACK_LOCATION_0_13_0 {
1052 pub SystemContext: u32,
1053 pub SystemPowerStateContext: super::System::SystemServices::SYSTEM_POWER_STATE_CONTEXT,
1054 }
1055 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1056 impl ::core::marker::Copy for IO_STACK_LOCATION_0_13_0 {}
1057 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1058 impl ::core::clone::Clone for IO_STACK_LOCATION_0_13_0 {
1059 fn clone(&self) -> Self {
1060 *self
1061 }
1062 }
1063 #[repr(C)]
1064 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
1065 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1066 pub struct IO_STACK_LOCATION_0_14 {
1067 pub Type: super::System::SystemServices::DEVICE_RELATION_TYPE,
1068 }
1069 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1070 impl ::core::marker::Copy for IO_STACK_LOCATION_0_14 {}
1071 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1072 impl ::core::clone::Clone for IO_STACK_LOCATION_0_14 {
1073 fn clone(&self) -> Self {
1074 *self
1075 }
1076 }
1077 #[repr(C)]
1078 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
1079 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1080 pub struct IO_STACK_LOCATION_0_15 {
1081 pub DeviceTextType: super::System::SystemServices::DEVICE_TEXT_TYPE,
1082 pub LocaleId: u32,
1083 }
1084 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1085 impl ::core::marker::Copy for IO_STACK_LOCATION_0_15 {}
1086 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1087 impl ::core::clone::Clone for IO_STACK_LOCATION_0_15 {
1088 fn clone(&self) -> Self {
1089 *self
1090 }
1091 }
1092 #[repr(C)]
1093 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
1094 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1095 pub struct IO_STACK_LOCATION_0_16 {
1096 pub Length: u32,
1097 pub FileName: *mut super::super::Win32::Foundation::UNICODE_STRING,
1098 pub FileInformationClass: super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS,
1099 pub FileIndex: u32,
1100 }
1101 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1102 impl ::core::marker::Copy for IO_STACK_LOCATION_0_16 {}
1103 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1104 impl ::core::clone::Clone for IO_STACK_LOCATION_0_16 {
1105 fn clone(&self) -> Self {
1106 *self
1107 }
1108 }
1109 #[repr(C)]
1110 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
1111 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1112 pub struct IO_STACK_LOCATION_0_17 {
1113 pub Length: u32,
1114 pub EaList: *mut ::core::ffi::c_void,
1115 pub EaListLength: u32,
1116 pub EaIndex: u32,
1117 }
1118 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1119 impl ::core::marker::Copy for IO_STACK_LOCATION_0_17 {}
1120 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1121 impl ::core::clone::Clone for IO_STACK_LOCATION_0_17 {
1122 fn clone(&self) -> Self {
1123 *self
1124 }
1125 }
1126 #[repr(C)]
1127 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
1128 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1129 pub struct IO_STACK_LOCATION_0_18 {
1130 pub Length: u32,
1131 pub FileInformationClass: super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS,
1132 }
1133 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1134 impl ::core::marker::Copy for IO_STACK_LOCATION_0_18 {}
1135 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1136 impl ::core::clone::Clone for IO_STACK_LOCATION_0_18 {
1137 fn clone(&self) -> Self {
1138 *self
1139 }
1140 }
1141 #[repr(C)]
1142 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
1143 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1144 pub struct IO_STACK_LOCATION_0_19 {
1145 pub IdType: super::System::SystemServices::BUS_QUERY_ID_TYPE,
1146 }
1147 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1148 impl ::core::marker::Copy for IO_STACK_LOCATION_0_19 {}
1149 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1150 impl ::core::clone::Clone for IO_STACK_LOCATION_0_19 {
1151 fn clone(&self) -> Self {
1152 *self
1153 }
1154 }
1155 #[repr(C)]
1156 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
1157 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1158 pub struct IO_STACK_LOCATION_0_20 {
1159 pub InterfaceType: *const ::windows_sys::core::GUID,
1160 pub Size: u16,
1161 pub Version: u16,
1162 pub Interface: *mut super::System::SystemServices::INTERFACE,
1163 pub InterfaceSpecificData: *mut ::core::ffi::c_void,
1164 }
1165 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1166 impl ::core::marker::Copy for IO_STACK_LOCATION_0_20 {}
1167 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1168 impl ::core::clone::Clone for IO_STACK_LOCATION_0_20 {
1169 fn clone(&self) -> Self {
1170 *self
1171 }
1172 }
1173 #[repr(C)]
1174 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
1175 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1176 pub struct IO_STACK_LOCATION_0_21 {
1177 pub Length: u32,
1178 pub StartSid: super::super::Win32::Foundation::PSID,
1179 pub SidList: *mut super::Storage::FileSystem::FILE_GET_QUOTA_INFORMATION,
1180 pub SidListLength: u32,
1181 }
1182 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1183 impl ::core::marker::Copy for IO_STACK_LOCATION_0_21 {}
1184 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1185 impl ::core::clone::Clone for IO_STACK_LOCATION_0_21 {
1186 fn clone(&self) -> Self {
1187 *self
1188 }
1189 }
1190 #[repr(C)]
1191 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
1192 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1193 pub struct IO_STACK_LOCATION_0_22 {
1194 pub SecurityInformation: u32,
1195 pub Length: u32,
1196 }
1197 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1198 impl ::core::marker::Copy for IO_STACK_LOCATION_0_22 {}
1199 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1200 impl ::core::clone::Clone for IO_STACK_LOCATION_0_22 {
1201 fn clone(&self) -> Self {
1202 *self
1203 }
1204 }
1205 #[repr(C)]
1206 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
1207 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1208 pub struct IO_STACK_LOCATION_0_23 {
1209 pub Length: u32,
1210 pub FsInformationClass: super::Storage::FileSystem::FS_INFORMATION_CLASS,
1211 }
1212 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1213 impl ::core::marker::Copy for IO_STACK_LOCATION_0_23 {}
1214 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1215 impl ::core::clone::Clone for IO_STACK_LOCATION_0_23 {
1216 fn clone(&self) -> Self {
1217 *self
1218 }
1219 }
1220 #[repr(C)]
1221 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
1222 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1223 pub struct IO_STACK_LOCATION_0_24 {
1224 pub WhichSpace: u32,
1225 pub Buffer: *mut ::core::ffi::c_void,
1226 pub Offset: u32,
1227 pub Length: u32,
1228 }
1229 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1230 impl ::core::marker::Copy for IO_STACK_LOCATION_0_24 {}
1231 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1232 impl ::core::clone::Clone for IO_STACK_LOCATION_0_24 {
1233 fn clone(&self) -> Self {
1234 *self
1235 }
1236 }
1237 #[repr(C, packed(4))]
1238 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
1239 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1240 pub struct IO_STACK_LOCATION_0_25 {
1241 pub Length: u32,
1242 pub Key: u32,
1243 pub ByteOffset: i64,
1244 }
1245 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1246 impl ::core::marker::Copy for IO_STACK_LOCATION_0_25 {}
1247 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1248 impl ::core::clone::Clone for IO_STACK_LOCATION_0_25 {
1249 fn clone(&self) -> Self {
1250 *self
1251 }
1252 }
1253 #[repr(C)]
1254 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
1255 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1256 pub struct IO_STACK_LOCATION_0_26 {
1257 pub Srb: *mut _SCSI_REQUEST_BLOCK,
1258 }
1259 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1260 impl ::core::marker::Copy for IO_STACK_LOCATION_0_26 {}
1261 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1262 impl ::core::clone::Clone for IO_STACK_LOCATION_0_26 {
1263 fn clone(&self) -> Self {
1264 *self
1265 }
1266 }
1267 #[repr(C)]
1268 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
1269 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1270 pub struct IO_STACK_LOCATION_0_27 {
1271 pub Length: u32,
1272 }
1273 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1274 impl ::core::marker::Copy for IO_STACK_LOCATION_0_27 {}
1275 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1276 impl ::core::clone::Clone for IO_STACK_LOCATION_0_27 {
1277 fn clone(&self) -> Self {
1278 *self
1279 }
1280 }
1281 #[repr(C)]
1282 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
1283 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1284 pub struct IO_STACK_LOCATION_0_28 {
1285 pub Length: u32,
1286 pub FileInformationClass: super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS,
1287 pub FileObject: *mut FILE_OBJECT,
1288 pub Anonymous: IO_STACK_LOCATION_0_28_0,
1289 }
1290 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1291 impl ::core::marker::Copy for IO_STACK_LOCATION_0_28 {}
1292 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1293 impl ::core::clone::Clone for IO_STACK_LOCATION_0_28 {
1294 fn clone(&self) -> Self {
1295 *self
1296 }
1297 }
1298 #[repr(C)]
1299 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
1300 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1301 pub union IO_STACK_LOCATION_0_28_0 {
1302 pub Anonymous: IO_STACK_LOCATION_0_28_0_0,
1303 pub ClusterCount: u32,
1304 pub DeleteHandle: super::super::Win32::Foundation::HANDLE,
1305 }
1306 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1307 impl ::core::marker::Copy for IO_STACK_LOCATION_0_28_0 {}
1308 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1309 impl ::core::clone::Clone for IO_STACK_LOCATION_0_28_0 {
1310 fn clone(&self) -> Self {
1311 *self
1312 }
1313 }
1314 #[repr(C)]
1315 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
1316 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1317 pub struct IO_STACK_LOCATION_0_28_0_0 {
1318 pub ReplaceIfExists: super::super::Win32::Foundation::BOOLEAN,
1319 pub AdvanceOnly: super::super::Win32::Foundation::BOOLEAN,
1320 }
1321 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1322 impl ::core::marker::Copy for IO_STACK_LOCATION_0_28_0_0 {}
1323 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1324 impl ::core::clone::Clone for IO_STACK_LOCATION_0_28_0_0 {
1325 fn clone(&self) -> Self {
1326 *self
1327 }
1328 }
1329 #[repr(C)]
1330 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
1331 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1332 pub struct IO_STACK_LOCATION_0_29 {
1333 pub Lock: super::super::Win32::Foundation::BOOLEAN,
1334 }
1335 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1336 impl ::core::marker::Copy for IO_STACK_LOCATION_0_29 {}
1337 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1338 impl ::core::clone::Clone for IO_STACK_LOCATION_0_29 {
1339 fn clone(&self) -> Self {
1340 *self
1341 }
1342 }
1343 #[repr(C)]
1344 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
1345 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1346 pub struct IO_STACK_LOCATION_0_30 {
1347 pub Length: u32,
1348 }
1349 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1350 impl ::core::marker::Copy for IO_STACK_LOCATION_0_30 {}
1351 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1352 impl ::core::clone::Clone for IO_STACK_LOCATION_0_30 {
1353 fn clone(&self) -> Self {
1354 *self
1355 }
1356 }
1357 #[repr(C)]
1358 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
1359 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1360 pub struct IO_STACK_LOCATION_0_31 {
1361 pub SecurityInformation: u32,
1362 pub SecurityDescriptor: super::super::Win32::Security::PSECURITY_DESCRIPTOR,
1363 }
1364 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1365 impl ::core::marker::Copy for IO_STACK_LOCATION_0_31 {}
1366 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1367 impl ::core::clone::Clone for IO_STACK_LOCATION_0_31 {
1368 fn clone(&self) -> Self {
1369 *self
1370 }
1371 }
1372 #[repr(C)]
1373 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
1374 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1375 pub struct IO_STACK_LOCATION_0_32 {
1376 pub Length: u32,
1377 pub FsInformationClass: super::Storage::FileSystem::FS_INFORMATION_CLASS,
1378 }
1379 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1380 impl ::core::marker::Copy for IO_STACK_LOCATION_0_32 {}
1381 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1382 impl ::core::clone::Clone for IO_STACK_LOCATION_0_32 {
1383 fn clone(&self) -> Self {
1384 *self
1385 }
1386 }
1387 #[repr(C)]
1388 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
1389 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1390 pub struct IO_STACK_LOCATION_0_33 {
1391 pub AllocatedResources: *mut super::System::SystemServices::CM_RESOURCE_LIST,
1392 pub AllocatedResourcesTranslated: *mut super::System::SystemServices::CM_RESOURCE_LIST,
1393 }
1394 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1395 impl ::core::marker::Copy for IO_STACK_LOCATION_0_33 {}
1396 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1397 impl ::core::clone::Clone for IO_STACK_LOCATION_0_33 {
1398 fn clone(&self) -> Self {
1399 *self
1400 }
1401 }
1402 #[repr(C)]
1403 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
1404 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1405 pub struct IO_STACK_LOCATION_0_34 {
1406 pub InPath: super::super::Win32::Foundation::BOOLEAN,
1407 pub Reserved: [super::super::Win32::Foundation::BOOLEAN; 3],
1408 pub Type: super::System::SystemServices::DEVICE_USAGE_NOTIFICATION_TYPE,
1409 }
1410 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1411 impl ::core::marker::Copy for IO_STACK_LOCATION_0_34 {}
1412 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1413 impl ::core::clone::Clone for IO_STACK_LOCATION_0_34 {
1414 fn clone(&self) -> Self {
1415 *self
1416 }
1417 }
1418 #[repr(C)]
1419 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
1420 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1421 pub struct IO_STACK_LOCATION_0_35 {
1422 pub Vpb: *mut VPB,
1423 pub DeviceObject: *mut DEVICE_OBJECT,
1424 }
1425 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1426 impl ::core::marker::Copy for IO_STACK_LOCATION_0_35 {}
1427 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1428 impl ::core::clone::Clone for IO_STACK_LOCATION_0_35 {
1429 fn clone(&self) -> Self {
1430 *self
1431 }
1432 }
1433 #[repr(C)]
1434 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
1435 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1436 pub struct IO_STACK_LOCATION_0_36 {
1437 pub ProviderId: usize,
1438 pub DataPath: *mut ::core::ffi::c_void,
1439 pub BufferSize: u32,
1440 pub Buffer: *mut ::core::ffi::c_void,
1441 }
1442 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1443 impl ::core::marker::Copy for IO_STACK_LOCATION_0_36 {}
1444 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1445 impl ::core::clone::Clone for IO_STACK_LOCATION_0_36 {
1446 fn clone(&self) -> Self {
1447 *self
1448 }
1449 }
1450 #[repr(C)]
1451 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
1452 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1453 pub struct IO_STACK_LOCATION_0_37 {
1454 pub PowerState: super::super::Win32::System::Power::SYSTEM_POWER_STATE,
1455 }
1456 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1457 impl ::core::marker::Copy for IO_STACK_LOCATION_0_37 {}
1458 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1459 impl ::core::clone::Clone for IO_STACK_LOCATION_0_37 {
1460 fn clone(&self) -> Self {
1461 *self
1462 }
1463 }
1464 #[repr(C, packed(4))]
1465 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
1466 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1467 pub struct IO_STACK_LOCATION_0_38 {
1468 pub Length: u32,
1469 pub Key: u32,
1470 pub ByteOffset: i64,
1471 }
1472 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1473 impl ::core::marker::Copy for IO_STACK_LOCATION_0_38 {}
1474 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1475 impl ::core::clone::Clone for IO_STACK_LOCATION_0_38 {
1476 fn clone(&self) -> Self {
1477 *self
1478 }
1479 }
1480 #[repr(C)]
1481 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
1482 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1483 pub struct IRP {
1484 pub Type: i16,
1485 pub Size: u16,
1486 pub MdlAddress: *mut MDL,
1487 pub Flags: u32,
1488 pub AssociatedIrp: IRP_1,
1489 pub ThreadListEntry: super::super::Win32::System::Kernel::LIST_ENTRY,
1490 pub IoStatus: super::super::Win32::System::IO::IO_STATUS_BLOCK,
1491 pub RequestorMode: i8,
1492 pub PendingReturned: super::super::Win32::Foundation::BOOLEAN,
1493 pub StackCount: u8,
1494 pub CurrentLocation: u8,
1495 pub Cancel: super::super::Win32::Foundation::BOOLEAN,
1496 pub CancelIrql: u8,
1497 pub ApcEnvironment: i8,
1498 pub AllocationFlags: u8,
1499 pub Anonymous: IRP_0,
1500 pub UserEvent: *mut KEVENT,
1501 pub Overlay: IRP_2,
1502 pub CancelRoutine: PDRIVER_CANCEL,
1503 pub UserBuffer: *mut ::core::ffi::c_void,
1504 pub Tail: IRP_3,
1505 }
1506 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1507 impl ::core::marker::Copy for IRP {}
1508 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1509 impl ::core::clone::Clone for IRP {
1510 fn clone(&self) -> Self {
1511 *self
1512 }
1513 }
1514 #[repr(C)]
1515 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
1516 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1517 pub union IRP_0 {
1518 pub UserIosb: *mut super::super::Win32::System::IO::IO_STATUS_BLOCK,
1519 pub IoRingContext: *mut ::core::ffi::c_void,
1520 }
1521 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1522 impl ::core::marker::Copy for IRP_0 {}
1523 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1524 impl ::core::clone::Clone for IRP_0 {
1525 fn clone(&self) -> Self {
1526 *self
1527 }
1528 }
1529 #[repr(C)]
1530 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
1531 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1532 pub union IRP_1 {
1533 pub MasterIrp: *mut IRP,
1534 pub IrpCount: i32,
1535 pub SystemBuffer: *mut ::core::ffi::c_void,
1536 }
1537 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1538 impl ::core::marker::Copy for IRP_1 {}
1539 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1540 impl ::core::clone::Clone for IRP_1 {
1541 fn clone(&self) -> Self {
1542 *self
1543 }
1544 }
1545 #[repr(C)]
1546 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
1547 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1548 pub union IRP_2 {
1549 pub AsynchronousParameters: IRP_2_0,
1550 pub AllocationSize: i64,
1551 }
1552 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1553 impl ::core::marker::Copy for IRP_2 {}
1554 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1555 impl ::core::clone::Clone for IRP_2 {
1556 fn clone(&self) -> Self {
1557 *self
1558 }
1559 }
1560 #[repr(C)]
1561 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
1562 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1563 pub struct IRP_2_0 {
1564 pub Anonymous1: IRP_2_0_0,
1565 pub Anonymous2: IRP_2_0_1,
1566 }
1567 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1568 impl ::core::marker::Copy for IRP_2_0 {}
1569 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1570 impl ::core::clone::Clone for IRP_2_0 {
1571 fn clone(&self) -> Self {
1572 *self
1573 }
1574 }
1575 #[repr(C)]
1576 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
1577 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1578 pub union IRP_2_0_0 {
1579 pub UserApcRoutine: super::super::Win32::System::IO::PIO_APC_ROUTINE,
1580 pub IssuingProcess: *mut ::core::ffi::c_void,
1581 }
1582 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1583 impl ::core::marker::Copy for IRP_2_0_0 {}
1584 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1585 impl ::core::clone::Clone for IRP_2_0_0 {
1586 fn clone(&self) -> Self {
1587 *self
1588 }
1589 }
1590 #[repr(C)]
1591 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
1592 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1593 pub union IRP_2_0_1 {
1594 pub UserApcContext: *mut ::core::ffi::c_void,
1595 pub IoRing: *mut _IORING_OBJECT,
1596 }
1597 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1598 impl ::core::marker::Copy for IRP_2_0_1 {}
1599 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1600 impl ::core::clone::Clone for IRP_2_0_1 {
1601 fn clone(&self) -> Self {
1602 *self
1603 }
1604 }
1605 #[repr(C)]
1606 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
1607 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1608 pub union IRP_3 {
1609 pub Overlay: IRP_3_0,
1610 pub Apc: super::System::SystemServices::KAPC,
1611 pub CompletionKey: *mut ::core::ffi::c_void,
1612 }
1613 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1614 impl ::core::marker::Copy for IRP_3 {}
1615 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1616 impl ::core::clone::Clone for IRP_3 {
1617 fn clone(&self) -> Self {
1618 *self
1619 }
1620 }
1621 #[repr(C)]
1622 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
1623 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1624 pub struct IRP_3_0 {
1625 pub Anonymous1: IRP_3_0_0,
1626 pub Thread: PETHREAD,
1627 pub AuxiliaryBuffer: ::windows_sys::core::PSTR,
1628 pub Anonymous2: IRP_3_0_1,
1629 pub OriginalFileObject: *mut FILE_OBJECT,
1630 }
1631 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1632 impl ::core::marker::Copy for IRP_3_0 {}
1633 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1634 impl ::core::clone::Clone for IRP_3_0 {
1635 fn clone(&self) -> Self {
1636 *self
1637 }
1638 }
1639 #[repr(C)]
1640 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
1641 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1642 pub union IRP_3_0_0 {
1643 pub DeviceQueueEntry: super::System::SystemServices::KDEVICE_QUEUE_ENTRY,
1644 pub Anonymous: IRP_3_0_0_0,
1645 }
1646 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1647 impl ::core::marker::Copy for IRP_3_0_0 {}
1648 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1649 impl ::core::clone::Clone for IRP_3_0_0 {
1650 fn clone(&self) -> Self {
1651 *self
1652 }
1653 }
1654 #[repr(C)]
1655 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
1656 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1657 pub struct IRP_3_0_0_0 {
1658 pub DriverContext: [*mut ::core::ffi::c_void; 4],
1659 }
1660 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1661 impl ::core::marker::Copy for IRP_3_0_0_0 {}
1662 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1663 impl ::core::clone::Clone for IRP_3_0_0_0 {
1664 fn clone(&self) -> Self {
1665 *self
1666 }
1667 }
1668 #[repr(C)]
1669 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
1670 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1671 pub struct IRP_3_0_1 {
1672 pub ListEntry: super::super::Win32::System::Kernel::LIST_ENTRY,
1673 pub Anonymous: IRP_3_0_1_0,
1674 }
1675 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1676 impl ::core::marker::Copy for IRP_3_0_1 {}
1677 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1678 impl ::core::clone::Clone for IRP_3_0_1 {
1679 fn clone(&self) -> Self {
1680 *self
1681 }
1682 }
1683 #[repr(C)]
1684 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
1685 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1686 pub union IRP_3_0_1_0 {
1687 pub CurrentStackLocation: *mut IO_STACK_LOCATION,
1688 pub PacketType: u32,
1689 }
1690 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1691 impl ::core::marker::Copy for IRP_3_0_1_0 {}
1692 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
1693 impl ::core::clone::Clone for IRP_3_0_1_0 {
1694 fn clone(&self) -> Self {
1695 *self
1696 }
1697 }
1698 #[repr(C)]
1699 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"]
1700 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
1701 pub struct KDEVICE_QUEUE {
1702 pub Type: i16,
1703 pub Size: i16,
1704 pub DeviceListHead: super::super::Win32::System::Kernel::LIST_ENTRY,
1705 pub Lock: usize,
1706 pub Busy: super::super::Win32::Foundation::BOOLEAN,
1707 }
1708 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
1709 impl ::core::marker::Copy for KDEVICE_QUEUE {}
1710 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
1711 impl ::core::clone::Clone for KDEVICE_QUEUE {
1712 fn clone(&self) -> Self {
1713 *self
1714 }
1715 }
1716 #[repr(C)]
1717 #[doc = "Required features: `\"Win32_System_Kernel\"`"]
1718 #[cfg(feature = "Win32_System_Kernel")]
1719 pub struct KDPC {
1720 pub Anonymous: KDPC_0,
1721 pub DpcListEntry: super::super::Win32::System::Kernel::SINGLE_LIST_ENTRY,
1722 pub ProcessorHistory: usize,
1723 pub DeferredRoutine: PKDEFERRED_ROUTINE,
1724 pub DeferredContext: *mut ::core::ffi::c_void,
1725 pub SystemArgument1: *mut ::core::ffi::c_void,
1726 pub SystemArgument2: *mut ::core::ffi::c_void,
1727 pub DpcData: *mut ::core::ffi::c_void,
1728 }
1729 #[cfg(feature = "Win32_System_Kernel")]
1730 impl ::core::marker::Copy for KDPC {}
1731 #[cfg(feature = "Win32_System_Kernel")]
1732 impl ::core::clone::Clone for KDPC {
1733 fn clone(&self) -> Self {
1734 *self
1735 }
1736 }
1737 #[repr(C)]
1738 #[doc = "Required features: `\"Win32_System_Kernel\"`"]
1739 #[cfg(feature = "Win32_System_Kernel")]
1740 pub union KDPC_0 {
1741 pub TargetInfoAsUlong: u32,
1742 pub Anonymous: KDPC_0_0,
1743 }
1744 #[cfg(feature = "Win32_System_Kernel")]
1745 impl ::core::marker::Copy for KDPC_0 {}
1746 #[cfg(feature = "Win32_System_Kernel")]
1747 impl ::core::clone::Clone for KDPC_0 {
1748 fn clone(&self) -> Self {
1749 *self
1750 }
1751 }
1752 #[repr(C)]
1753 #[doc = "Required features: `\"Win32_System_Kernel\"`"]
1754 #[cfg(feature = "Win32_System_Kernel")]
1755 pub struct KDPC_0_0 {
1756 pub Type: u8,
1757 pub Importance: u8,
1758 pub Number: u16,
1759 }
1760 #[cfg(feature = "Win32_System_Kernel")]
1761 impl ::core::marker::Copy for KDPC_0_0 {}
1762 #[cfg(feature = "Win32_System_Kernel")]
1763 impl ::core::clone::Clone for KDPC_0_0 {
1764 fn clone(&self) -> Self {
1765 *self
1766 }
1767 }
1768 pub type KENLISTMENT = isize;
1769 #[repr(C)]
1770 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"]
1771 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
1772 pub struct KEVENT {
1773 pub Header: DISPATCHER_HEADER,
1774 }
1775 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
1776 impl ::core::marker::Copy for KEVENT {}
1777 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
1778 impl ::core::clone::Clone for KEVENT {
1779 fn clone(&self) -> Self {
1780 *self
1781 }
1782 }
1783 pub type KGDT = isize;
1784 pub type KIDT = isize;
1785 #[repr(C)]
1786 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"]
1787 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
1788 pub struct KMUTANT {
1789 pub Header: DISPATCHER_HEADER,
1790 pub MutantListEntry: super::super::Win32::System::Kernel::LIST_ENTRY,
1791 pub OwnerThread: *mut isize,
1792 pub Anonymous: KMUTANT_0,
1793 pub ApcDisable: u8,
1794 }
1795 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
1796 impl ::core::marker::Copy for KMUTANT {}
1797 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
1798 impl ::core::clone::Clone for KMUTANT {
1799 fn clone(&self) -> Self {
1800 *self
1801 }
1802 }
1803 #[repr(C)]
1804 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"]
1805 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
1806 pub union KMUTANT_0 {
1807 pub MutantFlags: u8,
1808 pub Anonymous: KMUTANT_0_0,
1809 }
1810 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
1811 impl ::core::marker::Copy for KMUTANT_0 {}
1812 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
1813 impl ::core::clone::Clone for KMUTANT_0 {
1814 fn clone(&self) -> Self {
1815 *self
1816 }
1817 }
1818 #[repr(C)]
1819 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"]
1820 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
1821 pub struct KMUTANT_0_0 {
1822 pub _bitfield: u8,
1823 }
1824 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
1825 impl ::core::marker::Copy for KMUTANT_0_0 {}
1826 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
1827 impl ::core::clone::Clone for KMUTANT_0_0 {
1828 fn clone(&self) -> Self {
1829 *self
1830 }
1831 }
1832 pub type KPCR = isize;
1833 pub type KPRCB = isize;
1834 #[repr(C)]
1835 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"]
1836 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
1837 pub struct KQUEUE {
1838 pub Header: DISPATCHER_HEADER,
1839 pub EntryListHead: super::super::Win32::System::Kernel::LIST_ENTRY,
1840 pub CurrentCount: u32,
1841 pub MaximumCount: u32,
1842 pub ThreadListHead: super::super::Win32::System::Kernel::LIST_ENTRY,
1843 }
1844 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
1845 impl ::core::marker::Copy for KQUEUE {}
1846 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
1847 impl ::core::clone::Clone for KQUEUE {
1848 fn clone(&self) -> Self {
1849 *self
1850 }
1851 }
1852 pub type KRESOURCEMANAGER = isize;
1853 pub type KTM = isize;
1854 pub type KTRANSACTION = isize;
1855 pub type KTSS = isize;
1856 #[repr(C)]
1857 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"]
1858 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
1859 pub struct KWAIT_BLOCK {
1860 pub WaitListEntry: super::super::Win32::System::Kernel::LIST_ENTRY,
1861 pub WaitType: u8,
1862 pub BlockState: u8,
1863 pub WaitKey: u16,
1864 pub Anonymous: KWAIT_BLOCK_0,
1865 pub Object: *mut ::core::ffi::c_void,
1866 pub SparePtr: *mut ::core::ffi::c_void,
1867 }
1868 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
1869 impl ::core::marker::Copy for KWAIT_BLOCK {}
1870 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
1871 impl ::core::clone::Clone for KWAIT_BLOCK {
1872 fn clone(&self) -> Self {
1873 *self
1874 }
1875 }
1876 #[repr(C)]
1877 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"]
1878 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
1879 pub union KWAIT_BLOCK_0 {
1880 pub Thread: *mut isize,
1881 pub NotificationQueue: *mut KQUEUE,
1882 pub Dpc: *mut KDPC,
1883 }
1884 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
1885 impl ::core::marker::Copy for KWAIT_BLOCK_0 {}
1886 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
1887 impl ::core::clone::Clone for KWAIT_BLOCK_0 {
1888 fn clone(&self) -> Self {
1889 *self
1890 }
1891 }
1892 pub type LOADER_PARAMETER_BLOCK = isize;
1893 #[repr(C)]
1894 pub struct MDL {
1895 pub Next: *mut MDL,
1896 pub Size: i16,
1897 pub MdlFlags: i16,
1898 pub Process: *mut isize,
1899 pub MappedSystemVa: *mut ::core::ffi::c_void,
1900 pub StartVa: *mut ::core::ffi::c_void,
1901 pub ByteCount: u32,
1902 pub ByteOffset: u32,
1903 }
1904 impl ::core::marker::Copy for MDL {}
1905 impl ::core::clone::Clone for MDL {
1906 fn clone(&self) -> Self {
1907 *self
1908 }
1909 }
1910 #[repr(C)]
1911 #[doc = "Required features: `\"Win32_Foundation\"`"]
1912 #[cfg(feature = "Win32_Foundation")]
1913 pub struct OBJECT_ATTRIBUTES {
1914 pub Length: u32,
1915 pub RootDirectory: super::super::Win32::Foundation::HANDLE,
1916 pub ObjectName: *const super::super::Win32::Foundation::UNICODE_STRING,
1917 pub Attributes: u32,
1918 pub SecurityDescriptor: *const ::core::ffi::c_void,
1919 pub SecurityQualityOfService: *const ::core::ffi::c_void,
1920 }
1921 #[cfg(feature = "Win32_Foundation")]
1922 impl ::core::marker::Copy for OBJECT_ATTRIBUTES {}
1923 #[cfg(feature = "Win32_Foundation")]
1924 impl ::core::clone::Clone for OBJECT_ATTRIBUTES {
1925 fn clone(&self) -> Self {
1926 *self
1927 }
1928 }
1929 #[repr(C)]
1930 pub struct OBJECT_ATTRIBUTES32 {
1931 pub Length: u32,
1932 pub RootDirectory: u32,
1933 pub ObjectName: u32,
1934 pub Attributes: u32,
1935 pub SecurityDescriptor: u32,
1936 pub SecurityQualityOfService: u32,
1937 }
1938 impl ::core::marker::Copy for OBJECT_ATTRIBUTES32 {}
1939 impl ::core::clone::Clone for OBJECT_ATTRIBUTES32 {
1940 fn clone(&self) -> Self {
1941 *self
1942 }
1943 }
1944 #[repr(C)]
1945 pub struct OBJECT_ATTRIBUTES64 {
1946 pub Length: u32,
1947 pub RootDirectory: u64,
1948 pub ObjectName: u64,
1949 pub Attributes: u32,
1950 pub SecurityDescriptor: u64,
1951 pub SecurityQualityOfService: u64,
1952 }
1953 impl ::core::marker::Copy for OBJECT_ATTRIBUTES64 {}
1954 impl ::core::clone::Clone for OBJECT_ATTRIBUTES64 {
1955 fn clone(&self) -> Self {
1956 *self
1957 }
1958 }
1959 #[repr(C)]
1960 #[doc = "Required features: `\"Win32_Foundation\"`"]
1961 #[cfg(feature = "Win32_Foundation")]
1962 pub struct OBJECT_NAME_INFORMATION {
1963 pub Name: super::super::Win32::Foundation::UNICODE_STRING,
1964 }
1965 #[cfg(feature = "Win32_Foundation")]
1966 impl ::core::marker::Copy for OBJECT_NAME_INFORMATION {}
1967 #[cfg(feature = "Win32_Foundation")]
1968 impl ::core::clone::Clone for OBJECT_NAME_INFORMATION {
1969 fn clone(&self) -> Self {
1970 *self
1971 }
1972 }
1973 #[repr(C)]
1974 pub struct OWNER_ENTRY {
1975 pub OwnerThread: usize,
1976 pub Anonymous: OWNER_ENTRY_0,
1977 }
1978 impl ::core::marker::Copy for OWNER_ENTRY {}
1979 impl ::core::clone::Clone for OWNER_ENTRY {
1980 fn clone(&self) -> Self {
1981 *self
1982 }
1983 }
1984 #[repr(C)]
1985 pub union OWNER_ENTRY_0 {
1986 pub Anonymous: OWNER_ENTRY_0_0,
1987 pub TableSize: u32,
1988 }
1989 impl ::core::marker::Copy for OWNER_ENTRY_0 {}
1990 impl ::core::clone::Clone for OWNER_ENTRY_0 {
1991 fn clone(&self) -> Self {
1992 *self
1993 }
1994 }
1995 #[repr(C)]
1996 pub struct OWNER_ENTRY_0_0 {
1997 pub _bitfield: u32,
1998 }
1999 impl ::core::marker::Copy for OWNER_ENTRY_0_0 {}
2000 impl ::core::clone::Clone for OWNER_ENTRY_0_0 {
2001 fn clone(&self) -> Self {
2002 *self
2003 }
2004 }
2005 pub type PAFFINITY_TOKEN = isize;
2006 pub type PBUS_HANDLER = isize;
2007 pub type PCALLBACK_OBJECT = isize;
2008 pub type PDEVICE_HANDLER_OBJECT = isize;
2009 pub type PEJOB = isize;
2010 pub type PEPROCESS = isize;
2011 pub type PESILO = isize;
2012 pub type PETHREAD = isize;
2013 pub type PEX_RUNDOWN_REF_CACHE_AWARE = isize;
2014 pub type PEX_TIMER = isize;
2015 pub type PIO_REMOVE_LOCK_TRACKING_BLOCK = isize;
2016 pub type PIO_TIMER = isize;
2017 pub type PIO_WORKITEM = isize;
2018 pub type PKINTERRUPT = isize;
2019 pub type PKPROCESS = isize;
2020 pub type PKTHREAD = isize;
2021 pub type PNOTIFY_SYNC = isize;
2022 pub type POBJECT_TYPE = isize;
2023 pub type POHANDLE = isize;
2024 pub type PPCW_BUFFER = isize;
2025 pub type PPCW_INSTANCE = isize;
2026 pub type PPCW_REGISTRATION = isize;
2027 pub type PRKPROCESS = isize;
2028 pub type PRKTHREAD = isize;
2029 pub type PSILO_MONITOR = isize;
2030 #[repr(C)]
2031 pub struct RTL_SPLAY_LINKS {
2032 pub Parent: *mut RTL_SPLAY_LINKS,
2033 pub LeftChild: *mut RTL_SPLAY_LINKS,
2034 pub RightChild: *mut RTL_SPLAY_LINKS,
2035 }
2036 impl ::core::marker::Copy for RTL_SPLAY_LINKS {}
2037 impl ::core::clone::Clone for RTL_SPLAY_LINKS {
2038 fn clone(&self) -> Self {
2039 *self
2040 }
2041 }
2042 #[repr(C)]
2043 pub struct SECTION_OBJECT_POINTERS {
2044 pub DataSectionObject: *mut ::core::ffi::c_void,
2045 pub SharedCacheMap: *mut ::core::ffi::c_void,
2046 pub ImageSectionObject: *mut ::core::ffi::c_void,
2047 }
2048 impl ::core::marker::Copy for SECTION_OBJECT_POINTERS {}
2049 impl ::core::clone::Clone for SECTION_OBJECT_POINTERS {
2050 fn clone(&self) -> Self {
2051 *self
2052 }
2053 }
2054 #[repr(C)]
2055 #[doc = "Required features: `\"Win32_Security\"`"]
2056 #[cfg(feature = "Win32_Security")]
2057 pub struct SECURITY_SUBJECT_CONTEXT {
2058 pub ClientToken: *mut ::core::ffi::c_void,
2059 pub ImpersonationLevel: super::super::Win32::Security::SECURITY_IMPERSONATION_LEVEL,
2060 pub PrimaryToken: *mut ::core::ffi::c_void,
2061 pub ProcessAuditId: *mut ::core::ffi::c_void,
2062 }
2063 #[cfg(feature = "Win32_Security")]
2064 impl ::core::marker::Copy for SECURITY_SUBJECT_CONTEXT {}
2065 #[cfg(feature = "Win32_Security")]
2066 impl ::core::clone::Clone for SECURITY_SUBJECT_CONTEXT {
2067 fn clone(&self) -> Self {
2068 *self
2069 }
2070 }
2071 pub type SspiAsyncContext = isize;
2072 #[repr(C)]
2073 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
2074 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
2075 pub struct TARGET_DEVICE_CUSTOM_NOTIFICATION {
2076 pub Version: u16,
2077 pub Size: u16,
2078 pub Event: ::windows_sys::core::GUID,
2079 pub FileObject: *mut FILE_OBJECT,
2080 pub NameBufferOffset: i32,
2081 pub CustomDataBuffer: [u8; 1],
2082 }
2083 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
2084 impl ::core::marker::Copy for TARGET_DEVICE_CUSTOM_NOTIFICATION {}
2085 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
2086 impl ::core::clone::Clone for TARGET_DEVICE_CUSTOM_NOTIFICATION {
2087 fn clone(&self) -> Self {
2088 *self
2089 }
2090 }
2091 #[repr(C)]
2092 #[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"]
2093 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
2094 pub struct VPB {
2095 pub Type: i16,
2096 pub Size: i16,
2097 pub Flags: u16,
2098 pub VolumeLabelLength: u16,
2099 pub DeviceObject: *mut DEVICE_OBJECT,
2100 pub RealDevice: *mut DEVICE_OBJECT,
2101 pub SerialNumber: u32,
2102 pub ReferenceCount: u32,
2103 pub VolumeLabel: [u16; 32],
2104 }
2105 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
2106 impl ::core::marker::Copy for VPB {}
2107 #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
2108 impl ::core::clone::Clone for VPB {
2109 fn clone(&self) -> Self {
2110 *self
2111 }
2112 }
2113 #[repr(C)]
2114 #[doc = "Required features: `\"Win32_System_Kernel\"`"]
2115 #[cfg(feature = "Win32_System_Kernel")]
2116 pub struct WORK_QUEUE_ITEM {
2117 pub List: super::super::Win32::System::Kernel::LIST_ENTRY,
2118 pub WorkerRoutine: PWORKER_THREAD_ROUTINE,
2119 pub Parameter: *mut ::core::ffi::c_void,
2120 }
2121 #[cfg(feature = "Win32_System_Kernel")]
2122 impl ::core::marker::Copy for WORK_QUEUE_ITEM {}
2123 #[cfg(feature = "Win32_System_Kernel")]
2124 impl ::core::clone::Clone for WORK_QUEUE_ITEM {
2125 fn clone(&self) -> Self {
2126 *self
2127 }
2128 }
2129 pub type _DEVICE_OBJECT_POWER_EXTENSION = isize;
2130 pub type _IORING_OBJECT = isize;
2131 pub type _SCSI_REQUEST_BLOCK = isize;
2132 #[doc = "Required features: `\"Win32_Foundation\"`"]
2133 #[cfg(feature = "Win32_Foundation")]
2134 pub type PDRIVER_ADD_DEVICE = ::core::option::Option<unsafe extern "system" fn() -> super::super::Win32::Foundation::NTSTATUS>;
2135 pub type PDRIVER_CANCEL = ::core::option::Option<unsafe extern "system" fn() -> ()>;
2136 #[doc = "Required features: `\"Win32_Foundation\"`"]
2137 #[cfg(feature = "Win32_Foundation")]
2138 pub type PDRIVER_DISPATCH = ::core::option::Option<unsafe extern "system" fn() -> super::super::Win32::Foundation::NTSTATUS>;
2139 #[doc = "Required features: `\"Win32_Foundation\"`"]
2140 #[cfg(feature = "Win32_Foundation")]
2141 pub type PDRIVER_INITIALIZE = ::core::option::Option<unsafe extern "system" fn() -> super::super::Win32::Foundation::NTSTATUS>;
2142 pub type PDRIVER_STARTIO = ::core::option::Option<unsafe extern "system" fn() -> ()>;
2143 pub type PDRIVER_UNLOAD = ::core::option::Option<unsafe extern "system" fn() -> ()>;
2144 pub type PFAST_IO_ACQUIRE_FILE = ::core::option::Option<unsafe extern "system" fn() -> ()>;
2145 #[doc = "Required features: `\"Win32_Foundation\"`"]
2146 #[cfg(feature = "Win32_Foundation")]
2147 pub type PFAST_IO_ACQUIRE_FOR_CCFLUSH = ::core::option::Option<unsafe extern "system" fn() -> super::super::Win32::Foundation::NTSTATUS>;
2148 #[doc = "Required features: `\"Win32_Foundation\"`"]
2149 #[cfg(feature = "Win32_Foundation")]
2150 pub type PFAST_IO_ACQUIRE_FOR_MOD_WRITE = ::core::option::Option<unsafe extern "system" fn() -> super::super::Win32::Foundation::NTSTATUS>;
2151 #[doc = "Required features: `\"Win32_Foundation\"`"]
2152 #[cfg(feature = "Win32_Foundation")]
2153 pub type PFAST_IO_CHECK_IF_POSSIBLE = ::core::option::Option<unsafe extern "system" fn() -> super::super::Win32::Foundation::BOOLEAN>;
2154 pub type PFAST_IO_DETACH_DEVICE = ::core::option::Option<unsafe extern "system" fn() -> ()>;
2155 #[doc = "Required features: `\"Win32_Foundation\"`"]
2156 #[cfg(feature = "Win32_Foundation")]
2157 pub type PFAST_IO_DEVICE_CONTROL = ::core::option::Option<unsafe extern "system" fn() -> super::super::Win32::Foundation::BOOLEAN>;
2158 #[doc = "Required features: `\"Win32_Foundation\"`"]
2159 #[cfg(feature = "Win32_Foundation")]
2160 pub type PFAST_IO_LOCK = ::core::option::Option<unsafe extern "system" fn() -> super::super::Win32::Foundation::BOOLEAN>;
2161 #[doc = "Required features: `\"Win32_Foundation\"`"]
2162 #[cfg(feature = "Win32_Foundation")]
2163 pub type PFAST_IO_MDL_READ = ::core::option::Option<unsafe extern "system" fn() -> super::super::Win32::Foundation::BOOLEAN>;
2164 #[doc = "Required features: `\"Win32_Foundation\"`"]
2165 #[cfg(feature = "Win32_Foundation")]
2166 pub type PFAST_IO_MDL_READ_COMPLETE = ::core::option::Option<unsafe extern "system" fn() -> super::super::Win32::Foundation::BOOLEAN>;
2167 #[doc = "Required features: `\"Win32_Foundation\"`"]
2168 #[cfg(feature = "Win32_Foundation")]
2169 pub type PFAST_IO_MDL_READ_COMPLETE_COMPRESSED = ::core::option::Option<unsafe extern "system" fn() -> super::super::Win32::Foundation::BOOLEAN>;
2170 #[doc = "Required features: `\"Win32_Foundation\"`"]
2171 #[cfg(feature = "Win32_Foundation")]
2172 pub type PFAST_IO_MDL_WRITE_COMPLETE = ::core::option::Option<unsafe extern "system" fn() -> super::super::Win32::Foundation::BOOLEAN>;
2173 #[doc = "Required features: `\"Win32_Foundation\"`"]
2174 #[cfg(feature = "Win32_Foundation")]
2175 pub type PFAST_IO_MDL_WRITE_COMPLETE_COMPRESSED = ::core::option::Option<unsafe extern "system" fn() -> super::super::Win32::Foundation::BOOLEAN>;
2176 #[doc = "Required features: `\"Win32_Foundation\"`"]
2177 #[cfg(feature = "Win32_Foundation")]
2178 pub type PFAST_IO_PREPARE_MDL_WRITE = ::core::option::Option<unsafe extern "system" fn() -> super::super::Win32::Foundation::BOOLEAN>;
2179 #[doc = "Required features: `\"Win32_Foundation\"`"]
2180 #[cfg(feature = "Win32_Foundation")]
2181 pub type PFAST_IO_QUERY_BASIC_INFO = ::core::option::Option<unsafe extern "system" fn() -> super::super::Win32::Foundation::BOOLEAN>;
2182 #[doc = "Required features: `\"Win32_Foundation\"`"]
2183 #[cfg(feature = "Win32_Foundation")]
2184 pub type PFAST_IO_QUERY_NETWORK_OPEN_INFO = ::core::option::Option<unsafe extern "system" fn() -> super::super::Win32::Foundation::BOOLEAN>;
2185 #[doc = "Required features: `\"Win32_Foundation\"`"]
2186 #[cfg(feature = "Win32_Foundation")]
2187 pub type PFAST_IO_QUERY_OPEN = ::core::option::Option<unsafe extern "system" fn() -> super::super::Win32::Foundation::BOOLEAN>;
2188 #[doc = "Required features: `\"Win32_Foundation\"`"]
2189 #[cfg(feature = "Win32_Foundation")]
2190 pub type PFAST_IO_QUERY_STANDARD_INFO = ::core::option::Option<unsafe extern "system" fn() -> super::super::Win32::Foundation::BOOLEAN>;
2191 #[doc = "Required features: `\"Win32_Foundation\"`"]
2192 #[cfg(feature = "Win32_Foundation")]
2193 pub type PFAST_IO_READ = ::core::option::Option<unsafe extern "system" fn() -> super::super::Win32::Foundation::BOOLEAN>;
2194 #[doc = "Required features: `\"Win32_Foundation\"`"]
2195 #[cfg(feature = "Win32_Foundation")]
2196 pub type PFAST_IO_READ_COMPRESSED = ::core::option::Option<unsafe extern "system" fn() -> super::super::Win32::Foundation::BOOLEAN>;
2197 pub type PFAST_IO_RELEASE_FILE = ::core::option::Option<unsafe extern "system" fn() -> ()>;
2198 #[doc = "Required features: `\"Win32_Foundation\"`"]
2199 #[cfg(feature = "Win32_Foundation")]
2200 pub type PFAST_IO_RELEASE_FOR_CCFLUSH = ::core::option::Option<unsafe extern "system" fn() -> super::super::Win32::Foundation::NTSTATUS>;
2201 #[doc = "Required features: `\"Win32_Foundation\"`"]
2202 #[cfg(feature = "Win32_Foundation")]
2203 pub type PFAST_IO_RELEASE_FOR_MOD_WRITE = ::core::option::Option<unsafe extern "system" fn() -> super::super::Win32::Foundation::NTSTATUS>;
2204 #[doc = "Required features: `\"Win32_Foundation\"`"]
2205 #[cfg(feature = "Win32_Foundation")]
2206 pub type PFAST_IO_UNLOCK_ALL = ::core::option::Option<unsafe extern "system" fn() -> super::super::Win32::Foundation::BOOLEAN>;
2207 #[doc = "Required features: `\"Win32_Foundation\"`"]
2208 #[cfg(feature = "Win32_Foundation")]
2209 pub type PFAST_IO_UNLOCK_ALL_BY_KEY = ::core::option::Option<unsafe extern "system" fn() -> super::super::Win32::Foundation::BOOLEAN>;
2210 #[doc = "Required features: `\"Win32_Foundation\"`"]
2211 #[cfg(feature = "Win32_Foundation")]
2212 pub type PFAST_IO_UNLOCK_SINGLE = ::core::option::Option<unsafe extern "system" fn() -> super::super::Win32::Foundation::BOOLEAN>;
2213 #[doc = "Required features: `\"Win32_Foundation\"`"]
2214 #[cfg(feature = "Win32_Foundation")]
2215 pub type PFAST_IO_WRITE = ::core::option::Option<unsafe extern "system" fn() -> super::super::Win32::Foundation::BOOLEAN>;
2216 #[doc = "Required features: `\"Win32_Foundation\"`"]
2217 #[cfg(feature = "Win32_Foundation")]
2218 pub type PFAST_IO_WRITE_COMPRESSED = ::core::option::Option<unsafe extern "system" fn() -> super::super::Win32::Foundation::BOOLEAN>;
2219 pub type PFREE_FUNCTION = ::core::option::Option<unsafe extern "system" fn() -> ()>;
2220 #[doc = "Required features: `\"Win32_Foundation\"`"]
2221 #[cfg(feature = "Win32_Foundation")]
2222 pub type PIO_COMPLETION_ROUTINE = ::core::option::Option<unsafe extern "system" fn() -> super::super::Win32::Foundation::NTSTATUS>;
2223 pub type PKDEFERRED_ROUTINE = ::core::option::Option<unsafe extern "system" fn() -> ()>;
2224 pub type PWORKER_THREAD_ROUTINE = ::core::option::Option<unsafe extern "system" fn() -> ()>;