summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys/src/Windows/Win32/Storage/OperationRecorder/mod.rs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:02:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:02:58 +0000
commit698f8c2f01ea549d77d7dc3338a12e04c11057b9 (patch)
tree173a775858bd501c378080a10dca74132f05bc50 /vendor/windows-sys/src/Windows/Win32/Storage/OperationRecorder/mod.rs
parentInitial commit. (diff)
downloadrustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.tar.xz
rustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.zip
Adding upstream version 1.64.0+dfsg1.upstream/1.64.0+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/windows-sys/src/Windows/Win32/Storage/OperationRecorder/mod.rs')
-rw-r--r--vendor/windows-sys/src/Windows/Win32/Storage/OperationRecorder/mod.rs43
1 files changed, 43 insertions, 0 deletions
diff --git a/vendor/windows-sys/src/Windows/Win32/Storage/OperationRecorder/mod.rs b/vendor/windows-sys/src/Windows/Win32/Storage/OperationRecorder/mod.rs
new file mode 100644
index 000000000..4f62b2991
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Win32/Storage/OperationRecorder/mod.rs
@@ -0,0 +1,43 @@
+#[link(name = "windows")]
+extern "system" {
+ #[doc = "*Required features: `\"Win32_Storage_OperationRecorder\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn OperationEnd(operationendparams: *const OPERATION_END_PARAMETERS) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Storage_OperationRecorder\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn OperationStart(operationstartparams: *const OPERATION_START_PARAMETERS) -> super::super::Foundation::BOOL;
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Storage_OperationRecorder\"`*"]
+pub struct OPERATION_END_PARAMETERS {
+ pub Version: u32,
+ pub OperationId: u32,
+ pub Flags: OPERATION_END_PARAMETERS_FLAGS,
+}
+impl ::core::marker::Copy for OPERATION_END_PARAMETERS {}
+impl ::core::clone::Clone for OPERATION_END_PARAMETERS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Storage_OperationRecorder\"`*"]
+pub type OPERATION_END_PARAMETERS_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Storage_OperationRecorder\"`*"]
+pub const OPERATION_END_DISCARD: OPERATION_END_PARAMETERS_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Storage_OperationRecorder\"`*"]
+pub type OPERATION_START_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Storage_OperationRecorder\"`*"]
+pub const OPERATION_START_TRACE_CURRENT_THREAD: OPERATION_START_FLAGS = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Storage_OperationRecorder\"`*"]
+pub struct OPERATION_START_PARAMETERS {
+ pub Version: u32,
+ pub OperationId: u32,
+ pub Flags: OPERATION_START_FLAGS,
+}
+impl ::core::marker::Copy for OPERATION_START_PARAMETERS {}
+impl ::core::clone::Clone for OPERATION_START_PARAMETERS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}