]>
Commit | Line | Data |
---|---|---|
5e7ed085 FG |
1 | #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] |
2 | #[link(name = "windows")] | |
3 | extern "system" { | |
04454e1e | 4 | #[doc = "*Required features: `\"Win32_Storage_OperationRecorder\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5 | #[cfg(feature = "Win32_Foundation")] |
6 | pub fn OperationEnd(operationendparams: *const OPERATION_END_PARAMETERS) -> super::super::Foundation::BOOL; | |
04454e1e | 7 | #[doc = "*Required features: `\"Win32_Storage_OperationRecorder\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
8 | #[cfg(feature = "Win32_Foundation")] |
9 | pub fn OperationStart(operationstartparams: *const OPERATION_START_PARAMETERS) -> super::super::Foundation::BOOL; | |
10 | } | |
11 | #[repr(C)] | |
04454e1e | 12 | #[doc = "*Required features: `\"Win32_Storage_OperationRecorder\"`*"] |
5e7ed085 FG |
13 | pub struct OPERATION_END_PARAMETERS { |
14 | pub Version: u32, | |
15 | pub OperationId: u32, | |
16 | pub Flags: OPERATION_END_PARAMETERS_FLAGS, | |
17 | } | |
18 | impl ::core::marker::Copy for OPERATION_END_PARAMETERS {} | |
19 | impl ::core::clone::Clone for OPERATION_END_PARAMETERS { | |
20 | fn clone(&self) -> Self { | |
21 | *self | |
22 | } | |
23 | } | |
04454e1e | 24 | #[doc = "*Required features: `\"Win32_Storage_OperationRecorder\"`*"] |
5e7ed085 | 25 | pub type OPERATION_END_PARAMETERS_FLAGS = u32; |
04454e1e | 26 | #[doc = "*Required features: `\"Win32_Storage_OperationRecorder\"`*"] |
5e7ed085 | 27 | pub const OPERATION_END_DISCARD: OPERATION_END_PARAMETERS_FLAGS = 1u32; |
04454e1e | 28 | #[doc = "*Required features: `\"Win32_Storage_OperationRecorder\"`*"] |
5e7ed085 | 29 | pub type OPERATION_START_FLAGS = u32; |
04454e1e | 30 | #[doc = "*Required features: `\"Win32_Storage_OperationRecorder\"`*"] |
5e7ed085 FG |
31 | pub const OPERATION_START_TRACE_CURRENT_THREAD: OPERATION_START_FLAGS = 1u32; |
32 | #[repr(C)] | |
04454e1e | 33 | #[doc = "*Required features: `\"Win32_Storage_OperationRecorder\"`*"] |
5e7ed085 FG |
34 | pub struct OPERATION_START_PARAMETERS { |
35 | pub Version: u32, | |
36 | pub OperationId: u32, | |
37 | pub Flags: OPERATION_START_FLAGS, | |
38 | } | |
39 | impl ::core::marker::Copy for OPERATION_START_PARAMETERS {} | |
40 | impl ::core::clone::Clone for OPERATION_START_PARAMETERS { | |
41 | fn clone(&self) -> Self { | |
42 | *self | |
43 | } | |
44 | } |