diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:18:25 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:18:25 +0000 |
commit | 5363f350887b1e5b5dd21a86f88c8af9d7fea6da (patch) | |
tree | 35ca005eb6e0e9a1ba3bb5dbc033209ad445dc17 /vendor/windows-sys-0.28.0/src/Windows/Win32/System/Recovery | |
parent | Adding debian version 1.66.0+dfsg1-1. (diff) | |
download | rustc-5363f350887b1e5b5dd21a86f88c8af9d7fea6da.tar.xz rustc-5363f350887b1e5b5dd21a86f88c8af9d7fea6da.zip |
Merging upstream version 1.67.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/windows-sys-0.28.0/src/Windows/Win32/System/Recovery')
-rw-r--r-- | vendor/windows-sys-0.28.0/src/Windows/Win32/System/Recovery/mod.rs | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/vendor/windows-sys-0.28.0/src/Windows/Win32/System/Recovery/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Win32/System/Recovery/mod.rs deleted file mode 100644 index dff2906b3..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Win32/System/Recovery/mod.rs +++ /dev/null @@ -1,23 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[link(name = "windows")] -extern "system" { - #[cfg(feature = "Win32_Foundation")] - pub fn ApplicationRecoveryFinished(bsuccess: super::super::Foundation::BOOL); - #[cfg(feature = "Win32_Foundation")] - pub fn ApplicationRecoveryInProgress(pbcancelled: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))] - pub fn GetApplicationRecoveryCallback(hprocess: super::super::Foundation::HANDLE, precoverycallback: *mut ::core::option::Option<super::WindowsProgramming::APPLICATION_RECOVERY_CALLBACK>, ppvparameter: *mut *mut ::core::ffi::c_void, pdwpinginterval: *mut u32, pdwflags: *mut u32) -> ::windows_sys::core::HRESULT; - #[cfg(feature = "Win32_Foundation")] - pub fn GetApplicationRestartSettings(hprocess: super::super::Foundation::HANDLE, pwzcommandline: super::super::Foundation::PWSTR, pcchsize: *mut u32, pdwflags: *mut u32) -> ::windows_sys::core::HRESULT; - #[cfg(feature = "Win32_System_WindowsProgramming")] - pub fn RegisterApplicationRecoveryCallback(precoveycallback: ::core::option::Option<super::WindowsProgramming::APPLICATION_RECOVERY_CALLBACK>, pvparameter: *const ::core::ffi::c_void, dwpinginterval: u32, dwflags: u32) -> ::windows_sys::core::HRESULT; - #[cfg(feature = "Win32_Foundation")] - pub fn RegisterApplicationRestart(pwzcommandline: super::super::Foundation::PWSTR, dwflags: REGISTER_APPLICATION_RESTART_FLAGS) -> ::windows_sys::core::HRESULT; - pub fn UnregisterApplicationRecoveryCallback() -> ::windows_sys::core::HRESULT; - pub fn UnregisterApplicationRestart() -> ::windows_sys::core::HRESULT; -} -pub type REGISTER_APPLICATION_RESTART_FLAGS = u32; -pub const RESTART_NO_CRASH: REGISTER_APPLICATION_RESTART_FLAGS = 1u32; -pub const RESTART_NO_HANG: REGISTER_APPLICATION_RESTART_FLAGS = 2u32; -pub const RESTART_NO_PATCH: REGISTER_APPLICATION_RESTART_FLAGS = 4u32; -pub const RESTART_NO_REBOOT: REGISTER_APPLICATION_RESTART_FLAGS = 8u32; |