From 4e8199b572f2035b7749cba276ece3a26630d23e Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:18:21 +0200 Subject: Adding upstream version 1.67.1+dfsg1. Signed-off-by: Daniel Baumann --- .../src/Windows/Win32/Storage/OperationRecorder/mod.rs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'vendor/windows-sys/src/Windows/Win32/Storage/OperationRecorder/mod.rs') 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 { -- cgit v1.2.3