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/UI/Magnification | |
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/UI/Magnification')
-rw-r--r-- | vendor/windows-sys-0.28.0/src/Windows/Win32/UI/Magnification/mod.rs | 84 |
1 files changed, 0 insertions, 84 deletions
diff --git a/vendor/windows-sys-0.28.0/src/Windows/Win32/UI/Magnification/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Win32/UI/Magnification/mod.rs deleted file mode 100644 index dc66092a7..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Win32/UI/Magnification/mod.rs +++ /dev/null @@ -1,84 +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 MagGetColorEffect(hwnd: super::super::Foundation::HWND, peffect: *mut MAGCOLOREFFECT) -> super::super::Foundation::BOOL; - #[cfg(feature = "Win32_Foundation")] - pub fn MagGetFullscreenColorEffect(peffect: *mut MAGCOLOREFFECT) -> super::super::Foundation::BOOL; - #[cfg(feature = "Win32_Foundation")] - pub fn MagGetFullscreenTransform(pmaglevel: *mut f32, pxoffset: *mut i32, pyoffset: *mut i32) -> super::super::Foundation::BOOL; - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] - pub fn MagGetImageScalingCallback(hwnd: super::super::Foundation::HWND) -> MagImageScalingCallback; - #[cfg(feature = "Win32_Foundation")] - pub fn MagGetInputTransform(pfenabled: *mut super::super::Foundation::BOOL, prectsource: *mut super::super::Foundation::RECT, prectdest: *mut super::super::Foundation::RECT) -> super::super::Foundation::BOOL; - #[cfg(feature = "Win32_Foundation")] - pub fn MagGetWindowFilterList(hwnd: super::super::Foundation::HWND, pdwfiltermode: *mut u32, count: i32, phwnd: *mut super::super::Foundation::HWND) -> i32; - #[cfg(feature = "Win32_Foundation")] - pub fn MagGetWindowSource(hwnd: super::super::Foundation::HWND, prect: *mut super::super::Foundation::RECT) -> super::super::Foundation::BOOL; - #[cfg(feature = "Win32_Foundation")] - pub fn MagGetWindowTransform(hwnd: super::super::Foundation::HWND, ptransform: *mut MAGTRANSFORM) -> super::super::Foundation::BOOL; - #[cfg(feature = "Win32_Foundation")] - pub fn MagInitialize() -> super::super::Foundation::BOOL; - #[cfg(feature = "Win32_Foundation")] - pub fn MagSetColorEffect(hwnd: super::super::Foundation::HWND, peffect: *mut MAGCOLOREFFECT) -> super::super::Foundation::BOOL; - #[cfg(feature = "Win32_Foundation")] - pub fn MagSetFullscreenColorEffect(peffect: *const MAGCOLOREFFECT) -> super::super::Foundation::BOOL; - #[cfg(feature = "Win32_Foundation")] - pub fn MagSetFullscreenTransform(maglevel: f32, xoffset: i32, yoffset: i32) -> super::super::Foundation::BOOL; - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] - pub fn MagSetImageScalingCallback(hwnd: super::super::Foundation::HWND, callback: ::core::option::Option<MagImageScalingCallback>) -> super::super::Foundation::BOOL; - #[cfg(feature = "Win32_Foundation")] - pub fn MagSetInputTransform(fenabled: super::super::Foundation::BOOL, prectsource: *const super::super::Foundation::RECT, prectdest: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL; - #[cfg(feature = "Win32_Foundation")] - pub fn MagSetWindowFilterList(hwnd: super::super::Foundation::HWND, dwfiltermode: u32, count: i32, phwnd: *mut super::super::Foundation::HWND) -> super::super::Foundation::BOOL; - #[cfg(feature = "Win32_Foundation")] - pub fn MagSetWindowSource(hwnd: super::super::Foundation::HWND, rect: super::super::Foundation::RECT) -> super::super::Foundation::BOOL; - #[cfg(feature = "Win32_Foundation")] - pub fn MagSetWindowTransform(hwnd: super::super::Foundation::HWND, ptransform: *mut MAGTRANSFORM) -> super::super::Foundation::BOOL; - #[cfg(feature = "Win32_Foundation")] - pub fn MagShowSystemCursor(fshowcursor: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; - #[cfg(feature = "Win32_Foundation")] - pub fn MagUninitialize() -> super::super::Foundation::BOOL; -} -#[repr(C)] -pub struct MAGCOLOREFFECT { - pub transform: [f32; 25], -} -impl ::core::marker::Copy for MAGCOLOREFFECT {} -impl ::core::clone::Clone for MAGCOLOREFFECT { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct MAGIMAGEHEADER { - pub width: u32, - pub height: u32, - pub format: ::windows_sys::core::GUID, - pub stride: u32, - pub offset: u32, - pub cbSize: usize, -} -impl ::core::marker::Copy for MAGIMAGEHEADER {} -impl ::core::clone::Clone for MAGIMAGEHEADER { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct MAGTRANSFORM { - pub v: [f32; 9], -} -impl ::core::marker::Copy for MAGTRANSFORM {} -impl ::core::clone::Clone for MAGTRANSFORM { - fn clone(&self) -> Self { - *self - } -} -pub const MS_CLIPAROUNDCURSOR: i32 = 2i32; -pub const MS_INVERTCOLORS: i32 = 4i32; -pub const MS_SHOWMAGNIFIEDCURSOR: i32 = 1i32; -pub const MW_FILTERMODE_EXCLUDE: u32 = 0u32; -pub const MW_FILTERMODE_INCLUDE: u32 = 1u32; -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] -pub type MagImageScalingCallback = unsafe extern "system" fn(hwnd: super::super::Foundation::HWND, srcdata: *mut ::core::ffi::c_void, srcheader: MAGIMAGEHEADER, destdata: *mut ::core::ffi::c_void, destheader: MAGIMAGEHEADER, unclipped: super::super::Foundation::RECT, clipped: super::super::Foundation::RECT, dirty: super::super::Graphics::Gdi::HRGN) -> super::super::Foundation::BOOL; |