1 #![allow(unused_variables, non_upper_case_globals, non_snake_case, unused_unsafe, non_camel_case_types, dead_code, clippy::all)]
2 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
3 #[repr(C)]
4 pub struct FILTER_AGGREGATE_BASIC_INFORMATION {
5 pub NextEntryOffset: u32,
6 pub Flags: u32,
7 pub Type: FILTER_AGGREGATE_BASIC_INFORMATION_0,
8 }
9 impl FILTER_AGGREGATE_BASIC_INFORMATION {}
10 impl ::std::default::Default for FILTER_AGGREGATE_BASIC_INFORMATION {
default() -> Self11 fn default() -> Self {
12 unsafe { ::std::mem::zeroed() }
13 }
14 }
15 impl ::std::cmp::PartialEq for FILTER_AGGREGATE_BASIC_INFORMATION {
eq(&self, _other: &Self) -> bool16 fn eq(&self, _other: &Self) -> bool {
17 unimplemented!()
18 }
19 }
20 impl ::std::cmp::Eq for FILTER_AGGREGATE_BASIC_INFORMATION {}
21 unsafe impl ::windows::runtime::Abi for FILTER_AGGREGATE_BASIC_INFORMATION {
22 type Abi = Self;
23 type DefaultType = Self;
24 }
25 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
26 #[repr(C)]
27 pub union FILTER_AGGREGATE_BASIC_INFORMATION_0 {
28 pub MiniFilter: FILTER_AGGREGATE_BASIC_INFORMATION_0_1,
29 pub LegacyFilter: FILTER_AGGREGATE_BASIC_INFORMATION_0_0,
30 }
31 impl FILTER_AGGREGATE_BASIC_INFORMATION_0 {}
32 impl ::std::default::Default for FILTER_AGGREGATE_BASIC_INFORMATION_0 {
default() -> Self33 fn default() -> Self {
34 unsafe { ::std::mem::zeroed() }
35 }
36 }
37 impl ::std::cmp::PartialEq for FILTER_AGGREGATE_BASIC_INFORMATION_0 {
eq(&self, _other: &Self) -> bool38 fn eq(&self, _other: &Self) -> bool {
39 unimplemented!()
40 }
41 }
42 impl ::std::cmp::Eq for FILTER_AGGREGATE_BASIC_INFORMATION_0 {}
43 unsafe impl ::windows::runtime::Abi for FILTER_AGGREGATE_BASIC_INFORMATION_0 {
44 type Abi = Self;
45 type DefaultType = Self;
46 }
47 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
48 #[repr(C)]
49 pub struct FILTER_AGGREGATE_BASIC_INFORMATION_0_0 {
50 pub FilterNameLength: u16,
51 pub FilterNameBufferOffset: u16,
52 }
53 impl FILTER_AGGREGATE_BASIC_INFORMATION_0_0 {}
54 impl ::std::default::Default for FILTER_AGGREGATE_BASIC_INFORMATION_0_0 {
default() -> Self55 fn default() -> Self {
56 unsafe { ::std::mem::zeroed() }
57 }
58 }
59 impl ::std::fmt::Debug for FILTER_AGGREGATE_BASIC_INFORMATION_0_0 {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result60 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
61 fmt.debug_struct("_LegacyFilter_e__Struct").field("FilterNameLength", &self.FilterNameLength).field("FilterNameBufferOffset", &self.FilterNameBufferOffset).finish()
62 }
63 }
64 impl ::std::cmp::PartialEq for FILTER_AGGREGATE_BASIC_INFORMATION_0_0 {
eq(&self, other: &Self) -> bool65 fn eq(&self, other: &Self) -> bool {
66 self.FilterNameLength == other.FilterNameLength && self.FilterNameBufferOffset == other.FilterNameBufferOffset
67 }
68 }
69 impl ::std::cmp::Eq for FILTER_AGGREGATE_BASIC_INFORMATION_0_0 {}
70 unsafe impl ::windows::runtime::Abi for FILTER_AGGREGATE_BASIC_INFORMATION_0_0 {
71 type Abi = Self;
72 type DefaultType = Self;
73 }
74 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
75 #[repr(C)]
76 pub struct FILTER_AGGREGATE_BASIC_INFORMATION_0_1 {
77 pub FrameID: u32,
78 pub NumberOfInstances: u32,
79 pub FilterNameLength: u16,
80 pub FilterNameBufferOffset: u16,
81 pub FilterAltitudeLength: u16,
82 pub FilterAltitudeBufferOffset: u16,
83 }
84 impl FILTER_AGGREGATE_BASIC_INFORMATION_0_1 {}
85 impl ::std::default::Default for FILTER_AGGREGATE_BASIC_INFORMATION_0_1 {
default() -> Self86 fn default() -> Self {
87 unsafe { ::std::mem::zeroed() }
88 }
89 }
90 impl ::std::fmt::Debug for FILTER_AGGREGATE_BASIC_INFORMATION_0_1 {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result91 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
92 fmt.debug_struct("_MiniFilter_e__Struct")
93 .field("FrameID", &self.FrameID)
94 .field("NumberOfInstances", &self.NumberOfInstances)
95 .field("FilterNameLength", &self.FilterNameLength)
96 .field("FilterNameBufferOffset", &self.FilterNameBufferOffset)
97 .field("FilterAltitudeLength", &self.FilterAltitudeLength)
98 .field("FilterAltitudeBufferOffset", &self.FilterAltitudeBufferOffset)
99 .finish()
100 }
101 }
102 impl ::std::cmp::PartialEq for FILTER_AGGREGATE_BASIC_INFORMATION_0_1 {
eq(&self, other: &Self) -> bool103 fn eq(&self, other: &Self) -> bool {
104 self.FrameID == other.FrameID && self.NumberOfInstances == other.NumberOfInstances && self.FilterNameLength == other.FilterNameLength && self.FilterNameBufferOffset == other.FilterNameBufferOffset && self.FilterAltitudeLength == other.FilterAltitudeLength && self.FilterAltitudeBufferOffset == other.FilterAltitudeBufferOffset
105 }
106 }
107 impl ::std::cmp::Eq for FILTER_AGGREGATE_BASIC_INFORMATION_0_1 {}
108 unsafe impl ::windows::runtime::Abi for FILTER_AGGREGATE_BASIC_INFORMATION_0_1 {
109 type Abi = Self;
110 type DefaultType = Self;
111 }
112 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
113 #[repr(C)]
114 pub struct FILTER_AGGREGATE_STANDARD_INFORMATION {
115 pub NextEntryOffset: u32,
116 pub Flags: u32,
117 pub Type: FILTER_AGGREGATE_STANDARD_INFORMATION_0,
118 }
119 impl FILTER_AGGREGATE_STANDARD_INFORMATION {}
120 impl ::std::default::Default for FILTER_AGGREGATE_STANDARD_INFORMATION {
default() -> Self121 fn default() -> Self {
122 unsafe { ::std::mem::zeroed() }
123 }
124 }
125 impl ::std::cmp::PartialEq for FILTER_AGGREGATE_STANDARD_INFORMATION {
eq(&self, _other: &Self) -> bool126 fn eq(&self, _other: &Self) -> bool {
127 unimplemented!()
128 }
129 }
130 impl ::std::cmp::Eq for FILTER_AGGREGATE_STANDARD_INFORMATION {}
131 unsafe impl ::windows::runtime::Abi for FILTER_AGGREGATE_STANDARD_INFORMATION {
132 type Abi = Self;
133 type DefaultType = Self;
134 }
135 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
136 #[repr(C)]
137 pub union FILTER_AGGREGATE_STANDARD_INFORMATION_0 {
138 pub MiniFilter: FILTER_AGGREGATE_STANDARD_INFORMATION_0_1,
139 pub LegacyFilter: FILTER_AGGREGATE_STANDARD_INFORMATION_0_0,
140 }
141 impl FILTER_AGGREGATE_STANDARD_INFORMATION_0 {}
142 impl ::std::default::Default for FILTER_AGGREGATE_STANDARD_INFORMATION_0 {
default() -> Self143 fn default() -> Self {
144 unsafe { ::std::mem::zeroed() }
145 }
146 }
147 impl ::std::cmp::PartialEq for FILTER_AGGREGATE_STANDARD_INFORMATION_0 {
eq(&self, _other: &Self) -> bool148 fn eq(&self, _other: &Self) -> bool {
149 unimplemented!()
150 }
151 }
152 impl ::std::cmp::Eq for FILTER_AGGREGATE_STANDARD_INFORMATION_0 {}
153 unsafe impl ::windows::runtime::Abi for FILTER_AGGREGATE_STANDARD_INFORMATION_0 {
154 type Abi = Self;
155 type DefaultType = Self;
156 }
157 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
158 #[repr(C)]
159 pub struct FILTER_AGGREGATE_STANDARD_INFORMATION_0_0 {
160 pub Flags: u32,
161 pub FilterNameLength: u16,
162 pub FilterNameBufferOffset: u16,
163 pub FilterAltitudeLength: u16,
164 pub FilterAltitudeBufferOffset: u16,
165 }
166 impl FILTER_AGGREGATE_STANDARD_INFORMATION_0_0 {}
167 impl ::std::default::Default for FILTER_AGGREGATE_STANDARD_INFORMATION_0_0 {
default() -> Self168 fn default() -> Self {
169 unsafe { ::std::mem::zeroed() }
170 }
171 }
172 impl ::std::fmt::Debug for FILTER_AGGREGATE_STANDARD_INFORMATION_0_0 {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result173 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
174 fmt.debug_struct("_LegacyFilter_e__Struct")
175 .field("Flags", &self.Flags)
176 .field("FilterNameLength", &self.FilterNameLength)
177 .field("FilterNameBufferOffset", &self.FilterNameBufferOffset)
178 .field("FilterAltitudeLength", &self.FilterAltitudeLength)
179 .field("FilterAltitudeBufferOffset", &self.FilterAltitudeBufferOffset)
180 .finish()
181 }
182 }
183 impl ::std::cmp::PartialEq for FILTER_AGGREGATE_STANDARD_INFORMATION_0_0 {
eq(&self, other: &Self) -> bool184 fn eq(&self, other: &Self) -> bool {
185 self.Flags == other.Flags && self.FilterNameLength == other.FilterNameLength && self.FilterNameBufferOffset == other.FilterNameBufferOffset && self.FilterAltitudeLength == other.FilterAltitudeLength && self.FilterAltitudeBufferOffset == other.FilterAltitudeBufferOffset
186 }
187 }
188 impl ::std::cmp::Eq for FILTER_AGGREGATE_STANDARD_INFORMATION_0_0 {}
189 unsafe impl ::windows::runtime::Abi for FILTER_AGGREGATE_STANDARD_INFORMATION_0_0 {
190 type Abi = Self;
191 type DefaultType = Self;
192 }
193 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
194 #[repr(C)]
195 pub struct FILTER_AGGREGATE_STANDARD_INFORMATION_0_1 {
196 pub Flags: u32,
197 pub FrameID: u32,
198 pub NumberOfInstances: u32,
199 pub FilterNameLength: u16,
200 pub FilterNameBufferOffset: u16,
201 pub FilterAltitudeLength: u16,
202 pub FilterAltitudeBufferOffset: u16,
203 }
204 impl FILTER_AGGREGATE_STANDARD_INFORMATION_0_1 {}
205 impl ::std::default::Default for FILTER_AGGREGATE_STANDARD_INFORMATION_0_1 {
default() -> Self206 fn default() -> Self {
207 unsafe { ::std::mem::zeroed() }
208 }
209 }
210 impl ::std::fmt::Debug for FILTER_AGGREGATE_STANDARD_INFORMATION_0_1 {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result211 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
212 fmt.debug_struct("_MiniFilter_e__Struct")
213 .field("Flags", &self.Flags)
214 .field("FrameID", &self.FrameID)
215 .field("NumberOfInstances", &self.NumberOfInstances)
216 .field("FilterNameLength", &self.FilterNameLength)
217 .field("FilterNameBufferOffset", &self.FilterNameBufferOffset)
218 .field("FilterAltitudeLength", &self.FilterAltitudeLength)
219 .field("FilterAltitudeBufferOffset", &self.FilterAltitudeBufferOffset)
220 .finish()
221 }
222 }
223 impl ::std::cmp::PartialEq for FILTER_AGGREGATE_STANDARD_INFORMATION_0_1 {
eq(&self, other: &Self) -> bool224 fn eq(&self, other: &Self) -> bool {
225 self.Flags == other.Flags && self.FrameID == other.FrameID && self.NumberOfInstances == other.NumberOfInstances && self.FilterNameLength == other.FilterNameLength && self.FilterNameBufferOffset == other.FilterNameBufferOffset && self.FilterAltitudeLength == other.FilterAltitudeLength && self.FilterAltitudeBufferOffset == other.FilterAltitudeBufferOffset
226 }
227 }
228 impl ::std::cmp::Eq for FILTER_AGGREGATE_STANDARD_INFORMATION_0_1 {}
229 unsafe impl ::windows::runtime::Abi for FILTER_AGGREGATE_STANDARD_INFORMATION_0_1 {
230 type Abi = Self;
231 type DefaultType = Self;
232 }
233 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
234 #[repr(C)]
235 pub struct FILTER_FULL_INFORMATION {
236 pub NextEntryOffset: u32,
237 pub FrameID: u32,
238 pub NumberOfInstances: u32,
239 pub FilterNameLength: u16,
240 pub FilterNameBuffer: [u16; 1],
241 }
242 impl FILTER_FULL_INFORMATION {}
243 impl ::std::default::Default for FILTER_FULL_INFORMATION {
default() -> Self244 fn default() -> Self {
245 unsafe { ::std::mem::zeroed() }
246 }
247 }
248 impl ::std::fmt::Debug for FILTER_FULL_INFORMATION {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result249 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
250 fmt.debug_struct("FILTER_FULL_INFORMATION").field("NextEntryOffset", &self.NextEntryOffset).field("FrameID", &self.FrameID).field("NumberOfInstances", &self.NumberOfInstances).field("FilterNameLength", &self.FilterNameLength).field("FilterNameBuffer", &self.FilterNameBuffer).finish()
251 }
252 }
253 impl ::std::cmp::PartialEq for FILTER_FULL_INFORMATION {
eq(&self, other: &Self) -> bool254 fn eq(&self, other: &Self) -> bool {
255 self.NextEntryOffset == other.NextEntryOffset && self.FrameID == other.FrameID && self.NumberOfInstances == other.NumberOfInstances && self.FilterNameLength == other.FilterNameLength && self.FilterNameBuffer == other.FilterNameBuffer
256 }
257 }
258 impl ::std::cmp::Eq for FILTER_FULL_INFORMATION {}
259 unsafe impl ::windows::runtime::Abi for FILTER_FULL_INFORMATION {
260 type Abi = Self;
261 type DefaultType = Self;
262 }
263 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
264 #[repr(transparent)]
265 pub struct FILTER_INFORMATION_CLASS(pub i32);
266 pub const FilterFullInformation: FILTER_INFORMATION_CLASS = FILTER_INFORMATION_CLASS(0i32);
267 pub const FilterAggregateBasicInformation: FILTER_INFORMATION_CLASS = FILTER_INFORMATION_CLASS(1i32);
268 pub const FilterAggregateStandardInformation: FILTER_INFORMATION_CLASS = FILTER_INFORMATION_CLASS(2i32);
269 impl ::std::convert::From<i32> for FILTER_INFORMATION_CLASS {
from(value: i32) -> Self270 fn from(value: i32) -> Self {
271 Self(value)
272 }
273 }
274 unsafe impl ::windows::runtime::Abi for FILTER_INFORMATION_CLASS {
275 type Abi = Self;
276 type DefaultType = Self;
277 }
278 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
279 #[repr(C)]
280 pub struct FILTER_MESSAGE_HEADER {
281 pub ReplyLength: u32,
282 pub MessageId: u64,
283 }
284 impl FILTER_MESSAGE_HEADER {}
285 impl ::std::default::Default for FILTER_MESSAGE_HEADER {
default() -> Self286 fn default() -> Self {
287 unsafe { ::std::mem::zeroed() }
288 }
289 }
290 impl ::std::fmt::Debug for FILTER_MESSAGE_HEADER {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result291 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
292 fmt.debug_struct("FILTER_MESSAGE_HEADER").field("ReplyLength", &self.ReplyLength).field("MessageId", &self.MessageId).finish()
293 }
294 }
295 impl ::std::cmp::PartialEq for FILTER_MESSAGE_HEADER {
eq(&self, other: &Self) -> bool296 fn eq(&self, other: &Self) -> bool {
297 self.ReplyLength == other.ReplyLength && self.MessageId == other.MessageId
298 }
299 }
300 impl ::std::cmp::Eq for FILTER_MESSAGE_HEADER {}
301 unsafe impl ::windows::runtime::Abi for FILTER_MESSAGE_HEADER {
302 type Abi = Self;
303 type DefaultType = Self;
304 }
305 pub const FILTER_NAME_MAX_CHARS: u32 = 255u32;
306 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
307 #[repr(C)]
308 #[cfg(feature = "Win32_Foundation")]
309 pub struct FILTER_REPLY_HEADER {
310 pub Status: super::super::Foundation::NTSTATUS,
311 pub MessageId: u64,
312 }
313 #[cfg(feature = "Win32_Foundation")]
314 impl FILTER_REPLY_HEADER {}
315 #[cfg(feature = "Win32_Foundation")]
316 impl ::std::default::Default for FILTER_REPLY_HEADER {
default() -> Self317 fn default() -> Self {
318 unsafe { ::std::mem::zeroed() }
319 }
320 }
321 #[cfg(feature = "Win32_Foundation")]
322 impl ::std::fmt::Debug for FILTER_REPLY_HEADER {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result323 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
324 fmt.debug_struct("FILTER_REPLY_HEADER").field("Status", &self.Status).field("MessageId", &self.MessageId).finish()
325 }
326 }
327 #[cfg(feature = "Win32_Foundation")]
328 impl ::std::cmp::PartialEq for FILTER_REPLY_HEADER {
eq(&self, other: &Self) -> bool329 fn eq(&self, other: &Self) -> bool {
330 self.Status == other.Status && self.MessageId == other.MessageId
331 }
332 }
333 #[cfg(feature = "Win32_Foundation")]
334 impl ::std::cmp::Eq for FILTER_REPLY_HEADER {}
335 #[cfg(feature = "Win32_Foundation")]
336 unsafe impl ::windows::runtime::Abi for FILTER_REPLY_HEADER {
337 type Abi = Self;
338 type DefaultType = Self;
339 }
340 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
341 #[repr(C)]
342 pub struct FILTER_VOLUME_BASIC_INFORMATION {
343 pub FilterVolumeNameLength: u16,
344 pub FilterVolumeName: [u16; 1],
345 }
346 impl FILTER_VOLUME_BASIC_INFORMATION {}
347 impl ::std::default::Default for FILTER_VOLUME_BASIC_INFORMATION {
default() -> Self348 fn default() -> Self {
349 unsafe { ::std::mem::zeroed() }
350 }
351 }
352 impl ::std::fmt::Debug for FILTER_VOLUME_BASIC_INFORMATION {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result353 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
354 fmt.debug_struct("FILTER_VOLUME_BASIC_INFORMATION").field("FilterVolumeNameLength", &self.FilterVolumeNameLength).field("FilterVolumeName", &self.FilterVolumeName).finish()
355 }
356 }
357 impl ::std::cmp::PartialEq for FILTER_VOLUME_BASIC_INFORMATION {
eq(&self, other: &Self) -> bool358 fn eq(&self, other: &Self) -> bool {
359 self.FilterVolumeNameLength == other.FilterVolumeNameLength && self.FilterVolumeName == other.FilterVolumeName
360 }
361 }
362 impl ::std::cmp::Eq for FILTER_VOLUME_BASIC_INFORMATION {}
363 unsafe impl ::windows::runtime::Abi for FILTER_VOLUME_BASIC_INFORMATION {
364 type Abi = Self;
365 type DefaultType = Self;
366 }
367 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
368 #[repr(transparent)]
369 pub struct FILTER_VOLUME_INFORMATION_CLASS(pub i32);
370 pub const FilterVolumeBasicInformation: FILTER_VOLUME_INFORMATION_CLASS = FILTER_VOLUME_INFORMATION_CLASS(0i32);
371 pub const FilterVolumeStandardInformation: FILTER_VOLUME_INFORMATION_CLASS = FILTER_VOLUME_INFORMATION_CLASS(1i32);
372 impl ::std::convert::From<i32> for FILTER_VOLUME_INFORMATION_CLASS {
from(value: i32) -> Self373 fn from(value: i32) -> Self {
374 Self(value)
375 }
376 }
377 unsafe impl ::windows::runtime::Abi for FILTER_VOLUME_INFORMATION_CLASS {
378 type Abi = Self;
379 type DefaultType = Self;
380 }
381 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
382 #[repr(C)]
383 pub struct FILTER_VOLUME_STANDARD_INFORMATION {
384 pub NextEntryOffset: u32,
385 pub Flags: u32,
386 pub FrameID: u32,
387 pub FileSystemType: FLT_FILESYSTEM_TYPE,
388 pub FilterVolumeNameLength: u16,
389 pub FilterVolumeName: [u16; 1],
390 }
391 impl FILTER_VOLUME_STANDARD_INFORMATION {}
392 impl ::std::default::Default for FILTER_VOLUME_STANDARD_INFORMATION {
default() -> Self393 fn default() -> Self {
394 unsafe { ::std::mem::zeroed() }
395 }
396 }
397 impl ::std::fmt::Debug for FILTER_VOLUME_STANDARD_INFORMATION {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result398 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
399 fmt.debug_struct("FILTER_VOLUME_STANDARD_INFORMATION")
400 .field("NextEntryOffset", &self.NextEntryOffset)
401 .field("Flags", &self.Flags)
402 .field("FrameID", &self.FrameID)
403 .field("FileSystemType", &self.FileSystemType)
404 .field("FilterVolumeNameLength", &self.FilterVolumeNameLength)
405 .field("FilterVolumeName", &self.FilterVolumeName)
406 .finish()
407 }
408 }
409 impl ::std::cmp::PartialEq for FILTER_VOLUME_STANDARD_INFORMATION {
eq(&self, other: &Self) -> bool410 fn eq(&self, other: &Self) -> bool {
411 self.NextEntryOffset == other.NextEntryOffset && self.Flags == other.Flags && self.FrameID == other.FrameID && self.FileSystemType == other.FileSystemType && self.FilterVolumeNameLength == other.FilterVolumeNameLength && self.FilterVolumeName == other.FilterVolumeName
412 }
413 }
414 impl ::std::cmp::Eq for FILTER_VOLUME_STANDARD_INFORMATION {}
415 unsafe impl ::windows::runtime::Abi for FILTER_VOLUME_STANDARD_INFORMATION {
416 type Abi = Self;
417 type DefaultType = Self;
418 }
419 pub const FLTFL_AGGREGATE_INFO_IS_LEGACYFILTER: u32 = 2u32;
420 pub const FLTFL_AGGREGATE_INFO_IS_MINIFILTER: u32 = 1u32;
421 pub const FLTFL_ASI_IS_LEGACYFILTER: u32 = 2u32;
422 pub const FLTFL_ASI_IS_MINIFILTER: u32 = 1u32;
423 pub const FLTFL_IASIL_DETACHED_VOLUME: u32 = 1u32;
424 pub const FLTFL_IASIM_DETACHED_VOLUME: u32 = 1u32;
425 pub const FLTFL_IASI_IS_LEGACYFILTER: u32 = 2u32;
426 pub const FLTFL_IASI_IS_MINIFILTER: u32 = 1u32;
427 pub const FLTFL_VSI_DETACHED_VOLUME: u32 = 1u32;
428 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
429 #[repr(transparent)]
430 pub struct FLT_FILESYSTEM_TYPE(pub i32);
431 pub const FLT_FSTYPE_UNKNOWN: FLT_FILESYSTEM_TYPE = FLT_FILESYSTEM_TYPE(0i32);
432 pub const FLT_FSTYPE_RAW: FLT_FILESYSTEM_TYPE = FLT_FILESYSTEM_TYPE(1i32);
433 pub const FLT_FSTYPE_NTFS: FLT_FILESYSTEM_TYPE = FLT_FILESYSTEM_TYPE(2i32);
434 pub const FLT_FSTYPE_FAT: FLT_FILESYSTEM_TYPE = FLT_FILESYSTEM_TYPE(3i32);
435 pub const FLT_FSTYPE_CDFS: FLT_FILESYSTEM_TYPE = FLT_FILESYSTEM_TYPE(4i32);
436 pub const FLT_FSTYPE_UDFS: FLT_FILESYSTEM_TYPE = FLT_FILESYSTEM_TYPE(5i32);
437 pub const FLT_FSTYPE_LANMAN: FLT_FILESYSTEM_TYPE = FLT_FILESYSTEM_TYPE(6i32);
438 pub const FLT_FSTYPE_WEBDAV: FLT_FILESYSTEM_TYPE = FLT_FILESYSTEM_TYPE(7i32);
439 pub const FLT_FSTYPE_RDPDR: FLT_FILESYSTEM_TYPE = FLT_FILESYSTEM_TYPE(8i32);
440 pub const FLT_FSTYPE_NFS: FLT_FILESYSTEM_TYPE = FLT_FILESYSTEM_TYPE(9i32);
441 pub const FLT_FSTYPE_MS_NETWARE: FLT_FILESYSTEM_TYPE = FLT_FILESYSTEM_TYPE(10i32);
442 pub const FLT_FSTYPE_NETWARE: FLT_FILESYSTEM_TYPE = FLT_FILESYSTEM_TYPE(11i32);
443 pub const FLT_FSTYPE_BSUDF: FLT_FILESYSTEM_TYPE = FLT_FILESYSTEM_TYPE(12i32);
444 pub const FLT_FSTYPE_MUP: FLT_FILESYSTEM_TYPE = FLT_FILESYSTEM_TYPE(13i32);
445 pub const FLT_FSTYPE_RSFX: FLT_FILESYSTEM_TYPE = FLT_FILESYSTEM_TYPE(14i32);
446 pub const FLT_FSTYPE_ROXIO_UDF1: FLT_FILESYSTEM_TYPE = FLT_FILESYSTEM_TYPE(15i32);
447 pub const FLT_FSTYPE_ROXIO_UDF2: FLT_FILESYSTEM_TYPE = FLT_FILESYSTEM_TYPE(16i32);
448 pub const FLT_FSTYPE_ROXIO_UDF3: FLT_FILESYSTEM_TYPE = FLT_FILESYSTEM_TYPE(17i32);
449 pub const FLT_FSTYPE_TACIT: FLT_FILESYSTEM_TYPE = FLT_FILESYSTEM_TYPE(18i32);
450 pub const FLT_FSTYPE_FS_REC: FLT_FILESYSTEM_TYPE = FLT_FILESYSTEM_TYPE(19i32);
451 pub const FLT_FSTYPE_INCD: FLT_FILESYSTEM_TYPE = FLT_FILESYSTEM_TYPE(20i32);
452 pub const FLT_FSTYPE_INCD_FAT: FLT_FILESYSTEM_TYPE = FLT_FILESYSTEM_TYPE(21i32);
453 pub const FLT_FSTYPE_EXFAT: FLT_FILESYSTEM_TYPE = FLT_FILESYSTEM_TYPE(22i32);
454 pub const FLT_FSTYPE_PSFS: FLT_FILESYSTEM_TYPE = FLT_FILESYSTEM_TYPE(23i32);
455 pub const FLT_FSTYPE_GPFS: FLT_FILESYSTEM_TYPE = FLT_FILESYSTEM_TYPE(24i32);
456 pub const FLT_FSTYPE_NPFS: FLT_FILESYSTEM_TYPE = FLT_FILESYSTEM_TYPE(25i32);
457 pub const FLT_FSTYPE_MSFS: FLT_FILESYSTEM_TYPE = FLT_FILESYSTEM_TYPE(26i32);
458 pub const FLT_FSTYPE_CSVFS: FLT_FILESYSTEM_TYPE = FLT_FILESYSTEM_TYPE(27i32);
459 pub const FLT_FSTYPE_REFS: FLT_FILESYSTEM_TYPE = FLT_FILESYSTEM_TYPE(28i32);
460 pub const FLT_FSTYPE_OPENAFS: FLT_FILESYSTEM_TYPE = FLT_FILESYSTEM_TYPE(29i32);
461 pub const FLT_FSTYPE_CIMFS: FLT_FILESYSTEM_TYPE = FLT_FILESYSTEM_TYPE(30i32);
462 impl ::std::convert::From<i32> for FLT_FILESYSTEM_TYPE {
from(value: i32) -> Self463 fn from(value: i32) -> Self {
464 Self(value)
465 }
466 }
467 unsafe impl ::windows::runtime::Abi for FLT_FILESYSTEM_TYPE {
468 type Abi = Self;
469 type DefaultType = Self;
470 }
471 pub const FLT_PORT_FLAG_SYNC_HANDLE: u32 = 1u32;
472 #[cfg(feature = "Win32_Foundation")]
473 #[inline]
FilterAttach<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(lpfiltername: Param0, lpvolumename: Param1, lpinstancename: Param2, dwcreatedinstancenamelength: u32, lpcreatedinstancename: super::super::Foundation::PWSTR) -> ::windows::runtime::Result<()>474 pub unsafe fn FilterAttach<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(lpfiltername: Param0, lpvolumename: Param1, lpinstancename: Param2, dwcreatedinstancenamelength: u32, lpcreatedinstancename: super::super::Foundation::PWSTR) -> ::windows::runtime::Result<()> {
475 #[cfg(windows)]
476 {
477 #[link(name = "windows")]
478 extern "system" {
479 fn FilterAttach(lpfiltername: super::super::Foundation::PWSTR, lpvolumename: super::super::Foundation::PWSTR, lpinstancename: super::super::Foundation::PWSTR, dwcreatedinstancenamelength: u32, lpcreatedinstancename: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT;
480 }
481 FilterAttach(lpfiltername.into_param().abi(), lpvolumename.into_param().abi(), lpinstancename.into_param().abi(), ::std::mem::transmute(dwcreatedinstancenamelength), ::std::mem::transmute(lpcreatedinstancename)).ok()
482 }
483 #[cfg(not(windows))]
484 unimplemented!("Unsupported target OS");
485 }
486 #[cfg(feature = "Win32_Foundation")]
487 #[inline]
FilterAttachAtAltitude<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>( lpfiltername: Param0, lpvolumename: Param1, lpaltitude: Param2, lpinstancename: Param3, dwcreatedinstancenamelength: u32, lpcreatedinstancename: super::super::Foundation::PWSTR, ) -> ::windows::runtime::Result<()>488 pub unsafe fn FilterAttachAtAltitude<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(
489 lpfiltername: Param0,
490 lpvolumename: Param1,
491 lpaltitude: Param2,
492 lpinstancename: Param3,
493 dwcreatedinstancenamelength: u32,
494 lpcreatedinstancename: super::super::Foundation::PWSTR,
495 ) -> ::windows::runtime::Result<()> {
496 #[cfg(windows)]
497 {
498 #[link(name = "windows")]
499 extern "system" {
500 fn FilterAttachAtAltitude(lpfiltername: super::super::Foundation::PWSTR, lpvolumename: super::super::Foundation::PWSTR, lpaltitude: super::super::Foundation::PWSTR, lpinstancename: super::super::Foundation::PWSTR, dwcreatedinstancenamelength: u32, lpcreatedinstancename: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT;
501 }
502 FilterAttachAtAltitude(lpfiltername.into_param().abi(), lpvolumename.into_param().abi(), lpaltitude.into_param().abi(), lpinstancename.into_param().abi(), ::std::mem::transmute(dwcreatedinstancenamelength), ::std::mem::transmute(lpcreatedinstancename)).ok()
503 }
504 #[cfg(not(windows))]
505 unimplemented!("Unsupported target OS");
506 }
507 #[inline]
FilterClose<'a, Param0: ::windows::runtime::IntoParam<'a, HFILTER>>(hfilter: Param0) -> ::windows::runtime::Result<()>508 pub unsafe fn FilterClose<'a, Param0: ::windows::runtime::IntoParam<'a, HFILTER>>(hfilter: Param0) -> ::windows::runtime::Result<()> {
509 #[cfg(windows)]
510 {
511 #[link(name = "windows")]
512 extern "system" {
513 fn FilterClose(hfilter: HFILTER) -> ::windows::runtime::HRESULT;
514 }
515 FilterClose(hfilter.into_param().abi()).ok()
516 }
517 #[cfg(not(windows))]
518 unimplemented!("Unsupported target OS");
519 }
520 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
521 #[inline]
FilterConnectCommunicationPort<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(lpportname: Param0, dwoptions: u32, lpcontext: *const ::std::ffi::c_void, wsizeofcontext: u16, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES) -> ::windows::runtime::Result<super::super::Foundation::HANDLE>522 pub unsafe fn FilterConnectCommunicationPort<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(lpportname: Param0, dwoptions: u32, lpcontext: *const ::std::ffi::c_void, wsizeofcontext: u16, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES) -> ::windows::runtime::Result<super::super::Foundation::HANDLE> {
523 #[cfg(windows)]
524 {
525 #[link(name = "windows")]
526 extern "system" {
527 fn FilterConnectCommunicationPort(lpportname: super::super::Foundation::PWSTR, dwoptions: u32, lpcontext: *const ::std::ffi::c_void, wsizeofcontext: u16, lpsecurityattributes: *const super::super::Security::SECURITY_ATTRIBUTES, hport: *mut super::super::Foundation::HANDLE) -> ::windows::runtime::HRESULT;
528 }
529 let mut result__: <super::super::Foundation::HANDLE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
530 FilterConnectCommunicationPort(lpportname.into_param().abi(), ::std::mem::transmute(dwoptions), ::std::mem::transmute(lpcontext), ::std::mem::transmute(wsizeofcontext), ::std::mem::transmute(lpsecurityattributes), &mut result__).from_abi::<super::super::Foundation::HANDLE>(result__)
531 }
532 #[cfg(not(windows))]
533 unimplemented!("Unsupported target OS");
534 }
535 #[cfg(feature = "Win32_Foundation")]
536 #[inline]
FilterCreate<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(lpfiltername: Param0) -> ::windows::runtime::Result<HFILTER>537 pub unsafe fn FilterCreate<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(lpfiltername: Param0) -> ::windows::runtime::Result<HFILTER> {
538 #[cfg(windows)]
539 {
540 #[link(name = "windows")]
541 extern "system" {
542 fn FilterCreate(lpfiltername: super::super::Foundation::PWSTR, hfilter: *mut HFILTER) -> ::windows::runtime::HRESULT;
543 }
544 let mut result__: <HFILTER as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
545 FilterCreate(lpfiltername.into_param().abi(), &mut result__).from_abi::<HFILTER>(result__)
546 }
547 #[cfg(not(windows))]
548 unimplemented!("Unsupported target OS");
549 }
550 #[cfg(feature = "Win32_Foundation")]
551 #[inline]
FilterDetach<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(lpfiltername: Param0, lpvolumename: Param1, lpinstancename: Param2) -> ::windows::runtime::Result<()>552 pub unsafe fn FilterDetach<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(lpfiltername: Param0, lpvolumename: Param1, lpinstancename: Param2) -> ::windows::runtime::Result<()> {
553 #[cfg(windows)]
554 {
555 #[link(name = "windows")]
556 extern "system" {
557 fn FilterDetach(lpfiltername: super::super::Foundation::PWSTR, lpvolumename: super::super::Foundation::PWSTR, lpinstancename: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT;
558 }
559 FilterDetach(lpfiltername.into_param().abi(), lpvolumename.into_param().abi(), lpinstancename.into_param().abi()).ok()
560 }
561 #[cfg(not(windows))]
562 unimplemented!("Unsupported target OS");
563 }
564 #[cfg(feature = "Win32_Foundation")]
565 #[inline]
FilterFindClose<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(hfilterfind: Param0) -> ::windows::runtime::Result<()>566 pub unsafe fn FilterFindClose<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(hfilterfind: Param0) -> ::windows::runtime::Result<()> {
567 #[cfg(windows)]
568 {
569 #[link(name = "windows")]
570 extern "system" {
571 fn FilterFindClose(hfilterfind: super::super::Foundation::HANDLE) -> ::windows::runtime::HRESULT;
572 }
573 FilterFindClose(hfilterfind.into_param().abi()).ok()
574 }
575 #[cfg(not(windows))]
576 unimplemented!("Unsupported target OS");
577 }
578 #[inline]
FilterFindFirst(dwinformationclass: FILTER_INFORMATION_CLASS, lpbuffer: *mut ::std::ffi::c_void, dwbuffersize: u32, lpbytesreturned: *mut u32, lpfilterfind: *mut FilterFindHandle) -> ::windows::runtime::Result<()>579 pub unsafe fn FilterFindFirst(dwinformationclass: FILTER_INFORMATION_CLASS, lpbuffer: *mut ::std::ffi::c_void, dwbuffersize: u32, lpbytesreturned: *mut u32, lpfilterfind: *mut FilterFindHandle) -> ::windows::runtime::Result<()> {
580 #[cfg(windows)]
581 {
582 #[link(name = "windows")]
583 extern "system" {
584 fn FilterFindFirst(dwinformationclass: FILTER_INFORMATION_CLASS, lpbuffer: *mut ::std::ffi::c_void, dwbuffersize: u32, lpbytesreturned: *mut u32, lpfilterfind: *mut FilterFindHandle) -> ::windows::runtime::HRESULT;
585 }
586 FilterFindFirst(::std::mem::transmute(dwinformationclass), ::std::mem::transmute(lpbuffer), ::std::mem::transmute(dwbuffersize), ::std::mem::transmute(lpbytesreturned), ::std::mem::transmute(lpfilterfind)).ok()
587 }
588 #[cfg(not(windows))]
589 unimplemented!("Unsupported target OS");
590 }
591 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy, :: std :: fmt :: Debug, :: std :: cmp :: PartialEq, :: std :: cmp :: Eq)]
592 #[repr(transparent)]
593 pub struct FilterFindHandle(pub isize);
594 impl ::std::default::Default for FilterFindHandle {
default() -> Self595 fn default() -> Self {
596 unsafe { ::std::mem::zeroed() }
597 }
598 }
599 unsafe impl ::windows::runtime::Handle for FilterFindHandle {}
600 unsafe impl ::windows::runtime::Abi for FilterFindHandle {
601 type Abi = Self;
602 type DefaultType = Self;
603 }
604 #[cfg(feature = "Win32_Foundation")]
605 #[inline]
FilterFindNext<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(hfilterfind: Param0, dwinformationclass: FILTER_INFORMATION_CLASS, lpbuffer: *mut ::std::ffi::c_void, dwbuffersize: u32, lpbytesreturned: *mut u32) -> ::windows::runtime::Result<()>606 pub unsafe fn FilterFindNext<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(hfilterfind: Param0, dwinformationclass: FILTER_INFORMATION_CLASS, lpbuffer: *mut ::std::ffi::c_void, dwbuffersize: u32, lpbytesreturned: *mut u32) -> ::windows::runtime::Result<()> {
607 #[cfg(windows)]
608 {
609 #[link(name = "windows")]
610 extern "system" {
611 fn FilterFindNext(hfilterfind: super::super::Foundation::HANDLE, dwinformationclass: FILTER_INFORMATION_CLASS, lpbuffer: *mut ::std::ffi::c_void, dwbuffersize: u32, lpbytesreturned: *mut u32) -> ::windows::runtime::HRESULT;
612 }
613 FilterFindNext(hfilterfind.into_param().abi(), ::std::mem::transmute(dwinformationclass), ::std::mem::transmute(lpbuffer), ::std::mem::transmute(dwbuffersize), ::std::mem::transmute(lpbytesreturned)).ok()
614 }
615 #[cfg(not(windows))]
616 unimplemented!("Unsupported target OS");
617 }
618 #[cfg(feature = "Win32_Foundation")]
619 #[inline]
FilterGetDosName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(lpvolumename: Param0, lpdosname: super::super::Foundation::PWSTR, dwdosnamebuffersize: u32) -> ::windows::runtime::Result<()>620 pub unsafe fn FilterGetDosName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(lpvolumename: Param0, lpdosname: super::super::Foundation::PWSTR, dwdosnamebuffersize: u32) -> ::windows::runtime::Result<()> {
621 #[cfg(windows)]
622 {
623 #[link(name = "windows")]
624 extern "system" {
625 fn FilterGetDosName(lpvolumename: super::super::Foundation::PWSTR, lpdosname: super::super::Foundation::PWSTR, dwdosnamebuffersize: u32) -> ::windows::runtime::HRESULT;
626 }
627 FilterGetDosName(lpvolumename.into_param().abi(), ::std::mem::transmute(lpdosname), ::std::mem::transmute(dwdosnamebuffersize)).ok()
628 }
629 #[cfg(not(windows))]
630 unimplemented!("Unsupported target OS");
631 }
632 #[inline]
FilterGetInformation<'a, Param0: ::windows::runtime::IntoParam<'a, HFILTER>>(hfilter: Param0, dwinformationclass: FILTER_INFORMATION_CLASS, lpbuffer: *mut ::std::ffi::c_void, dwbuffersize: u32, lpbytesreturned: *mut u32) -> ::windows::runtime::Result<()>633 pub unsafe fn FilterGetInformation<'a, Param0: ::windows::runtime::IntoParam<'a, HFILTER>>(hfilter: Param0, dwinformationclass: FILTER_INFORMATION_CLASS, lpbuffer: *mut ::std::ffi::c_void, dwbuffersize: u32, lpbytesreturned: *mut u32) -> ::windows::runtime::Result<()> {
634 #[cfg(windows)]
635 {
636 #[link(name = "windows")]
637 extern "system" {
638 fn FilterGetInformation(hfilter: HFILTER, dwinformationclass: FILTER_INFORMATION_CLASS, lpbuffer: *mut ::std::ffi::c_void, dwbuffersize: u32, lpbytesreturned: *mut u32) -> ::windows::runtime::HRESULT;
639 }
640 FilterGetInformation(hfilter.into_param().abi(), ::std::mem::transmute(dwinformationclass), ::std::mem::transmute(lpbuffer), ::std::mem::transmute(dwbuffersize), ::std::mem::transmute(lpbytesreturned)).ok()
641 }
642 #[cfg(not(windows))]
643 unimplemented!("Unsupported target OS");
644 }
645 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))]
646 #[inline]
FilterGetMessage<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(hport: Param0, lpmessagebuffer: *mut FILTER_MESSAGE_HEADER, dwmessagebuffersize: u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED) -> ::windows::runtime::Result<()>647 pub unsafe fn FilterGetMessage<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(hport: Param0, lpmessagebuffer: *mut FILTER_MESSAGE_HEADER, dwmessagebuffersize: u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED) -> ::windows::runtime::Result<()> {
648 #[cfg(windows)]
649 {
650 #[link(name = "windows")]
651 extern "system" {
652 fn FilterGetMessage(hport: super::super::Foundation::HANDLE, lpmessagebuffer: *mut FILTER_MESSAGE_HEADER, dwmessagebuffersize: u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED) -> ::windows::runtime::HRESULT;
653 }
654 FilterGetMessage(hport.into_param().abi(), ::std::mem::transmute(lpmessagebuffer), ::std::mem::transmute(dwmessagebuffersize), ::std::mem::transmute(lpoverlapped)).ok()
655 }
656 #[cfg(not(windows))]
657 unimplemented!("Unsupported target OS");
658 }
659 #[inline]
FilterInstanceClose<'a, Param0: ::windows::runtime::IntoParam<'a, HFILTER_INSTANCE>>(hinstance: Param0) -> ::windows::runtime::Result<()>660 pub unsafe fn FilterInstanceClose<'a, Param0: ::windows::runtime::IntoParam<'a, HFILTER_INSTANCE>>(hinstance: Param0) -> ::windows::runtime::Result<()> {
661 #[cfg(windows)]
662 {
663 #[link(name = "windows")]
664 extern "system" {
665 fn FilterInstanceClose(hinstance: HFILTER_INSTANCE) -> ::windows::runtime::HRESULT;
666 }
667 FilterInstanceClose(hinstance.into_param().abi()).ok()
668 }
669 #[cfg(not(windows))]
670 unimplemented!("Unsupported target OS");
671 }
672 #[cfg(feature = "Win32_Foundation")]
673 #[inline]
FilterInstanceCreate<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(lpfiltername: Param0, lpvolumename: Param1, lpinstancename: Param2) -> ::windows::runtime::Result<HFILTER_INSTANCE>674 pub unsafe fn FilterInstanceCreate<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(lpfiltername: Param0, lpvolumename: Param1, lpinstancename: Param2) -> ::windows::runtime::Result<HFILTER_INSTANCE> {
675 #[cfg(windows)]
676 {
677 #[link(name = "windows")]
678 extern "system" {
679 fn FilterInstanceCreate(lpfiltername: super::super::Foundation::PWSTR, lpvolumename: super::super::Foundation::PWSTR, lpinstancename: super::super::Foundation::PWSTR, hinstance: *mut HFILTER_INSTANCE) -> ::windows::runtime::HRESULT;
680 }
681 let mut result__: <HFILTER_INSTANCE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
682 FilterInstanceCreate(lpfiltername.into_param().abi(), lpvolumename.into_param().abi(), lpinstancename.into_param().abi(), &mut result__).from_abi::<HFILTER_INSTANCE>(result__)
683 }
684 #[cfg(not(windows))]
685 unimplemented!("Unsupported target OS");
686 }
687 #[cfg(feature = "Win32_Foundation")]
688 #[inline]
FilterInstanceFindClose<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(hfilterinstancefind: Param0) -> ::windows::runtime::Result<()>689 pub unsafe fn FilterInstanceFindClose<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(hfilterinstancefind: Param0) -> ::windows::runtime::Result<()> {
690 #[cfg(windows)]
691 {
692 #[link(name = "windows")]
693 extern "system" {
694 fn FilterInstanceFindClose(hfilterinstancefind: super::super::Foundation::HANDLE) -> ::windows::runtime::HRESULT;
695 }
696 FilterInstanceFindClose(hfilterinstancefind.into_param().abi()).ok()
697 }
698 #[cfg(not(windows))]
699 unimplemented!("Unsupported target OS");
700 }
701 #[cfg(feature = "Win32_Foundation")]
702 #[inline]
FilterInstanceFindFirst<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(lpfiltername: Param0, dwinformationclass: INSTANCE_INFORMATION_CLASS, lpbuffer: *mut ::std::ffi::c_void, dwbuffersize: u32, lpbytesreturned: *mut u32, lpfilterinstancefind: *mut FilterInstanceFindHandle) -> ::windows::runtime::Result<()>703 pub unsafe fn FilterInstanceFindFirst<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(lpfiltername: Param0, dwinformationclass: INSTANCE_INFORMATION_CLASS, lpbuffer: *mut ::std::ffi::c_void, dwbuffersize: u32, lpbytesreturned: *mut u32, lpfilterinstancefind: *mut FilterInstanceFindHandle) -> ::windows::runtime::Result<()> {
704 #[cfg(windows)]
705 {
706 #[link(name = "windows")]
707 extern "system" {
708 fn FilterInstanceFindFirst(lpfiltername: super::super::Foundation::PWSTR, dwinformationclass: INSTANCE_INFORMATION_CLASS, lpbuffer: *mut ::std::ffi::c_void, dwbuffersize: u32, lpbytesreturned: *mut u32, lpfilterinstancefind: *mut FilterInstanceFindHandle) -> ::windows::runtime::HRESULT;
709 }
710 FilterInstanceFindFirst(lpfiltername.into_param().abi(), ::std::mem::transmute(dwinformationclass), ::std::mem::transmute(lpbuffer), ::std::mem::transmute(dwbuffersize), ::std::mem::transmute(lpbytesreturned), ::std::mem::transmute(lpfilterinstancefind)).ok()
711 }
712 #[cfg(not(windows))]
713 unimplemented!("Unsupported target OS");
714 }
715 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy, :: std :: fmt :: Debug, :: std :: cmp :: PartialEq, :: std :: cmp :: Eq)]
716 #[repr(transparent)]
717 pub struct FilterInstanceFindHandle(pub isize);
718 impl ::std::default::Default for FilterInstanceFindHandle {
default() -> Self719 fn default() -> Self {
720 unsafe { ::std::mem::zeroed() }
721 }
722 }
723 unsafe impl ::windows::runtime::Handle for FilterInstanceFindHandle {}
724 unsafe impl ::windows::runtime::Abi for FilterInstanceFindHandle {
725 type Abi = Self;
726 type DefaultType = Self;
727 }
728 #[cfg(feature = "Win32_Foundation")]
729 #[inline]
FilterInstanceFindNext<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(hfilterinstancefind: Param0, dwinformationclass: INSTANCE_INFORMATION_CLASS, lpbuffer: *mut ::std::ffi::c_void, dwbuffersize: u32, lpbytesreturned: *mut u32) -> ::windows::runtime::Result<()>730 pub unsafe fn FilterInstanceFindNext<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(hfilterinstancefind: Param0, dwinformationclass: INSTANCE_INFORMATION_CLASS, lpbuffer: *mut ::std::ffi::c_void, dwbuffersize: u32, lpbytesreturned: *mut u32) -> ::windows::runtime::Result<()> {
731 #[cfg(windows)]
732 {
733 #[link(name = "windows")]
734 extern "system" {
735 fn FilterInstanceFindNext(hfilterinstancefind: super::super::Foundation::HANDLE, dwinformationclass: INSTANCE_INFORMATION_CLASS, lpbuffer: *mut ::std::ffi::c_void, dwbuffersize: u32, lpbytesreturned: *mut u32) -> ::windows::runtime::HRESULT;
736 }
737 FilterInstanceFindNext(hfilterinstancefind.into_param().abi(), ::std::mem::transmute(dwinformationclass), ::std::mem::transmute(lpbuffer), ::std::mem::transmute(dwbuffersize), ::std::mem::transmute(lpbytesreturned)).ok()
738 }
739 #[cfg(not(windows))]
740 unimplemented!("Unsupported target OS");
741 }
742 #[inline]
FilterInstanceGetInformation<'a, Param0: ::windows::runtime::IntoParam<'a, HFILTER_INSTANCE>>(hinstance: Param0, dwinformationclass: INSTANCE_INFORMATION_CLASS, lpbuffer: *mut ::std::ffi::c_void, dwbuffersize: u32, lpbytesreturned: *mut u32) -> ::windows::runtime::Result<()>743 pub unsafe fn FilterInstanceGetInformation<'a, Param0: ::windows::runtime::IntoParam<'a, HFILTER_INSTANCE>>(hinstance: Param0, dwinformationclass: INSTANCE_INFORMATION_CLASS, lpbuffer: *mut ::std::ffi::c_void, dwbuffersize: u32, lpbytesreturned: *mut u32) -> ::windows::runtime::Result<()> {
744 #[cfg(windows)]
745 {
746 #[link(name = "windows")]
747 extern "system" {
748 fn FilterInstanceGetInformation(hinstance: HFILTER_INSTANCE, dwinformationclass: INSTANCE_INFORMATION_CLASS, lpbuffer: *mut ::std::ffi::c_void, dwbuffersize: u32, lpbytesreturned: *mut u32) -> ::windows::runtime::HRESULT;
749 }
750 FilterInstanceGetInformation(hinstance.into_param().abi(), ::std::mem::transmute(dwinformationclass), ::std::mem::transmute(lpbuffer), ::std::mem::transmute(dwbuffersize), ::std::mem::transmute(lpbytesreturned)).ok()
751 }
752 #[cfg(not(windows))]
753 unimplemented!("Unsupported target OS");
754 }
755 #[cfg(feature = "Win32_Foundation")]
756 #[inline]
FilterLoad<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(lpfiltername: Param0) -> ::windows::runtime::Result<()>757 pub unsafe fn FilterLoad<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(lpfiltername: Param0) -> ::windows::runtime::Result<()> {
758 #[cfg(windows)]
759 {
760 #[link(name = "windows")]
761 extern "system" {
762 fn FilterLoad(lpfiltername: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT;
763 }
764 FilterLoad(lpfiltername.into_param().abi()).ok()
765 }
766 #[cfg(not(windows))]
767 unimplemented!("Unsupported target OS");
768 }
769 #[cfg(feature = "Win32_Foundation")]
770 #[inline]
FilterReplyMessage<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(hport: Param0, lpreplybuffer: *const FILTER_REPLY_HEADER, dwreplybuffersize: u32) -> ::windows::runtime::Result<()>771 pub unsafe fn FilterReplyMessage<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(hport: Param0, lpreplybuffer: *const FILTER_REPLY_HEADER, dwreplybuffersize: u32) -> ::windows::runtime::Result<()> {
772 #[cfg(windows)]
773 {
774 #[link(name = "windows")]
775 extern "system" {
776 fn FilterReplyMessage(hport: super::super::Foundation::HANDLE, lpreplybuffer: *const FILTER_REPLY_HEADER, dwreplybuffersize: u32) -> ::windows::runtime::HRESULT;
777 }
778 FilterReplyMessage(hport.into_param().abi(), ::std::mem::transmute(lpreplybuffer), ::std::mem::transmute(dwreplybuffersize)).ok()
779 }
780 #[cfg(not(windows))]
781 unimplemented!("Unsupported target OS");
782 }
783 #[cfg(feature = "Win32_Foundation")]
784 #[inline]
FilterSendMessage<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(hport: Param0, lpinbuffer: *const ::std::ffi::c_void, dwinbuffersize: u32, lpoutbuffer: *mut ::std::ffi::c_void, dwoutbuffersize: u32, lpbytesreturned: *mut u32) -> ::windows::runtime::Result<()>785 pub unsafe fn FilterSendMessage<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(hport: Param0, lpinbuffer: *const ::std::ffi::c_void, dwinbuffersize: u32, lpoutbuffer: *mut ::std::ffi::c_void, dwoutbuffersize: u32, lpbytesreturned: *mut u32) -> ::windows::runtime::Result<()> {
786 #[cfg(windows)]
787 {
788 #[link(name = "windows")]
789 extern "system" {
790 fn FilterSendMessage(hport: super::super::Foundation::HANDLE, lpinbuffer: *const ::std::ffi::c_void, dwinbuffersize: u32, lpoutbuffer: *mut ::std::ffi::c_void, dwoutbuffersize: u32, lpbytesreturned: *mut u32) -> ::windows::runtime::HRESULT;
791 }
792 FilterSendMessage(hport.into_param().abi(), ::std::mem::transmute(lpinbuffer), ::std::mem::transmute(dwinbuffersize), ::std::mem::transmute(lpoutbuffer), ::std::mem::transmute(dwoutbuffersize), ::std::mem::transmute(lpbytesreturned)).ok()
793 }
794 #[cfg(not(windows))]
795 unimplemented!("Unsupported target OS");
796 }
797 #[cfg(feature = "Win32_Foundation")]
798 #[inline]
FilterUnload<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(lpfiltername: Param0) -> ::windows::runtime::Result<()>799 pub unsafe fn FilterUnload<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(lpfiltername: Param0) -> ::windows::runtime::Result<()> {
800 #[cfg(windows)]
801 {
802 #[link(name = "windows")]
803 extern "system" {
804 fn FilterUnload(lpfiltername: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT;
805 }
806 FilterUnload(lpfiltername.into_param().abi()).ok()
807 }
808 #[cfg(not(windows))]
809 unimplemented!("Unsupported target OS");
810 }
811 #[cfg(feature = "Win32_Foundation")]
812 #[inline]
FilterVolumeFindClose<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(hvolumefind: Param0) -> ::windows::runtime::Result<()>813 pub unsafe fn FilterVolumeFindClose<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(hvolumefind: Param0) -> ::windows::runtime::Result<()> {
814 #[cfg(windows)]
815 {
816 #[link(name = "windows")]
817 extern "system" {
818 fn FilterVolumeFindClose(hvolumefind: super::super::Foundation::HANDLE) -> ::windows::runtime::HRESULT;
819 }
820 FilterVolumeFindClose(hvolumefind.into_param().abi()).ok()
821 }
822 #[cfg(not(windows))]
823 unimplemented!("Unsupported target OS");
824 }
825 #[inline]
FilterVolumeFindFirst(dwinformationclass: FILTER_VOLUME_INFORMATION_CLASS, lpbuffer: *mut ::std::ffi::c_void, dwbuffersize: u32, lpbytesreturned: *mut u32, lpvolumefind: *mut FilterVolumeFindHandle) -> ::windows::runtime::Result<()>826 pub unsafe fn FilterVolumeFindFirst(dwinformationclass: FILTER_VOLUME_INFORMATION_CLASS, lpbuffer: *mut ::std::ffi::c_void, dwbuffersize: u32, lpbytesreturned: *mut u32, lpvolumefind: *mut FilterVolumeFindHandle) -> ::windows::runtime::Result<()> {
827 #[cfg(windows)]
828 {
829 #[link(name = "windows")]
830 extern "system" {
831 fn FilterVolumeFindFirst(dwinformationclass: FILTER_VOLUME_INFORMATION_CLASS, lpbuffer: *mut ::std::ffi::c_void, dwbuffersize: u32, lpbytesreturned: *mut u32, lpvolumefind: *mut FilterVolumeFindHandle) -> ::windows::runtime::HRESULT;
832 }
833 FilterVolumeFindFirst(::std::mem::transmute(dwinformationclass), ::std::mem::transmute(lpbuffer), ::std::mem::transmute(dwbuffersize), ::std::mem::transmute(lpbytesreturned), ::std::mem::transmute(lpvolumefind)).ok()
834 }
835 #[cfg(not(windows))]
836 unimplemented!("Unsupported target OS");
837 }
838 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy, :: std :: fmt :: Debug, :: std :: cmp :: PartialEq, :: std :: cmp :: Eq)]
839 #[repr(transparent)]
840 pub struct FilterVolumeFindHandle(pub isize);
841 impl ::std::default::Default for FilterVolumeFindHandle {
default() -> Self842 fn default() -> Self {
843 unsafe { ::std::mem::zeroed() }
844 }
845 }
846 unsafe impl ::windows::runtime::Handle for FilterVolumeFindHandle {}
847 unsafe impl ::windows::runtime::Abi for FilterVolumeFindHandle {
848 type Abi = Self;
849 type DefaultType = Self;
850 }
851 #[cfg(feature = "Win32_Foundation")]
852 #[inline]
FilterVolumeFindNext<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(hvolumefind: Param0, dwinformationclass: FILTER_VOLUME_INFORMATION_CLASS, lpbuffer: *mut ::std::ffi::c_void, dwbuffersize: u32, lpbytesreturned: *mut u32) -> ::windows::runtime::Result<()>853 pub unsafe fn FilterVolumeFindNext<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(hvolumefind: Param0, dwinformationclass: FILTER_VOLUME_INFORMATION_CLASS, lpbuffer: *mut ::std::ffi::c_void, dwbuffersize: u32, lpbytesreturned: *mut u32) -> ::windows::runtime::Result<()> {
854 #[cfg(windows)]
855 {
856 #[link(name = "windows")]
857 extern "system" {
858 fn FilterVolumeFindNext(hvolumefind: super::super::Foundation::HANDLE, dwinformationclass: FILTER_VOLUME_INFORMATION_CLASS, lpbuffer: *mut ::std::ffi::c_void, dwbuffersize: u32, lpbytesreturned: *mut u32) -> ::windows::runtime::HRESULT;
859 }
860 FilterVolumeFindNext(hvolumefind.into_param().abi(), ::std::mem::transmute(dwinformationclass), ::std::mem::transmute(lpbuffer), ::std::mem::transmute(dwbuffersize), ::std::mem::transmute(lpbytesreturned)).ok()
861 }
862 #[cfg(not(windows))]
863 unimplemented!("Unsupported target OS");
864 }
865 #[cfg(feature = "Win32_Foundation")]
866 #[inline]
FilterVolumeInstanceFindClose<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(hvolumeinstancefind: Param0) -> ::windows::runtime::Result<()>867 pub unsafe fn FilterVolumeInstanceFindClose<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(hvolumeinstancefind: Param0) -> ::windows::runtime::Result<()> {
868 #[cfg(windows)]
869 {
870 #[link(name = "windows")]
871 extern "system" {
872 fn FilterVolumeInstanceFindClose(hvolumeinstancefind: super::super::Foundation::HANDLE) -> ::windows::runtime::HRESULT;
873 }
874 FilterVolumeInstanceFindClose(hvolumeinstancefind.into_param().abi()).ok()
875 }
876 #[cfg(not(windows))]
877 unimplemented!("Unsupported target OS");
878 }
879 #[cfg(feature = "Win32_Foundation")]
880 #[inline]
FilterVolumeInstanceFindFirst<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(lpvolumename: Param0, dwinformationclass: INSTANCE_INFORMATION_CLASS, lpbuffer: *mut ::std::ffi::c_void, dwbuffersize: u32, lpbytesreturned: *mut u32, lpvolumeinstancefind: *mut FilterVolumeInstanceFindHandle) -> ::windows::runtime::Result<()>881 pub unsafe fn FilterVolumeInstanceFindFirst<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(lpvolumename: Param0, dwinformationclass: INSTANCE_INFORMATION_CLASS, lpbuffer: *mut ::std::ffi::c_void, dwbuffersize: u32, lpbytesreturned: *mut u32, lpvolumeinstancefind: *mut FilterVolumeInstanceFindHandle) -> ::windows::runtime::Result<()> {
882 #[cfg(windows)]
883 {
884 #[link(name = "windows")]
885 extern "system" {
886 fn FilterVolumeInstanceFindFirst(lpvolumename: super::super::Foundation::PWSTR, dwinformationclass: INSTANCE_INFORMATION_CLASS, lpbuffer: *mut ::std::ffi::c_void, dwbuffersize: u32, lpbytesreturned: *mut u32, lpvolumeinstancefind: *mut FilterVolumeInstanceFindHandle) -> ::windows::runtime::HRESULT;
887 }
888 FilterVolumeInstanceFindFirst(lpvolumename.into_param().abi(), ::std::mem::transmute(dwinformationclass), ::std::mem::transmute(lpbuffer), ::std::mem::transmute(dwbuffersize), ::std::mem::transmute(lpbytesreturned), ::std::mem::transmute(lpvolumeinstancefind)).ok()
889 }
890 #[cfg(not(windows))]
891 unimplemented!("Unsupported target OS");
892 }
893 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy, :: std :: fmt :: Debug, :: std :: cmp :: PartialEq, :: std :: cmp :: Eq)]
894 #[repr(transparent)]
895 pub struct FilterVolumeInstanceFindHandle(pub isize);
896 impl ::std::default::Default for FilterVolumeInstanceFindHandle {
default() -> Self897 fn default() -> Self {
898 unsafe { ::std::mem::zeroed() }
899 }
900 }
901 unsafe impl ::windows::runtime::Handle for FilterVolumeInstanceFindHandle {}
902 unsafe impl ::windows::runtime::Abi for FilterVolumeInstanceFindHandle {
903 type Abi = Self;
904 type DefaultType = Self;
905 }
906 #[cfg(feature = "Win32_Foundation")]
907 #[inline]
FilterVolumeInstanceFindNext<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(hvolumeinstancefind: Param0, dwinformationclass: INSTANCE_INFORMATION_CLASS, lpbuffer: *mut ::std::ffi::c_void, dwbuffersize: u32, lpbytesreturned: *mut u32) -> ::windows::runtime::Result<()>908 pub unsafe fn FilterVolumeInstanceFindNext<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(hvolumeinstancefind: Param0, dwinformationclass: INSTANCE_INFORMATION_CLASS, lpbuffer: *mut ::std::ffi::c_void, dwbuffersize: u32, lpbytesreturned: *mut u32) -> ::windows::runtime::Result<()> {
909 #[cfg(windows)]
910 {
911 #[link(name = "windows")]
912 extern "system" {
913 fn FilterVolumeInstanceFindNext(hvolumeinstancefind: super::super::Foundation::HANDLE, dwinformationclass: INSTANCE_INFORMATION_CLASS, lpbuffer: *mut ::std::ffi::c_void, dwbuffersize: u32, lpbytesreturned: *mut u32) -> ::windows::runtime::HRESULT;
914 }
915 FilterVolumeInstanceFindNext(hvolumeinstancefind.into_param().abi(), ::std::mem::transmute(dwinformationclass), ::std::mem::transmute(lpbuffer), ::std::mem::transmute(dwbuffersize), ::std::mem::transmute(lpbytesreturned)).ok()
916 }
917 #[cfg(not(windows))]
918 unimplemented!("Unsupported target OS");
919 }
920 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy, :: std :: fmt :: Debug, :: std :: cmp :: PartialEq, :: std :: cmp :: Eq)]
921 #[repr(transparent)]
922 pub struct HFILTER(pub isize);
923 impl ::std::default::Default for HFILTER {
default() -> Self924 fn default() -> Self {
925 unsafe { ::std::mem::zeroed() }
926 }
927 }
928 unsafe impl ::windows::runtime::Handle for HFILTER {}
929 unsafe impl ::windows::runtime::Abi for HFILTER {
930 type Abi = Self;
931 type DefaultType = Self;
932 }
933 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy, :: std :: fmt :: Debug, :: std :: cmp :: PartialEq, :: std :: cmp :: Eq)]
934 #[repr(transparent)]
935 pub struct HFILTER_INSTANCE(pub isize);
936 impl ::std::default::Default for HFILTER_INSTANCE {
default() -> Self937 fn default() -> Self {
938 unsafe { ::std::mem::zeroed() }
939 }
940 }
941 unsafe impl ::windows::runtime::Handle for HFILTER_INSTANCE {}
942 unsafe impl ::windows::runtime::Abi for HFILTER_INSTANCE {
943 type Abi = Self;
944 type DefaultType = Self;
945 }
946 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
947 #[repr(C)]
948 pub struct INSTANCE_AGGREGATE_STANDARD_INFORMATION {
949 pub NextEntryOffset: u32,
950 pub Flags: u32,
951 pub Type: INSTANCE_AGGREGATE_STANDARD_INFORMATION_0,
952 }
953 impl INSTANCE_AGGREGATE_STANDARD_INFORMATION {}
954 impl ::std::default::Default for INSTANCE_AGGREGATE_STANDARD_INFORMATION {
default() -> Self955 fn default() -> Self {
956 unsafe { ::std::mem::zeroed() }
957 }
958 }
959 impl ::std::cmp::PartialEq for INSTANCE_AGGREGATE_STANDARD_INFORMATION {
eq(&self, _other: &Self) -> bool960 fn eq(&self, _other: &Self) -> bool {
961 unimplemented!()
962 }
963 }
964 impl ::std::cmp::Eq for INSTANCE_AGGREGATE_STANDARD_INFORMATION {}
965 unsafe impl ::windows::runtime::Abi for INSTANCE_AGGREGATE_STANDARD_INFORMATION {
966 type Abi = Self;
967 type DefaultType = Self;
968 }
969 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
970 #[repr(C)]
971 pub union INSTANCE_AGGREGATE_STANDARD_INFORMATION_0 {
972 pub MiniFilter: INSTANCE_AGGREGATE_STANDARD_INFORMATION_0_1,
973 pub LegacyFilter: INSTANCE_AGGREGATE_STANDARD_INFORMATION_0_0,
974 }
975 impl INSTANCE_AGGREGATE_STANDARD_INFORMATION_0 {}
976 impl ::std::default::Default for INSTANCE_AGGREGATE_STANDARD_INFORMATION_0 {
default() -> Self977 fn default() -> Self {
978 unsafe { ::std::mem::zeroed() }
979 }
980 }
981 impl ::std::cmp::PartialEq for INSTANCE_AGGREGATE_STANDARD_INFORMATION_0 {
eq(&self, _other: &Self) -> bool982 fn eq(&self, _other: &Self) -> bool {
983 unimplemented!()
984 }
985 }
986 impl ::std::cmp::Eq for INSTANCE_AGGREGATE_STANDARD_INFORMATION_0 {}
987 unsafe impl ::windows::runtime::Abi for INSTANCE_AGGREGATE_STANDARD_INFORMATION_0 {
988 type Abi = Self;
989 type DefaultType = Self;
990 }
991 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
992 #[repr(C)]
993 pub struct INSTANCE_AGGREGATE_STANDARD_INFORMATION_0_0 {
994 pub Flags: u32,
995 pub AltitudeLength: u16,
996 pub AltitudeBufferOffset: u16,
997 pub VolumeNameLength: u16,
998 pub VolumeNameBufferOffset: u16,
999 pub FilterNameLength: u16,
1000 pub FilterNameBufferOffset: u16,
1001 pub SupportedFeatures: u32,
1002 }
1003 impl INSTANCE_AGGREGATE_STANDARD_INFORMATION_0_0 {}
1004 impl ::std::default::Default for INSTANCE_AGGREGATE_STANDARD_INFORMATION_0_0 {
default() -> Self1005 fn default() -> Self {
1006 unsafe { ::std::mem::zeroed() }
1007 }
1008 }
1009 impl ::std::fmt::Debug for INSTANCE_AGGREGATE_STANDARD_INFORMATION_0_0 {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1010 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1011 fmt.debug_struct("_LegacyFilter_e__Struct")
1012 .field("Flags", &self.Flags)
1013 .field("AltitudeLength", &self.AltitudeLength)
1014 .field("AltitudeBufferOffset", &self.AltitudeBufferOffset)
1015 .field("VolumeNameLength", &self.VolumeNameLength)
1016 .field("VolumeNameBufferOffset", &self.VolumeNameBufferOffset)
1017 .field("FilterNameLength", &self.FilterNameLength)
1018 .field("FilterNameBufferOffset", &self.FilterNameBufferOffset)
1019 .field("SupportedFeatures", &self.SupportedFeatures)
1020 .finish()
1021 }
1022 }
1023 impl ::std::cmp::PartialEq for INSTANCE_AGGREGATE_STANDARD_INFORMATION_0_0 {
eq(&self, other: &Self) -> bool1024 fn eq(&self, other: &Self) -> bool {
1025 self.Flags == other.Flags && self.AltitudeLength == other.AltitudeLength && self.AltitudeBufferOffset == other.AltitudeBufferOffset && self.VolumeNameLength == other.VolumeNameLength && self.VolumeNameBufferOffset == other.VolumeNameBufferOffset && self.FilterNameLength == other.FilterNameLength && self.FilterNameBufferOffset == other.FilterNameBufferOffset && self.SupportedFeatures == other.SupportedFeatures
1026 }
1027 }
1028 impl ::std::cmp::Eq for INSTANCE_AGGREGATE_STANDARD_INFORMATION_0_0 {}
1029 unsafe impl ::windows::runtime::Abi for INSTANCE_AGGREGATE_STANDARD_INFORMATION_0_0 {
1030 type Abi = Self;
1031 type DefaultType = Self;
1032 }
1033 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
1034 #[repr(C)]
1035 pub struct INSTANCE_AGGREGATE_STANDARD_INFORMATION_0_1 {
1036 pub Flags: u32,
1037 pub FrameID: u32,
1038 pub VolumeFileSystemType: FLT_FILESYSTEM_TYPE,
1039 pub InstanceNameLength: u16,
1040 pub InstanceNameBufferOffset: u16,
1041 pub AltitudeLength: u16,
1042 pub AltitudeBufferOffset: u16,
1043 pub VolumeNameLength: u16,
1044 pub VolumeNameBufferOffset: u16,
1045 pub FilterNameLength: u16,
1046 pub FilterNameBufferOffset: u16,
1047 pub SupportedFeatures: u32,
1048 }
1049 impl INSTANCE_AGGREGATE_STANDARD_INFORMATION_0_1 {}
1050 impl ::std::default::Default for INSTANCE_AGGREGATE_STANDARD_INFORMATION_0_1 {
default() -> Self1051 fn default() -> Self {
1052 unsafe { ::std::mem::zeroed() }
1053 }
1054 }
1055 impl ::std::fmt::Debug for INSTANCE_AGGREGATE_STANDARD_INFORMATION_0_1 {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1056 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1057 fmt.debug_struct("_MiniFilter_e__Struct")
1058 .field("Flags", &self.Flags)
1059 .field("FrameID", &self.FrameID)
1060 .field("VolumeFileSystemType", &self.VolumeFileSystemType)
1061 .field("InstanceNameLength", &self.InstanceNameLength)
1062 .field("InstanceNameBufferOffset", &self.InstanceNameBufferOffset)
1063 .field("AltitudeLength", &self.AltitudeLength)
1064 .field("AltitudeBufferOffset", &self.AltitudeBufferOffset)
1065 .field("VolumeNameLength", &self.VolumeNameLength)
1066 .field("VolumeNameBufferOffset", &self.VolumeNameBufferOffset)
1067 .field("FilterNameLength", &self.FilterNameLength)
1068 .field("FilterNameBufferOffset", &self.FilterNameBufferOffset)
1069 .field("SupportedFeatures", &self.SupportedFeatures)
1070 .finish()
1071 }
1072 }
1073 impl ::std::cmp::PartialEq for INSTANCE_AGGREGATE_STANDARD_INFORMATION_0_1 {
eq(&self, other: &Self) -> bool1074 fn eq(&self, other: &Self) -> bool {
1075 self.Flags == other.Flags
1076 && self.FrameID == other.FrameID
1077 && self.VolumeFileSystemType == other.VolumeFileSystemType
1078 && self.InstanceNameLength == other.InstanceNameLength
1079 && self.InstanceNameBufferOffset == other.InstanceNameBufferOffset
1080 && self.AltitudeLength == other.AltitudeLength
1081 && self.AltitudeBufferOffset == other.AltitudeBufferOffset
1082 && self.VolumeNameLength == other.VolumeNameLength
1083 && self.VolumeNameBufferOffset == other.VolumeNameBufferOffset
1084 && self.FilterNameLength == other.FilterNameLength
1085 && self.FilterNameBufferOffset == other.FilterNameBufferOffset
1086 && self.SupportedFeatures == other.SupportedFeatures
1087 }
1088 }
1089 impl ::std::cmp::Eq for INSTANCE_AGGREGATE_STANDARD_INFORMATION_0_1 {}
1090 unsafe impl ::windows::runtime::Abi for INSTANCE_AGGREGATE_STANDARD_INFORMATION_0_1 {
1091 type Abi = Self;
1092 type DefaultType = Self;
1093 }
1094 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
1095 #[repr(C)]
1096 pub struct INSTANCE_BASIC_INFORMATION {
1097 pub NextEntryOffset: u32,
1098 pub InstanceNameLength: u16,
1099 pub InstanceNameBufferOffset: u16,
1100 }
1101 impl INSTANCE_BASIC_INFORMATION {}
1102 impl ::std::default::Default for INSTANCE_BASIC_INFORMATION {
default() -> Self1103 fn default() -> Self {
1104 unsafe { ::std::mem::zeroed() }
1105 }
1106 }
1107 impl ::std::fmt::Debug for INSTANCE_BASIC_INFORMATION {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1108 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1109 fmt.debug_struct("INSTANCE_BASIC_INFORMATION").field("NextEntryOffset", &self.NextEntryOffset).field("InstanceNameLength", &self.InstanceNameLength).field("InstanceNameBufferOffset", &self.InstanceNameBufferOffset).finish()
1110 }
1111 }
1112 impl ::std::cmp::PartialEq for INSTANCE_BASIC_INFORMATION {
eq(&self, other: &Self) -> bool1113 fn eq(&self, other: &Self) -> bool {
1114 self.NextEntryOffset == other.NextEntryOffset && self.InstanceNameLength == other.InstanceNameLength && self.InstanceNameBufferOffset == other.InstanceNameBufferOffset
1115 }
1116 }
1117 impl ::std::cmp::Eq for INSTANCE_BASIC_INFORMATION {}
1118 unsafe impl ::windows::runtime::Abi for INSTANCE_BASIC_INFORMATION {
1119 type Abi = Self;
1120 type DefaultType = Self;
1121 }
1122 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
1123 #[repr(C)]
1124 pub struct INSTANCE_FULL_INFORMATION {
1125 pub NextEntryOffset: u32,
1126 pub InstanceNameLength: u16,
1127 pub InstanceNameBufferOffset: u16,
1128 pub AltitudeLength: u16,
1129 pub AltitudeBufferOffset: u16,
1130 pub VolumeNameLength: u16,
1131 pub VolumeNameBufferOffset: u16,
1132 pub FilterNameLength: u16,
1133 pub FilterNameBufferOffset: u16,
1134 }
1135 impl INSTANCE_FULL_INFORMATION {}
1136 impl ::std::default::Default for INSTANCE_FULL_INFORMATION {
default() -> Self1137 fn default() -> Self {
1138 unsafe { ::std::mem::zeroed() }
1139 }
1140 }
1141 impl ::std::fmt::Debug for INSTANCE_FULL_INFORMATION {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1142 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1143 fmt.debug_struct("INSTANCE_FULL_INFORMATION")
1144 .field("NextEntryOffset", &self.NextEntryOffset)
1145 .field("InstanceNameLength", &self.InstanceNameLength)
1146 .field("InstanceNameBufferOffset", &self.InstanceNameBufferOffset)
1147 .field("AltitudeLength", &self.AltitudeLength)
1148 .field("AltitudeBufferOffset", &self.AltitudeBufferOffset)
1149 .field("VolumeNameLength", &self.VolumeNameLength)
1150 .field("VolumeNameBufferOffset", &self.VolumeNameBufferOffset)
1151 .field("FilterNameLength", &self.FilterNameLength)
1152 .field("FilterNameBufferOffset", &self.FilterNameBufferOffset)
1153 .finish()
1154 }
1155 }
1156 impl ::std::cmp::PartialEq for INSTANCE_FULL_INFORMATION {
eq(&self, other: &Self) -> bool1157 fn eq(&self, other: &Self) -> bool {
1158 self.NextEntryOffset == other.NextEntryOffset
1159 && self.InstanceNameLength == other.InstanceNameLength
1160 && self.InstanceNameBufferOffset == other.InstanceNameBufferOffset
1161 && self.AltitudeLength == other.AltitudeLength
1162 && self.AltitudeBufferOffset == other.AltitudeBufferOffset
1163 && self.VolumeNameLength == other.VolumeNameLength
1164 && self.VolumeNameBufferOffset == other.VolumeNameBufferOffset
1165 && self.FilterNameLength == other.FilterNameLength
1166 && self.FilterNameBufferOffset == other.FilterNameBufferOffset
1167 }
1168 }
1169 impl ::std::cmp::Eq for INSTANCE_FULL_INFORMATION {}
1170 unsafe impl ::windows::runtime::Abi for INSTANCE_FULL_INFORMATION {
1171 type Abi = Self;
1172 type DefaultType = Self;
1173 }
1174 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
1175 #[repr(transparent)]
1176 pub struct INSTANCE_INFORMATION_CLASS(pub i32);
1177 pub const InstanceBasicInformation: INSTANCE_INFORMATION_CLASS = INSTANCE_INFORMATION_CLASS(0i32);
1178 pub const InstancePartialInformation: INSTANCE_INFORMATION_CLASS = INSTANCE_INFORMATION_CLASS(1i32);
1179 pub const InstanceFullInformation: INSTANCE_INFORMATION_CLASS = INSTANCE_INFORMATION_CLASS(2i32);
1180 pub const InstanceAggregateStandardInformation: INSTANCE_INFORMATION_CLASS = INSTANCE_INFORMATION_CLASS(3i32);
1181 impl ::std::convert::From<i32> for INSTANCE_INFORMATION_CLASS {
from(value: i32) -> Self1182 fn from(value: i32) -> Self {
1183 Self(value)
1184 }
1185 }
1186 unsafe impl ::windows::runtime::Abi for INSTANCE_INFORMATION_CLASS {
1187 type Abi = Self;
1188 type DefaultType = Self;
1189 }
1190 pub const INSTANCE_NAME_MAX_CHARS: u32 = 255u32;
1191 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
1192 #[repr(C)]
1193 pub struct INSTANCE_PARTIAL_INFORMATION {
1194 pub NextEntryOffset: u32,
1195 pub InstanceNameLength: u16,
1196 pub InstanceNameBufferOffset: u16,
1197 pub AltitudeLength: u16,
1198 pub AltitudeBufferOffset: u16,
1199 }
1200 impl INSTANCE_PARTIAL_INFORMATION {}
1201 impl ::std::default::Default for INSTANCE_PARTIAL_INFORMATION {
default() -> Self1202 fn default() -> Self {
1203 unsafe { ::std::mem::zeroed() }
1204 }
1205 }
1206 impl ::std::fmt::Debug for INSTANCE_PARTIAL_INFORMATION {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1207 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1208 fmt.debug_struct("INSTANCE_PARTIAL_INFORMATION")
1209 .field("NextEntryOffset", &self.NextEntryOffset)
1210 .field("InstanceNameLength", &self.InstanceNameLength)
1211 .field("InstanceNameBufferOffset", &self.InstanceNameBufferOffset)
1212 .field("AltitudeLength", &self.AltitudeLength)
1213 .field("AltitudeBufferOffset", &self.AltitudeBufferOffset)
1214 .finish()
1215 }
1216 }
1217 impl ::std::cmp::PartialEq for INSTANCE_PARTIAL_INFORMATION {
eq(&self, other: &Self) -> bool1218 fn eq(&self, other: &Self) -> bool {
1219 self.NextEntryOffset == other.NextEntryOffset && self.InstanceNameLength == other.InstanceNameLength && self.InstanceNameBufferOffset == other.InstanceNameBufferOffset && self.AltitudeLength == other.AltitudeLength && self.AltitudeBufferOffset == other.AltitudeBufferOffset
1220 }
1221 }
1222 impl ::std::cmp::Eq for INSTANCE_PARTIAL_INFORMATION {}
1223 unsafe impl ::windows::runtime::Abi for INSTANCE_PARTIAL_INFORMATION {
1224 type Abi = Self;
1225 type DefaultType = Self;
1226 }
1227 pub const VOLUME_NAME_MAX_CHARS: u32 = 1024u32;
1228 pub const WNNC_CRED_MANAGER: u32 = 4294901760u32;
1229 pub const WNNC_NET_10NET: u32 = 327680u32;
1230 pub const WNNC_NET_3IN1: u32 = 2555904u32;
1231 pub const WNNC_NET_9P: u32 = 4718592u32;
1232 pub const WNNC_NET_9TILES: u32 = 589824u32;
1233 pub const WNNC_NET_APPLETALK: u32 = 1245184u32;
1234 pub const WNNC_NET_AS400: u32 = 720896u32;
1235 pub const WNNC_NET_AURISTOR_FS: u32 = 4587520u32;
1236 pub const WNNC_NET_AVID: u32 = 1703936u32;
1237 pub const WNNC_NET_AVID1: u32 = 3801088u32;
1238 pub const WNNC_NET_BMC: u32 = 1572864u32;
1239 pub const WNNC_NET_BWNFS: u32 = 1048576u32;
1240 pub const WNNC_NET_CLEARCASE: u32 = 1441792u32;
1241 pub const WNNC_NET_COGENT: u32 = 1114112u32;
1242 pub const WNNC_NET_CSC: u32 = 2490368u32;
1243 pub const WNNC_NET_DAV: u32 = 3014656u32;
1244 pub const WNNC_NET_DCE: u32 = 1638400u32;
1245 pub const WNNC_NET_DECORB: u32 = 2097152u32;
1246 pub const WNNC_NET_DFS: u32 = 3866624u32;
1247 pub const WNNC_NET_DISTINCT: u32 = 2293760u32;
1248 pub const WNNC_NET_DOCUSHARE: u32 = 4521984u32;
1249 pub const WNNC_NET_DOCUSPACE: u32 = 1769472u32;
1250 pub const WNNC_NET_DRIVEONWEB: u32 = 4063232u32;
1251 pub const WNNC_NET_EXIFS: u32 = 2949120u32;
1252 pub const WNNC_NET_EXTENDNET: u32 = 2686976u32;
1253 pub const WNNC_NET_FARALLON: u32 = 1179648u32;
1254 pub const WNNC_NET_FJ_REDIR: u32 = 2228224u32;
1255 pub const WNNC_NET_FOXBAT: u32 = 2818048u32;
1256 pub const WNNC_NET_FRONTIER: u32 = 1507328u32;
1257 pub const WNNC_NET_FTP_NFS: u32 = 786432u32;
1258 pub const WNNC_NET_GOOGLE: u32 = 4390912u32;
1259 pub const WNNC_NET_HOB_NFS: u32 = 3276800u32;
1260 pub const WNNC_NET_IBMAL: u32 = 3407872u32;
1261 pub const WNNC_NET_INTERGRAPH: u32 = 1310720u32;
1262 pub const WNNC_NET_KNOWARE: u32 = 3080192u32;
1263 pub const WNNC_NET_KWNP: u32 = 3932160u32;
1264 pub const WNNC_NET_LANMAN: u32 = 131072u32;
1265 pub const WNNC_NET_LANSTEP: u32 = 524288u32;
1266 pub const WNNC_NET_LANTASTIC: u32 = 655360u32;
1267 pub const WNNC_NET_LIFENET: u32 = 917504u32;
1268 pub const WNNC_NET_LOCK: u32 = 3473408u32;
1269 pub const WNNC_NET_LOCUS: u32 = 393216u32;
1270 pub const WNNC_NET_MANGOSOFT: u32 = 1835008u32;
1271 pub const WNNC_NET_MASFAX: u32 = 3211264u32;
1272 pub const WNNC_NET_MFILES: u32 = 4259840u32;
1273 pub const WNNC_NET_MSNET: u32 = 65536u32;
1274 pub const WNNC_NET_MS_NFS: u32 = 4325376u32;
1275 pub const WNNC_NET_NDFS: u32 = 4456448u32;
1276 pub const WNNC_NET_NETWARE: u32 = 196608u32;
1277 pub const WNNC_NET_OBJECT_DIRE: u32 = 3145728u32;
1278 pub const WNNC_NET_OPENAFS: u32 = 3735552u32;
1279 pub const WNNC_NET_PATHWORKS: u32 = 851968u32;
1280 pub const WNNC_NET_POWERLAN: u32 = 983040u32;
1281 pub const WNNC_NET_PROTSTOR: u32 = 2162688u32;
1282 pub const WNNC_NET_QUINCY: u32 = 3670016u32;
1283 pub const WNNC_NET_RDR2SAMPLE: u32 = 2424832u32;
1284 pub const WNNC_NET_RIVERFRONT1: u32 = 1966080u32;
1285 pub const WNNC_NET_RIVERFRONT2: u32 = 2031616u32;
1286 pub const WNNC_NET_RSFX: u32 = 4194304u32;
1287 pub const WNNC_NET_SECUREAGENT: u32 = 4653056u32;
1288 pub const WNNC_NET_SERNET: u32 = 1900544u32;
1289 pub const WNNC_NET_SHIVA: u32 = 3342336u32;
1290 pub const WNNC_NET_SMB: u32 = 131072u32;
1291 pub const WNNC_NET_SRT: u32 = 3604480u32;
1292 pub const WNNC_NET_STAC: u32 = 2752512u32;
1293 pub const WNNC_NET_SUN_PC_NFS: u32 = 458752u32;
1294 pub const WNNC_NET_SYMFONET: u32 = 1376256u32;
1295 pub const WNNC_NET_TERMSRV: u32 = 3538944u32;
1296 pub const WNNC_NET_TWINS: u32 = 2359296u32;
1297 pub const WNNC_NET_VINES: u32 = 262144u32;
1298 pub const WNNC_NET_VMWARE: u32 = 4128768u32;
1299 pub const WNNC_NET_YAHOO: u32 = 2883584u32;
1300 pub const WNNC_NET_ZENWORKS: u32 = 3997696u32;
1301