From a4b7ed7a42c716ab9f05e351f003d589124fd55d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:18:58 +0200 Subject: Adding upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- .../src/Windows/Win32/Storage/OperationRecorder/mod.rs | 13 ++++--------- 1 file changed, 4 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 62a909613..6a6849707 100644 --- a/vendor/windows-sys/src/Windows/Win32/Storage/OperationRecorder/mod.rs +++ b/vendor/windows-sys/src/Windows/Win32/Storage/OperationRecorder/mod.rs @@ -1,12 +1,7 @@ -#[cfg_attr(windows, 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; -} +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Storage_OperationRecorder\"`, `\"Win32_Foundation\"`*"] fn OperationEnd ( operationendparams : *const OPERATION_END_PARAMETERS ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Storage_OperationRecorder\"`, `\"Win32_Foundation\"`*"] 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\"`*"] -- cgit v1.2.3