summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys/src/Windows/Win32/Storage/OperationRecorder/mod.rs
diff options
context:
space:
mode:
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.rs18
1 files changed, 9 insertions, 9 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
index 4f62b2991..62a909613 100644
--- a/vendor/windows-sys/src/Windows/Win32/Storage/OperationRecorder/mod.rs
+++ b/vendor/windows-sys/src/Windows/Win32/Storage/OperationRecorder/mod.rs
@@ -1,4 +1,4 @@
-#[link(name = "windows")]
+#[cfg_attr(windows, link(name = "windows"))]
extern "system" {
#[doc = "*Required features: `\"Win32_Storage_OperationRecorder\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
@@ -7,6 +7,14 @@ extern "system" {
#[cfg(feature = "Win32_Foundation")]
pub fn OperationStart(operationstartparams: *const OPERATION_START_PARAMETERS) -> super::super::Foundation::BOOL;
}
+#[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_END_PARAMETERS {
@@ -20,14 +28,6 @@ impl ::core::clone::Clone for OPERATION_END_PARAMETERS {
*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 {