]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys/src/Windows/Win32/Storage/OperationRecorder/mod.rs
New upstream version 1.62.1+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Win32 / Storage / OperationRecorder / mod.rs
CommitLineData
5e7ed085
FG
1#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
2#[link(name = "windows")]
3extern "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
13pub struct OPERATION_END_PARAMETERS {
14 pub Version: u32,
15 pub OperationId: u32,
16 pub Flags: OPERATION_END_PARAMETERS_FLAGS,
17}
18impl ::core::marker::Copy for OPERATION_END_PARAMETERS {}
19impl ::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 25pub type OPERATION_END_PARAMETERS_FLAGS = u32;
04454e1e 26#[doc = "*Required features: `\"Win32_Storage_OperationRecorder\"`*"]
5e7ed085 27pub const OPERATION_END_DISCARD: OPERATION_END_PARAMETERS_FLAGS = 1u32;
04454e1e 28#[doc = "*Required features: `\"Win32_Storage_OperationRecorder\"`*"]
5e7ed085 29pub type OPERATION_START_FLAGS = u32;
04454e1e 30#[doc = "*Required features: `\"Win32_Storage_OperationRecorder\"`*"]
5e7ed085
FG
31pub const OPERATION_START_TRACE_CURRENT_THREAD: OPERATION_START_FLAGS = 1u32;
32#[repr(C)]
04454e1e 33#[doc = "*Required features: `\"Win32_Storage_OperationRecorder\"`*"]
5e7ed085
FG
34pub struct OPERATION_START_PARAMETERS {
35 pub Version: u32,
36 pub OperationId: u32,
37 pub Flags: OPERATION_START_FLAGS,
38}
39impl ::core::marker::Copy for OPERATION_START_PARAMETERS {}
40impl ::core::clone::Clone for OPERATION_START_PARAMETERS {
41 fn clone(&self) -> Self {
42 *self
43 }
44}