]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys-0.42.0/src/Windows/Win32/Storage/OperationRecorder/mod.rs
New upstream version 1.70.0+dfsg1
[rustc.git] / vendor / windows-sys-0.42.0 / src / Windows / Win32 / Storage / OperationRecorder / mod.rs
1 #[cfg_attr(windows, link(name = "windows"))]
2 extern "system" {
3 #[doc = "*Required features: `\"Win32_Storage_OperationRecorder\"`, `\"Win32_Foundation\"`*"]
4 #[cfg(feature = "Win32_Foundation")]
5 pub fn OperationEnd(operationendparams: *const OPERATION_END_PARAMETERS) -> super::super::Foundation::BOOL;
6 #[doc = "*Required features: `\"Win32_Storage_OperationRecorder\"`, `\"Win32_Foundation\"`*"]
7 #[cfg(feature = "Win32_Foundation")]
8 pub fn OperationStart(operationstartparams: *const OPERATION_START_PARAMETERS) -> super::super::Foundation::BOOL;
9 }
10 #[doc = "*Required features: `\"Win32_Storage_OperationRecorder\"`*"]
11 pub type OPERATION_END_PARAMETERS_FLAGS = u32;
12 #[doc = "*Required features: `\"Win32_Storage_OperationRecorder\"`*"]
13 pub const OPERATION_END_DISCARD: OPERATION_END_PARAMETERS_FLAGS = 1u32;
14 #[doc = "*Required features: `\"Win32_Storage_OperationRecorder\"`*"]
15 pub type OPERATION_START_FLAGS = u32;
16 #[doc = "*Required features: `\"Win32_Storage_OperationRecorder\"`*"]
17 pub const OPERATION_START_TRACE_CURRENT_THREAD: OPERATION_START_FLAGS = 1u32;
18 #[repr(C)]
19 #[doc = "*Required features: `\"Win32_Storage_OperationRecorder\"`*"]
20 pub struct OPERATION_END_PARAMETERS {
21 pub Version: u32,
22 pub OperationId: u32,
23 pub Flags: OPERATION_END_PARAMETERS_FLAGS,
24 }
25 impl ::core::marker::Copy for OPERATION_END_PARAMETERS {}
26 impl ::core::clone::Clone for OPERATION_END_PARAMETERS {
27 fn clone(&self) -> Self {
28 *self
29 }
30 }
31 #[repr(C)]
32 #[doc = "*Required features: `\"Win32_Storage_OperationRecorder\"`*"]
33 pub struct OPERATION_START_PARAMETERS {
34 pub Version: u32,
35 pub OperationId: u32,
36 pub Flags: OPERATION_START_FLAGS,
37 }
38 impl ::core::marker::Copy for OPERATION_START_PARAMETERS {}
39 impl ::core::clone::Clone for OPERATION_START_PARAMETERS {
40 fn clone(&self) -> Self {
41 *self
42 }
43 }