[INFO] cloning repository https://github.com/cs3238-tsuzu/umaximize [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cs3238-tsuzu/umaximize" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcs3238-tsuzu%2Fumaximize", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcs3238-tsuzu%2Fumaximize'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ba7b06c17e95c5f234b1baeb7b940e71ff0edf18 [INFO] checking cs3238-tsuzu/umaximize against master#64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 for pr-143929 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcs3238-tsuzu%2Fumaximize" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/cs3238-tsuzu/umaximize [INFO] finished tweaking git repo https://github.com/cs3238-tsuzu/umaximize [INFO] tweaked toml for git repo https://github.com/cs3238-tsuzu/umaximize written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cs3238-tsuzu/umaximize on toolchain 64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/cs3238-tsuzu/umaximize already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded squote v0.1.2 [INFO] [stderr] Downloaded windows_macros v0.7.0 [INFO] [stderr] Downloaded windows v0.7.0 [INFO] [stderr] Downloaded windows_gen v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae4a20def83823f1618aca1d3af28bccff042a5acbd95b6e0f1b96c72eab876f [INFO] running `Command { std: "docker" "start" "-a" "ae4a20def83823f1618aca1d3af28bccff042a5acbd95b6e0f1b96c72eab876f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae4a20def83823f1618aca1d3af28bccff042a5acbd95b6e0f1b96c72eab876f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae4a20def83823f1618aca1d3af28bccff042a5acbd95b6e0f1b96c72eab876f", kill_on_drop: false }` [INFO] [stdout] ae4a20def83823f1618aca1d3af28bccff042a5acbd95b6e0f1b96c72eab876f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 860446c7cb51b96cb5d221bed72ed4df3dfd1ca8c7dc3425ce687134fbfea923 [INFO] running `Command { std: "docker" "start" "-a" "860446c7cb51b96cb5d221bed72ed4df3dfd1ca8c7dc3425ce687134fbfea923", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.67 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling squote v0.1.2 [INFO] [stderr] Compiling const-sha1 v0.2.0 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Checking windows_gen v0.7.0 [INFO] [stderr] Compiling windows_macros v0.7.0 [INFO] [stderr] Compiling windows v0.7.0 [INFO] [stderr] Compiling bindings v0.1.0 (/opt/rustwide/workdir/bindings) [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> /opt/rustwide/target/debug/build/bindings-bd539b4dfab86e7e/out/windows.rs:1:24666 [INFO] [stdout] | [INFO] [stdout] 1 | ... { if ! value . 0 . is_null ( ) { unsafe { :: std :: boxed :: Box :: from_raw ( value . 0 ) ; } } } } } impl < 'a > :: windows :: Into... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1 | # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Windows { # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Win32 { # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Controls { # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct ImageListLoadImage_uFlags ( pub u32 ) ; impl ImageListLoadImage_uFlags { pub const LR_CREATEDIBSECTION : Self = Self ( 8192u32 ) ; pub const LR_DEFAULTCOLOR : Self = Self ( 0u32 ) ; pub const LR_DEFAULTSIZE : Self = Self ( 64u32 ) ; pub const LR_LOADFROMFILE : Self = Self ( 16u32 ) ; pub const LR_LOADMAP3DCOLORS : Self = Self ( 4096u32 ) ; pub const LR_LOADTRANSPARENT : Self = Self ( 32u32 ) ; pub const LR_MONOCHROME : Self = Self ( 1u32 ) ; pub const LR_SHARED : Self = Self ( 32768u32 ) ; pub const LR_VGACOLOR : Self = Self ( 128u32 ) ; pub const LR_COPYDELETEORG : Self = Self ( 8u32 ) ; pub const LR_COPYFROMRESOURCE : Self = Self ( 16384u32 ) ; pub const LR_COPYRETURNORG : Self = Self ( 4u32 ) ; } impl :: std :: convert :: From < u32 > for ImageListLoadImage_uFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for ImageListLoadImage_uFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for ImageListLoadImage_uFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for ImageListLoadImage_uFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for ImageListLoadImage_uFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for ImageListLoadImage_uFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SCROLLBAR_OBJID ( pub i32 ) ; impl SCROLLBAR_OBJID { pub const OBJID_CLIENT : Self = Self ( -4i32 ) ; pub const OBJID_HSCROLL : Self = Self ( -6i32 ) ; pub const OBJID_VSCROLL : Self = Self ( -5i32 ) ; } impl :: std :: convert :: From < i32 > for SCROLLBAR_OBJID { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SCROLLBAR_OBJID { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct NMHDR { pub hwndFrom : super :: WindowsAndMessaging :: HWND , pub idFrom : usize , pub code : u32 } impl NMHDR { } impl :: std :: default :: Default for NMHDR { fn default ( ) -> Self { Self { hwndFrom : :: std :: default :: Default :: default ( ) , idFrom : 0 , code : 0 } } } impl :: std :: fmt :: Debug for NMHDR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NMHDR" ) . field ( "hwndFrom" , & format_args ! ( "{:?}" , self . hwndFrom ) ) . field ( "idFrom" , & format_args ! ( "{:?}" , self . idFrom ) ) . field ( "code" , & format_args ! ( "{:?}" , self . code ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NMHDR { fn eq ( & self , other : & Self ) -> bool { self . hwndFrom == other . hwndFrom && self . idFrom == other . idFrom && self . code == other . code } } impl :: std :: cmp :: Eq for NMHDR { } unsafe impl :: windows :: Abi for NMHDR { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HPROPSHEETPAGE ( pub isize ) ; impl HPROPSHEETPAGE { } impl :: std :: default :: Default for HPROPSHEETPAGE { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HPROPSHEETPAGE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HPROPSHEETPAGE" ) . field ( "Value" , & format_args ! ( "{:?}" , self .0 ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HPROPSHEETPAGE { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HPROPSHEETPAGE { } unsafe impl :: windows :: Abi for HPROPSHEETPAGE { type Abi = Self ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Debug { pub unsafe fn GetLastError < > ( ) -> u32 { panic ! ( "Unsupported target OS" ) ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod DisplayDevices { # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct RECT { pub left : i32 , pub top : i32 , pub right : i32 , pub bottom : i32 } impl RECT { } impl :: std :: default :: Default for RECT { fn default ( ) -> Self { Self { left : 0 , top : 0 , right : 0 , bottom : 0 } } } impl :: std :: fmt :: Debug for RECT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "RECT" ) . field ( "left" , & format_args ! ( "{:?}" , self . left ) ) . field ( "top" , & format_args ! ( "{:?}" , self . top ) ) . field ( "right" , & format_args ! ( "{:?}" , self . right ) ) . field ( "bottom" , & format_args ! ( "{:?}" , self . bottom ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RECT { fn eq ( & self , other : & Self ) -> bool { self . left == other . left && self . top == other . top && self . right == other . right && self . bottom == other . bottom } } impl :: std :: cmp :: Eq for RECT { } unsafe impl :: windows :: Abi for RECT { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct POINT { pub x : i32 , pub y : i32 } impl POINT { } impl :: std :: default :: Default for POINT { fn default ( ) -> Self { Self { x : 0 , y : 0 } } } impl :: std :: fmt :: Debug for POINT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "POINT" ) . field ( "x" , & format_args ! ( "{:?}" , self . x ) ) . field ( "y" , & format_args ! ( "{:?}" , self . y ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for POINT { fn eq ( & self , other : & Self ) -> bool { self . x == other . x && self . y == other . y } } impl :: std :: cmp :: Eq for POINT { } unsafe impl :: windows :: Abi for POINT { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct SIZE { pub cx : i32 , pub cy : i32 } impl SIZE { } impl :: std :: default :: Default for SIZE { fn default ( ) -> Self { Self { cx : 0 , cy : 0 } } } impl :: std :: fmt :: Debug for SIZE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SIZE" ) . field ( "cx" , & format_args ! ( "{:?}" , self . cx ) ) . field ( "cy" , & format_args ! ( "{:?}" , self . cy ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SIZE { fn eq ( & self , other : & Self ) -> bool { self . cx == other . cx && self . cy == other . cy } } impl :: std :: cmp :: Eq for SIZE { } unsafe impl :: windows :: Abi for SIZE { type Abi = Self ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Gdi { # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HDC ( pub isize ) ; impl HDC { } impl :: std :: default :: Default for HDC { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HDC { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HDC" ) . field ( "Value" , & format_args ! ( "{:?}" , self .0 ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HDC { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HDC { } unsafe impl :: windows :: Abi for HDC { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HGDIOBJ ( pub isize ) ; impl HGDIOBJ { } impl :: std :: default :: Default for HGDIOBJ { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HGDIOBJ { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HGDIOBJ" ) . field ( "Value" , & format_args ! ( "{:?}" , self .0 ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HGDIOBJ { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HGDIOBJ { } unsafe impl :: windows :: Abi for HGDIOBJ { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HBITMAP ( pub isize ) ; impl HBITMAP { } impl :: std :: default :: Default for HBITMAP { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HBITMAP { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HBITMAP" ) . field ( "Value" , & format_args ! ( "{:?}" , self .0 ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HBITMAP { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HBITMAP { } unsafe impl :: windows :: Abi for HBITMAP { type Abi = Self ; } impl < 'a > :: windows :: IntoParam < 'a , HGDIOBJ > for HBITMAP { fn into_param ( self ) -> :: windows :: Param < 'a , HGDIOBJ > { :: windows :: Param :: Owned ( HGDIOBJ ( self . 0 ) ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HBRUSH ( pub isize ) ; impl HBRUSH { } impl :: std :: default :: Default for HBRUSH { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HBRUSH { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HBRUSH" ) . field ( "Value" , & format_args ! ( "{:?}" , self .0 ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HBRUSH { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HBRUSH { } unsafe impl :: windows :: Abi for HBRUSH { type Abi = Self ; } impl < 'a > :: windows :: IntoParam < 'a , HGDIOBJ > for HBRUSH { fn into_param ( self ) -> :: windows :: Param < 'a , HGDIOBJ > { :: windows :: Param :: Owned ( HGDIOBJ ( self . 0 ) ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct BLENDFUNCTION { pub BlendOp : u8 , pub BlendFlags : u8 , pub SourceConstantAlpha : u8 , pub AlphaFormat : u8 } impl BLENDFUNCTION { } impl :: std :: default :: Default for BLENDFUNCTION { fn default ( ) -> Self { Self { BlendOp : 0 , BlendFlags : 0 , SourceConstantAlpha : 0 , AlphaFormat : 0 } } } impl :: std :: fmt :: Debug for BLENDFUNCTION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "BLENDFUNCTION" ) . field ( "BlendOp" , & format_args ! ( "{:?}" , self . BlendOp ) ) . field ( "BlendFlags" , & format_args ! ( "{:?}" , self . BlendFlags ) ) . field ( "SourceConstantAlpha" , & format_args ! ( "{:?}" , self . SourceConstantAlpha ) ) . field ( "AlphaFormat" , & format_args ! ( "{:?}" , self . AlphaFormat ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for BLENDFUNCTION { fn eq ( & self , other : & Self ) -> bool { self . BlendOp == other . BlendOp && self . BlendFlags == other . BlendFlags && self . SourceConstantAlpha == other . SourceConstantAlpha && self . AlphaFormat == other . AlphaFormat } } impl :: std :: cmp :: Eq for BLENDFUNCTION { } unsafe impl :: windows :: Abi for BLENDFUNCTION { type Abi = Self ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Kernel { # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct LUID { pub LowPart : u32 , pub HighPart : i32 } impl LUID { } impl :: std :: default :: Default for LUID { fn default ( ) -> Self { Self { LowPart : 0 , HighPart : 0 } } } impl :: std :: fmt :: Debug for LUID { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "LUID" ) . field ( "LowPart" , & format_args ! ( "{:?}" , self . LowPart ) ) . field ( "HighPart" , & format_args ! ( "{:?}" , self . HighPart ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for LUID { fn eq ( & self , other : & Self ) -> bool { self . LowPart == other . LowPart && self . HighPart == other . HighPart } } impl :: std :: cmp :: Eq for LUID { } unsafe impl :: windows :: Abi for LUID { type Abi = Self ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod MenusAndResources { # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HMENU ( pub isize ) ; impl HMENU { } impl :: std :: default :: Default for HMENU { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HMENU { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HMENU" ) . field ( "Value" , & format_args ! ( "{:?}" , self .0 ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HMENU { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HMENU { } unsafe impl :: windows :: Abi for HMENU { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HICON ( pub isize ) ; impl HICON { } impl :: std :: default :: Default for HICON { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HICON { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HICON" ) . field ( "Value" , & format_args ! ( "{:?}" , self .0 ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HICON { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HICON { } unsafe impl :: windows :: Abi for HICON { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HCURSOR ( pub isize ) ; impl HCURSOR { } impl :: std :: default :: Default for HCURSOR { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HCURSOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HCURSOR" ) . field ( "Value" , & format_args ! ( "{:?}" , self .0 ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HCURSOR { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HCURSOR { } unsafe impl :: windows :: Abi for HCURSOR { type Abi = Self ; } impl < 'a > :: windows :: IntoParam < 'a , HICON > for HCURSOR { fn into_param ( self ) -> :: windows :: Param < 'a , HICON > { :: windows :: Param :: Owned ( HICON ( self . 0 ) ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HACCEL ( pub isize ) ; impl HACCEL { } impl :: std :: default :: Default for HACCEL { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HACCEL { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HACCEL" ) . field ( "Value" , & format_args ! ( "{:?}" , self .0 ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HACCEL { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HACCEL { } unsafe impl :: windows :: Abi for HACCEL { type Abi = Self ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Shell { # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct LOGFONTA { pub lfHeight : i32 , pub lfWidth : i32 , pub lfEscapement : i32 , pub lfOrientation : i32 , pub lfWeight : i32 , pub lfItalic : u8 , pub lfUnderline : u8 , pub lfStrikeOut : u8 , pub lfCharSet : u8 , pub lfOutPrecision : u8 , pub lfClipPrecision : u8 , pub lfQuality : u8 , pub lfPitchAndFamily : u8 , pub lfFaceName : [ i8 ;32 ] } impl LOGFONTA { } impl :: std :: default :: Default for LOGFONTA { fn default ( ) -> Self { Self { lfHeight : 0 , lfWidth : 0 , lfEscapement : 0 , lfOrientation : 0 , lfWeight : 0 , lfItalic : 0 , lfUnderline : 0 , lfStrikeOut : 0 , lfCharSet : 0 , lfOutPrecision : 0 , lfClipPrecision : 0 , lfQuality : 0 , lfPitchAndFamily : 0 , lfFaceName : [ 0 ;32 ] } } } impl :: std :: fmt :: Debug for LOGFONTA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "LOGFONTA" ) . field ( "lfHeight" , & format_args ! ( "{:?}" , self . lfHeight ) ) . field ( "lfWidth" , & format_args ! ( "{:?}" , self . lfWidth ) ) . field ( "lfEscapement" , & format_args ! ( "{:?}" , self . lfEscapement ) ) . field ( "lfOrientation" , & format_args ! ( "{:?}" , self . lfOrientation ) ) . field ( "lfWeight" , & format_args ! ( "{:?}" , self . lfWeight ) ) . field ( "lfItalic" , & format_args ! ( "{:?}" , self . lfItalic ) ) . field ( "lfUnderline" , & format_args ! ( "{:?}" , self . lfUnderline ) ) . field ( "lfStrikeOut" , & format_args ! ( "{:?}" , self . lfStrikeOut ) ) . field ( "lfCharSet" , & format_args ! ( "{:?}" , self . lfCharSet ) ) . field ( "lfOutPrecision" , & format_args ! ( "{:?}" , self . lfOutPrecision ) ) . field ( "lfClipPrecision" , & format_args ! ( "{:?}" , self . lfClipPrecision ) ) . field ( "lfQuality" , & format_args ! ( "{:?}" , self . lfQuality ) ) . field ( "lfPitchAndFamily" , & format_args ! ( "{:?}" , self . lfPitchAndFamily ) ) . field ( "lfFaceName" , & format_args ! ( "{:?}" , self . lfFaceName ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for LOGFONTA { fn eq ( & self , other : & Self ) -> bool { self . lfHeight == other . lfHeight && self . lfWidth == other . lfWidth && self . lfEscapement == other . lfEscapement && self . lfOrientation == other . lfOrientation && self . lfWeight == other . lfWeight && self . lfItalic == other . lfItalic && self . lfUnderline == other . lfUnderline && self . lfStrikeOut == other . lfStrikeOut && self . lfCharSet == other . lfCharSet && self . lfOutPrecision == other . lfOutPrecision && self . lfClipPrecision == other . lfClipPrecision && self . lfQuality == other . lfQuality && self . lfPitchAndFamily == other . lfPitchAndFamily && self . lfFaceName == other . lfFaceName } } impl :: std :: cmp :: Eq for LOGFONTA { } unsafe impl :: windows :: Abi for LOGFONTA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct LOGFONTW { pub lfHeight : i32 , pub lfWidth : i32 , pub lfEscapement : i32 , pub lfOrientation : i32 , pub lfWeight : i32 , pub lfItalic : u8 , pub lfUnderline : u8 , pub lfStrikeOut : u8 , pub lfCharSet : u8 , pub lfOutPrecision : u8 , pub lfClipPrecision : u8 , pub lfQuality : u8 , pub lfPitchAndFamily : u8 , pub lfFaceName : [ u16 ;32 ] } impl LOGFONTW { } impl :: std :: default :: Default for LOGFONTW { fn default ( ) -> Self { Self { lfHeight : 0 , lfWidth : 0 , lfEscapement : 0 , lfOrientation : 0 , lfWeight : 0 , lfItalic : 0 , lfUnderline : 0 , lfStrikeOut : 0 , lfCharSet : 0 , lfOutPrecision : 0 , lfClipPrecision : 0 , lfQuality : 0 , lfPitchAndFamily : 0 , lfFaceName : [ 0 ;32 ] } } } impl :: std :: fmt :: Debug for LOGFONTW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "LOGFONTW" ) . field ( "lfHeight" , & format_args ! ( "{:?}" , self . lfHeight ) ) . field ( "lfWidth" , & format_args ! ( "{:?}" , self . lfWidth ) ) . field ( "lfEscapement" , & format_args ! ( "{:?}" , self . lfEscapement ) ) . field ( "lfOrientation" , & format_args ! ( "{:?}" , self . lfOrientation ) ) . field ( "lfWeight" , & format_args ! ( "{:?}" , self . lfWeight ) ) . field ( "lfItalic" , & format_args ! ( "{:?}" , self . lfItalic ) ) . field ( "lfUnderline" , & format_args ! ( "{:?}" , self . lfUnderline ) ) . field ( "lfStrikeOut" , & format_args ! ( "{:?}" , self . lfStrikeOut ) ) . field ( "lfCharSet" , & format_args ! ( "{:?}" , self . lfCharSet ) ) . field ( "lfOutPrecision" , & format_args ! ( "{:?}" , self . lfOutPrecision ) ) . field ( "lfClipPrecision" , & format_args ! ( "{:?}" , self . lfClipPrecision ) ) . field ( "lfQuality" , & format_args ! ( "{:?}" , self . lfQuality ) ) . field ( "lfPitchAndFamily" , & format_args ! ( "{:?}" , self . lfPitchAndFamily ) ) . field ( "lfFaceName" , & format_args ! ( "{:?}" , self . lfFaceName ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for LOGFONTW { fn eq ( & self , other : & Self ) -> bool { self . lfHeight == other . lfHeight && self . lfWidth == other . lfWidth && self . lfEscapement == other . lfEscapement && self . lfOrientation == other . lfOrientation && self . lfWeight == other . lfWeight && self . lfItalic == other . lfItalic && self . lfUnderline == other . lfUnderline && self . lfStrikeOut == other . lfStrikeOut && self . lfCharSet == other . lfCharSet && self . lfOutPrecision == other . lfOutPrecision && self . lfClipPrecision == other . lfClipPrecision && self . lfQuality == other . lfQuality && self . lfPitchAndFamily == other . lfPitchAndFamily && self . lfFaceName == other . lfFaceName } } impl :: std :: cmp :: Eq for LOGFONTW { } unsafe impl :: windows :: Abi for LOGFONTW { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HELPINFO { pub cbSize : u32 , pub iContextType : i32 , pub iCtrlId : i32 , pub hItemHandle : super :: SystemServices :: HANDLE , pub dwContextId : usize , pub MousePos : super :: DisplayDevices :: POINT } impl HELPINFO { } impl :: std :: default :: Default for HELPINFO { fn default ( ) -> Self { Self { cbSize : 0 , iContextType : 0 , iCtrlId : 0 , hItemHandle : :: std :: default :: Default :: default ( ) , dwContextId : 0 , MousePos : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for HELPINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HELPINFO" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "iContextType" , & format_args ! ( "{:?}" , self . iContextType ) ) . field ( "iCtrlId" , & format_args ! ( "{:?}" , self . iCtrlId ) ) . field ( "hItemHandle" , & format_args ! ( "{:?}" , self . hItemHandle ) ) . field ( "dwContextId" , & format_args ! ( "{:?}" , self . dwContextId ) ) . field ( "MousePos" , & format_args ! ( "{:?}" , self . MousePos ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HELPINFO { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . iContextType == other . iContextType && self . iCtrlId == other . iCtrlId && self . hItemHandle == other . hItemHandle && self . dwContextId == other . dwContextId && self . MousePos == other . MousePos } } impl :: std :: cmp :: Eq for HELPINFO { } unsafe impl :: windows :: Abi for HELPINFO { type Abi = Self ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod SystemServices { # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: cmp :: Eq , :: std :: fmt :: Debug ) ] pub struct PSTR ( pub * mut u8 ) ; impl :: std :: default :: Default for PSTR { fn default ( ) -> Self { Self ( :: std :: ptr :: null_mut ( ) ) } } impl :: std :: cmp :: PartialEq for PSTR { fn eq ( & self , other : & Self ) -> bool { self . 0 == other . 0 } } unsafe impl :: windows :: Abi for PSTR { type Abi = Self ; fn drop_param ( param : & mut :: windows :: Param < Self > ) { if let :: windows :: Param :: Boxed ( value ) = param { if ! value . 0 . is_null ( ) { unsafe { let _ = :: std :: boxed :: Box :: from_raw ( value . 0 ) ; } } } } } impl < 'a > :: windows :: IntoParam < 'a , PSTR > for & 'a str { fn into_param ( self ) -> :: windows :: Param < 'a , PSTR > { :: windows :: Param :: Boxed ( PSTR ( :: std :: boxed :: Box :: < [ u8 ] > :: into_raw ( self . bytes ( ) . chain ( :: std :: iter :: once ( 0 ) ) . collect :: < std :: vec :: Vec < u8 >> ( ) . into_boxed_slice ( ) ) as _ ) ) } } impl < 'a > :: windows :: IntoParam < 'a , PSTR > for String { fn into_param ( self ) -> :: windows :: Param < 'a , PSTR > { :: windows :: Param :: Boxed ( PSTR ( :: std :: boxed :: Box :: < [ u8 ] > :: into_raw ( self . bytes ( ) . chain ( :: std :: iter :: once ( 0 ) ) . collect :: < std :: vec :: Vec < u8 >> ( ) . into_boxed_slice ( ) ) as _ ) ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: default :: Default ) ] pub struct BOOL ( pub i32 ) ; impl BOOL { # [ inline ] pub fn as_bool ( self ) -> bool { ! ( self . 0 == 0 ) } # [ inline ] pub fn ok ( self ) -> :: windows :: Result < ( ) > { if self . as_bool ( ) { Ok ( ( ) ) } else { Err ( :: windows :: ErrorCode :: from_thread ( ) . into ( ) ) } } # [ inline ] pub fn unwrap ( self ) { self . ok ( ) . unwrap ( ) ; } # [ inline ] pub fn expect ( self , msg : & str ) { self . ok ( ) . expect ( msg ) ; } } impl :: std :: fmt :: Debug for BOOL { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { let msg = if self . as_bool ( ) { "true" } else { "false" } ; fmt . write_str ( msg ) } } unsafe impl :: windows :: Abi for BOOL { type Abi = Self ; } impl :: std :: convert :: From < BOOL > for bool { fn from ( value : BOOL ) -> Self { value . as_bool ( ) } } impl :: std :: convert :: From < & BOOL > for bool { fn from ( value : & BOOL ) -> Self { value . as_bool ( ) } } impl :: std :: convert :: From < bool > for BOOL { fn from ( value : bool ) -> Self { if value { BOOL ( 1 ) } else { BOOL ( 0 ) } } } impl :: std :: convert :: From < & bool > for BOOL { fn from ( value : & bool ) -> Self { ( * value ) . into ( ) } } impl :: std :: cmp :: PartialEq < bool > for BOOL { fn eq ( & self , other : & bool ) -> bool { self . as_bool ( ) == * other } } impl :: std :: cmp :: PartialEq < BOOL > for bool { fn eq ( & self , other : & BOOL ) -> bool { * self == other . as_bool ( ) } } impl std :: ops :: Not for BOOL { type Output = Self ; fn not ( self ) -> Self :: Output { if self . as_bool ( ) { BOOL ( 0 ) } else { BOOL ( 1 ) } } } impl < 'a > :: windows :: IntoParam < 'a , BOOL > for bool { fn into_param ( self ) -> :: windows :: Param < 'a , BOOL > { :: windows :: Param :: Owned ( self . into ( ) ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: cmp :: Eq , :: std :: fmt :: Debug ) ] pub struct PWSTR ( pub * mut u16 ) ; impl :: std :: default :: Default for PWSTR { fn default ( ) -> Self { Self ( :: std :: ptr :: null_mut ( ) ) } } impl :: std :: cmp :: PartialEq for PWSTR { fn eq ( & self , other : & Self ) -> bool { self . 0 == other . 0 } } unsafe impl :: windows :: Abi for PWSTR { type Abi = Self ; fn drop_param ( param : & mut :: windows :: Param < Self > ) { if let :: windows :: Param :: Boxed ( value ) = param { if ! value . 0 . is_null ( ) { unsafe { :: std :: boxed :: Box :: from_raw ( value . 0 ) ; } } } } } impl < 'a > :: windows :: IntoParam < 'a , PWSTR > for & 'a str { fn into_param ( self ) -> :: windows :: Param < 'a , PWSTR > { :: windows :: Param :: Boxed ( PWSTR ( :: std :: boxed :: Box :: < [ u16 ] > :: into_raw ( self . encode_utf16 ( ) . chain ( :: std :: iter :: once ( 0 ) ) . collect :: < std :: vec :: Vec < u16 >> ( ) . into_boxed_slice ( ) ) as _ ) ) } } impl < 'a > :: windows :: IntoParam < 'a , PWSTR > for String { fn into_param ( self ) -> :: windows :: Param < 'a , PWSTR > { :: windows :: Param :: Boxed ( PWSTR ( :: std :: boxed :: Box :: < [ u16 ] > :: into_raw ( self . encode_utf16 ( ) . chain ( :: std :: iter :: once ( 0 ) ) . collect :: < std :: vec :: Vec < u16 >> ( ) . into_boxed_slice ( ) ) as _ ) ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HANDLE ( pub isize ) ; impl HANDLE { } impl :: std :: default :: Default for HANDLE { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HANDLE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HANDLE" ) . field ( "Value" , & format_args ! ( "{:?}" , self .0 ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HANDLE { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HANDLE { } unsafe impl :: windows :: Abi for HANDLE { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HINSTANCE ( pub isize ) ; impl HINSTANCE { } impl :: std :: default :: Default for HINSTANCE { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HINSTANCE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HINSTANCE" ) . field ( "Value" , & format_args ! ( "{:?}" , self .0 ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HINSTANCE { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HINSTANCE { } unsafe impl :: windows :: Abi for HINSTANCE { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct LRESULT ( pub i32 ) ; impl LRESULT { } impl :: std :: default :: Default for LRESULT { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for LRESULT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "LRESULT" ) . field ( "Value" , & format_args ! ( "{:?}" , self .0 ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for LRESULT { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for LRESULT { } unsafe impl :: windows :: Abi for LRESULT { type Abi = Self ; } pub type ENUMRESLANGPROCA = extern "system" fn ( hmodule : isize , lptype : PSTR , lpname : PSTR , wlanguage : u16 , lparam : isize ) -> BOOL ; pub type ENUMRESLANGPROCW = extern "system" fn ( hmodule : isize , lptype : PWSTR , lpname : PWSTR , wlanguage : u16 , lparam : isize ) -> BOOL ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HRSRC ( pub isize ) ; impl HRSRC { } impl :: std :: default :: Default for HRSRC { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HRSRC { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HRSRC" ) . field ( "Value" , & format_args ! ( "{:?}" , self .0 ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HRSRC { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HRSRC { } unsafe impl :: windows :: Abi for HRSRC { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct DPI_AWARENESS_CONTEXT ( pub isize ) ; impl DPI_AWARENESS_CONTEXT { } impl :: std :: default :: Default for DPI_AWARENESS_CONTEXT { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for DPI_AWARENESS_CONTEXT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DPI_AWARENESS_CONTEXT" ) . field ( "Value" , & format_args ! ( "{:?}" , self .0 ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DPI_AWARENESS_CONTEXT { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for DPI_AWARENESS_CONTEXT { } unsafe impl :: windows :: Abi for DPI_AWARENESS_CONTEXT { type Abi = Self ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod WindowsAndMessaging { # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct ACCEL { pub fVirt : u8 , pub key : u16 , pub cmd : u16 } impl ACCEL { } impl :: std :: default :: Default for ACCEL { fn default ( ) -> Self { Self { fVirt : 0 , key : 0 , cmd : 0 } } } impl :: std :: fmt :: Debug for ACCEL { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ACCEL" ) . field ( "fVirt" , & format_args ! ( "{:?}" , self . fVirt ) ) . field ( "key" , & format_args ! ( "{:?}" , self . key ) ) . field ( "cmd" , & format_args ! ( "{:?}" , self . cmd ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ACCEL { fn eq ( & self , other : & Self ) -> bool { self . fVirt == other . fVirt && self . key == other . key && self . cmd == other . cmd } } impl :: std :: cmp :: Eq for ACCEL { } unsafe impl :: windows :: Abi for ACCEL { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct ALTTABINFO { pub cbSize : u32 , pub cItems : i32 , pub cColumns : i32 , pub cRows : i32 , pub iColFocus : i32 , pub iRowFocus : i32 , pub cxItem : i32 , pub cyItem : i32 , pub ptStart : super :: DisplayDevices :: POINT } impl ALTTABINFO { } impl :: std :: default :: Default for ALTTABINFO { fn default ( ) -> Self { Self { cbSize : 0 , cItems : 0 , cColumns : 0 , cRows : 0 , iColFocus : 0 , iRowFocus : 0 , cxItem : 0 , cyItem : 0 , ptStart : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for ALTTABINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ALTTABINFO" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "cItems" , & format_args ! ( "{:?}" , self . cItems ) ) . field ( "cColumns" , & format_args ! ( "{:?}" , self . cColumns ) ) . field ( "cRows" , & format_args ! ( "{:?}" , self . cRows ) ) . field ( "iColFocus" , & format_args ! ( "{:?}" , self . iColFocus ) ) . field ( "iRowFocus" , & format_args ! ( "{:?}" , self . iRowFocus ) ) . field ( "cxItem" , & format_args ! ( "{:?}" , self . cxItem ) ) . field ( "cyItem" , & format_args ! ( "{:?}" , self . cyItem ) ) . field ( "ptStart" , & format_args ! ( "{:?}" , self . ptStart ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ALTTABINFO { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . cItems == other . cItems && self . cColumns == other . cColumns && self . cRows == other . cRows && self . iColFocus == other . iColFocus && self . iRowFocus == other . iRowFocus && self . cxItem == other . cxItem && self . cyItem == other . cyItem && self . ptStart == other . ptStart } } impl :: std :: cmp :: Eq for ALTTABINFO { } unsafe impl :: windows :: Abi for ALTTABINFO { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct ANIMATIONINFO { pub cbSize : u32 , pub iMinAnimate : i32 } impl ANIMATIONINFO { } impl :: std :: default :: Default for ANIMATIONINFO { fn default ( ) -> Self { Self { cbSize : 0 , iMinAnimate : 0 } } } impl :: std :: fmt :: Debug for ANIMATIONINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ANIMATIONINFO" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "iMinAnimate" , & format_args ! ( "{:?}" , self . iMinAnimate ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ANIMATIONINFO { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . iMinAnimate == other . iMinAnimate } } impl :: std :: cmp :: Eq for ANIMATIONINFO { } unsafe impl :: windows :: Abi for ANIMATIONINFO { type Abi = Self ; } pub const ARW_DOWN : i32 = 4i32 ; pub const ARW_HIDE : i32 = 8i32 ; pub const ARW_LEFT : i32 = 0i32 ; pub const ARW_RIGHT : i32 = 0i32 ; pub const ARW_STARTMASK : i32 = 3i32 ; pub const ARW_STARTRIGHT : i32 = 1i32 ; pub const ARW_STARTTOP : i32 = 2i32 ; pub const ARW_UP : i32 = 4i32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct AUDIODESCRIPTION { pub cbSize : u32 , pub Enabled : super :: SystemServices :: BOOL , pub Locale : u32 } impl AUDIODESCRIPTION { } impl :: std :: default :: Default for AUDIODESCRIPTION { fn default ( ) -> Self { Self { cbSize : 0 , Enabled : :: std :: default :: Default :: default ( ) , Locale : 0 } } } impl :: std :: fmt :: Debug for AUDIODESCRIPTION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "AUDIODESCRIPTION" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "Enabled" , & format_args ! ( "{:?}" , self . Enabled ) ) . field ( "Locale" , & format_args ! ( "{:?}" , self . Locale ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for AUDIODESCRIPTION { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . Enabled == other . Enabled && self . Locale == other . Locale } } impl :: std :: cmp :: Eq for AUDIODESCRIPTION { } unsafe impl :: windows :: Abi for AUDIODESCRIPTION { type Abi = Self ; } pub unsafe fn AdjustWindowRect < 'a , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( lprect : * mut super :: DisplayDevices :: RECT , dwstyle : u32 , bmenu : T2__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn AdjustWindowRectEx < 'a , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( lprect : * mut super :: DisplayDevices :: RECT , dwstyle : u32 , bmenu : T2__ , dwexstyle : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn AllowSetForegroundWindow < > ( dwprocessid : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HWND ( pub isize ) ; impl HWND { } impl :: std :: default :: Default for HWND { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HWND { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HWND" ) . field ( "Value" , & format_args ! ( "{:?}" , self .0 ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HWND { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HWND { } unsafe impl :: windows :: Abi for HWND { type Abi = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct AnimateWindow_dwFlags ( pub u32 ) ; impl AnimateWindow_dwFlags { pub const AW_ACTIVATE : Self = Self ( 131072u32 ) ; pub const AW_BLEND : Self = Self ( 524288u32 ) ; pub const AW_CENTER : Self = Self ( 16u32 ) ; pub const AW_HIDE : Self = Self ( 65536u32 ) ; pub const AW_HOR_POSITIVE : Self = Self ( 1u32 ) ; pub const AW_HOR_NEGATIVE : Self = Self ( 2u32 ) ; pub const AW_SLIDE : Self = Self ( 262144u32 ) ; pub const AW_VER_POSITIVE : Self = Self ( 4u32 ) ; pub const AW_VER_NEGATIVE : Self = Self ( 8u32 ) ; } impl :: std :: convert :: From < u32 > for AnimateWindow_dwFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for AnimateWindow_dwFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for AnimateWindow_dwFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for AnimateWindow_dwFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for AnimateWindow_dwFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for AnimateWindow_dwFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn AnimateWindow < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , dwtime : u32 , dwflags : AnimateWindow_dwFlags , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn AnyPopup < > ( ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub struct Apis { } impl Apis { } impl :: windows :: RuntimeName for Apis { const NAME : & 'static str ="Windows.Win32.WindowsAndMessaging.Apis" ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MENU_ITEM_FLAGS ( pub u32 ) ; impl MENU_ITEM_FLAGS { pub const MF_INSERT : Self = Self ( 0u32 ) ; pub const MF_CHANGE : Self = Self ( 128u32 ) ; pub const MF_APPEND : Self = Self ( 256u32 ) ; pub const MF_DELETE : Self = Self ( 512u32 ) ; pub const MF_REMOVE : Self = Self ( 4096u32 ) ; pub const MF_BYCOMMAND : Self = Self ( 0u32 ) ; pub const MF_BYPOSITION : Self = Self ( 1024u32 ) ; pub const MF_DISABLED : Self = Self ( 2u32 ) ; pub const MF_ENABLED : Self = Self ( 0u32 ) ; pub const MF_GRAYED : Self = Self ( 1u32 ) ; pub const MF_BITMAP : Self = Self ( 4u32 ) ; pub const MF_CHECKED : Self = Self ( 8u32 ) ; pub const MF_MENUBARBREAK : Self = Self ( 32u32 ) ; pub const MF_MENUBREAK : Self = Self ( 64u32 ) ; pub const MF_OWNERDRAW : Self = Self ( 256u32 ) ; pub const MF_POPUP : Self = Self ( 16u32 ) ; pub const MF_SEPARATOR : Self = Self ( 2048u32 ) ; pub const MF_STRING : Self = Self ( 0u32 ) ; pub const MF_UNCHECKED : Self = Self ( 0u32 ) ; pub const MF_USECHECKBITMAPS : Self = Self ( 512u32 ) ; pub const MF_UNHILITE : Self = Self ( 0u32 ) ; pub const MF_HILITE : Self = Self ( 128u32 ) ; pub const MF_DEFAULT : Self = Self ( 4096u32 ) ; pub const MF_SYSMENU : Self = Self ( 8192u32 ) ; pub const MF_HELP : Self = Self ( 16384u32 ) ; pub const MF_RIGHTJUSTIFY : Self = Self ( 16384u32 ) ; pub const MF_MOUSESELECT : Self = Self ( 32768u32 ) ; pub const MF_END : Self = Self ( 128u32 ) ; } impl :: std :: convert :: From < u32 > for MENU_ITEM_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MENU_ITEM_FLAGS { type Abi = Self ; } impl :: std :: ops :: BitOr for MENU_ITEM_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for MENU_ITEM_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for MENU_ITEM_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for MENU_ITEM_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn AppendMenuA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hmenu : T0__ , uflags : MENU_ITEM_FLAGS , uidnewitem : usize , lpnewitem : T3__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn AppendMenuW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hmenu : T0__ , uflags : MENU_ITEM_FLAGS , uidnewitem : usize , lpnewitem : T3__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ArrangeIconicWindows < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub const BM_CLICK : u32 = 245u32 ; pub const BM_GETCHECK : u32 = 240u32 ; pub const BM_GETIMAGE : u32 = 246u32 ; pub const BM_GETSTATE : u32 = 242u32 ; pub const BM_SETCHECK : u32 = 241u32 ; pub const BM_SETDONTCLICK : u32 = 248u32 ; pub const BM_SETIMAGE : u32 = 247u32 ; pub const BM_SETSTATE : u32 = 243u32 ; pub const BM_SETSTYLE : u32 = 244u32 ; pub const BN_CLICKED : u32 = 0u32 ; pub const BN_DISABLE : u32 = 4u32 ; pub const BN_DOUBLECLICKED : u32 = 5u32 ; pub const BN_HILITE : u32 = 2u32 ; pub const BN_KILLFOCUS : u32 = 7u32 ; pub const BN_PAINT : u32 = 1u32 ; pub const BN_SETFOCUS : u32 = 6u32 ; pub const BN_UNHILITE : u32 = 3u32 ; pub const BROADCAST_QUERY_DENY : u32 = 1112363332u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct BSMINFO { pub cbSize : u32 , pub hdesk : super :: WindowsStationsAndDesktops :: HDESK , pub hwnd : HWND , pub luid : super :: Kernel :: LUID } impl BSMINFO { } impl :: std :: default :: Default for BSMINFO { fn default ( ) -> Self { Self { cbSize : 0 , hdesk : :: std :: default :: Default :: default ( ) , hwnd : :: std :: default :: Default :: default ( ) , luid : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for BSMINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "BSMINFO" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "hdesk" , & format_args ! ( "{:?}" , self . hdesk ) ) . field ( "hwnd" , & format_args ! ( "{:?}" , self . hwnd ) ) . field ( "luid" , & format_args ! ( "{:?}" , self . luid ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for BSMINFO { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . hdesk == other . hdesk && self . hwnd == other . hwnd && self . luid == other . luid } } impl :: std :: cmp :: Eq for BSMINFO { } unsafe impl :: windows :: Abi for BSMINFO { type Abi = Self ; } pub const BSM_INSTALLABLEDRIVERS : u32 = 4u32 ; pub const BSM_NETDRIVER : u32 = 2u32 ; pub const BSM_VXDS : u32 = 1u32 ; pub const BST_FOCUS : u32 = 8u32 ; pub const BST_PUSHED : u32 = 4u32 ; pub unsafe fn BeginDeferWindowPos < > ( nnumwindows : i32 , ) -> isize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn BeginUpdateResourceA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( pfilename : T0__ , bdeleteexistingresources : T1__ , ) -> super :: SystemServices :: HANDLE { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn BeginUpdateResourceW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( pfilename : T0__ , bdeleteexistingresources : T1__ , ) -> super :: SystemServices :: HANDLE { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn BringWindowToTop < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct WPARAM ( pub usize ) ; impl WPARAM { } impl :: std :: default :: Default for WPARAM { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for WPARAM { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WPARAM" ) . field ( "Value" , & format_args ! ( "{:?}" , self .0 ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WPARAM { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for WPARAM { } unsafe impl :: windows :: Abi for WPARAM { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct LPARAM ( pub isize ) ; impl LPARAM { } impl :: std :: default :: Default for LPARAM { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for LPARAM { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "LPARAM" ) . field ( "Value" , & format_args ! ( "{:?}" , self .0 ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for LPARAM { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for LPARAM { } unsafe impl :: windows :: Abi for LPARAM { type Abi = Self ; } pub unsafe fn BroadcastSystemMessageA < 'a , T3__ : :: windows :: IntoParam < 'a , WPARAM > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( flags : u32 , lpinfo : * mut u32 , msg : u32 , wparam : T3__ , lparam : T4__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct BroadcastSystemMessageW_flags ( pub u32 ) ; impl BroadcastSystemMessageW_flags { pub const BSF_ALLOWSFW : Self = Self ( 128u32 ) ; pub const BSF_FLUSHDISK : Self = Self ( 4u32 ) ; pub const BSF_FORCEIFHUNG : Self = Self ( 32u32 ) ; pub const BSF_IGNORECURRENTTASK : Self = Self ( 2u32 ) ; pub const BSF_NOHANG : Self = Self ( 8u32 ) ; pub const BSF_NOTIMEOUTIFNOTHUNG : Self = Self ( 64u32 ) ; pub const BSF_POSTMESSAGE : Self = Self ( 16u32 ) ; pub const BSF_QUERY : Self = Self ( 1u32 ) ; pub const BSF_SENDNOTIFYMESSAGE : Self = Self ( 256u32 ) ; pub const BSF_LUID : Self = Self ( 1024u32 ) ; pub const BSF_RETURNHDESK : Self = Self ( 512u32 ) ; } impl :: std :: convert :: From < u32 > for BroadcastSystemMessageW_flags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for BroadcastSystemMessageW_flags { type Abi = Self ; } impl :: std :: ops :: BitOr for BroadcastSystemMessageW_flags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for BroadcastSystemMessageW_flags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for BroadcastSystemMessageW_flags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for BroadcastSystemMessageW_flags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct BroadcastSystemMessage_lpInfo ( pub u32 ) ; impl BroadcastSystemMessage_lpInfo { pub const BSM_ALLCOMPONENTS : Self = Self ( 0u32 ) ; pub const BSM_ALLDESKTOPS : Self = Self ( 16u32 ) ; pub const BSM_APPLICATIONS : Self = Self ( 8u32 ) ; } impl :: std :: convert :: From < u32 > for BroadcastSystemMessage_lpInfo { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for BroadcastSystemMessage_lpInfo { type Abi = Self ; } impl :: std :: ops :: BitOr for BroadcastSystemMessage_lpInfo { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for BroadcastSystemMessage_lpInfo { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for BroadcastSystemMessage_lpInfo { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for BroadcastSystemMessage_lpInfo { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn BroadcastSystemMessageExA < 'a , T3__ : :: windows :: IntoParam < 'a , WPARAM > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( flags : BroadcastSystemMessageW_flags , lpinfo : * mut BroadcastSystemMessage_lpInfo , msg : u32 , wparam : T3__ , lparam : T4__ , pbsminfo : * mut BSMINFO , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn BroadcastSystemMessageExW < 'a , T3__ : :: windows :: IntoParam < 'a , WPARAM > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( flags : BroadcastSystemMessageW_flags , lpinfo : * mut BroadcastSystemMessage_lpInfo , msg : u32 , wparam : T3__ , lparam : T4__ , pbsminfo : * mut BSMINFO , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn BroadcastSystemMessageW < 'a , T3__ : :: windows :: IntoParam < 'a , WPARAM > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( flags : BroadcastSystemMessageW_flags , lpinfo : * mut BroadcastSystemMessage_lpInfo , msg : u32 , wparam : T3__ , lparam : T4__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub const CALERT_SYSTEM : u32 = 6u32 ; pub const CBN_CLOSEUP : u32 = 8u32 ; pub const CBN_DBLCLK : u32 = 2u32 ; pub const CBN_DROPDOWN : u32 = 7u32 ; pub const CBN_EDITCHANGE : u32 = 5u32 ; pub const CBN_EDITUPDATE : u32 = 6u32 ; pub const CBN_ERRSPACE : i32 = -1i32 ; pub const CBN_KILLFOCUS : u32 = 4u32 ; pub const CBN_SELCHANGE : u32 = 1u32 ; pub const CBN_SELENDCANCEL : u32 = 10u32 ; pub const CBN_SELENDOK : u32 = 9u32 ; pub const CBN_SETFOCUS : u32 = 3u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CBTACTIVATESTRUCT { pub fMouse : super :: SystemServices :: BOOL , pub hWndActive : HWND } impl CBTACTIVATESTRUCT { } impl :: std :: default :: Default for CBTACTIVATESTRUCT { fn default ( ) -> Self { Self { fMouse : :: std :: default :: Default :: default ( ) , hWndActive : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for CBTACTIVATESTRUCT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CBTACTIVATESTRUCT" ) . field ( "fMouse" , & format_args ! ( "{:?}" , self . fMouse ) ) . field ( "hWndActive" , & format_args ! ( "{:?}" , self . hWndActive ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CBTACTIVATESTRUCT { fn eq ( & self , other : & Self ) -> bool { self . fMouse == other . fMouse && self . hWndActive == other . hWndActive } } impl :: std :: cmp :: Eq for CBTACTIVATESTRUCT { } unsafe impl :: windows :: Abi for CBTACTIVATESTRUCT { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CREATESTRUCTA { pub lpCreateParams : * mut :: std :: ffi :: c_void , pub hInstance : super :: SystemServices :: HINSTANCE , pub hMenu : super :: MenusAndResources :: HMENU , pub hwndParent : HWND , pub cy : i32 , pub cx : i32 , pub y : i32 , pub x : i32 , pub style : i32 , pub lpszName : super :: SystemServices :: PSTR , pub lpszClass : super :: SystemServices :: PSTR , pub dwExStyle : u32 } impl CREATESTRUCTA { } impl :: std :: default :: Default for CREATESTRUCTA { fn default ( ) -> Self { Self { lpCreateParams : :: std :: ptr :: null_mut ( ) , hInstance : :: std :: default :: Default :: default ( ) , hMenu : :: std :: default :: Default :: default ( ) , hwndParent : :: std :: default :: Default :: default ( ) , cy : 0 , cx : 0 , y : 0 , x : 0 , style : 0 , lpszName : :: std :: default :: Default :: default ( ) , lpszClass : :: std :: default :: Default :: default ( ) , dwExStyle : 0 } } } impl :: std :: fmt :: Debug for CREATESTRUCTA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CREATESTRUCTA" ) . field ( "lpCreateParams" , & format_args ! ( "{:?}" , self . lpCreateParams ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "hMenu" , & format_args ! ( "{:?}" , self . hMenu ) ) . field ( "hwndParent" , & format_args ! ( "{:?}" , self . hwndParent ) ) . field ( "cy" , & format_args ! ( "{:?}" , self . cy ) ) . field ( "cx" , & format_args ! ( "{:?}" , self . cx ) ) . field ( "y" , & format_args ! ( "{:?}" , self . y ) ) . field ( "x" , & format_args ! ( "{:?}" , self . x ) ) . field ( "style" , & format_args ! ( "{:?}" , self . style ) ) . field ( "lpszName" , & format_args ! ( "{:?}" , self . lpszName ) ) . field ( "lpszClass" , & format_args ! ( "{:?}" , self . lpszClass ) ) . field ( "dwExStyle" , & format_args ! ( "{:?}" , self . dwExStyle ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CREATESTRUCTA { fn eq ( & self , other : & Self ) -> bool { self . lpCreateParams == other . lpCreateParams && self . hInstance == other . hInstance && self . hMenu == other . hMenu && self . hwndParent == other . hwndParent && self . cy == other . cy && self . cx == other . cx && self . y == other . y && self . x == other . x && self . style == other . style && self . lpszName == other . lpszName && self . lpszClass == other . lpszClass && self . dwExStyle == other . dwExStyle } } impl :: std :: cmp :: Eq for CREATESTRUCTA { } unsafe impl :: windows :: Abi for CREATESTRUCTA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CBT_CREATEWNDA { pub lpcs : * mut CREATESTRUCTA , pub hwndInsertAfter : HWND } impl CBT_CREATEWNDA { } impl :: std :: default :: Default for CBT_CREATEWNDA { fn default ( ) -> Self { Self { lpcs : :: std :: ptr :: null_mut ( ) , hwndInsertAfter : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for CBT_CREATEWNDA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CBT_CREATEWNDA" ) . field ( "lpcs" , & format_args ! ( "{:?}" , self . lpcs ) ) . field ( "hwndInsertAfter" , & format_args ! ( "{:?}" , self . hwndInsertAfter ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CBT_CREATEWNDA { fn eq ( & self , other : & Self ) -> bool { self . lpcs == other . lpcs && self . hwndInsertAfter == other . hwndInsertAfter } } impl :: std :: cmp :: Eq for CBT_CREATEWNDA { } unsafe impl :: windows :: Abi for CBT_CREATEWNDA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CREATESTRUCTW { pub lpCreateParams : * mut :: std :: ffi :: c_void , pub hInstance : super :: SystemServices :: HINSTANCE , pub hMenu : super :: MenusAndResources :: HMENU , pub hwndParent : HWND , pub cy : i32 , pub cx : i32 , pub y : i32 , pub x : i32 , pub style : i32 , pub lpszName : super :: SystemServices :: PWSTR , pub lpszClass : super :: SystemServices :: PWSTR , pub dwExStyle : u32 } impl CREATESTRUCTW { } impl :: std :: default :: Default for CREATESTRUCTW { fn default ( ) -> Self { Self { lpCreateParams : :: std :: ptr :: null_mut ( ) , hInstance : :: std :: default :: Default :: default ( ) , hMenu : :: std :: default :: Default :: default ( ) , hwndParent : :: std :: default :: Default :: default ( ) , cy : 0 , cx : 0 , y : 0 , x : 0 , style : 0 , lpszName : :: std :: default :: Default :: default ( ) , lpszClass : :: std :: default :: Default :: default ( ) , dwExStyle : 0 } } } impl :: std :: fmt :: Debug for CREATESTRUCTW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CREATESTRUCTW" ) . field ( "lpCreateParams" , & format_args ! ( "{:?}" , self . lpCreateParams ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "hMenu" , & format_args ! ( "{:?}" , self . hMenu ) ) . field ( "hwndParent" , & format_args ! ( "{:?}" , self . hwndParent ) ) . field ( "cy" , & format_args ! ( "{:?}" , self . cy ) ) . field ( "cx" , & format_args ! ( "{:?}" , self . cx ) ) . field ( "y" , & format_args ! ( "{:?}" , self . y ) ) . field ( "x" , & format_args ! ( "{:?}" , self . x ) ) . field ( "style" , & format_args ! ( "{:?}" , self . style ) ) . field ( "lpszName" , & format_args ! ( "{:?}" , self . lpszName ) ) . field ( "lpszClass" , & format_args ! ( "{:?}" , self . lpszClass ) ) . field ( "dwExStyle" , & format_args ! ( "{:?}" , self . dwExStyle ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CREATESTRUCTW { fn eq ( & self , other : & Self ) -> bool { self . lpCreateParams == other . lpCreateParams && self . hInstance == other . hInstance && self . hMenu == other . hMenu && self . hwndParent == other . hwndParent && self . cy == other . cy && self . cx == other . cx && self . y == other . y && self . x == other . x && self . style == other . style && self . lpszName == other . lpszName && self . lpszClass == other . lpszClass && self . dwExStyle == other . dwExStyle } } impl :: std :: cmp :: Eq for CREATESTRUCTW { } unsafe impl :: windows :: Abi for CREATESTRUCTW { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CBT_CREATEWNDW { pub lpcs : * mut CREATESTRUCTW , pub hwndInsertAfter : HWND } impl CBT_CREATEWNDW { } impl :: std :: default :: Default for CBT_CREATEWNDW { fn default ( ) -> Self { Self { lpcs : :: std :: ptr :: null_mut ( ) , hwndInsertAfter : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for CBT_CREATEWNDW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CBT_CREATEWNDW" ) . field ( "lpcs" , & format_args ! ( "{:?}" , self . lpcs ) ) . field ( "hwndInsertAfter" , & format_args ! ( "{:?}" , self . hwndInsertAfter ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CBT_CREATEWNDW { fn eq ( & self , other : & Self ) -> bool { self . lpcs == other . lpcs && self . hwndInsertAfter == other . hwndInsertAfter } } impl :: std :: cmp :: Eq for CBT_CREATEWNDW { } unsafe impl :: windows :: Abi for CBT_CREATEWNDW { type Abi = Self ; } pub const CB_ADDSTRING : u32 = 323u32 ; pub const CB_DELETESTRING : u32 = 324u32 ; pub const CB_DIR : u32 = 325u32 ; pub const CB_ERR : i32 = -1i32 ; pub const CB_ERRSPACE : i32 = -2i32 ; pub const CB_FINDSTRING : u32 = 332u32 ; pub const CB_FINDSTRINGEXACT : u32 = 344u32 ; pub const CB_GETCOMBOBOXINFO : u32 = 356u32 ; pub const CB_GETCOUNT : u32 = 326u32 ; pub const CB_GETCURSEL : u32 = 327u32 ; pub const CB_GETDROPPEDCONTROLRECT : u32 = 338u32 ; pub const CB_GETDROPPEDSTATE : u32 = 343u32 ; pub const CB_GETDROPPEDWIDTH : u32 = 351u32 ; pub const CB_GETEDITSEL : u32 = 320u32 ; pub const CB_GETEXTENDEDUI : u32 = 342u32 ; pub const CB_GETHORIZONTALEXTENT : u32 = 349u32 ; pub const CB_GETITEMDATA : u32 = 336u32 ; pub const CB_GETITEMHEIGHT : u32 = 340u32 ; pub const CB_GETLBTEXT : u32 = 328u32 ; pub const CB_GETLBTEXTLEN : u32 = 329u32 ; pub const CB_GETLOCALE : u32 = 346u32 ; pub const CB_GETTOPINDEX : u32 = 347u32 ; pub const CB_INITSTORAGE : u32 = 353u32 ; pub const CB_INSERTSTRING : u32 = 330u32 ; pub const CB_LIMITTEXT : u32 = 321u32 ; pub const CB_MSGMAX : u32 = 357u32 ; pub const CB_MULTIPLEADDSTRING : u32 = 355u32 ; pub const CB_OKAY : u32 = 0u32 ; pub const CB_RESETCONTENT : u32 = 331u32 ; pub const CB_SELECTSTRING : u32 = 333u32 ; pub const CB_SETCURSEL : u32 = 334u32 ; pub const CB_SETDROPPEDWIDTH : u32 = 352u32 ; pub const CB_SETEDITSEL : u32 = 322u32 ; pub const CB_SETEXTENDEDUI : u32 = 341u32 ; pub const CB_SETHORIZONTALEXTENT : u32 = 350u32 ; pub const CB_SETITEMDATA : u32 = 337u32 ; pub const CB_SETITEMHEIGHT : u32 = 339u32 ; pub const CB_SETLOCALE : u32 = 345u32 ; pub const CB_SETTOPINDEX : u32 = 348u32 ; pub const CB_SHOWDROPDOWN : u32 = 335u32 ; pub const CCHILDREN_SCROLLBAR : u32 = 5u32 ; pub const CCHILDREN_TITLEBAR : u32 = 5u32 ; pub const CDM_FIRST : u32 = 1124u32 ; pub const CDM_GETFILEPATH : u32 = 1125u32 ; pub const CDM_GETFOLDERIDLIST : u32 = 1127u32 ; pub const CDM_GETFOLDERPATH : u32 = 1126u32 ; pub const CDM_GETSPEC : u32 = 1124u32 ; pub const CDM_HIDECONTROL : u32 = 1129u32 ; pub const CDM_LAST : u32 = 1224u32 ; pub const CDM_SETCONTROLTEXT : u32 = 1128u32 ; pub const CDM_SETDEFEXT : u32 = 1130u32 ; pub const CD_LBSELADD : u32 = 2u32 ; pub const CD_LBSELCHANGE : u32 = 0u32 ; pub const CD_LBSELNOITEMS : i32 = -1i32 ; pub const CD_LBSELSUB : u32 = 1u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CHANGEFILTERSTRUCT_ExtStatusFlags ( pub u32 ) ; impl CHANGEFILTERSTRUCT_ExtStatusFlags { pub const MSGFLTINFO_NONE : Self = Self ( 0u32 ) ; pub const MSGFLTINFO_ALLOWED_HIGHER : Self = Self ( 3u32 ) ; pub const MSGFLTINFO_ALREADYALLOWED_FORWND : Self = Self ( 1u32 ) ; pub const MSGFLTINFO_ALREADYDISALLOWED_FORWND : Self = Self ( 2u32 ) ; } impl :: std :: convert :: From < u32 > for CHANGEFILTERSTRUCT_ExtStatusFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CHANGEFILTERSTRUCT_ExtStatusFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for CHANGEFILTERSTRUCT_ExtStatusFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for CHANGEFILTERSTRUCT_ExtStatusFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for CHANGEFILTERSTRUCT_ExtStatusFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for CHANGEFILTERSTRUCT_ExtStatusFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CHANGEFILTERSTRUCT { pub cbSize : u32 , pub ExtStatus : CHANGEFILTERSTRUCT_ExtStatusFlags } impl CHANGEFILTERSTRUCT { } impl :: std :: default :: Default for CHANGEFILTERSTRUCT { fn default ( ) -> Self { Self { cbSize : 0 , ExtStatus : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for CHANGEFILTERSTRUCT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CHANGEFILTERSTRUCT" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "ExtStatus" , & format_args ! ( "{:?}" , self . ExtStatus ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CHANGEFILTERSTRUCT { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . ExtStatus == other . ExtStatus } } impl :: std :: cmp :: Eq for CHANGEFILTERSTRUCT { } unsafe impl :: windows :: Abi for CHANGEFILTERSTRUCT { type Abi = Self ; } pub const CHILDID_SELF : u32 = 0u32 ; pub type LPCCHOOKPROC = extern "system" fn ( param0 : HWND , param1 : u32 , param2 : WPARAM , param3 : LPARAM ) -> usize ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CHOOSECOLORA { pub lStructSize : u32 , pub hwndOwner : HWND , pub hInstance : HWND , pub rgbResult : u32 , pub lpCustColors : * mut u32 , pub Flags : u32 , pub lCustData : LPARAM , pub lpfnHook : :: std :: option :: Option < LPCCHOOKPROC > , pub lpTemplateName : super :: SystemServices :: PSTR } impl CHOOSECOLORA { } impl :: std :: default :: Default for CHOOSECOLORA { fn default ( ) -> Self { Self { lStructSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , rgbResult : 0 , lpCustColors : :: std :: ptr :: null_mut ( ) , Flags : 0 , lCustData : :: std :: default :: Default :: default ( ) , lpfnHook : :: std :: default :: Default :: default ( ) , lpTemplateName : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for CHOOSECOLORA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CHOOSECOLORA" ) . field ( "lStructSize" , & format_args ! ( "{:?}" , self . lStructSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "rgbResult" , & format_args ! ( "{:?}" , self . rgbResult ) ) . field ( "lpCustColors" , & format_args ! ( "{:?}" , self . lpCustColors ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "lpTemplateName" , & format_args ! ( "{:?}" , self . lpTemplateName ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CHOOSECOLORA { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . hwndOwner == other . hwndOwner && self . hInstance == other . hInstance && self . rgbResult == other . rgbResult && self . lpCustColors == other . lpCustColors && self . Flags == other . Flags && self . lCustData == other . lCustData && self . lpfnHook . map ( | f | f as usize ) == other . lpfnHook . map ( | f | f as usize ) && self . lpTemplateName == other . lpTemplateName } } impl :: std :: cmp :: Eq for CHOOSECOLORA { } unsafe impl :: windows :: Abi for CHOOSECOLORA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CHOOSECOLORW { pub lStructSize : u32 , pub hwndOwner : HWND , pub hInstance : HWND , pub rgbResult : u32 , pub lpCustColors : * mut u32 , pub Flags : u32 , pub lCustData : LPARAM , pub lpfnHook : :: std :: option :: Option < LPCCHOOKPROC > , pub lpTemplateName : super :: SystemServices :: PWSTR } impl CHOOSECOLORW { } impl :: std :: default :: Default for CHOOSECOLORW { fn default ( ) -> Self { Self { lStructSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , rgbResult : 0 , lpCustColors : :: std :: ptr :: null_mut ( ) , Flags : 0 , lCustData : :: std :: default :: Default :: default ( ) , lpfnHook : :: std :: default :: Default :: default ( ) , lpTemplateName : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for CHOOSECOLORW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CHOOSECOLORW" ) . field ( "lStructSize" , & format_args ! ( "{:?}" , self . lStructSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "rgbResult" , & format_args ! ( "{:?}" , self . rgbResult ) ) . field ( "lpCustColors" , & format_args ! ( "{:?}" , self . lpCustColors ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "lpTemplateName" , & format_args ! ( "{:?}" , self . lpTemplateName ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CHOOSECOLORW { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . hwndOwner == other . hwndOwner && self . hInstance == other . hInstance && self . rgbResult == other . rgbResult && self . lpCustColors == other . lpCustColors && self . Flags == other . Flags && self . lCustData == other . lCustData && self . lpfnHook . map ( | f | f as usize ) == other . lpfnHook . map ( | f | f as usize ) && self . lpTemplateName == other . lpTemplateName } } impl :: std :: cmp :: Eq for CHOOSECOLORW { } unsafe impl :: windows :: Abi for CHOOSECOLORW { type Abi = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CHOOSEFONTW_Flags ( pub u32 ) ; impl CHOOSEFONTW_Flags { pub const CF_APPLY : Self = Self ( 512u32 ) ; pub const CF_ANSIONLY : Self = Self ( 1024u32 ) ; pub const CF_BOTH : Self = Self ( 3u32 ) ; pub const CF_EFFECTS : Self = Self ( 256u32 ) ; pub const CF_ENABLEHOOK : Self = Self ( 8u32 ) ; pub const CF_ENABLETEMPLATE : Self = Self ( 16u32 ) ; pub const CF_ENABLETEMPLATEHANDLE : Self = Self ( 32u32 ) ; pub const CF_FIXEDPITCHONLY : Self = Self ( 16384u32 ) ; pub const CF_FORCEFONTEXIST : Self = Self ( 65536u32 ) ; pub const CF_INACTIVEFONTS : Self = Self ( 33554432u32 ) ; pub const CF_INITTOLOGFONTSTRUCT : Self = Self ( 64u32 ) ; pub const CF_LIMITSIZE : Self = Self ( 8192u32 ) ; pub const CF_NOOEMFONTS : Self = Self ( 2048u32 ) ; pub const CF_NOFACESEL : Self = Self ( 524288u32 ) ; pub const CF_NOSCRIPTSEL : Self = Self ( 8388608u32 ) ; pub const CF_NOSIMULATIONS : Self = Self ( 4096u32 ) ; pub const CF_NOSIZESEL : Self = Self ( 2097152u32 ) ; pub const CF_NOSTYLESEL : Self = Self ( 1048576u32 ) ; pub const CF_NOVECTORFONTS : Self = Self ( 2048u32 ) ; pub const CF_NOVERTFONTS : Self = Self ( 16777216u32 ) ; pub const CF_PRINTERFONTS : Self = Self ( 2u32 ) ; pub const CF_SCALABLEONLY : Self = Self ( 131072u32 ) ; pub const CF_SCREENFONTS : Self = Self ( 1u32 ) ; pub const CF_SCRIPTSONLY : Self = Self ( 1024u32 ) ; pub const CF_SELECTSCRIPT : Self = Self ( 4194304u32 ) ; pub const CF_SHOWHELP : Self = Self ( 4u32 ) ; pub const CF_TTONLY : Self = Self ( 262144u32 ) ; pub const CF_USESTYLE : Self = Self ( 128u32 ) ; pub const CF_WYSIWYG : Self = Self ( 32768u32 ) ; } impl :: std :: convert :: From < u32 > for CHOOSEFONTW_Flags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CHOOSEFONTW_Flags { type Abi = Self ; } impl :: std :: ops :: BitOr for CHOOSEFONTW_Flags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for CHOOSEFONTW_Flags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for CHOOSEFONTW_Flags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for CHOOSEFONTW_Flags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub type LPCFHOOKPROC = extern "system" fn ( param0 : HWND , param1 : u32 , param2 : WPARAM , param3 : LPARAM ) -> usize ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CHOOSEFONTA_nFontType ( pub u32 ) ; impl CHOOSEFONTA_nFontType { pub const BOLD_FONTTYPE : Self = Self ( 256u32 ) ; pub const ITALIC_FONTTYPE : Self = Self ( 512u32 ) ; pub const PRINTER_FONTTYPE : Self = Self ( 16384u32 ) ; pub const REGULAR_FONTTYPE : Self = Self ( 1024u32 ) ; pub const SCREEN_FONTTYPE : Self = Self ( 8192u32 ) ; pub const SIMULATED_FONTTYPE : Self = Self ( 32768u32 ) ; } impl :: std :: convert :: From < u32 > for CHOOSEFONTA_nFontType { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CHOOSEFONTA_nFontType { type Abi = Self ; } impl :: std :: ops :: BitOr for CHOOSEFONTA_nFontType { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for CHOOSEFONTA_nFontType { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for CHOOSEFONTA_nFontType { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for CHOOSEFONTA_nFontType { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CHOOSEFONTA { pub lStructSize : u32 , pub hwndOwner : HWND , pub hDC : super :: Gdi :: HDC , pub lpLogFont : * mut super :: Shell :: LOGFONTA , pub iPointSize : i32 , pub Flags : CHOOSEFONTW_Flags , pub rgbColors : u32 , pub lCustData : LPARAM , pub lpfnHook : :: std :: option :: Option < LPCFHOOKPROC > , pub lpTemplateName : super :: SystemServices :: PSTR , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpszStyle : super :: SystemServices :: PSTR , pub nFontType : CHOOSEFONTA_nFontType , pub ___MISSING_ALIGNMENT__ : u16 , pub nSizeMin : i32 , pub nSizeMax : i32 } impl CHOOSEFONTA { } impl :: std :: default :: Default for CHOOSEFONTA { fn default ( ) -> Self { Self { lStructSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hDC : :: std :: default :: Default :: default ( ) , lpLogFont : :: std :: ptr :: null_mut ( ) , iPointSize : 0 , Flags : :: std :: default :: Default :: default ( ) , rgbColors : 0 , lCustData : :: std :: default :: Default :: default ( ) , lpfnHook : :: std :: default :: Default :: default ( ) , lpTemplateName : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , lpszStyle : :: std :: default :: Default :: default ( ) , nFontType : :: std :: default :: Default :: default ( ) , ___MISSING_ALIGNMENT__ : 0 , nSizeMin : 0 , nSizeMax : 0 } } } impl :: std :: fmt :: Debug for CHOOSEFONTA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CHOOSEFONTA" ) . field ( "lStructSize" , & format_args ! ( "{:?}" , self . lStructSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hDC" , & format_args ! ( "{:?}" , self . hDC ) ) . field ( "lpLogFont" , & format_args ! ( "{:?}" , self . lpLogFont ) ) . field ( "iPointSize" , & format_args ! ( "{:?}" , self . iPointSize ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "rgbColors" , & format_args ! ( "{:?}" , self . rgbColors ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "lpTemplateName" , & format_args ! ( "{:?}" , self . lpTemplateName ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lpszStyle" , & format_args ! ( "{:?}" , self . lpszStyle ) ) . field ( "nFontType" , & format_args ! ( "{:?}" , self . nFontType ) ) . field ( "___MISSING_ALIGNMENT__" , & format_args ! ( "{:?}" , self . ___MISSING_ALIGNMENT__ ) ) . field ( "nSizeMin" , & format_args ! ( "{:?}" , self . nSizeMin ) ) . field ( "nSizeMax" , & format_args ! ( "{:?}" , self . nSizeMax ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CHOOSEFONTA { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . hwndOwner == other . hwndOwner && self . hDC == other . hDC && self . lpLogFont == other . lpLogFont && self . iPointSize == other . iPointSize && self . Flags == other . Flags && self . rgbColors == other . rgbColors && self . lCustData == other . lCustData && self . lpfnHook . map ( | f | f as usize ) == other . lpfnHook . map ( | f | f as usize ) && self . lpTemplateName == other . lpTemplateName && self . hInstance == other . hInstance && self . lpszStyle == other . lpszStyle && self . nFontType == other . nFontType && self . ___MISSING_ALIGNMENT__ == other . ___MISSING_ALIGNMENT__ && self . nSizeMin == other . nSizeMin && self . nSizeMax == other . nSizeMax } } impl :: std :: cmp :: Eq for CHOOSEFONTA { } unsafe impl :: windows :: Abi for CHOOSEFONTA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CHOOSEFONTW { pub lStructSize : u32 , pub hwndOwner : HWND , pub hDC : super :: Gdi :: HDC , pub lpLogFont : * mut super :: Shell :: LOGFONTW , pub iPointSize : i32 , pub Flags : CHOOSEFONTW_Flags , pub rgbColors : u32 , pub lCustData : LPARAM , pub lpfnHook : :: std :: option :: Option < LPCFHOOKPROC > , pub lpTemplateName : super :: SystemServices :: PWSTR , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpszStyle : super :: SystemServices :: PWSTR , pub nFontType : CHOOSEFONTA_nFontType , pub ___MISSING_ALIGNMENT__ : u16 , pub nSizeMin : i32 , pub nSizeMax : i32 } impl CHOOSEFONTW { } impl :: std :: default :: Default for CHOOSEFONTW { fn default ( ) -> Self { Self { lStructSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hDC : :: std :: default :: Default :: default ( ) , lpLogFont : :: std :: ptr :: null_mut ( ) , iPointSize : 0 , Flags : :: std :: default :: Default :: default ( ) , rgbColors : 0 , lCustData : :: std :: default :: Default :: default ( ) , lpfnHook : :: std :: default :: Default :: default ( ) , lpTemplateName : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , lpszStyle : :: std :: default :: Default :: default ( ) , nFontType : :: std :: default :: Default :: default ( ) , ___MISSING_ALIGNMENT__ : 0 , nSizeMin : 0 , nSizeMax : 0 } } } impl :: std :: fmt :: Debug for CHOOSEFONTW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CHOOSEFONTW" ) . field ( "lStructSize" , & format_args ! ( "{:?}" , self . lStructSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hDC" , & format_args ! ( "{:?}" , self . hDC ) ) . field ( "lpLogFont" , & format_args ! ( "{:?}" , self . lpLogFont ) ) . field ( "iPointSize" , & format_args ! ( "{:?}" , self . iPointSize ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "rgbColors" , & format_args ! ( "{:?}" , self . rgbColors ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "lpTemplateName" , & format_args ! ( "{:?}" , self . lpTemplateName ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lpszStyle" , & format_args ! ( "{:?}" , self . lpszStyle ) ) . field ( "nFontType" , & format_args ! ( "{:?}" , self . nFontType ) ) . field ( "___MISSING_ALIGNMENT__" , & format_args ! ( "{:?}" , self . ___MISSING_ALIGNMENT__ ) ) . field ( "nSizeMin" , & format_args ! ( "{:?}" , self . nSizeMin ) ) . field ( "nSizeMax" , & format_args ! ( "{:?}" , self . nSizeMax ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CHOOSEFONTW { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . hwndOwner == other . hwndOwner && self . hDC == other . hDC && self . lpLogFont == other . lpLogFont && self . iPointSize == other . iPointSize && self . Flags == other . Flags && self . rgbColors == other . rgbColors && self . lCustData == other . lCustData && self . lpfnHook . map ( | f | f as usize ) == other . lpfnHook . map ( | f | f as usize ) && self . lpTemplateName == other . lpTemplateName && self . hInstance == other . hInstance && self . lpszStyle == other . lpszStyle && self . nFontType == other . nFontType && self . ___MISSING_ALIGNMENT__ == other . ___MISSING_ALIGNMENT__ && self . nSizeMin == other . nSizeMin && self . nSizeMax == other . nSizeMax } } impl :: std :: cmp :: Eq for CHOOSEFONTW { } unsafe impl :: windows :: Abi for CHOOSEFONTW { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CLIENTCREATESTRUCT { pub hWindowMenu : super :: SystemServices :: HANDLE , pub idFirstChild : u32 } impl CLIENTCREATESTRUCT { } impl :: std :: default :: Default for CLIENTCREATESTRUCT { fn default ( ) -> Self { Self { hWindowMenu : :: std :: default :: Default :: default ( ) , idFirstChild : 0 } } } impl :: std :: fmt :: Debug for CLIENTCREATESTRUCT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CLIENTCREATESTRUCT" ) . field ( "hWindowMenu" , & format_args ! ( "{:?}" , self . hWindowMenu ) ) . field ( "idFirstChild" , & format_args ! ( "{:?}" , self . idFirstChild ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CLIENTCREATESTRUCT { fn eq ( & self , other : & Self ) -> bool { self . hWindowMenu == other . hWindowMenu && self . idFirstChild == other . idFirstChild } } impl :: std :: cmp :: Eq for CLIENTCREATESTRUCT { } unsafe impl :: windows :: Abi for CLIENTCREATESTRUCT { type Abi = Self ; } pub const COLOR_BTNHIGHLIGHT : u32 = 20u32 ; pub const CONSOLE_APPLICATION_16BIT : u32 = 0u32 ; pub const CONSOLE_CARET_SELECTION : u32 = 1u32 ; pub const CONSOLE_CARET_VISIBLE : u32 = 2u32 ; pub const CONTACTVISUALIZATION_OFF : u32 = 0u32 ; pub const CONTACTVISUALIZATION_ON : u32 = 1u32 ; pub const CONTACTVISUALIZATION_PRESENTATIONMODE : u32 = 2u32 ; pub const CREATEPROCESS_MANIFEST_RESOURCE_ID : u32 = 1u32 ; pub const CSOUND_SYSTEM : u32 = 16u32 ; pub const CTLCOLOR_BTN : u32 = 3u32 ; pub const CTLCOLOR_DLG : u32 = 4u32 ; pub const CTLCOLOR_EDIT : u32 = 1u32 ; pub const CTLCOLOR_LISTBOX : u32 = 2u32 ; pub const CTLCOLOR_MAX : u32 = 7u32 ; pub const CTLCOLOR_MSGBOX : u32 = 0u32 ; pub const CTLCOLOR_SCROLLBAR : u32 = 5u32 ; pub const CTLCOLOR_STATIC : u32 = 6u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CURSORINFO_flags ( pub u32 ) ; impl CURSORINFO_flags { pub const CURSOR_SHOWING : Self = Self ( 1u32 ) ; pub const CURSOR_SUPPRESSED : Self = Self ( 2u32 ) ; } impl :: std :: convert :: From < u32 > for CURSORINFO_flags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CURSORINFO_flags { type Abi = Self ; } impl :: std :: ops :: BitOr for CURSORINFO_flags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for CURSORINFO_flags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for CURSORINFO_flags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for CURSORINFO_flags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CURSORINFO { pub cbSize : u32 , pub flags : CURSORINFO_flags , pub hCursor : super :: MenusAndResources :: HCURSOR , pub ptScreenPos : super :: DisplayDevices :: POINT } impl CURSORINFO { } impl :: std :: default :: Default for CURSORINFO { fn default ( ) -> Self { Self { cbSize : 0 , flags : :: std :: default :: Default :: default ( ) , hCursor : :: std :: default :: Default :: default ( ) , ptScreenPos : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for CURSORINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CURSORINFO" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "flags" , & format_args ! ( "{:?}" , self . flags ) ) . field ( "hCursor" , & format_args ! ( "{:?}" , self . hCursor ) ) . field ( "ptScreenPos" , & format_args ! ( "{:?}" , self . ptScreenPos ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CURSORINFO { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . flags == other . flags && self . hCursor == other . hCursor && self . ptScreenPos == other . ptScreenPos } } impl :: std :: cmp :: Eq for CURSORINFO { } unsafe impl :: windows :: Abi for CURSORINFO { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CURSORSHAPE { pub xHotSpot : i32 , pub yHotSpot : i32 , pub cx : i32 , pub cy : i32 , pub cbWidth : i32 , pub Planes : u8 , pub BitsPixel : u8 } impl CURSORSHAPE { } impl :: std :: default :: Default for CURSORSHAPE { fn default ( ) -> Self { Self { xHotSpot : 0 , yHotSpot : 0 , cx : 0 , cy : 0 , cbWidth : 0 , Planes : 0 , BitsPixel : 0 } } } impl :: std :: fmt :: Debug for CURSORSHAPE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CURSORSHAPE" ) . field ( "xHotSpot" , & format_args ! ( "{:?}" , self . xHotSpot ) ) . field ( "yHotSpot" , & format_args ! ( "{:?}" , self . yHotSpot ) ) . field ( "cx" , & format_args ! ( "{:?}" , self . cx ) ) . field ( "cy" , & format_args ! ( "{:?}" , self . cy ) ) . field ( "cbWidth" , & format_args ! ( "{:?}" , self . cbWidth ) ) . field ( "Planes" , & format_args ! ( "{:?}" , self . Planes ) ) . field ( "BitsPixel" , & format_args ! ( "{:?}" , self . BitsPixel ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CURSORSHAPE { fn eq ( & self , other : & Self ) -> bool { self . xHotSpot == other . xHotSpot && self . yHotSpot == other . yHotSpot && self . cx == other . cx && self . cy == other . cy && self . cbWidth == other . cbWidth && self . Planes == other . Planes && self . BitsPixel == other . BitsPixel } } impl :: std :: cmp :: Eq for CURSORSHAPE { } unsafe impl :: windows :: Abi for CURSORSHAPE { type Abi = Self ; } pub const CWF_CREATE_ONLY : u32 = 1u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CWPRETSTRUCT { pub lResult : super :: SystemServices :: LRESULT , pub lParam : LPARAM , pub wParam : WPARAM , pub message : u32 , pub hwnd : HWND } impl CWPRETSTRUCT { } impl :: std :: default :: Default for CWPRETSTRUCT { fn default ( ) -> Self { Self { lResult : :: std :: default :: Default :: default ( ) , lParam : :: std :: default :: Default :: default ( ) , wParam : :: std :: default :: Default :: default ( ) , message : 0 , hwnd : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for CWPRETSTRUCT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CWPRETSTRUCT" ) . field ( "lResult" , & format_args ! ( "{:?}" , self . lResult ) ) . field ( "lParam" , & format_args ! ( "{:?}" , self . lParam ) ) . field ( "wParam" , & format_args ! ( "{:?}" , self . wParam ) ) . field ( "message" , & format_args ! ( "{:?}" , self . message ) ) . field ( "hwnd" , & format_args ! ( "{:?}" , self . hwnd ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CWPRETSTRUCT { fn eq ( & self , other : & Self ) -> bool { self . lResult == other . lResult && self . lParam == other . lParam && self . wParam == other . wParam && self . message == other . message && self . hwnd == other . hwnd } } impl :: std :: cmp :: Eq for CWPRETSTRUCT { } unsafe impl :: windows :: Abi for CWPRETSTRUCT { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CWPSTRUCT { pub lParam : LPARAM , pub wParam : WPARAM , pub message : u32 , pub hwnd : HWND } impl CWPSTRUCT { } impl :: std :: default :: Default for CWPSTRUCT { fn default ( ) -> Self { Self { lParam : :: std :: default :: Default :: default ( ) , wParam : :: std :: default :: Default :: default ( ) , message : 0 , hwnd : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for CWPSTRUCT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CWPSTRUCT" ) . field ( "lParam" , & format_args ! ( "{:?}" , self . lParam ) ) . field ( "wParam" , & format_args ! ( "{:?}" , self . wParam ) ) . field ( "message" , & format_args ! ( "{:?}" , self . message ) ) . field ( "hwnd" , & format_args ! ( "{:?}" , self . hwnd ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CWPSTRUCT { fn eq ( & self , other : & Self ) -> bool { self . lParam == other . lParam && self . wParam == other . wParam && self . message == other . message && self . hwnd == other . hwnd } } impl :: std :: cmp :: Eq for CWPSTRUCT { } unsafe impl :: windows :: Abi for CWPSTRUCT { type Abi = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CWP_FLAGS ( pub u32 ) ; impl CWP_FLAGS { pub const CWP_ALL : Self = Self ( 0u32 ) ; pub const CWP_SKIPINVISIBLE : Self = Self ( 1u32 ) ; pub const CWP_SKIPDISABLED : Self = Self ( 2u32 ) ; pub const CWP_SKIPTRANSPARENT : Self = Self ( 4u32 ) ; } impl :: std :: convert :: From < u32 > for CWP_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CWP_FLAGS { type Abi = Self ; } impl :: std :: ops :: BitOr for CWP_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for CWP_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for CWP_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for CWP_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub const CW_USEDEFAULT : i32 = -2147483648i32 ; pub unsafe fn CalculatePopupWindowPosition < > ( anchorpoint : * const super :: DisplayDevices :: POINT , windowsize : * const super :: DisplayDevices :: SIZE , flags : u32 , excluderect : * mut super :: DisplayDevices :: RECT , popupwindowposition : * mut super :: DisplayDevices :: RECT , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MSG { pub hwnd : HWND , pub message : u32 , pub wParam : WPARAM , pub lParam : LPARAM , pub time : u32 , pub pt : super :: DisplayDevices :: POINT } impl MSG { } impl :: std :: default :: Default for MSG { fn default ( ) -> Self { Self { hwnd : :: std :: default :: Default :: default ( ) , message : 0 , wParam : :: std :: default :: Default :: default ( ) , lParam : :: std :: default :: Default :: default ( ) , time : 0 , pt : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for MSG { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MSG" ) . field ( "hwnd" , & format_args ! ( "{:?}" , self . hwnd ) ) . field ( "message" , & format_args ! ( "{:?}" , self . message ) ) . field ( "wParam" , & format_args ! ( "{:?}" , self . wParam ) ) . field ( "lParam" , & format_args ! ( "{:?}" , self . lParam ) ) . field ( "time" , & format_args ! ( "{:?}" , self . time ) ) . field ( "pt" , & format_args ! ( "{:?}" , self . pt ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MSG { fn eq ( & self , other : & Self ) -> bool { self . hwnd == other . hwnd && self . message == other . message && self . wParam == other . wParam && self . lParam == other . lParam && self . time == other . time && self . pt == other . pt } } impl :: std :: cmp :: Eq for MSG { } unsafe impl :: windows :: Abi for MSG { type Abi = Self ; } pub unsafe fn CallMsgFilterA < > ( lpmsg : * mut MSG , ncode : i32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CallMsgFilterW < > ( lpmsg : * mut MSG , ncode : i32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HHOOK ( pub isize ) ; impl HHOOK { } impl :: std :: default :: Default for HHOOK { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HHOOK { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HHOOK" ) . field ( "Value" , & format_args ! ( "{:?}" , self .0 ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HHOOK { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HHOOK { } unsafe impl :: windows :: Abi for HHOOK { type Abi = Self ; } pub unsafe fn CallNextHookEx < 'a , T0__ : :: windows :: IntoParam < 'a , HHOOK > , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hhk : T0__ , ncode : i32 , wparam : T2__ , lparam : T3__ , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub type WNDPROC = extern "system" fn ( param0 : HWND , param1 : u32 , param2 : WPARAM , param3 : LPARAM ) -> super :: SystemServices :: LRESULT ; pub unsafe fn CallWindowProcA < 'a , T1__ : :: windows :: IntoParam < 'a , HWND > , T3__ : :: windows :: IntoParam < 'a , WPARAM > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( lpprevwndfunc : :: std :: option :: Option < WNDPROC > , hwnd : T1__ , msg : u32 , wparam : T3__ , lparam : T4__ , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CallWindowProcW < 'a , T1__ : :: windows :: IntoParam < 'a , HWND > , T3__ : :: windows :: IntoParam < 'a , WPARAM > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( lpprevwndfunc : :: std :: option :: Option < WNDPROC > , hwnd : T1__ , msg : u32 , wparam : T3__ , lparam : T4__ , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CancelShutdown < > ( ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CascadeWindows_wHowFlags ( pub u32 ) ; impl CascadeWindows_wHowFlags { pub const MDITILE_SKIPDISABLED : Self = Self ( 2u32 ) ; pub const MDITILE_ZORDER : Self = Self ( 4u32 ) ; } impl :: std :: convert :: From < u32 > for CascadeWindows_wHowFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CascadeWindows_wHowFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for CascadeWindows_wHowFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for CascadeWindows_wHowFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for CascadeWindows_wHowFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for CascadeWindows_wHowFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn CascadeWindows < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwndparent : T0__ , whow : CascadeWindows_wHowFlags , lprect : * const super :: DisplayDevices :: RECT , ckids : u32 , lpkids : * const HWND , ) -> u16 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ChangeMenuA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hmenu : T0__ , cmd : u32 , lpsznewitem : T2__ , cmdinsert : u32 , flags : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ChangeMenuW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hmenu : T0__ , cmd : u32 , lpsznewitem : T2__ , cmdinsert : u32 , flags : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct ChangeWindowMessageFilter_dwFlagFlags ( pub u32 ) ; impl ChangeWindowMessageFilter_dwFlagFlags { pub const MSGFLT_ADD : Self = Self ( 1u32 ) ; pub const MSGFLT_REMOVE : Self = Self ( 2u32 ) ; } impl :: std :: convert :: From < u32 > for ChangeWindowMessageFilter_dwFlagFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for ChangeWindowMessageFilter_dwFlagFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for ChangeWindowMessageFilter_dwFlagFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for ChangeWindowMessageFilter_dwFlagFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for ChangeWindowMessageFilter_dwFlagFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for ChangeWindowMessageFilter_dwFlagFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn ChangeWindowMessageFilter < > ( message : u32 , dwflag : ChangeWindowMessageFilter_dwFlagFlags , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct ChangeWindowMessageFilterEx_actionFlags ( pub u32 ) ; impl ChangeWindowMessageFilterEx_actionFlags { pub const MSGFLT_ALLOW : Self = Self ( 1u32 ) ; pub const MSGFLT_DISALLOW : Self = Self ( 2u32 ) ; pub const MSGFLT_RESET : Self = Self ( 0u32 ) ; } impl :: std :: convert :: From < u32 > for ChangeWindowMessageFilterEx_actionFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for ChangeWindowMessageFilterEx_actionFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for ChangeWindowMessageFilterEx_actionFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for ChangeWindowMessageFilterEx_actionFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for ChangeWindowMessageFilterEx_actionFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for ChangeWindowMessageFilterEx_actionFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn ChangeWindowMessageFilterEx < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , message : u32 , action : ChangeWindowMessageFilterEx_actionFlags , pchangefilterstruct : * mut CHANGEFILTERSTRUCT , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharLowerA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpsz : T0__ , ) -> super :: SystemServices :: PSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharLowerBuffA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpsz : T0__ , cchlength : u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharLowerBuffW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpsz : T0__ , cchlength : u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharLowerW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpsz : T0__ , ) -> super :: SystemServices :: PWSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharNextA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpsz : T0__ , ) -> super :: SystemServices :: PSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharNextExA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( codepage : u16 , lpcurrentchar : T1__ , dwflags : u32 , ) -> super :: SystemServices :: PSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharNextW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpsz : T0__ , ) -> super :: SystemServices :: PWSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharPrevA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpszstart : T0__ , lpszcurrent : T1__ , ) -> super :: SystemServices :: PSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharPrevExA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( codepage : u16 , lpstart : T1__ , lpcurrentchar : T2__ , dwflags : u32 , ) -> super :: SystemServices :: PSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharPrevW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpszstart : T0__ , lpszcurrent : T1__ , ) -> super :: SystemServices :: PWSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharToOemA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( psrc : T0__ , pdst : super :: SystemServices :: PSTR , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharToOemBuffA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpszsrc : T0__ , lpszdst : super :: SystemServices :: PSTR , cchdstlength : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharToOemBuffW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpszsrc : T0__ , lpszdst : super :: SystemServices :: PSTR , cchdstlength : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharToOemW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( psrc : T0__ , pdst : super :: SystemServices :: PSTR , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharUpperA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpsz : T0__ , ) -> super :: SystemServices :: PSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharUpperBuffA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpsz : T0__ , cchlength : u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharUpperBuffW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpsz : T0__ , cchlength : u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharUpperW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpsz : T0__ , ) -> super :: SystemServices :: PWSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CheckMenuItem < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hmenu : T0__ , uidcheckitem : u32 , ucheck : u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CheckMenuRadioItem < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hmenu : T0__ , first : u32 , last : u32 , check : u32 , flags : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ChildWindowFromPoint < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: DisplayDevices :: POINT > , > ( hwndparent : T0__ , point : T1__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ChildWindowFromPointEx < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: DisplayDevices :: POINT > , > ( hwnd : T0__ , pt : T1__ , flags : CWP_FLAGS , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ChooseColorA < > ( param0 : * mut CHOOSECOLORA , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ChooseColorW < > ( param0 : * mut CHOOSECOLORW , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ChooseFontA < > ( param0 : * mut CHOOSEFONTA , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ChooseFontW < > ( param0 : * mut CHOOSEFONTW , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ClipCursor < > ( lprect : * const super :: DisplayDevices :: RECT , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CloseWindow < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CommDlgExtendedError < > ( ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CopyAcceleratorTableA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HACCEL > , > ( haccelsrc : T0__ , lpacceldst : * mut ACCEL , caccelentries : i32 , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CopyAcceleratorTableW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HACCEL > , > ( haccelsrc : T0__ , lpacceldst : * mut ACCEL , caccelentries : i32 , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CopyIcon < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HICON > , > ( hicon : T0__ , ) -> super :: MenusAndResources :: HICON { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CopyImage_type ( pub u32 ) ; impl CopyImage_type { pub const IMAGE_BITMAP : Self = Self ( 0u32 ) ; pub const IMAGE_CURSOR : Self = Self ( 2u32 ) ; pub const IMAGE_ICON : Self = Self ( 1u32 ) ; } impl :: std :: convert :: From < u32 > for CopyImage_type { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CopyImage_type { type Abi = Self ; } impl :: std :: ops :: BitOr for CopyImage_type { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for CopyImage_type { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for CopyImage_type { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for CopyImage_type { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn CopyImage < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HANDLE > , > ( h : T0__ , r#type : CopyImage_type , cx : i32 , cy : i32 , flags : super :: Controls :: ImageListLoadImage_uFlags , ) -> super :: SystemServices :: HANDLE { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateAcceleratorTableA < > ( paccel : * mut ACCEL , caccel : i32 , ) -> super :: MenusAndResources :: HACCEL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateAcceleratorTableW < > ( paccel : * mut ACCEL , caccel : i32 , ) -> super :: MenusAndResources :: HACCEL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateCaret < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: Gdi :: HBITMAP > , > ( hwnd : T0__ , hbitmap : T1__ , nwidth : i32 , nheight : i32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateCursor < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , > ( hinst : T0__ , xhotspot : i32 , yhotspot : i32 , nwidth : i32 , nheight : i32 , pvandplane : * const :: std :: ffi :: c_void , pvxorplane : * const :: std :: ffi :: c_void , ) -> super :: MenusAndResources :: HCURSOR { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C , packed ( 2 ) ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct DLGTEMPLATE { pub style : u32 , pub dwExtendedStyle : u32 , pub cdit : u16 , pub x : i16 , pub y : i16 , pub cx : i16 , pub cy : i16 } impl DLGTEMPLATE { } unsafe impl :: windows :: Abi for DLGTEMPLATE { type Abi = Self ; } pub type DLGPROC = extern "system" fn ( param0 : HWND , param1 : u32 , param2 : WPARAM , param3 : LPARAM ) -> isize ; pub unsafe fn CreateDialogIndirectParamA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T2__ : :: windows :: IntoParam < 'a , HWND > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hinstance : T0__ , lptemplate : * mut DLGTEMPLATE , hwndparent : T2__ , lpdialogfunc : :: std :: option :: Option < DLGPROC > , dwinitparam : T4__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateDialogIndirectParamW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T2__ : :: windows :: IntoParam < 'a , HWND > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hinstance : T0__ , lptemplate : * mut DLGTEMPLATE , hwndparent : T2__ , lpdialogfunc : :: std :: option :: Option < DLGPROC > , dwinitparam : T4__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateDialogParamA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T2__ : :: windows :: IntoParam < 'a , HWND > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hinstance : T0__ , lptemplatename : T1__ , hwndparent : T2__ , lpdialogfunc : :: std :: option :: Option < DLGPROC > , dwinitparam : T4__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateDialogParamW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , HWND > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hinstance : T0__ , lptemplatename : T1__ , hwndparent : T2__ , lpdialogfunc : :: std :: option :: Option < DLGPROC > , dwinitparam : T4__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateIcon < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , > ( hinstance : T0__ , nwidth : i32 , nheight : i32 , cplanes : u8 , cbitspixel : u8 , lpbandbits : * const u8 , lpbxorbits : * const u8 , ) -> super :: MenusAndResources :: HICON { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateIconFromResource < 'a , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( presbits : * mut u8 , dwressize : u32 , ficon : T2__ , dwver : u32 , ) -> super :: MenusAndResources :: HICON { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateIconFromResourceEx < 'a , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( presbits : * mut u8 , dwressize : u32 , ficon : T2__ , dwver : u32 , cxdesired : i32 , cydesired : i32 , flags : super :: Controls :: ImageListLoadImage_uFlags , ) -> super :: MenusAndResources :: HICON { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct ICONINFO { pub fIcon : super :: SystemServices :: BOOL , pub xHotspot : u32 , pub yHotspot : u32 , pub hbmMask : super :: Gdi :: HBITMAP , pub hbmColor : super :: Gdi :: HBITMAP } impl ICONINFO { } impl :: std :: default :: Default for ICONINFO { fn default ( ) -> Self { Self { fIcon : :: std :: default :: Default :: default ( ) , xHotspot : 0 , yHotspot : 0 , hbmMask : :: std :: default :: Default :: default ( ) , hbmColor : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for ICONINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ICONINFO" ) . field ( "fIcon" , & format_args ! ( "{:?}" , self . fIcon ) ) . field ( "xHotspot" , & format_args ! ( "{:?}" , self . xHotspot ) ) . field ( "yHotspot" , & format_args ! ( "{:?}" , self . yHotspot ) ) . field ( "hbmMask" , & format_args ! ( "{:?}" , self . hbmMask ) ) . field ( "hbmColor" , & format_args ! ( "{:?}" , self . hbmColor ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ICONINFO { fn eq ( & self , other : & Self ) -> bool { self . fIcon == other . fIcon && self . xHotspot == other . xHotspot && self . yHotspot == other . yHotspot && self . hbmMask == other . hbmMask && self . hbmColor == other . hbmColor } } impl :: std :: cmp :: Eq for ICONINFO { } unsafe impl :: windows :: Abi for ICONINFO { type Abi = Self ; } pub unsafe fn CreateIconIndirect < > ( piconinfo : * mut ICONINFO , ) -> super :: MenusAndResources :: HICON { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct WINDOW_STYLE ( pub u32 ) ; impl WINDOW_STYLE { pub const WS_OVERLAPPED : Self = Self ( 0u32 ) ; pub const WS_POPUP : Self = Self ( 2147483648u32 ) ; pub const WS_CHILD : Self = Self ( 1073741824u32 ) ; pub const WS_MINIMIZE : Self = Self ( 536870912u32 ) ; pub const WS_MAXIMIZE : Self = Self ( 16777216u32 ) ; pub const WS_HSCROLL : Self = Self ( 1048576u32 ) ; pub const WS_VSCROLL : Self = Self ( 2097152u32 ) ; pub const WS_VISIBLE : Self = Self ( 268435456u32 ) ; pub const WS_DISABLED : Self = Self ( 134217728u32 ) ; pub const WS_CLIPSIBLINGS : Self = Self ( 67108864u32 ) ; pub const WS_CLIPCHILDREN : Self = Self ( 33554432u32 ) ; pub const WS_CAPTION : Self = Self ( 12582912u32 ) ; pub const WS_BORDER : Self = Self ( 8388608u32 ) ; pub const WS_DLGFRAME : Self = Self ( 4194304u32 ) ; pub const WS_SYSMENU : Self = Self ( 524288u32 ) ; pub const WS_THICKFRAME : Self = Self ( 262144u32 ) ; pub const WS_GROUP : Self = Self ( 131072u32 ) ; pub const WS_TABSTOP : Self = Self ( 65536u32 ) ; pub const WS_MINIMIZEBOX : Self = Self ( 131072u32 ) ; pub const WS_MAXIMIZEBOX : Self = Self ( 65536u32 ) ; pub const WS_TILED : Self = Self ( 0u32 ) ; pub const WS_ICONIC : Self = Self ( 536870912u32 ) ; pub const WS_SIZEBOX : Self = Self ( 262144u32 ) ; pub const WS_TILEDWINDOW : Self = Self ( 13565952u32 ) ; pub const WS_OVERLAPPEDWINDOW : Self = Self ( 13565952u32 ) ; pub const WS_POPUPWINDOW : Self = Self ( 2156396544u32 ) ; pub const WS_CHILDWINDOW : Self = Self ( 1073741824u32 ) ; pub const WS_ACTIVECAPTION : Self = Self ( 1u32 ) ; } impl :: std :: convert :: From < u32 > for WINDOW_STYLE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for WINDOW_STYLE { type Abi = Self ; } impl :: std :: ops :: BitOr for WINDOW_STYLE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for WINDOW_STYLE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for WINDOW_STYLE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for WINDOW_STYLE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn CreateMDIWindowA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T7__ : :: windows :: IntoParam < 'a , HWND > , T8__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T9__ : :: windows :: IntoParam < 'a , LPARAM > , > ( lpclassname : T0__ , lpwindowname : T1__ , dwstyle : WINDOW_STYLE , x : i32 , y : i32 , nwidth : i32 , nheight : i32 , hwndparent : T7__ , hinstance : T8__ , lparam : T9__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateMDIWindowW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T7__ : :: windows :: IntoParam < 'a , HWND > , T8__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T9__ : :: windows :: IntoParam < 'a , LPARAM > , > ( lpclassname : T0__ , lpwindowname : T1__ , dwstyle : WINDOW_STYLE , x : i32 , y : i32 , nwidth : i32 , nheight : i32 , hwndparent : T7__ , hinstance : T8__ , lparam : T9__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateMenu < > ( ) -> super :: MenusAndResources :: HMENU { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreatePopupMenu < > ( ) -> super :: MenusAndResources :: HMENU { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateResourceIndexer < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( projectroot : T0__ , extensiondllpath : T1__ , ppresourceindexer : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct WINDOW_EX_STYLE ( pub u32 ) ; impl WINDOW_EX_STYLE { pub const WS_EX_DLGMODALFRAME : Self = Self ( 1u32 ) ; pub const WS_EX_NOPARENTNOTIFY : Self = Self ( 4u32 ) ; pub const WS_EX_TOPMOST : Self = Self ( 8u32 ) ; pub const WS_EX_ACCEPTFILES : Self = Self ( 16u32 ) ; pub const WS_EX_TRANSPARENT : Self = Self ( 32u32 ) ; pub const WS_EX_MDICHILD : Self = Self ( 64u32 ) ; pub const WS_EX_TOOLWINDOW : Self = Self ( 128u32 ) ; pub const WS_EX_WINDOWEDGE : Self = Self ( 256u32 ) ; pub const WS_EX_CLIENTEDGE : Self = Self ( 512u32 ) ; pub const WS_EX_CONTEXTHELP : Self = Self ( 1024u32 ) ; pub const WS_EX_RIGHT : Self = Self ( 4096u32 ) ; pub const WS_EX_LEFT : Self = Self ( 0u32 ) ; pub const WS_EX_RTLREADING : Self = Self ( 8192u32 ) ; pub const WS_EX_LTRREADING : Self = Self ( 0u32 ) ; pub const WS_EX_LEFTSCROLLBAR : Self = Self ( 16384u32 ) ; pub const WS_EX_RIGHTSCROLLBAR : Self = Self ( 0u32 ) ; pub const WS_EX_CONTROLPARENT : Self = Self ( 65536u32 ) ; pub const WS_EX_STATICEDGE : Self = Self ( 131072u32 ) ; pub const WS_EX_APPWINDOW : Self = Self ( 262144u32 ) ; pub const WS_EX_OVERLAPPEDWINDOW : Self = Self ( 768u32 ) ; pub const WS_EX_PALETTEWINDOW : Self = Self ( 392u32 ) ; pub const WS_EX_LAYERED : Self = Self ( 524288u32 ) ; pub const WS_EX_NOINHERITLAYOUT : Self = Self ( 1048576u32 ) ; pub const WS_EX_NOREDIRECTIONBITMAP : Self = Self ( 2097152u32 ) ; pub const WS_EX_LAYOUTRTL : Self = Self ( 4194304u32 ) ; pub const WS_EX_COMPOSITED : Self = Self ( 33554432u32 ) ; pub const WS_EX_NOACTIVATE : Self = Self ( 134217728u32 ) ; } impl :: std :: convert :: From < u32 > for WINDOW_EX_STYLE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for WINDOW_EX_STYLE { type Abi = Self ; } impl :: std :: ops :: BitOr for WINDOW_EX_STYLE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for WINDOW_EX_STYLE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for WINDOW_EX_STYLE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for WINDOW_EX_STYLE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn CreateWindowExA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T8__ : :: windows :: IntoParam < 'a , HWND > , T9__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T10__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , > ( dwexstyle : WINDOW_EX_STYLE , lpclassname : T1__ , lpwindowname : T2__ , dwstyle : WINDOW_STYLE , x : i32 , y : i32 , nwidth : i32 , nheight : i32 , hwndparent : T8__ , hmenu : T9__ , hinstance : T10__ , lpparam : * mut :: std :: ffi :: c_void , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateWindowExW < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T8__ : :: windows :: IntoParam < 'a , HWND > , T9__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T10__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , > ( dwexstyle : WINDOW_EX_STYLE , lpclassname : T1__ , lpwindowname : T2__ , dwstyle : WINDOW_STYLE , x : i32 , y : i32 , nwidth : i32 , nheight : i32 , hwndparent : T8__ , hmenu : T9__ , hinstance : T10__ , lpparam : * mut :: std :: ffi :: c_void , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub const DCX_EXCLUDEUPDATE : i32 = 256i32 ; pub const DC_HASDEFID : u32 = 21323u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct DEBUGHOOKINFO { pub idThread : u32 , pub idThreadInstaller : u32 , pub lParam : LPARAM , pub wParam : WPARAM , pub code : i32 } impl DEBUGHOOKINFO { } impl :: std :: default :: Default for DEBUGHOOKINFO { fn default ( ) -> Self { Self { idThread : 0 , idThreadInstaller : 0 , lParam : :: std :: default :: Default :: default ( ) , wParam : :: std :: default :: Default :: default ( ) , code : 0 } } } impl :: std :: fmt :: Debug for DEBUGHOOKINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEBUGHOOKINFO" ) . field ( "idThread" , & format_args ! ( "{:?}" , self . idThread ) ) . field ( "idThreadInstaller" , & format_args ! ( "{:?}" , self . idThreadInstaller ) ) . field ( "lParam" , & format_args ! ( "{:?}" , self . lParam ) ) . field ( "wParam" , & format_args ! ( "{:?}" , self . wParam ) ) . field ( "code" , & format_args ! ( "{:?}" , self . code ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEBUGHOOKINFO { fn eq ( & self , other : & Self ) -> bool { self . idThread == other . idThread && self . idThreadInstaller == other . idThreadInstaller && self . lParam == other . lParam && self . wParam == other . wParam && self . code == other . code } } impl :: std :: cmp :: Eq for DEBUGHOOKINFO { } unsafe impl :: windows :: Abi for DEBUGHOOKINFO { type Abi = Self ; } pub type DESKTOPENUMPROCA = extern "system" fn ( param0 : super :: SystemServices :: PSTR , param1 : LPARAM ) -> super :: SystemServices :: BOOL ; pub type DESKTOPENUMPROCW = extern "system" fn ( param0 : super :: SystemServices :: PWSTR , param1 : LPARAM ) -> super :: SystemServices :: BOOL ; pub const DESKTOP_CREATEMENU : i32 = 4i32 ; pub const DESKTOP_CREATEWINDOW : i32 = 2i32 ; pub const DESKTOP_ENUMERATE : i32 = 64i32 ; pub const DESKTOP_HOOKCONTROL : i32 = 8i32 ; pub const DESKTOP_JOURNALPLAYBACK : i32 = 32i32 ; pub const DESKTOP_JOURNALRECORD : i32 = 16i32 ; pub const DESKTOP_READOBJECTS : i32 = 1i32 ; pub const DESKTOP_SWITCHDESKTOP : i32 = 256i32 ; pub const DESKTOP_WRITEOBJECTS : i32 = 128i32 ; pub const DEVICE_NOTIFY_ALL_INTERFACE_CLASSES : u32 = 4u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct DEVNAMES { pub wDriverOffset : u16 , pub wDeviceOffset : u16 , pub wOutputOffset : u16 , pub wDefault : u16 } impl DEVNAMES { } impl :: std :: default :: Default for DEVNAMES { fn default ( ) -> Self { Self { wDriverOffset : 0 , wDeviceOffset : 0 , wOutputOffset : 0 , wDefault : 0 } } } impl :: std :: fmt :: Debug for DEVNAMES { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEVNAMES" ) . field ( "wDriverOffset" , & format_args ! ( "{:?}" , self . wDriverOffset ) ) . field ( "wDeviceOffset" , & format_args ! ( "{:?}" , self . wDeviceOffset ) ) . field ( "wOutputOffset" , & format_args ! ( "{:?}" , self . wOutputOffset ) ) . field ( "wDefault" , & format_args ! ( "{:?}" , self . wDefault ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVNAMES { fn eq ( & self , other : & Self ) -> bool { self . wDriverOffset == other . wDriverOffset && self . wDeviceOffset == other . wDeviceOffset && self . wOutputOffset == other . wOutputOffset && self . wDefault == other . wDefault } } impl :: std :: cmp :: Eq for DEVNAMES { } unsafe impl :: windows :: Abi for DEVNAMES { type Abi = Self ; } pub const DF_ALLOWOTHERACCOUNTHOOK : i32 = 1i32 ; pub const DIFFERENCE : u32 = 11u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct DI_FLAGS ( pub u32 ) ; impl DI_FLAGS { pub const DI_MASK : Self = Self ( 1u32 ) ; pub const DI_IMAGE : Self = Self ( 2u32 ) ; pub const DI_NORMAL : Self = Self ( 3u32 ) ; pub const DI_COMPAT : Self = Self ( 4u32 ) ; pub const DI_DEFAULTSIZE : Self = Self ( 8u32 ) ; pub const DI_NOMIRROR : Self = Self ( 16u32 ) ; } impl :: std :: convert :: From < u32 > for DI_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DI_FLAGS { type Abi = Self ; } impl :: std :: ops :: BitOr for DI_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for DI_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for DI_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for DI_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub const DLGC_BUTTON : u32 = 8192u32 ; pub const DLGC_DEFPUSHBUTTON : u32 = 16u32 ; pub const DLGC_HASSETSEL : u32 = 8u32 ; pub const DLGC_RADIOBUTTON : u32 = 64u32 ; pub const DLGC_STATIC : u32 = 256u32 ; pub const DLGC_UNDEFPUSHBUTTON : u32 = 32u32 ; pub const DLGC_WANTALLKEYS : u32 = 4u32 ; pub const DLGC_WANTARROWS : u32 = 1u32 ; pub const DLGC_WANTCHARS : u32 = 128u32 ; pub const DLGC_WANTMESSAGE : u32 = 4u32 ; pub const DLGC_WANTTAB : u32 = 2u32 ; # [ repr ( C , packed ( 2 ) ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct DLGITEMTEMPLATE { pub style : u32 , pub dwExtendedStyle : u32 , pub x : i16 , pub y : i16 , pub cx : i16 , pub cy : i16 , pub id : u16 } impl DLGITEMTEMPLATE { } unsafe impl :: windows :: Abi for DLGITEMTEMPLATE { type Abi = Self ; } pub const DLGWINDOWEXTRA : u32 = 30u32 ; pub const DM_GETDEFID : u32 = 1024u32 ; pub const DM_POINTERHITTEST : u32 = 592u32 ; pub const DM_REPOSITION : u32 = 1026u32 ; pub const DM_SETDEFID : u32 = 1025u32 ; pub const DN_DEFAULTPRN : u32 = 1u32 ; pub const DOF_DIRECTORY : u32 = 32771u32 ; pub const DOF_DOCUMENT : u32 = 32770u32 ; pub const DOF_EXECUTABLE : u32 = 32769u32 ; pub const DOF_MULTIPLE : u32 = 32772u32 ; pub const DOF_PROGMAN : u32 = 1u32 ; pub const DOF_SHELLDATA : u32 = 2u32 ; pub const DO_DROPFILE : i32 = 1162627398i32 ; pub const DO_PRINTFILE : i32 = 1414419024i32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct DROPSTRUCT { pub hwndSource : HWND , pub hwndSink : HWND , pub wFmt : u32 , pub dwData : usize , pub ptDrop : super :: DisplayDevices :: POINT , pub dwControlData : u32 } impl DROPSTRUCT { } impl :: std :: default :: Default for DROPSTRUCT { fn default ( ) -> Self { Self { hwndSource : :: std :: default :: Default :: default ( ) , hwndSink : :: std :: default :: Default :: default ( ) , wFmt : 0 , dwData : 0 , ptDrop : :: std :: default :: Default :: default ( ) , dwControlData : 0 } } } impl :: std :: fmt :: Debug for DROPSTRUCT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DROPSTRUCT" ) . field ( "hwndSource" , & format_args ! ( "{:?}" , self . hwndSource ) ) . field ( "hwndSink" , & format_args ! ( "{:?}" , self . hwndSink ) ) . field ( "wFmt" , & format_args ! ( "{:?}" , self . wFmt ) ) . field ( "dwData" , & format_args ! ( "{:?}" , self . dwData ) ) . field ( "ptDrop" , & format_args ! ( "{:?}" , self . ptDrop ) ) . field ( "dwControlData" , & format_args ! ( "{:?}" , self . dwControlData ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DROPSTRUCT { fn eq ( & self , other : & Self ) -> bool { self . hwndSource == other . hwndSource && self . hwndSink == other . hwndSink && self . wFmt == other . wFmt && self . dwData == other . dwData && self . ptDrop == other . ptDrop && self . dwControlData == other . dwControlData } } impl :: std :: cmp :: Eq for DROPSTRUCT { } unsafe impl :: windows :: Abi for DROPSTRUCT { type Abi = Self ; } pub const DWLP_MSGRESULT : u32 = 0u32 ; pub const DWL_DLGPROC : u32 = 4u32 ; pub const DWL_MSGRESULT : u32 = 0u32 ; pub const DWL_USER : u32 = 8u32 ; pub unsafe fn DefDlgProcA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hdlg : T0__ , msg : u32 , wparam : T2__ , lparam : T3__ , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DefDlgProcW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hdlg : T0__ , msg : u32 , wparam : T2__ , lparam : T3__ , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DefFrameProcA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , HWND > , T3__ : :: windows :: IntoParam < 'a , WPARAM > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwnd : T0__ , hwndmdiclient : T1__ , umsg : u32 , wparam : T3__ , lparam : T4__ , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DefFrameProcW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , HWND > , T3__ : :: windows :: IntoParam < 'a , WPARAM > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwnd : T0__ , hwndmdiclient : T1__ , umsg : u32 , wparam : T3__ , lparam : T4__ , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DefMDIChildProcA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwnd : T0__ , umsg : u32 , wparam : T2__ , lparam : T3__ , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DefMDIChildProcW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwnd : T0__ , umsg : u32 , wparam : T2__ , lparam : T3__ , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DefWindowProcA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwnd : T0__ , msg : u32 , wparam : T2__ , lparam : T3__ , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DefWindowProcW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwnd : T0__ , msg : u32 , wparam : T2__ , lparam : T3__ , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SetWindowPos_uFlags ( pub u32 ) ; impl SetWindowPos_uFlags { pub const SWP_ASYNCWINDOWPOS : Self = Self ( 16384u32 ) ; pub const SWP_DEFERERASE : Self = Self ( 8192u32 ) ; pub const SWP_DRAWFRAME : Self = Self ( 32u32 ) ; pub const SWP_FRAMECHANGED : Self = Self ( 32u32 ) ; pub const SWP_HIDEWINDOW : Self = Self ( 128u32 ) ; pub const SWP_NOACTIVATE : Self = Self ( 16u32 ) ; pub const SWP_NOCOPYBITS : Self = Self ( 256u32 ) ; pub const SWP_NOMOVE : Self = Self ( 2u32 ) ; pub const SWP_NOOWNERZORDER : Self = Self ( 512u32 ) ; pub const SWP_NOREDRAW : Self = Self ( 8u32 ) ; pub const SWP_NOREPOSITION : Self = Self ( 512u32 ) ; pub const SWP_NOSENDCHANGING : Self = Self ( 1024u32 ) ; pub const SWP_NOSIZE : Self = Self ( 1u32 ) ; pub const SWP_NOZORDER : Self = Self ( 4u32 ) ; pub const SWP_SHOWWINDOW : Self = Self ( 64u32 ) ; pub const SWP__NOOWNERZORDER : Self = Self ( 512u32 ) ; } impl :: std :: convert :: From < u32 > for SetWindowPos_uFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SetWindowPos_uFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for SetWindowPos_uFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for SetWindowPos_uFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for SetWindowPos_uFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for SetWindowPos_uFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn DeferWindowPos < 'a , T1__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , HWND > , > ( hwinposinfo : isize , hwnd : T1__ , hwndinsertafter : T2__ , x : i32 , y : i32 , cx : i32 , cy : i32 , uflags : SetWindowPos_uFlags , ) -> isize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DeleteMenu < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hmenu : T0__ , uposition : u32 , uflags : MENU_ITEM_FLAGS , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DeregisterShellHookWindow < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DestroyAcceleratorTable < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HACCEL > , > ( haccel : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DestroyCaret < > ( ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DestroyCursor < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HCURSOR > , > ( hcursor : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DestroyIcon < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HICON > , > ( hicon : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct IndexedResourceQualifier { pub name : super :: SystemServices :: PWSTR , pub value : super :: SystemServices :: PWSTR } impl IndexedResourceQualifier { } impl :: std :: default :: Default for IndexedResourceQualifier { fn default ( ) -> Self { Self { name : :: std :: default :: Default :: default ( ) , value : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for IndexedResourceQualifier { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "IndexedResourceQualifier" ) . field ( "name" , & format_args ! ( "{:?}" , self . name ) ) . field ( "value" , & format_args ! ( "{:?}" , self . value ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for IndexedResourceQualifier { fn eq ( & self , other : & Self ) -> bool { self . name == other . name && self . value == other . value } } impl :: std :: cmp :: Eq for IndexedResourceQualifier { } unsafe impl :: windows :: Abi for IndexedResourceQualifier { type Abi = Self ; } pub unsafe fn DestroyIndexedResults < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( resourceuri : T0__ , qualifiercount : u32 , qualifiers : * mut IndexedResourceQualifier , ) { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DestroyMenu < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hmenu : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DestroyResourceIndexer < > ( resourceindexer : * mut :: std :: ffi :: c_void , ) { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DestroyWindow < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DialogBoxIndirectParamA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T2__ : :: windows :: IntoParam < 'a , HWND > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hinstance : T0__ , hdialogtemplate : * mut DLGTEMPLATE , hwndparent : T2__ , lpdialogfunc : :: std :: option :: Option < DLGPROC > , dwinitparam : T4__ , ) -> isize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DialogBoxIndirectParamW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T2__ : :: windows :: IntoParam < 'a , HWND > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hinstance : T0__ , hdialogtemplate : * mut DLGTEMPLATE , hwndparent : T2__ , lpdialogfunc : :: std :: option :: Option < DLGPROC > , dwinitparam : T4__ , ) -> isize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DialogBoxParamA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T2__ : :: windows :: IntoParam < 'a , HWND > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hinstance : T0__ , lptemplatename : T1__ , hwndparent : T2__ , lpdialogfunc : :: std :: option :: Option < DLGPROC > , dwinitparam : T4__ , ) -> isize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DialogBoxParamW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , HWND > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hinstance : T0__ , lptemplatename : T1__ , hwndparent : T2__ , lpdialogfunc : :: std :: option :: Option < DLGPROC > , dwinitparam : T4__ , ) -> isize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DispatchMessageA < > ( lpmsg : * const MSG , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DispatchMessageW < > ( lpmsg : * const MSG , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DragObject < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , HWND > , T4__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HCURSOR > , > ( hwndparent : T0__ , hwndfrom : T1__ , fmt : u32 , data : usize , hcur : T4__ , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DrawIcon < 'a , T0__ : :: windows :: IntoParam < 'a , super :: Gdi :: HDC > , T3__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HICON > , > ( hdc : T0__ , x : i32 , y : i32 , hicon : T3__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DrawIconEx < 'a , T0__ : :: windows :: IntoParam < 'a , super :: Gdi :: HDC > , T3__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HICON > , T7__ : :: windows :: IntoParam < 'a , super :: Gdi :: HBRUSH > , > ( hdc : T0__ , xleft : i32 , ytop : i32 , hicon : T3__ , cxwidth : i32 , cywidth : i32 , istepifanicur : u32 , hbrflickerfreedraw : T7__ , diflags : DI_FLAGS , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DrawMenuBar < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub const EC_LEFTMARGIN : u32 = 1u32 ; pub const EC_RIGHTMARGIN : u32 = 2u32 ; pub const EC_USEFONTINFO : u32 = 65535u32 ; pub const EDD_GET_DEVICE_INTERFACE_NAME : u32 = 1u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct EDIT_CONTROL_FEATURE ( pub i32 ) ; impl EDIT_CONTROL_FEATURE { pub const EDIT_CONTROL_FEATURE_ENTERPRISE_DATA_PROTECTION_PASTE_SUPPORT : Self = Self ( 0i32 ) ; pub const EDIT_CONTROL_FEATURE_PASTE_NOTIFICATIONS : Self = Self ( 1i32 ) ; } impl :: std :: convert :: From < i32 > for EDIT_CONTROL_FEATURE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for EDIT_CONTROL_FEATURE { type Abi = Self ; } pub const EDS_RAWMODE : u32 = 2u32 ; pub const EDS_ROTATEDMODE : u32 = 4u32 ; pub const EIMES_CANCELCOMPSTRINFOCUS : u32 = 2u32 ; pub const EIMES_COMPLETECOMPSTRKILLFOCUS : u32 = 4u32 ; pub const EIMES_GETCOMPSTRATONCE : u32 = 1u32 ; pub const EMSIS_COMPOSITIONSTRING : u32 = 1u32 ; pub const EM_CANUNDO : u32 = 198u32 ; pub const EM_EMPTYUNDOBUFFER : u32 = 205u32 ; pub const EM_ENABLEFEATURE : u32 = 218u32 ; pub const EM_FMTLINES : u32 = 200u32 ; pub const EM_GETFIRSTVISIBLELINE : u32 = 206u32 ; pub const EM_GETHANDLE : u32 = 189u32 ; pub const EM_GETIMESTATUS : u32 = 217u32 ; pub const EM_GETLINE : u32 = 196u32 ; pub const EM_GETLINECOUNT : u32 = 186u32 ; pub const EM_GETMARGINS : u32 = 212u32 ; pub const EM_GETMODIFY : u32 = 184u32 ; pub const EM_GETPASSWORDCHAR : u32 = 210u32 ; pub const EM_GETRECT : u32 = 178u32 ; pub const EM_GETSEL : u32 = 176u32 ; pub const EM_GETTHUMB : u32 = 190u32 ; pub const EM_GETWORDBREAKPROC : u32 = 209u32 ; pub const EM_LIMITTEXT : u32 = 197u32 ; pub const EM_LINEFROMCHAR : u32 = 201u32 ; pub const EM_LINEINDEX : u32 = 187u32 ; pub const EM_LINELENGTH : u32 = 193u32 ; pub const EM_LINESCROLL : u32 = 182u32 ; pub const EM_REPLACESEL : u32 = 194u32 ; pub const EM_SCROLL : u32 = 181u32 ; pub const EM_SETHANDLE : u32 = 188u32 ; pub const EM_SETIMESTATUS : u32 = 216u32 ; pub const EM_SETMARGINS : u32 = 211u32 ; pub const EM_SETMODIFY : u32 = 185u32 ; pub const EM_SETPASSWORDCHAR : u32 = 204u32 ; pub const EM_SETREADONLY : u32 = 207u32 ; pub const EM_SETRECT : u32 = 179u32 ; pub const EM_SETRECTNP : u32 = 180u32 ; pub const EM_SETSEL : u32 = 177u32 ; pub const EM_SETTABSTOPS : u32 = 203u32 ; pub const EM_SETWORDBREAKPROC : u32 = 208u32 ; pub const EM_UNDO : u32 = 199u32 ; pub const ENDSESSION_CLOSEAPP : u32 = 1u32 ; pub const ENDSESSION_CRITICAL : u32 = 1073741824u32 ; pub const ENDSESSION_LOGOFF : u32 = 2147483648u32 ; pub type ENUMRESNAMEPROCA = extern "system" fn ( hmodule : isize , lptype : super :: SystemServices :: PSTR , lpname : super :: SystemServices :: PSTR , lparam : isize ) -> super :: SystemServices :: BOOL ; pub type ENUMRESNAMEPROCW = extern "system" fn ( hmodule : isize , lptype : super :: SystemServices :: PWSTR , lpname : super :: SystemServices :: PWSTR , lparam : isize ) -> super :: SystemServices :: BOOL ; pub type ENUMRESTYPEPROCA = extern "system" fn ( hmodule : isize , lptype : super :: SystemServices :: PSTR , lparam : isize ) -> super :: SystemServices :: BOOL ; pub type ENUMRESTYPEPROCW = extern "system" fn ( hmodule : isize , lptype : super :: SystemServices :: PWSTR , lparam : isize ) -> super :: SystemServices :: BOOL ; pub const EN_AFTER_PASTE : u32 = 2049u32 ; pub const EN_ALIGN_LTR_EC : u32 = 1792u32 ; pub const EN_ALIGN_RTL_EC : u32 = 1793u32 ; pub const EN_BEFORE_PASTE : u32 = 2048u32 ; pub const EN_CHANGE : u32 = 768u32 ; pub const EN_ERRSPACE : u32 = 1280u32 ; pub const EN_HSCROLL : u32 = 1537u32 ; pub const EN_KILLFOCUS : u32 = 512u32 ; pub const EN_MAXTEXT : u32 = 1281u32 ; pub const EN_SETFOCUS : u32 = 256u32 ; pub const EN_UPDATE : u32 = 1024u32 ; pub const EN_VSCROLL : u32 = 1538u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct EVENTMSG { pub message : u32 , pub paramL : u32 , pub paramH : u32 , pub time : u32 , pub hwnd : HWND } impl EVENTMSG { } impl :: std :: default :: Default for EVENTMSG { fn default ( ) -> Self { Self { message : 0 , paramL : 0 , paramH : 0 , time : 0 , hwnd : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for EVENTMSG { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EVENTMSG" ) . field ( "message" , & format_args ! ( "{:?}" , self . message ) ) . field ( "paramL" , & format_args ! ( "{:?}" , self . paramL ) ) . field ( "paramH" , & format_args ! ( "{:?}" , self . paramH ) ) . field ( "time" , & format_args ! ( "{:?}" , self . time ) ) . field ( "hwnd" , & format_args ! ( "{:?}" , self . hwnd ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EVENTMSG { fn eq ( & self , other : & Self ) -> bool { self . message == other . message && self . paramL == other . paramL && self . paramH == other . paramH && self . time == other . time && self . hwnd == other . hwnd } } impl :: std :: cmp :: Eq for EVENTMSG { } unsafe impl :: windows :: Abi for EVENTMSG { type Abi = Self ; } pub const EVENT_AIA_END : u32 = 45055u32 ; pub const EVENT_AIA_START : u32 = 40960u32 ; pub const EVENT_CONSOLE_CARET : u32 = 16385u32 ; pub const EVENT_CONSOLE_END : u32 = 16639u32 ; pub const EVENT_CONSOLE_END_APPLICATION : u32 = 16391u32 ; pub const EVENT_CONSOLE_LAYOUT : u32 = 16389u32 ; pub const EVENT_CONSOLE_START_APPLICATION : u32 = 16390u32 ; pub const EVENT_CONSOLE_UPDATE_REGION : u32 = 16386u32 ; pub const EVENT_CONSOLE_UPDATE_SCROLL : u32 = 16388u32 ; pub const EVENT_CONSOLE_UPDATE_SIMPLE : u32 = 16387u32 ; pub const EVENT_MAX : u32 = 2147483647u32 ; pub const EVENT_MIN : u32 = 1u32 ; pub const EVENT_OBJECT_ACCELERATORCHANGE : u32 = 32786u32 ; pub const EVENT_OBJECT_CLOAKED : u32 = 32791u32 ; pub const EVENT_OBJECT_CONTENTSCROLLED : u32 = 32789u32 ; pub const EVENT_OBJECT_CREATE : u32 = 32768u32 ; pub const EVENT_OBJECT_DEFACTIONCHANGE : u32 = 32785u32 ; pub const EVENT_OBJECT_DESCRIPTIONCHANGE : u32 = 32781u32 ; pub const EVENT_OBJECT_DESTROY : u32 = 32769u32 ; pub const EVENT_OBJECT_DRAGCANCEL : u32 = 32802u32 ; pub const EVENT_OBJECT_DRAGCOMPLETE : u32 = 32803u32 ; pub const EVENT_OBJECT_DRAGDROPPED : u32 = 32806u32 ; pub const EVENT_OBJECT_DRAGENTER : u32 = 32804u32 ; pub const EVENT_OBJECT_DRAGLEAVE : u32 = 32805u32 ; pub const EVENT_OBJECT_DRAGSTART : u32 = 32801u32 ; pub const EVENT_OBJECT_END : u32 = 33023u32 ; pub const EVENT_OBJECT_FOCUS : u32 = 32773u32 ; pub const EVENT_OBJECT_HELPCHANGE : u32 = 32784u32 ; pub const EVENT_OBJECT_HIDE : u32 = 32771u32 ; pub const EVENT_OBJECT_HOSTEDOBJECTSINVALIDATED : u32 = 32800u32 ; pub const EVENT_OBJECT_IME_CHANGE : u32 = 32809u32 ; pub const EVENT_OBJECT_IME_HIDE : u32 = 32808u32 ; pub const EVENT_OBJECT_IME_SHOW : u32 = 32807u32 ; pub const EVENT_OBJECT_INVOKED : u32 = 32787u32 ; pub const EVENT_OBJECT_LIVEREGIONCHANGED : u32 = 32793u32 ; pub const EVENT_OBJECT_LOCATIONCHANGE : u32 = 32779u32 ; pub const EVENT_OBJECT_NAMECHANGE : u32 = 32780u32 ; pub const EVENT_OBJECT_PARENTCHANGE : u32 = 32783u32 ; pub const EVENT_OBJECT_REORDER : u32 = 32772u32 ; pub const EVENT_OBJECT_SELECTION : u32 = 32774u32 ; pub const EVENT_OBJECT_SELECTIONADD : u32 = 32775u32 ; pub const EVENT_OBJECT_SELECTIONREMOVE : u32 = 32776u32 ; pub const EVENT_OBJECT_SELECTIONWITHIN : u32 = 32777u32 ; pub const EVENT_OBJECT_SHOW : u32 = 32770u32 ; pub const EVENT_OBJECT_STATECHANGE : u32 = 32778u32 ; pub const EVENT_OBJECT_TEXTEDIT_CONVERSIONTARGETCHANGED : u32 = 32816u32 ; pub const EVENT_OBJECT_TEXTSELECTIONCHANGED : u32 = 32788u32 ; pub const EVENT_OBJECT_UNCLOAKED : u32 = 32792u32 ; pub const EVENT_OBJECT_VALUECHANGE : u32 = 32782u32 ; pub const EVENT_OEM_DEFINED_END : u32 = 511u32 ; pub const EVENT_OEM_DEFINED_START : u32 = 257u32 ; pub const EVENT_SYSTEM_ALERT : u32 = 2u32 ; pub const EVENT_SYSTEM_ARRANGMENTPREVIEW : u32 = 32790u32 ; pub const EVENT_SYSTEM_CAPTUREEND : u32 = 9u32 ; pub const EVENT_SYSTEM_CAPTURESTART : u32 = 8u32 ; pub const EVENT_SYSTEM_CONTEXTHELPEND : u32 = 13u32 ; pub const EVENT_SYSTEM_CONTEXTHELPSTART : u32 = 12u32 ; pub const EVENT_SYSTEM_DESKTOPSWITCH : u32 = 32u32 ; pub const EVENT_SYSTEM_DIALOGEND : u32 = 17u32 ; pub const EVENT_SYSTEM_DIALOGSTART : u32 = 16u32 ; pub const EVENT_SYSTEM_DRAGDROPEND : u32 = 15u32 ; pub const EVENT_SYSTEM_DRAGDROPSTART : u32 = 14u32 ; pub const EVENT_SYSTEM_END : u32 = 255u32 ; pub const EVENT_SYSTEM_FOREGROUND : u32 = 3u32 ; pub const EVENT_SYSTEM_IME_KEY_NOTIFICATION : u32 = 41u32 ; pub const EVENT_SYSTEM_MENUEND : u32 = 5u32 ; pub const EVENT_SYSTEM_MENUPOPUPEND : u32 = 7u32 ; pub const EVENT_SYSTEM_MENUPOPUPSTART : u32 = 6u32 ; pub const EVENT_SYSTEM_MENUSTART : u32 = 4u32 ; pub const EVENT_SYSTEM_MINIMIZEEND : u32 = 23u32 ; pub const EVENT_SYSTEM_MINIMIZESTART : u32 = 22u32 ; pub const EVENT_SYSTEM_MOVESIZEEND : u32 = 11u32 ; pub const EVENT_SYSTEM_MOVESIZESTART : u32 = 10u32 ; pub const EVENT_SYSTEM_SCROLLINGEND : u32 = 19u32 ; pub const EVENT_SYSTEM_SCROLLINGSTART : u32 = 18u32 ; pub const EVENT_SYSTEM_SOUND : u32 = 1u32 ; pub const EVENT_SYSTEM_SWITCHEND : u32 = 21u32 ; pub const EVENT_SYSTEM_SWITCHER_APPDROPPED : u32 = 38u32 ; pub const EVENT_SYSTEM_SWITCHER_APPGRABBED : u32 = 36u32 ; pub const EVENT_SYSTEM_SWITCHER_APPOVERTARGET : u32 = 37u32 ; pub const EVENT_SYSTEM_SWITCHER_CANCELLED : u32 = 39u32 ; pub const EVENT_SYSTEM_SWITCHSTART : u32 = 20u32 ; pub const EVENT_UIA_EVENTID_END : u32 = 20223u32 ; pub const EVENT_UIA_EVENTID_START : u32 = 19968u32 ; pub const EVENT_UIA_PROPID_END : u32 = 30207u32 ; pub const EVENT_UIA_PROPID_START : u32 = 29952u32 ; pub const EWX_ARSO : u32 = 67108864u32 ; pub const EWX_BOOTOPTIONS : u32 = 16777216u32 ; pub const EWX_FORCE : u32 = 4u32 ; pub const EWX_FORCEIFHUNG : u32 = 16u32 ; pub const EWX_QUICKRESOLVE : u32 = 32u32 ; pub unsafe fn EnableMenuItem < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hmenu : T0__ , uidenableitem : u32 , uenable : MENU_ITEM_FLAGS , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EndDeferWindowPos < > ( hwinposinfo : isize , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EndDialog < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hdlg : T0__ , nresult : isize , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EndMenu < > ( ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EndUpdateResourceA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HANDLE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( hupdate : T0__ , fdiscard : T1__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EndUpdateResourceW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HANDLE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( hupdate : T0__ , fdiscard : T1__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub type WNDENUMPROC = extern "system" fn ( param0 : HWND , param1 : LPARAM ) -> super :: SystemServices :: BOOL ; pub unsafe fn EnumChildWindows < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwndparent : T0__ , lpenumfunc : :: std :: option :: Option < WNDENUMPROC > , lparam : T2__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub type PROPENUMPROCA = extern "system" fn ( param0 : HWND , param1 : super :: SystemServices :: PSTR , param2 : super :: SystemServices :: HANDLE ) -> super :: SystemServices :: BOOL ; pub unsafe fn EnumPropsA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , lpenumfunc : :: std :: option :: Option < PROPENUMPROCA > , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub type PROPENUMPROCEXA = extern "system" fn ( param0 : HWND , param1 : super :: SystemServices :: PSTR , param2 : super :: SystemServices :: HANDLE , param3 : usize ) -> super :: SystemServices :: BOOL ; pub unsafe fn EnumPropsExA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwnd : T0__ , lpenumfunc : :: std :: option :: Option < PROPENUMPROCEXA > , lparam : T2__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub type PROPENUMPROCEXW = extern "system" fn ( param0 : HWND , param1 : super :: SystemServices :: PWSTR , param2 : super :: SystemServices :: HANDLE , param3 : usize ) -> super :: SystemServices :: BOOL ; pub unsafe fn EnumPropsExW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwnd : T0__ , lpenumfunc : :: std :: option :: Option < PROPENUMPROCEXW > , lparam : T2__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub type PROPENUMPROCW = extern "system" fn ( param0 : HWND , param1 : super :: SystemServices :: PWSTR , param2 : super :: SystemServices :: HANDLE ) -> super :: SystemServices :: BOOL ; pub unsafe fn EnumPropsW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , lpenumfunc : :: std :: option :: Option < PROPENUMPROCW > , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumResourceLanguagesA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hmodule : isize , lptype : T1__ , lpname : T2__ , lpenumfunc : :: std :: option :: Option < super :: SystemServices :: ENUMRESLANGPROCA > , lparam : isize , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumResourceLanguagesExA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hmodule : isize , lptype : T1__ , lpname : T2__ , lpenumfunc : :: std :: option :: Option < super :: SystemServices :: ENUMRESLANGPROCA > , lparam : isize , dwflags : u32 , langid : u16 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumResourceLanguagesExW < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hmodule : isize , lptype : T1__ , lpname : T2__ , lpenumfunc : :: std :: option :: Option < super :: SystemServices :: ENUMRESLANGPROCW > , lparam : isize , dwflags : u32 , langid : u16 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumResourceLanguagesW < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hmodule : isize , lptype : T1__ , lpname : T2__ , lpenumfunc : :: std :: option :: Option < super :: SystemServices :: ENUMRESLANGPROCW > , lparam : isize , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumResourceNamesA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hmodule : isize , lptype : T1__ , lpenumfunc : :: std :: option :: Option < ENUMRESNAMEPROCA > , lparam : isize , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumResourceNamesExA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hmodule : isize , lptype : T1__ , lpenumfunc : :: std :: option :: Option < ENUMRESNAMEPROCA > , lparam : isize , dwflags : u32 , langid : u16 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumResourceNamesExW < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hmodule : isize , lptype : T1__ , lpenumfunc : :: std :: option :: Option < ENUMRESNAMEPROCW > , lparam : isize , dwflags : u32 , langid : u16 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumResourceTypesA < > ( hmodule : isize , lpenumfunc : :: std :: option :: Option < ENUMRESTYPEPROCA > , lparam : isize , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumResourceTypesExA < > ( hmodule : isize , lpenumfunc : :: std :: option :: Option < ENUMRESTYPEPROCA > , lparam : isize , dwflags : u32 , langid : u16 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumResourceTypesExW < > ( hmodule : isize , lpenumfunc : :: std :: option :: Option < ENUMRESTYPEPROCW > , lparam : isize , dwflags : u32 , langid : u16 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumResourceTypesW < > ( hmodule : isize , lpenumfunc : :: std :: option :: Option < ENUMRESTYPEPROCW > , lparam : isize , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumThreadWindows < 'a , T2__ : :: windows :: IntoParam < 'a , LPARAM > , > ( dwthreadid : u32 , lpfn : :: std :: option :: Option < WNDENUMPROC > , lparam : T2__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumWindows < 'a , T1__ : :: windows :: IntoParam < 'a , LPARAM > , > ( lpenumfunc : :: std :: option :: Option < WNDENUMPROC > , lparam : T1__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub const FALT : u32 = 16u32 ; pub const FAPPCOMMAND_KEY : u32 = 0u32 ; pub const FAPPCOMMAND_MASK : u32 = 61440u32 ; pub const FAPPCOMMAND_MOUSE : u32 = 32768u32 ; pub const FAPPCOMMAND_OEM : u32 = 4096u32 ; pub const FCONTROL : u32 = 8u32 ; pub const FE_FONTSMOOTHINGCLEARTYPE : u32 = 2u32 ; pub const FE_FONTSMOOTHINGORIENTATIONBGR : u32 = 0u32 ; pub const FE_FONTSMOOTHINGORIENTATIONRGB : u32 = 1u32 ; pub const FE_FONTSMOOTHINGSTANDARD : u32 = 1u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct FINDREPLACEW_Flags ( pub u32 ) ; impl FINDREPLACEW_Flags { pub const FR_DIALOGTERM : Self = Self ( 64u32 ) ; pub const FR_DOWN : Self = Self ( 1u32 ) ; pub const FR_ENABLEHOOK : Self = Self ( 256u32 ) ; pub const FR_ENABLETEMPLATE : Self = Self ( 512u32 ) ; pub const FR_ENABLETEMPLATEHANDLE : Self = Self ( 8192u32 ) ; pub const FR_FINDNEXT : Self = Self ( 8u32 ) ; pub const FR_HIDEUPDOWN : Self = Self ( 16384u32 ) ; pub const FR_HIDEMATCHCASE : Self = Self ( 32768u32 ) ; pub const FR_HIDEWHOLEWORD : Self = Self ( 65536u32 ) ; pub const FR_MATCHCASE : Self = Self ( 4u32 ) ; pub const FR_NOMATCHCASE : Self = Self ( 2048u32 ) ; pub const FR_NOUPDOWN : Self = Self ( 1024u32 ) ; pub const FR_NOWHOLEWORD : Self = Self ( 4096u32 ) ; pub const FR_REPLACE : Self = Self ( 16u32 ) ; pub const FR_REPLACEALL : Self = Self ( 32u32 ) ; pub const FR_SHOWHELP : Self = Self ( 128u32 ) ; pub const FR_WHOLEWORD : Self = Self ( 2u32 ) ; } impl :: std :: convert :: From < u32 > for FINDREPLACEW_Flags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for FINDREPLACEW_Flags { type Abi = Self ; } impl :: std :: ops :: BitOr for FINDREPLACEW_Flags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for FINDREPLACEW_Flags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for FINDREPLACEW_Flags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for FINDREPLACEW_Flags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub type LPFRHOOKPROC = extern "system" fn ( param0 : HWND , param1 : u32 , param2 : WPARAM , param3 : LPARAM ) -> usize ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct FINDREPLACEA { pub lStructSize : u32 , pub hwndOwner : HWND , pub hInstance : super :: SystemServices :: HINSTANCE , pub Flags : FINDREPLACEW_Flags , pub lpstrFindWhat : super :: SystemServices :: PSTR , pub lpstrReplaceWith : super :: SystemServices :: PSTR , pub wFindWhatLen : u16 , pub wReplaceWithLen : u16 , pub lCustData : LPARAM , pub lpfnHook : :: std :: option :: Option < LPFRHOOKPROC > , pub lpTemplateName : super :: SystemServices :: PSTR } impl FINDREPLACEA { } impl :: std :: default :: Default for FINDREPLACEA { fn default ( ) -> Self { Self { lStructSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , Flags : :: std :: default :: Default :: default ( ) , lpstrFindWhat : :: std :: default :: Default :: default ( ) , lpstrReplaceWith : :: std :: default :: Default :: default ( ) , wFindWhatLen : 0 , wReplaceWithLen : 0 , lCustData : :: std :: default :: Default :: default ( ) , lpfnHook : :: std :: default :: Default :: default ( ) , lpTemplateName : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for FINDREPLACEA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FINDREPLACEA" ) . field ( "lStructSize" , & format_args ! ( "{:?}" , self . lStructSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "lpstrFindWhat" , & format_args ! ( "{:?}" , self . lpstrFindWhat ) ) . field ( "lpstrReplaceWith" , & format_args ! ( "{:?}" , self . lpstrReplaceWith ) ) . field ( "wFindWhatLen" , & format_args ! ( "{:?}" , self . wFindWhatLen ) ) . field ( "wReplaceWithLen" , & format_args ! ( "{:?}" , self . wReplaceWithLen ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "lpTemplateName" , & format_args ! ( "{:?}" , self . lpTemplateName ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FINDREPLACEA { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . hwndOwner == other . hwndOwner && self . hInstance == other . hInstance && self . Flags == other . Flags && self . lpstrFindWhat == other . lpstrFindWhat && self . lpstrReplaceWith == other . lpstrReplaceWith && self . wFindWhatLen == other . wFindWhatLen && self . wReplaceWithLen == other . wReplaceWithLen && self . lCustData == other . lCustData && self . lpfnHook . map ( | f | f as usize ) == other . lpfnHook . map ( | f | f as usize ) && self . lpTemplateName == other . lpTemplateName } } impl :: std :: cmp :: Eq for FINDREPLACEA { } unsafe impl :: windows :: Abi for FINDREPLACEA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct FINDREPLACEW { pub lStructSize : u32 , pub hwndOwner : HWND , pub hInstance : super :: SystemServices :: HINSTANCE , pub Flags : FINDREPLACEW_Flags , pub lpstrFindWhat : super :: SystemServices :: PWSTR , pub lpstrReplaceWith : super :: SystemServices :: PWSTR , pub wFindWhatLen : u16 , pub wReplaceWithLen : u16 , pub lCustData : LPARAM , pub lpfnHook : :: std :: option :: Option < LPFRHOOKPROC > , pub lpTemplateName : super :: SystemServices :: PWSTR } impl FINDREPLACEW { } impl :: std :: default :: Default for FINDREPLACEW { fn default ( ) -> Self { Self { lStructSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , Flags : :: std :: default :: Default :: default ( ) , lpstrFindWhat : :: std :: default :: Default :: default ( ) , lpstrReplaceWith : :: std :: default :: Default :: default ( ) , wFindWhatLen : 0 , wReplaceWithLen : 0 , lCustData : :: std :: default :: Default :: default ( ) , lpfnHook : :: std :: default :: Default :: default ( ) , lpTemplateName : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for FINDREPLACEW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FINDREPLACEW" ) . field ( "lStructSize" , & format_args ! ( "{:?}" , self . lStructSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "lpstrFindWhat" , & format_args ! ( "{:?}" , self . lpstrFindWhat ) ) . field ( "lpstrReplaceWith" , & format_args ! ( "{:?}" , self . lpstrReplaceWith ) ) . field ( "wFindWhatLen" , & format_args ! ( "{:?}" , self . wFindWhatLen ) ) . field ( "wReplaceWithLen" , & format_args ! ( "{:?}" , self . wReplaceWithLen ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "lpTemplateName" , & format_args ! ( "{:?}" , self . lpTemplateName ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FINDREPLACEW { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . hwndOwner == other . hwndOwner && self . hInstance == other . hInstance && self . Flags == other . Flags && self . lpstrFindWhat == other . lpstrFindWhat && self . lpstrReplaceWith == other . lpstrReplaceWith && self . wFindWhatLen == other . wFindWhatLen && self . wReplaceWithLen == other . wReplaceWithLen && self . lCustData == other . lCustData && self . lpfnHook . map ( | f | f as usize ) == other . lpfnHook . map ( | f | f as usize ) && self . lpTemplateName == other . lpTemplateName } } impl :: std :: cmp :: Eq for FINDREPLACEW { } unsafe impl :: windows :: Abi for FINDREPLACEW { type Abi = Self ; } pub const FKF_AVAILABLE : u32 = 2u32 ; pub const FKF_CLICKON : u32 = 64u32 ; pub const FKF_CONFIRMHOTKEY : u32 = 8u32 ; pub const FKF_FILTERKEYSON : u32 = 1u32 ; pub const FKF_HOTKEYACTIVE : u32 = 4u32 ; pub const FKF_HOTKEYSOUND : u32 = 16u32 ; pub const FKF_INDICATOR : u32 = 32u32 ; pub const FNOINVERT : u32 = 2u32 ; pub const FRM_FIRST : u32 = 1124u32 ; pub const FRM_LAST : u32 = 1224u32 ; pub const FRM_SETOPERATIONRESULT : u32 = 1124u32 ; pub const FRM_SETOPERATIONRESULTTEXT : u32 = 1125u32 ; pub const FR_NOWRAPAROUND : u32 = 524288u32 ; pub const FR_RAW : u32 = 131072u32 ; pub const FR_SHOWWRAPAROUND : u32 = 262144u32 ; pub const FR_WRAPAROUND : u32 = 1048576u32 ; pub const FSHIFT : u32 = 4u32 ; pub const FVIRTKEY : u32 = 1u32 ; pub unsafe fn FindResourceA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hmodule : isize , lpname : T1__ , lptype : T2__ , ) -> super :: SystemServices :: HRSRC { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn FindResourceExA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hmodule : isize , lptype : T1__ , lpname : T2__ , wlanguage : u16 , ) -> super :: SystemServices :: HRSRC { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn FindTextA < > ( param0 : * mut FINDREPLACEA , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn FindTextW < > ( param0 : * mut FINDREPLACEW , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn FindWindowA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpclassname : T0__ , lpwindowname : T1__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn FindWindowExA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hwndparent : T0__ , hwndchildafter : T1__ , lpszclass : T2__ , lpszwindow : T3__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn FindWindowExW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hwndparent : T0__ , hwndchildafter : T1__ , lpszclass : T2__ , lpszwindow : T3__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn FindWindowW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpclassname : T0__ , lpwindowname : T1__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn FreeResource < > ( hresdata : isize , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub const GCF_INCLUDE_ANCESTORS : u32 = 1u32 ; pub const GESTURECONFIGMAXCOUNT : u32 = 256u32 ; pub const GESTUREVISUALIZATION_DOUBLETAP : u32 = 2u32 ; pub const GESTUREVISUALIZATION_OFF : u32 = 0u32 ; pub const GESTUREVISUALIZATION_ON : u32 = 31u32 ; pub const GESTUREVISUALIZATION_PRESSANDHOLD : u32 = 8u32 ; pub const GESTUREVISUALIZATION_PRESSANDTAP : u32 = 4u32 ; pub const GESTUREVISUALIZATION_RIGHTTAP : u32 = 16u32 ; pub const GESTUREVISUALIZATION_TAP : u32 = 1u32 ; pub const GF_BEGIN : u32 = 1u32 ; pub const GF_END : u32 = 4u32 ; pub const GF_INERTIA : u32 = 2u32 ; pub const GIDC_ARRIVAL : u32 = 1u32 ; pub const GIDC_REMOVAL : u32 = 2u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct GUITHREADINFO_flags ( pub u32 ) ; impl GUITHREADINFO_flags { pub const GUI_CARETBLINKING : Self = Self ( 1u32 ) ; pub const GUI_INMENUMODE : Self = Self ( 4u32 ) ; pub const GUI_INMOVESIZE : Self = Self ( 2u32 ) ; pub const GUI_POPUPMENUMODE : Self = Self ( 16u32 ) ; pub const GUI_SYSTEMMENUMODE : Self = Self ( 8u32 ) ; } impl :: std :: convert :: From < u32 > for GUITHREADINFO_flags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GUITHREADINFO_flags { type Abi = Self ; } impl :: std :: ops :: BitOr for GUITHREADINFO_flags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for GUITHREADINFO_flags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for GUITHREADINFO_flags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for GUITHREADINFO_flags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct GUITHREADINFO { pub cbSize : u32 , pub flags : GUITHREADINFO_flags , pub hwndActive : HWND , pub hwndFocus : HWND , pub hwndCapture : HWND , pub hwndMenuOwner : HWND , pub hwndMoveSize : HWND , pub hwndCaret : HWND , pub rcCaret : super :: DisplayDevices :: RECT } impl GUITHREADINFO { } impl :: std :: default :: Default for GUITHREADINFO { fn default ( ) -> Self { Self { cbSize : 0 , flags : :: std :: default :: Default :: default ( ) , hwndActive : :: std :: default :: Default :: default ( ) , hwndFocus : :: std :: default :: Default :: default ( ) , hwndCapture : :: std :: default :: Default :: default ( ) , hwndMenuOwner : :: std :: default :: Default :: default ( ) , hwndMoveSize : :: std :: default :: Default :: default ( ) , hwndCaret : :: std :: default :: Default :: default ( ) , rcCaret : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for GUITHREADINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "GUITHREADINFO" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "flags" , & format_args ! ( "{:?}" , self . flags ) ) . field ( "hwndActive" , & format_args ! ( "{:?}" , self . hwndActive ) ) . field ( "hwndFocus" , & format_args ! ( "{:?}" , self . hwndFocus ) ) . field ( "hwndCapture" , & format_args ! ( "{:?}" , self . hwndCapture ) ) . field ( "hwndMenuOwner" , & format_args ! ( "{:?}" , self . hwndMenuOwner ) ) . field ( "hwndMoveSize" , & format_args ! ( "{:?}" , self . hwndMoveSize ) ) . field ( "hwndCaret" , & format_args ! ( "{:?}" , self . hwndCaret ) ) . field ( "rcCaret" , & format_args ! ( "{:?}" , self . rcCaret ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for GUITHREADINFO { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . flags == other . flags && self . hwndActive == other . hwndActive && self . hwndFocus == other . hwndFocus && self . hwndCapture == other . hwndCapture && self . hwndMenuOwner == other . hwndMenuOwner && self . hwndMoveSize == other . hwndMoveSize && self . hwndCaret == other . hwndCaret && self . rcCaret == other . rcCaret } } impl :: std :: cmp :: Eq for GUITHREADINFO { } unsafe impl :: windows :: Abi for GUITHREADINFO { type Abi = Self ; } pub const GUI_16BITTASK : u32 = 0u32 ; pub const GWFS_INCLUDE_ANCESTORS : u32 = 1u32 ; pub const GW_MAX : u32 = 5u32 ; pub unsafe fn GetAltTabInfoA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , iitem : i32 , pati : * mut ALTTABINFO , pszitemtext : super :: SystemServices :: PSTR , cchitemtext : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetAltTabInfoW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , iitem : i32 , pati : * mut ALTTABINFO , pszitemtext : super :: SystemServices :: PWSTR , cchitemtext : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct GetAncestor_gaFlags ( pub u32 ) ; impl GetAncestor_gaFlags { pub const GA_PARENT : Self = Self ( 1u32 ) ; pub const GA_ROOT : Self = Self ( 2u32 ) ; pub const GA_ROOTOWNER : Self = Self ( 3u32 ) ; } impl :: std :: convert :: From < u32 > for GetAncestor_gaFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GetAncestor_gaFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for GetAncestor_gaFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for GetAncestor_gaFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for GetAncestor_gaFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for GetAncestor_gaFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn GetAncestor < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , gaflags : GetAncestor_gaFlags , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCaretBlinkTime < > ( ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCaretPos < > ( lppoint : * mut super :: DisplayDevices :: POINT , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct WNDCLASS_STYLES ( pub u32 ) ; impl WNDCLASS_STYLES { pub const CS_VREDRAW : Self = Self ( 1u32 ) ; pub const CS_HREDRAW : Self = Self ( 2u32 ) ; pub const CS_DBLCLKS : Self = Self ( 8u32 ) ; pub const CS_OWNDC : Self = Self ( 32u32 ) ; pub const CS_CLASSDC : Self = Self ( 64u32 ) ; pub const CS_PARENTDC : Self = Self ( 128u32 ) ; pub const CS_NOCLOSE : Self = Self ( 512u32 ) ; pub const CS_SAVEBITS : Self = Self ( 2048u32 ) ; pub const CS_BYTEALIGNCLIENT : Self = Self ( 4096u32 ) ; pub const CS_BYTEALIGNWINDOW : Self = Self ( 8192u32 ) ; pub const CS_GLOBALCLASS : Self = Self ( 16384u32 ) ; pub const CS_IME : Self = Self ( 65536u32 ) ; pub const CS_DROPSHADOW : Self = Self ( 131072u32 ) ; } impl :: std :: convert :: From < u32 > for WNDCLASS_STYLES { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for WNDCLASS_STYLES { type Abi = Self ; } impl :: std :: ops :: BitOr for WNDCLASS_STYLES { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for WNDCLASS_STYLES { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for WNDCLASS_STYLES { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for WNDCLASS_STYLES { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct WNDCLASSA { pub style : WNDCLASS_STYLES , pub lpfnWndProc : :: std :: option :: Option < WNDPROC > , pub cbClsExtra : i32 , pub cbWndExtra : i32 , pub hInstance : super :: SystemServices :: HINSTANCE , pub hIcon : super :: MenusAndResources :: HICON , pub hCursor : super :: MenusAndResources :: HCURSOR , pub hbrBackground : super :: Gdi :: HBRUSH , pub lpszMenuName : super :: SystemServices :: PSTR , pub lpszClassName : super :: SystemServices :: PSTR } impl WNDCLASSA { } impl :: std :: default :: Default for WNDCLASSA { fn default ( ) -> Self { Self { style : :: std :: default :: Default :: default ( ) , lpfnWndProc : :: std :: default :: Default :: default ( ) , cbClsExtra : 0 , cbWndExtra : 0 , hInstance : :: std :: default :: Default :: default ( ) , hIcon : :: std :: default :: Default :: default ( ) , hCursor : :: std :: default :: Default :: default ( ) , hbrBackground : :: std :: default :: Default :: default ( ) , lpszMenuName : :: std :: default :: Default :: default ( ) , lpszClassName : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for WNDCLASSA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WNDCLASSA" ) . field ( "style" , & format_args ! ( "{:?}" , self . style ) ) . field ( "cbClsExtra" , & format_args ! ( "{:?}" , self . cbClsExtra ) ) . field ( "cbWndExtra" , & format_args ! ( "{:?}" , self . cbWndExtra ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "hIcon" , & format_args ! ( "{:?}" , self . hIcon ) ) . field ( "hCursor" , & format_args ! ( "{:?}" , self . hCursor ) ) . field ( "hbrBackground" , & format_args ! ( "{:?}" , self . hbrBackground ) ) . field ( "lpszMenuName" , & format_args ! ( "{:?}" , self . lpszMenuName ) ) . field ( "lpszClassName" , & format_args ! ( "{:?}" , self . lpszClassName ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WNDCLASSA { fn eq ( & self , other : & Self ) -> bool { self . style == other . style && self . lpfnWndProc . map ( | f | f as usize ) == other . lpfnWndProc . map ( | f | f as usize ) && self . cbClsExtra == other . cbClsExtra && self . cbWndExtra == other . cbWndExtra && self . hInstance == other . hInstance && self . hIcon == other . hIcon && self . hCursor == other . hCursor && self . hbrBackground == other . hbrBackground && self . lpszMenuName == other . lpszMenuName && self . lpszClassName == other . lpszClassName } } impl :: std :: cmp :: Eq for WNDCLASSA { } unsafe impl :: windows :: Abi for WNDCLASSA { type Abi = Self ; } pub unsafe fn GetClassInfoA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hinstance : T0__ , lpclassname : T1__ , lpwndclass : * mut WNDCLASSA , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct WNDCLASSEXA { pub cbSize : u32 , pub style : WNDCLASS_STYLES , pub lpfnWndProc : :: std :: option :: Option < WNDPROC > , pub cbClsExtra : i32 , pub cbWndExtra : i32 , pub hInstance : super :: SystemServices :: HINSTANCE , pub hIcon : super :: MenusAndResources :: HICON , pub hCursor : super :: MenusAndResources :: HCURSOR , pub hbrBackground : super :: Gdi :: HBRUSH , pub lpszMenuName : super :: SystemServices :: PSTR , pub lpszClassName : super :: SystemServices :: PSTR , pub hIconSm : super :: MenusAndResources :: HICON } impl WNDCLASSEXA { } impl :: std :: default :: Default for WNDCLASSEXA { fn default ( ) -> Self { Self { cbSize : 0 , style : :: std :: default :: Default :: default ( ) , lpfnWndProc : :: std :: default :: Default :: default ( ) , cbClsExtra : 0 , cbWndExtra : 0 , hInstance : :: std :: default :: Default :: default ( ) , hIcon : :: std :: default :: Default :: default ( ) , hCursor : :: std :: default :: Default :: default ( ) , hbrBackground : :: std :: default :: Default :: default ( ) , lpszMenuName : :: std :: default :: Default :: default ( ) , lpszClassName : :: std :: default :: Default :: default ( ) , hIconSm : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for WNDCLASSEXA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WNDCLASSEXA" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "style" , & format_args ! ( "{:?}" , self . style ) ) . field ( "cbClsExtra" , & format_args ! ( "{:?}" , self . cbClsExtra ) ) . field ( "cbWndExtra" , & format_args ! ( "{:?}" , self . cbWndExtra ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "hIcon" , & format_args ! ( "{:?}" , self . hIcon ) ) . field ( "hCursor" , & format_args ! ( "{:?}" , self . hCursor ) ) . field ( "hbrBackground" , & format_args ! ( "{:?}" , self . hbrBackground ) ) . field ( "lpszMenuName" , & format_args ! ( "{:?}" , self . lpszMenuName ) ) . field ( "lpszClassName" , & format_args ! ( "{:?}" , self . lpszClassName ) ) . field ( "hIconSm" , & format_args ! ( "{:?}" , self . hIconSm ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WNDCLASSEXA { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . style == other . style && self . lpfnWndProc . map ( | f | f as usize ) == other . lpfnWndProc . map ( | f | f as usize ) && self . cbClsExtra == other . cbClsExtra && self . cbWndExtra == other . cbWndExtra && self . hInstance == other . hInstance && self . hIcon == other . hIcon && self . hCursor == other . hCursor && self . hbrBackground == other . hbrBackground && self . lpszMenuName == other . lpszMenuName && self . lpszClassName == other . lpszClassName && self . hIconSm == other . hIconSm } } impl :: std :: cmp :: Eq for WNDCLASSEXA { } unsafe impl :: windows :: Abi for WNDCLASSEXA { type Abi = Self ; } pub unsafe fn GetClassInfoExA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hinstance : T0__ , lpszclass : T1__ , lpwcx : * mut WNDCLASSEXA , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct WNDCLASSEXW { pub cbSize : u32 , pub style : WNDCLASS_STYLES , pub lpfnWndProc : :: std :: option :: Option < WNDPROC > , pub cbClsExtra : i32 , pub cbWndExtra : i32 , pub hInstance : super :: SystemServices :: HINSTANCE , pub hIcon : super :: MenusAndResources :: HICON , pub hCursor : super :: MenusAndResources :: HCURSOR , pub hbrBackground : super :: Gdi :: HBRUSH , pub lpszMenuName : super :: SystemServices :: PWSTR , pub lpszClassName : super :: SystemServices :: PWSTR , pub hIconSm : super :: MenusAndResources :: HICON } impl WNDCLASSEXW { } impl :: std :: default :: Default for WNDCLASSEXW { fn default ( ) -> Self { Self { cbSize : 0 , style : :: std :: default :: Default :: default ( ) , lpfnWndProc : :: std :: default :: Default :: default ( ) , cbClsExtra : 0 , cbWndExtra : 0 , hInstance : :: std :: default :: Default :: default ( ) , hIcon : :: std :: default :: Default :: default ( ) , hCursor : :: std :: default :: Default :: default ( ) , hbrBackground : :: std :: default :: Default :: default ( ) , lpszMenuName : :: std :: default :: Default :: default ( ) , lpszClassName : :: std :: default :: Default :: default ( ) , hIconSm : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for WNDCLASSEXW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WNDCLASSEXW" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "style" , & format_args ! ( "{:?}" , self . style ) ) . field ( "cbClsExtra" , & format_args ! ( "{:?}" , self . cbClsExtra ) ) . field ( "cbWndExtra" , & format_args ! ( "{:?}" , self . cbWndExtra ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "hIcon" , & format_args ! ( "{:?}" , self . hIcon ) ) . field ( "hCursor" , & format_args ! ( "{:?}" , self . hCursor ) ) . field ( "hbrBackground" , & format_args ! ( "{:?}" , self . hbrBackground ) ) . field ( "lpszMenuName" , & format_args ! ( "{:?}" , self . lpszMenuName ) ) . field ( "lpszClassName" , & format_args ! ( "{:?}" , self . lpszClassName ) ) . field ( "hIconSm" , & format_args ! ( "{:?}" , self . hIconSm ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WNDCLASSEXW { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . style == other . style && self . lpfnWndProc . map ( | f | f as usize ) == other . lpfnWndProc . map ( | f | f as usize ) && self . cbClsExtra == other . cbClsExtra && self . cbWndExtra == other . cbWndExtra && self . hInstance == other . hInstance && self . hIcon == other . hIcon && self . hCursor == other . hCursor && self . hbrBackground == other . hbrBackground && self . lpszMenuName == other . lpszMenuName && self . lpszClassName == other . lpszClassName && self . hIconSm == other . hIconSm } } impl :: std :: cmp :: Eq for WNDCLASSEXW { } unsafe impl :: windows :: Abi for WNDCLASSEXW { type Abi = Self ; } pub unsafe fn GetClassInfoExW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hinstance : T0__ , lpszclass : T1__ , lpwcx : * mut WNDCLASSEXW , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct WNDCLASSW { pub style : WNDCLASS_STYLES , pub lpfnWndProc : :: std :: option :: Option < WNDPROC > , pub cbClsExtra : i32 , pub cbWndExtra : i32 , pub hInstance : super :: SystemServices :: HINSTANCE , pub hIcon : super :: MenusAndResources :: HICON , pub hCursor : super :: MenusAndResources :: HCURSOR , pub hbrBackground : super :: Gdi :: HBRUSH , pub lpszMenuName : super :: SystemServices :: PWSTR , pub lpszClassName : super :: SystemServices :: PWSTR } impl WNDCLASSW { } impl :: std :: default :: Default for WNDCLASSW { fn default ( ) -> Self { Self { style : :: std :: default :: Default :: default ( ) , lpfnWndProc : :: std :: default :: Default :: default ( ) , cbClsExtra : 0 , cbWndExtra : 0 , hInstance : :: std :: default :: Default :: default ( ) , hIcon : :: std :: default :: Default :: default ( ) , hCursor : :: std :: default :: Default :: default ( ) , hbrBackground : :: std :: default :: Default :: default ( ) , lpszMenuName : :: std :: default :: Default :: default ( ) , lpszClassName : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for WNDCLASSW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WNDCLASSW" ) . field ( "style" , & format_args ! ( "{:?}" , self . style ) ) . field ( "cbClsExtra" , & format_args ! ( "{:?}" , self . cbClsExtra ) ) . field ( "cbWndExtra" , & format_args ! ( "{:?}" , self . cbWndExtra ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "hIcon" , & format_args ! ( "{:?}" , self . hIcon ) ) . field ( "hCursor" , & format_args ! ( "{:?}" , self . hCursor ) ) . field ( "hbrBackground" , & format_args ! ( "{:?}" , self . hbrBackground ) ) . field ( "lpszMenuName" , & format_args ! ( "{:?}" , self . lpszMenuName ) ) . field ( "lpszClassName" , & format_args ! ( "{:?}" , self . lpszClassName ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WNDCLASSW { fn eq ( & self , other : & Self ) -> bool { self . style == other . style && self . lpfnWndProc . map ( | f | f as usize ) == other . lpfnWndProc . map ( | f | f as usize ) && self . cbClsExtra == other . cbClsExtra && self . cbWndExtra == other . cbWndExtra && self . hInstance == other . hInstance && self . hIcon == other . hIcon && self . hCursor == other . hCursor && self . hbrBackground == other . hbrBackground && self . lpszMenuName == other . lpszMenuName && self . lpszClassName == other . lpszClassName } } impl :: std :: cmp :: Eq for WNDCLASSW { } unsafe impl :: windows :: Abi for WNDCLASSW { type Abi = Self ; } pub unsafe fn GetClassInfoW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hinstance : T0__ , lpclassname : T1__ , lpwndclass : * mut WNDCLASSW , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct GetClassLong_nIndex ( pub i32 ) ; impl GetClassLong_nIndex { pub const GCW_ATOM : Self = Self ( -32i32 ) ; pub const GCL_CBCLSEXTRA : Self = Self ( -20i32 ) ; pub const GCL_CBWNDEXTRA : Self = Self ( -18i32 ) ; pub const GCL_HBRBACKGROUND : Self = Self ( -10i32 ) ; pub const GCL_HCURSOR : Self = Self ( -12i32 ) ; pub const GCL_HICON : Self = Self ( -14i32 ) ; pub const GCL_HICONSM : Self = Self ( -34i32 ) ; pub const GCL_HMODULE : Self = Self ( -16i32 ) ; pub const GCL_MENUNAME : Self = Self ( -8i32 ) ; pub const GCL_STYLE : Self = Self ( -26i32 ) ; pub const GCL_WNDPROC : Self = Self ( -24i32 ) ; pub const GCLP_HBRBACKGROUND : Self = Self ( -10i32 ) ; pub const GCLP_HCURSOR : Self = Self ( -12i32 ) ; pub const GCLP_HICON : Self = Self ( -14i32 ) ; pub const GCLP_HICONSM : Self = Self ( -34i32 ) ; pub const GCLP_HMODULE : Self = Self ( -16i32 ) ; pub const GCLP_MENUNAME : Self = Self ( -8i32 ) ; pub const GCLP_WNDPROC : Self = Self ( -24i32 ) ; } impl :: std :: convert :: From < i32 > for GetClassLong_nIndex { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GetClassLong_nIndex { type Abi = Self ; } pub unsafe fn GetClassLongA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : GetClassLong_nIndex , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetClassLongPtrA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : GetClassLong_nIndex , ) -> usize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetClassLongPtrW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : GetClassLong_nIndex , ) -> usize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetClassLongW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : GetClassLong_nIndex , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetClassNameA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , lpclassname : super :: SystemServices :: PSTR , nmaxcount : i32 , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetClassNameW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , lpclassname : super :: SystemServices :: PWSTR , nmaxcount : i32 , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetClassWord < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : i32 , ) -> u16 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetClientRect < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , lprect : * mut super :: DisplayDevices :: RECT , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetClipCursor < > ( lprect : * mut super :: DisplayDevices :: RECT , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCursor < > ( ) -> super :: MenusAndResources :: HCURSOR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCursorInfo < > ( pci : * mut CURSORINFO , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCursorPos < > ( lppoint : * mut super :: DisplayDevices :: POINT , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetDesktopWindow < > ( ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetDialogBaseUnits < > ( ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetDlgCtrlID < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetDlgItem < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hdlg : T0__ , niddlgitem : i32 , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetDlgItemInt < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( hdlg : T0__ , niddlgitem : i32 , lptranslated : * mut super :: SystemServices :: BOOL , bsigned : T3__ , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetDlgItemTextA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hdlg : T0__ , niddlgitem : i32 , lpstring : super :: SystemServices :: PSTR , cchmax : i32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetDlgItemTextW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hdlg : T0__ , niddlgitem : i32 , lpstring : super :: SystemServices :: PWSTR , cchmax : i32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetDpiAwarenessContextForProcess < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HANDLE > , > ( hprocess : T0__ , ) -> super :: SystemServices :: DPI_AWARENESS_CONTEXT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileTitleA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( param0 : T0__ , buf : super :: SystemServices :: PSTR , cchsize : u16 , ) -> i16 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileTitleW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( param0 : T0__ , buf : super :: SystemServices :: PWSTR , cchsize : u16 , ) -> i16 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileVersionInfoA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lptstrfilename : T0__ , dwhandle : u32 , dwlen : u32 , lpdata : * mut :: std :: ffi :: c_void , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileVersionInfoExA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( dwflags : u32 , lpwstrfilename : T1__ , dwhandle : u32 , dwlen : u32 , lpdata : * mut :: std :: ffi :: c_void , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileVersionInfoExW < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( dwflags : u32 , lpwstrfilename : T1__ , dwhandle : u32 , dwlen : u32 , lpdata : * mut :: std :: ffi :: c_void , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileVersionInfoSizeA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lptstrfilename : T0__ , lpdwhandle : * mut u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileVersionInfoSizeExA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( dwflags : u32 , lpwstrfilename : T1__ , lpdwhandle : * mut u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileVersionInfoSizeExW < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( dwflags : u32 , lpwstrfilename : T1__ , lpdwhandle : * mut u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileVersionInfoSizeW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lptstrfilename : T0__ , lpdwhandle : * mut u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileVersionInfoW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lptstrfilename : T0__ , dwhandle : u32 , dwlen : u32 , lpdata : * mut :: std :: ffi :: c_void , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetForegroundWindow < > ( ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetGUIThreadInfo < > ( idthread : u32 , pgui : * mut GUITHREADINFO , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetIconInfo < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HICON > , > ( hicon : T0__ , piconinfo : * mut ICONINFO , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct ICONINFOEXA { pub cbSize : u32 , pub fIcon : super :: SystemServices :: BOOL , pub xHotspot : u32 , pub yHotspot : u32 , pub hbmMask : super :: Gdi :: HBITMAP , pub hbmColor : super :: Gdi :: HBITMAP , pub wResID : u16 , pub szModName : [ i8 ;260 ] , pub szResName : [ i8 ;260 ] } impl ICONINFOEXA { } impl :: std :: default :: Default for ICONINFOEXA { fn default ( ) -> Self { Self { cbSize : 0 , fIcon : :: std :: default :: Default :: default ( ) , xHotspot : 0 , yHotspot : 0 , hbmMask : :: std :: default :: Default :: default ( ) , hbmColor : :: std :: default :: Default :: default ( ) , wResID : 0 , szModName : [ 0 ;260 ] , szResName : [ 0 ;260 ] } } } impl :: std :: fmt :: Debug for ICONINFOEXA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ICONINFOEXA" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "fIcon" , & format_args ! ( "{:?}" , self . fIcon ) ) . field ( "xHotspot" , & format_args ! ( "{:?}" , self . xHotspot ) ) . field ( "yHotspot" , & format_args ! ( "{:?}" , self . yHotspot ) ) . field ( "hbmMask" , & format_args ! ( "{:?}" , self . hbmMask ) ) . field ( "hbmColor" , & format_args ! ( "{:?}" , self . hbmColor ) ) . field ( "wResID" , & format_args ! ( "{:?}" , self . wResID ) ) . field ( "szModName" , & format_args ! ( "{:?}" , self . szModName ) ) . field ( "szResName" , & format_args ! ( "{:?}" , self . szResName ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ICONINFOEXA { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . fIcon == other . fIcon && self . xHotspot == other . xHotspot && self . yHotspot == other . yHotspot && self . hbmMask == other . hbmMask && self . hbmColor == other . hbmColor && self . wResID == other . wResID && self . szModName == other . szModName && self . szResName == other . szResName } } impl :: std :: cmp :: Eq for ICONINFOEXA { } unsafe impl :: windows :: Abi for ICONINFOEXA { type Abi = Self ; } pub unsafe fn GetIconInfoExA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HICON > , > ( hicon : T0__ , piconinfo : * mut ICONINFOEXA , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct ICONINFOEXW { pub cbSize : u32 , pub fIcon : super :: SystemServices :: BOOL , pub xHotspot : u32 , pub yHotspot : u32 , pub hbmMask : super :: Gdi :: HBITMAP , pub hbmColor : super :: Gdi :: HBITMAP , pub wResID : u16 , pub szModName : [ u16 ;260 ] , pub szResName : [ u16 ;260 ] } impl ICONINFOEXW { } impl :: std :: default :: Default for ICONINFOEXW { fn default ( ) -> Self { Self { cbSize : 0 , fIcon : :: std :: default :: Default :: default ( ) , xHotspot : 0 , yHotspot : 0 , hbmMask : :: std :: default :: Default :: default ( ) , hbmColor : :: std :: default :: Default :: default ( ) , wResID : 0 , szModName : [ 0 ;260 ] , szResName : [ 0 ;260 ] } } } impl :: std :: fmt :: Debug for ICONINFOEXW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ICONINFOEXW" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "fIcon" , & format_args ! ( "{:?}" , self . fIcon ) ) . field ( "xHotspot" , & format_args ! ( "{:?}" , self . xHotspot ) ) . field ( "yHotspot" , & format_args ! ( "{:?}" , self . yHotspot ) ) . field ( "hbmMask" , & format_args ! ( "{:?}" , self . hbmMask ) ) . field ( "hbmColor" , & format_args ! ( "{:?}" , self . hbmColor ) ) . field ( "wResID" , & format_args ! ( "{:?}" , self . wResID ) ) . field ( "szModName" , & format_args ! ( "{:?}" , self . szModName ) ) . field ( "szResName" , & format_args ! ( "{:?}" , self . szResName ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ICONINFOEXW { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . fIcon == other . fIcon && self . xHotspot == other . xHotspot && self . yHotspot == other . yHotspot && self . hbmMask == other . hbmMask && self . hbmColor == other . hbmColor && self . wResID == other . wResID && self . szModName == other . szModName && self . szResName == other . szResName } } impl :: std :: cmp :: Eq for ICONINFOEXW { } unsafe impl :: windows :: Abi for ICONINFOEXW { type Abi = Self ; } pub unsafe fn GetIconInfoExW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HICON > , > ( hicon : T0__ , piconinfo : * mut ICONINFOEXW , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetInputState < > ( ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetLastActivePopup < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SetLayeredWindowAttributes_dwFlags ( pub u32 ) ; impl SetLayeredWindowAttributes_dwFlags { pub const LWA_ALPHA : Self = Self ( 2u32 ) ; pub const LWA_COLORKEY : Self = Self ( 1u32 ) ; } impl :: std :: convert :: From < u32 > for SetLayeredWindowAttributes_dwFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SetLayeredWindowAttributes_dwFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for SetLayeredWindowAttributes_dwFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for SetLayeredWindowAttributes_dwFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for SetLayeredWindowAttributes_dwFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for SetLayeredWindowAttributes_dwFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn GetLayeredWindowAttributes < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , pcrkey : * mut u32 , pbalpha : * mut u8 , pdwflags : * mut SetLayeredWindowAttributes_dwFlags , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMenu < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: MenusAndResources :: HMENU { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MENUBARINFO { pub cbSize : u32 , pub rcBar : super :: DisplayDevices :: RECT , pub hMenu : super :: MenusAndResources :: HMENU , pub hwndMenu : HWND , pub _bitfield : i32 } impl MENUBARINFO { } impl :: std :: default :: Default for MENUBARINFO { fn default ( ) -> Self { Self { cbSize : 0 , rcBar : :: std :: default :: Default :: default ( ) , hMenu : :: std :: default :: Default :: default ( ) , hwndMenu : :: std :: default :: Default :: default ( ) , _bitfield : 0 } } } impl :: std :: fmt :: Debug for MENUBARINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MENUBARINFO" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "rcBar" , & format_args ! ( "{:?}" , self . rcBar ) ) . field ( "hMenu" , & format_args ! ( "{:?}" , self . hMenu ) ) . field ( "hwndMenu" , & format_args ! ( "{:?}" , self . hwndMenu ) ) . field ( "_bitfield" , & format_args ! ( "{:?}" , self . _bitfield ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MENUBARINFO { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . rcBar == other . rcBar && self . hMenu == other . hMenu && self . hwndMenu == other . hwndMenu && self . _bitfield == other . _bitfield } } impl :: std :: cmp :: Eq for MENUBARINFO { } unsafe impl :: windows :: Abi for MENUBARINFO { type Abi = Self ; } pub unsafe fn GetMenuBarInfo < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , idobject : super :: Controls :: SCROLLBAR_OBJID , iditem : i32 , pmbi : * mut MENUBARINFO , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMenuCheckMarkDimensions < > ( ) -> i32 { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct GetMenuDefaultItem_gmdiFlags ( pub u32 ) ; impl GetMenuDefaultItem_gmdiFlags { pub const GMDI_GOINTOPOPUPS : Self = Self ( 2u32 ) ; pub const GMDI_USEDISABLED : Self = Self ( 1u32 ) ; } impl :: std :: convert :: From < u32 > for GetMenuDefaultItem_gmdiFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GetMenuDefaultItem_gmdiFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for GetMenuDefaultItem_gmdiFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for GetMenuDefaultItem_gmdiFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for GetMenuDefaultItem_gmdiFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for GetMenuDefaultItem_gmdiFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn GetMenuDefaultItem < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hmenu : T0__ , fbypos : u32 , gmdiflags : GetMenuDefaultItem_gmdiFlags , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MENUINFO_fMaskFlags ( pub u32 ) ; impl MENUINFO_fMaskFlags { pub const MIM_APPLYTOSUBMENUS : Self = Self ( 2147483648u32 ) ; pub const MIM_BACKGROUND : Self = Self ( 2u32 ) ; pub const MIM_HELPID : Self = Self ( 4u32 ) ; pub const MIM_MAXHEIGHT : Self = Self ( 1u32 ) ; pub const MIM_MENUDATA : Self = Self ( 8u32 ) ; pub const MIM_STYLE : Self = Self ( 16u32 ) ; } impl :: std :: convert :: From < u32 > for MENUINFO_fMaskFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MENUINFO_fMaskFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for MENUINFO_fMaskFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for MENUINFO_fMaskFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for MENUINFO_fMaskFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for MENUINFO_fMaskFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MENUINFO_dwStyleFlags ( pub u32 ) ; impl MENUINFO_dwStyleFlags { pub const MNS_AUTODISMISS : Self = Self ( 268435456u32 ) ; pub const MNS_CHECKORBMP : Self = Self ( 67108864u32 ) ; pub const MNS_DRAGDROP : Self = Self ( 536870912u32 ) ; pub const MNS_MODELESS : Self = Self ( 1073741824u32 ) ; pub const MNS_NOCHECK : Self = Self ( 2147483648u32 ) ; pub const MNS_NOTIFYBYPOS : Self = Self ( 134217728u32 ) ; } impl :: std :: convert :: From < u32 > for MENUINFO_dwStyleFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MENUINFO_dwStyleFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for MENUINFO_dwStyleFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for MENUINFO_dwStyleFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for MENUINFO_dwStyleFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for MENUINFO_dwStyleFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MENUINFO { pub cbSize : u32 , pub fMask : MENUINFO_fMaskFlags , pub dwStyle : MENUINFO_dwStyleFlags , pub cyMax : u32 , pub hbrBack : super :: Gdi :: HBRUSH , pub dwContextHelpID : u32 , pub dwMenuData : usize } impl MENUINFO { } impl :: std :: default :: Default for MENUINFO { fn default ( ) -> Self { Self { cbSize : 0 , fMask : :: std :: default :: Default :: default ( ) , dwStyle : :: std :: default :: Default :: default ( ) , cyMax : 0 , hbrBack : :: std :: default :: Default :: default ( ) , dwContextHelpID : 0 , dwMenuData : 0 } } } impl :: std :: fmt :: Debug for MENUINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MENUINFO" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "fMask" , & format_args ! ( "{:?}" , self . fMask ) ) . field ( "dwStyle" , & format_args ! ( "{:?}" , self . dwStyle ) ) . field ( "cyMax" , & format_args ! ( "{:?}" , self . cyMax ) ) . field ( "hbrBack" , & format_args ! ( "{:?}" , self . hbrBack ) ) . field ( "dwContextHelpID" , & format_args ! ( "{:?}" , self . dwContextHelpID ) ) . field ( "dwMenuData" , & format_args ! ( "{:?}" , self . dwMenuData ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MENUINFO { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . fMask == other . fMask && self . dwStyle == other . dwStyle && self . cyMax == other . cyMax && self . hbrBack == other . hbrBack && self . dwContextHelpID == other . dwContextHelpID && self . dwMenuData == other . dwMenuData } } impl :: std :: cmp :: Eq for MENUINFO { } unsafe impl :: windows :: Abi for MENUINFO { type Abi = Self ; } pub unsafe fn GetMenuInfo < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( param0 : T0__ , param1 : * mut MENUINFO , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMenuItemCount < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hmenu : T0__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMenuItemID < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hmenu : T0__ , npos : i32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MENU_ITEM_MASK ( pub u32 ) ; impl MENU_ITEM_MASK { pub const MIIM_BITMAP : Self = Self ( 128u32 ) ; pub const MIIM_CHECKMARKS : Self = Self ( 8u32 ) ; pub const MIIM_DATA : Self = Self ( 32u32 ) ; pub const MIIM_FTYPE : Self = Self ( 256u32 ) ; pub const MIIM_ID : Self = Self ( 2u32 ) ; pub const MIIM_STATE : Self = Self ( 1u32 ) ; pub const MIIM_STRING : Self = Self ( 64u32 ) ; pub const MIIM_SUBMENU : Self = Self ( 4u32 ) ; pub const MIIM_TYPE : Self = Self ( 16u32 ) ; } impl :: std :: convert :: From < u32 > for MENU_ITEM_MASK { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MENU_ITEM_MASK { type Abi = Self ; } impl :: std :: ops :: BitOr for MENU_ITEM_MASK { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for MENU_ITEM_MASK { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for MENU_ITEM_MASK { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for MENU_ITEM_MASK { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MENU_ITEM_TYPE ( pub u32 ) ; impl MENU_ITEM_TYPE { pub const MFT_BITMAP : Self = Self ( 4u32 ) ; pub const MFT_MENUBARBREAK : Self = Self ( 32u32 ) ; pub const MFT_MENUBREAK : Self = Self ( 64u32 ) ; pub const MFT_OWNERDRAW : Self = Self ( 256u32 ) ; pub const MFT_RADIOCHECK : Self = Self ( 512u32 ) ; pub const MFT_RIGHTJUSTIFY : Self = Self ( 16384u32 ) ; pub const MFT_RIGHTORDER : Self = Self ( 8192u32 ) ; pub const MFT_SEPARATOR : Self = Self ( 2048u32 ) ; pub const MFT_STRING : Self = Self ( 0u32 ) ; } impl :: std :: convert :: From < u32 > for MENU_ITEM_TYPE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MENU_ITEM_TYPE { type Abi = Self ; } impl :: std :: ops :: BitOr for MENU_ITEM_TYPE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for MENU_ITEM_TYPE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for MENU_ITEM_TYPE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for MENU_ITEM_TYPE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MENU_ITEM_STATE ( pub u32 ) ; impl MENU_ITEM_STATE { pub const MFS_GRAYED : Self = Self ( 3u32 ) ; pub const MFS_DISABLED : Self = Self ( 3u32 ) ; pub const MFS_CHECKED : Self = Self ( 8u32 ) ; pub const MFS_HILITE : Self = Self ( 128u32 ) ; pub const MFS_ENABLED : Self = Self ( 0u32 ) ; pub const MFS_UNCHECKED : Self = Self ( 0u32 ) ; pub const MFS_UNHILITE : Self = Self ( 0u32 ) ; pub const MFS_DEFAULT : Self = Self ( 4096u32 ) ; } impl :: std :: convert :: From < u32 > for MENU_ITEM_STATE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MENU_ITEM_STATE { type Abi = Self ; } impl :: std :: ops :: BitOr for MENU_ITEM_STATE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for MENU_ITEM_STATE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for MENU_ITEM_STATE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for MENU_ITEM_STATE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MENUITEMINFOA { pub cbSize : u32 , pub fMask : MENU_ITEM_MASK , pub fType : MENU_ITEM_TYPE , pub fState : MENU_ITEM_STATE , pub wID : u32 , pub hSubMenu : super :: MenusAndResources :: HMENU , pub hbmpChecked : super :: Gdi :: HBITMAP , pub hbmpUnchecked : super :: Gdi :: HBITMAP , pub dwItemData : usize , pub dwTypeData : super :: SystemServices :: PSTR , pub cch : u32 , pub hbmpItem : super :: Gdi :: HBITMAP } impl MENUITEMINFOA { } impl :: std :: default :: Default for MENUITEMINFOA { fn default ( ) -> Self { Self { cbSize : 0 , fMask : :: std :: default :: Default :: default ( ) , fType : :: std :: default :: Default :: default ( ) , fState : :: std :: default :: Default :: default ( ) , wID : 0 , hSubMenu : :: std :: default :: Default :: default ( ) , hbmpChecked : :: std :: default :: Default :: default ( ) , hbmpUnchecked : :: std :: default :: Default :: default ( ) , dwItemData : 0 , dwTypeData : :: std :: default :: Default :: default ( ) , cch : 0 , hbmpItem : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for MENUITEMINFOA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MENUITEMINFOA" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "fMask" , & format_args ! ( "{:?}" , self . fMask ) ) . field ( "fType" , & format_args ! ( "{:?}" , self . fType ) ) . field ( "fState" , & format_args ! ( "{:?}" , self . fState ) ) . field ( "wID" , & format_args ! ( "{:?}" , self . wID ) ) . field ( "hSubMenu" , & format_args ! ( "{:?}" , self . hSubMenu ) ) . field ( "hbmpChecked" , & format_args ! ( "{:?}" , self . hbmpChecked ) ) . field ( "hbmpUnchecked" , & format_args ! ( "{:?}" , self . hbmpUnchecked ) ) . field ( "dwItemData" , & format_args ! ( "{:?}" , self . dwItemData ) ) . field ( "dwTypeData" , & format_args ! ( "{:?}" , self . dwTypeData ) ) . field ( "cch" , & format_args ! ( "{:?}" , self . cch ) ) . field ( "hbmpItem" , & format_args ! ( "{:?}" , self . hbmpItem ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MENUITEMINFOA { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . fMask == other . fMask && self . fType == other . fType && self . fState == other . fState && self . wID == other . wID && self . hSubMenu == other . hSubMenu && self . hbmpChecked == other . hbmpChecked && self . hbmpUnchecked == other . hbmpUnchecked && self . dwItemData == other . dwItemData && self . dwTypeData == other . dwTypeData && self . cch == other . cch && self . hbmpItem == other . hbmpItem } } impl :: std :: cmp :: Eq for MENUITEMINFOA { } unsafe impl :: windows :: Abi for MENUITEMINFOA { type Abi = Self ; } pub unsafe fn GetMenuItemInfoA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( hmenu : T0__ , item : u32 , fbyposition : T2__ , lpmii : * mut MENUITEMINFOA , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MENUITEMINFOW { pub cbSize : u32 , pub fMask : MENU_ITEM_MASK , pub fType : MENU_ITEM_TYPE , pub fState : MENU_ITEM_STATE , pub wID : u32 , pub hSubMenu : super :: MenusAndResources :: HMENU , pub hbmpChecked : super :: Gdi :: HBITMAP , pub hbmpUnchecked : super :: Gdi :: HBITMAP , pub dwItemData : usize , pub dwTypeData : super :: SystemServices :: PWSTR , pub cch : u32 , pub hbmpItem : super :: Gdi :: HBITMAP } impl MENUITEMINFOW { } impl :: std :: default :: Default for MENUITEMINFOW { fn default ( ) -> Self { Self { cbSize : 0 , fMask : :: std :: default :: Default :: default ( ) , fType : :: std :: default :: Default :: default ( ) , fState : :: std :: default :: Default :: default ( ) , wID : 0 , hSubMenu : :: std :: default :: Default :: default ( ) , hbmpChecked : :: std :: default :: Default :: default ( ) , hbmpUnchecked : :: std :: default :: Default :: default ( ) , dwItemData : 0 , dwTypeData : :: std :: default :: Default :: default ( ) , cch : 0 , hbmpItem : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for MENUITEMINFOW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MENUITEMINFOW" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "fMask" , & format_args ! ( "{:?}" , self . fMask ) ) . field ( "fType" , & format_args ! ( "{:?}" , self . fType ) ) . field ( "fState" , & format_args ! ( "{:?}" , self . fState ) ) . field ( "wID" , & format_args ! ( "{:?}" , self . wID ) ) . field ( "hSubMenu" , & format_args ! ( "{:?}" , self . hSubMenu ) ) . field ( "hbmpChecked" , & format_args ! ( "{:?}" , self . hbmpChecked ) ) . field ( "hbmpUnchecked" , & format_args ! ( "{:?}" , self . hbmpUnchecked ) ) . field ( "dwItemData" , & format_args ! ( "{:?}" , self . dwItemData ) ) . field ( "dwTypeData" , & format_args ! ( "{:?}" , self . dwTypeData ) ) . field ( "cch" , & format_args ! ( "{:?}" , self . cch ) ) . field ( "hbmpItem" , & format_args ! ( "{:?}" , self . hbmpItem ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MENUITEMINFOW { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . fMask == other . fMask && self . fType == other . fType && self . fState == other . fState && self . wID == other . wID && self . hSubMenu == other . hSubMenu && self . hbmpChecked == other . hbmpChecked && self . hbmpUnchecked == other . hbmpUnchecked && self . dwItemData == other . dwItemData && self . dwTypeData == other . dwTypeData && self . cch == other . cch && self . hbmpItem == other . hbmpItem } } impl :: std :: cmp :: Eq for MENUITEMINFOW { } unsafe impl :: windows :: Abi for MENUITEMINFOW { type Abi = Self ; } pub unsafe fn GetMenuItemInfoW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( hmenu : T0__ , item : u32 , fbyposition : T2__ , lpmii : * mut MENUITEMINFOW , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMenuItemRect < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hwnd : T0__ , hmenu : T1__ , uitem : u32 , lprcitem : * mut super :: DisplayDevices :: RECT , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMenuState < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hmenu : T0__ , uid : u32 , uflags : MENU_ITEM_FLAGS , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMenuStringA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hmenu : T0__ , uiditem : u32 , lpstring : super :: SystemServices :: PSTR , cchmax : i32 , flags : MENU_ITEM_FLAGS , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMenuStringW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hmenu : T0__ , uiditem : u32 , lpstring : super :: SystemServices :: PWSTR , cchmax : i32 , flags : MENU_ITEM_FLAGS , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMessageA < 'a , T1__ : :: windows :: IntoParam < 'a , HWND > , > ( lpmsg : * mut MSG , hwnd : T1__ , wmsgfiltermin : u32 , wmsgfiltermax : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMessageExtraInfo < > ( ) -> LPARAM { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMessagePos < > ( ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMessageTime < > ( ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMessageW < 'a , T1__ : :: windows :: IntoParam < 'a , HWND > , > ( lpmsg : * mut MSG , hwnd : T1__ , wmsgfiltermin : u32 , wmsgfiltermax : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetNextDlgGroupItem < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( hdlg : T0__ , hctl : T1__ , bprevious : T2__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetNextDlgTabItem < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( hdlg : T0__ , hctl : T1__ , bprevious : T2__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct OPEN_FILENAME_FLAGS ( pub u32 ) ; impl OPEN_FILENAME_FLAGS { pub const OFN_READONLY : Self = Self ( 1u32 ) ; pub const OFN_OVERWRITEPROMPT : Self = Self ( 2u32 ) ; pub const OFN_HIDEREADONLY : Self = Self ( 4u32 ) ; pub const OFN_NOCHANGEDIR : Self = Self ( 8u32 ) ; pub const OFN_SHOWHELP : Self = Self ( 16u32 ) ; pub const OFN_ENABLEHOOK : Self = Self ( 32u32 ) ; pub const OFN_ENABLETEMPLATE : Self = Self ( 64u32 ) ; pub const OFN_ENABLETEMPLATEHANDLE : Self = Self ( 128u32 ) ; pub const OFN_NOVALIDATE : Self = Self ( 256u32 ) ; pub const OFN_ALLOWMULTISELECT : Self = Self ( 512u32 ) ; pub const OFN_EXTENSIONDIFFERENT : Self = Self ( 1024u32 ) ; pub const OFN_PATHMUSTEXIST : Self = Self ( 2048u32 ) ; pub const OFN_FILEMUSTEXIST : Self = Self ( 4096u32 ) ; pub const OFN_CREATEPROMPT : Self = Self ( 8192u32 ) ; pub const OFN_SHAREAWARE : Self = Self ( 16384u32 ) ; pub const OFN_NOREADONLYRETURN : Self = Self ( 32768u32 ) ; pub const OFN_NOTESTFILECREATE : Self = Self ( 65536u32 ) ; pub const OFN_NONETWORKBUTTON : Self = Self ( 131072u32 ) ; pub const OFN_NOLONGNAMES : Self = Self ( 262144u32 ) ; pub const OFN_EXPLORER : Self = Self ( 524288u32 ) ; pub const OFN_NODEREFERENCELINKS : Self = Self ( 1048576u32 ) ; pub const OFN_LONGNAMES : Self = Self ( 2097152u32 ) ; pub const OFN_ENABLEINCLUDENOTIFY : Self = Self ( 4194304u32 ) ; pub const OFN_ENABLESIZING : Self = Self ( 8388608u32 ) ; pub const OFN_DONTADDTORECENT : Self = Self ( 33554432u32 ) ; pub const OFN_FORCESHOWHIDDEN : Self = Self ( 268435456u32 ) ; } impl :: std :: convert :: From < u32 > for OPEN_FILENAME_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for OPEN_FILENAME_FLAGS { type Abi = Self ; } impl :: std :: ops :: BitOr for OPEN_FILENAME_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for OPEN_FILENAME_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for OPEN_FILENAME_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for OPEN_FILENAME_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub type LPOFNHOOKPROC = extern "system" fn ( param0 : HWND , param1 : u32 , param2 : WPARAM , param3 : LPARAM ) -> usize ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct OPEN_FILENAME_FLAGS_EX ( pub u32 ) ; impl OPEN_FILENAME_FLAGS_EX { pub const OFN_EX_NONE : Self = Self ( 0u32 ) ; pub const OFN_EX_NOPLACESBAR : Self = Self ( 1u32 ) ; } impl :: std :: convert :: From < u32 > for OPEN_FILENAME_FLAGS_EX { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for OPEN_FILENAME_FLAGS_EX { type Abi = Self ; } impl :: std :: ops :: BitOr for OPEN_FILENAME_FLAGS_EX { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for OPEN_FILENAME_FLAGS_EX { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for OPEN_FILENAME_FLAGS_EX { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for OPEN_FILENAME_FLAGS_EX { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OPENFILENAMEA { pub lStructSize : u32 , pub hwndOwner : HWND , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpstrFilter : super :: SystemServices :: PSTR , pub lpstrCustomFilter : super :: SystemServices :: PSTR , pub nMaxCustFilter : u32 , pub nFilterIndex : u32 , pub lpstrFile : super :: SystemServices :: PSTR , pub nMaxFile : u32 , pub lpstrFileTitle : super :: SystemServices :: PSTR , pub nMaxFileTitle : u32 , pub lpstrInitialDir : super :: SystemServices :: PSTR , pub lpstrTitle : super :: SystemServices :: PSTR , pub Flags : OPEN_FILENAME_FLAGS , pub nFileOffset : u16 , pub nFileExtension : u16 , pub lpstrDefExt : super :: SystemServices :: PSTR , pub lCustData : LPARAM , pub lpfnHook : :: std :: option :: Option < LPOFNHOOKPROC > , pub lpTemplateName : super :: SystemServices :: PSTR , pub pvReserved : * mut :: std :: ffi :: c_void , pub dwReserved : u32 , pub FlagsEx : OPEN_FILENAME_FLAGS_EX } impl OPENFILENAMEA { } impl :: std :: default :: Default for OPENFILENAMEA { fn default ( ) -> Self { Self { lStructSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , lpstrFilter : :: std :: default :: Default :: default ( ) , lpstrCustomFilter : :: std :: default :: Default :: default ( ) , nMaxCustFilter : 0 , nFilterIndex : 0 , lpstrFile : :: std :: default :: Default :: default ( ) , nMaxFile : 0 , lpstrFileTitle : :: std :: default :: Default :: default ( ) , nMaxFileTitle : 0 , lpstrInitialDir : :: std :: default :: Default :: default ( ) , lpstrTitle : :: std :: default :: Default :: default ( ) , Flags : :: std :: default :: Default :: default ( ) , nFileOffset : 0 , nFileExtension : 0 , lpstrDefExt : :: std :: default :: Default :: default ( ) , lCustData : :: std :: default :: Default :: default ( ) , lpfnHook : :: std :: default :: Default :: default ( ) , lpTemplateName : :: std :: default :: Default :: default ( ) , pvReserved : :: std :: ptr :: null_mut ( ) , dwReserved : 0 , FlagsEx : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for OPENFILENAMEA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OPENFILENAMEA" ) . field ( "lStructSize" , & format_args ! ( "{:?}" , self . lStructSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lpstrFilter" , & format_args ! ( "{:?}" , self . lpstrFilter ) ) . field ( "lpstrCustomFilter" , & format_args ! ( "{:?}" , self . lpstrCustomFilter ) ) . field ( "nMaxCustFilter" , & format_args ! ( "{:?}" , self . nMaxCustFilter ) ) . field ( "nFilterIndex" , & format_args ! ( "{:?}" , self . nFilterIndex ) ) . field ( "lpstrFile" , & format_args ! ( "{:?}" , self . lpstrFile ) ) . field ( "nMaxFile" , & format_args ! ( "{:?}" , self . nMaxFile ) ) . field ( "lpstrFileTitle" , & format_args ! ( "{:?}" , self . lpstrFileTitle ) ) . field ( "nMaxFileTitle" , & format_args ! ( "{:?}" , self . nMaxFileTitle ) ) . field ( "lpstrInitialDir" , & format_args ! ( "{:?}" , self . lpstrInitialDir ) ) . field ( "lpstrTitle" , & format_args ! ( "{:?}" , self . lpstrTitle ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "nFileOffset" , & format_args ! ( "{:?}" , self . nFileOffset ) ) . field ( "nFileExtension" , & format_args ! ( "{:?}" , self . nFileExtension ) ) . field ( "lpstrDefExt" , & format_args ! ( "{:?}" , self . lpstrDefExt ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "lpTemplateName" , & format_args ! ( "{:?}" , self . lpTemplateName ) ) . field ( "pvReserved" , & format_args ! ( "{:?}" , self . pvReserved ) ) . field ( "dwReserved" , & format_args ! ( "{:?}" , self . dwReserved ) ) . field ( "FlagsEx" , & format_args ! ( "{:?}" , self . FlagsEx ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OPENFILENAMEA { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . hwndOwner == other . hwndOwner && self . hInstance == other . hInstance && self . lpstrFilter == other . lpstrFilter && self . lpstrCustomFilter == other . lpstrCustomFilter && self . nMaxCustFilter == other . nMaxCustFilter && self . nFilterIndex == other . nFilterIndex && self . lpstrFile == other . lpstrFile && self . nMaxFile == other . nMaxFile && self . lpstrFileTitle == other . lpstrFileTitle && self . nMaxFileTitle == other . nMaxFileTitle && self . lpstrInitialDir == other . lpstrInitialDir && self . lpstrTitle == other . lpstrTitle && self . Flags == other . Flags && self . nFileOffset == other . nFileOffset && self . nFileExtension == other . nFileExtension && self . lpstrDefExt == other . lpstrDefExt && self . lCustData == other . lCustData && self . lpfnHook . map ( | f | f as usize ) == other . lpfnHook . map ( | f | f as usize ) && self . lpTemplateName == other . lpTemplateName && self . pvReserved == other . pvReserved && self . dwReserved == other . dwReserved && self . FlagsEx == other . FlagsEx } } impl :: std :: cmp :: Eq for OPENFILENAMEA { } unsafe impl :: windows :: Abi for OPENFILENAMEA { type Abi = Self ; } pub unsafe fn GetOpenFileNameA < > ( param0 : * mut OPENFILENAMEA , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OPENFILENAMEW { pub lStructSize : u32 , pub hwndOwner : HWND , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpstrFilter : super :: SystemServices :: PWSTR , pub lpstrCustomFilter : super :: SystemServices :: PWSTR , pub nMaxCustFilter : u32 , pub nFilterIndex : u32 , pub lpstrFile : super :: SystemServices :: PWSTR , pub nMaxFile : u32 , pub lpstrFileTitle : super :: SystemServices :: PWSTR , pub nMaxFileTitle : u32 , pub lpstrInitialDir : super :: SystemServices :: PWSTR , pub lpstrTitle : super :: SystemServices :: PWSTR , pub Flags : OPEN_FILENAME_FLAGS , pub nFileOffset : u16 , pub nFileExtension : u16 , pub lpstrDefExt : super :: SystemServices :: PWSTR , pub lCustData : LPARAM , pub lpfnHook : :: std :: option :: Option < LPOFNHOOKPROC > , pub lpTemplateName : super :: SystemServices :: PWSTR , pub pvReserved : * mut :: std :: ffi :: c_void , pub dwReserved : u32 , pub FlagsEx : OPEN_FILENAME_FLAGS_EX } impl OPENFILENAMEW { } impl :: std :: default :: Default for OPENFILENAMEW { fn default ( ) -> Self { Self { lStructSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , lpstrFilter : :: std :: default :: Default :: default ( ) , lpstrCustomFilter : :: std :: default :: Default :: default ( ) , nMaxCustFilter : 0 , nFilterIndex : 0 , lpstrFile : :: std :: default :: Default :: default ( ) , nMaxFile : 0 , lpstrFileTitle : :: std :: default :: Default :: default ( ) , nMaxFileTitle : 0 , lpstrInitialDir : :: std :: default :: Default :: default ( ) , lpstrTitle : :: std :: default :: Default :: default ( ) , Flags : :: std :: default :: Default :: default ( ) , nFileOffset : 0 , nFileExtension : 0 , lpstrDefExt : :: std :: default :: Default :: default ( ) , lCustData : :: std :: default :: Default :: default ( ) , lpfnHook : :: std :: default :: Default :: default ( ) , lpTemplateName : :: std :: default :: Default :: default ( ) , pvReserved : :: std :: ptr :: null_mut ( ) , dwReserved : 0 , FlagsEx : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for OPENFILENAMEW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OPENFILENAMEW" ) . field ( "lStructSize" , & format_args ! ( "{:?}" , self . lStructSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lpstrFilter" , & format_args ! ( "{:?}" , self . lpstrFilter ) ) . field ( "lpstrCustomFilter" , & format_args ! ( "{:?}" , self . lpstrCustomFilter ) ) . field ( "nMaxCustFilter" , & format_args ! ( "{:?}" , self . nMaxCustFilter ) ) . field ( "nFilterIndex" , & format_args ! ( "{:?}" , self . nFilterIndex ) ) . field ( "lpstrFile" , & format_args ! ( "{:?}" , self . lpstrFile ) ) . field ( "nMaxFile" , & format_args ! ( "{:?}" , self . nMaxFile ) ) . field ( "lpstrFileTitle" , & format_args ! ( "{:?}" , self . lpstrFileTitle ) ) . field ( "nMaxFileTitle" , & format_args ! ( "{:?}" , self . nMaxFileTitle ) ) . field ( "lpstrInitialDir" , & format_args ! ( "{:?}" , self . lpstrInitialDir ) ) . field ( "lpstrTitle" , & format_args ! ( "{:?}" , self . lpstrTitle ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "nFileOffset" , & format_args ! ( "{:?}" , self . nFileOffset ) ) . field ( "nFileExtension" , & format_args ! ( "{:?}" , self . nFileExtension ) ) . field ( "lpstrDefExt" , & format_args ! ( "{:?}" , self . lpstrDefExt ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "lpTemplateName" , & format_args ! ( "{:?}" , self . lpTemplateName ) ) . field ( "pvReserved" , & format_args ! ( "{:?}" , self . pvReserved ) ) . field ( "dwReserved" , & format_args ! ( "{:?}" , self . dwReserved ) ) . field ( "FlagsEx" , & format_args ! ( "{:?}" , self . FlagsEx ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OPENFILENAMEW { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . hwndOwner == other . hwndOwner && self . hInstance == other . hInstance && self . lpstrFilter == other . lpstrFilter && self . lpstrCustomFilter == other . lpstrCustomFilter && self . nMaxCustFilter == other . nMaxCustFilter && self . nFilterIndex == other . nFilterIndex && self . lpstrFile == other . lpstrFile && self . nMaxFile == other . nMaxFile && self . lpstrFileTitle == other . lpstrFileTitle && self . nMaxFileTitle == other . nMaxFileTitle && self . lpstrInitialDir == other . lpstrInitialDir && self . lpstrTitle == other . lpstrTitle && self . Flags == other . Flags && self . nFileOffset == other . nFileOffset && self . nFileExtension == other . nFileExtension && self . lpstrDefExt == other . lpstrDefExt && self . lCustData == other . lCustData && self . lpfnHook . map ( | f | f as usize ) == other . lpfnHook . map ( | f | f as usize ) && self . lpTemplateName == other . lpTemplateName && self . pvReserved == other . pvReserved && self . dwReserved == other . dwReserved && self . FlagsEx == other . FlagsEx } } impl :: std :: cmp :: Eq for OPENFILENAMEW { } unsafe impl :: windows :: Abi for OPENFILENAMEW { type Abi = Self ; } pub unsafe fn GetOpenFileNameW < > ( param0 : * mut OPENFILENAMEW , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetParent < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetPhysicalCursorPos < > ( lppoint : * mut super :: DisplayDevices :: POINT , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetProcessDefaultLayout < > ( pdwdefaultlayout : * mut u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetPropA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hwnd : T0__ , lpstring : T1__ , ) -> super :: SystemServices :: HANDLE { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetPropW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hwnd : T0__ , lpstring : T1__ , ) -> super :: SystemServices :: HANDLE { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct GetQueueStatus_flags ( pub u32 ) ; impl GetQueueStatus_flags { pub const QS_ALLEVENTS : Self = Self ( 1215u32 ) ; pub const QS_ALLINPUT : Self = Self ( 1279u32 ) ; pub const QS_ALLPOSTMESSAGE : Self = Self ( 256u32 ) ; pub const QS_HOTKEY : Self = Self ( 128u32 ) ; pub const QS_INPUT : Self = Self ( 1031u32 ) ; pub const QS_KEY : Self = Self ( 1u32 ) ; pub const QS_MOUSE : Self = Self ( 6u32 ) ; pub const QS_MOUSEBUTTON : Self = Self ( 4u32 ) ; pub const QS_MOUSEMOVE : Self = Self ( 2u32 ) ; pub const QS_PAINT : Self = Self ( 32u32 ) ; pub const QS_POSTMESSAGE : Self = Self ( 8u32 ) ; pub const QS_RAWINPUT : Self = Self ( 1024u32 ) ; pub const QS_SENDMESSAGE : Self = Self ( 64u32 ) ; pub const QS_TIMER : Self = Self ( 16u32 ) ; } impl :: std :: convert :: From < u32 > for GetQueueStatus_flags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GetQueueStatus_flags { type Abi = Self ; } impl :: std :: ops :: BitOr for GetQueueStatus_flags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for GetQueueStatus_flags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for GetQueueStatus_flags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for GetQueueStatus_flags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn GetQueueStatus < > ( flags : GetQueueStatus_flags , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetSaveFileNameA < > ( param0 : * mut OPENFILENAMEA , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetSaveFileNameW < > ( param0 : * mut OPENFILENAMEW , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetShellWindow < > ( ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetSubMenu < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hmenu : T0__ , npos : i32 , ) -> super :: MenusAndResources :: HMENU { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct GetSysColor_nIndexFlags ( pub u32 ) ; impl GetSysColor_nIndexFlags { pub const COLOR_3DDKSHADOW : Self = Self ( 21u32 ) ; pub const COLOR_3DFACE : Self = Self ( 15u32 ) ; pub const COLOR_3DHIGHLIGHT : Self = Self ( 20u32 ) ; pub const COLOR_3DHILIGHT : Self = Self ( 20u32 ) ; pub const COLOR_3DLIGHT : Self = Self ( 22u32 ) ; pub const COLOR_3DSHADOW : Self = Self ( 16u32 ) ; pub const COLOR_ACTIVEBORDER : Self = Self ( 10u32 ) ; pub const COLOR_ACTIVECAPTION : Self = Self ( 2u32 ) ; pub const COLOR_APPWORKSPACE : Self = Self ( 12u32 ) ; pub const COLOR_BACKGROUND : Self = Self ( 1u32 ) ; pub const COLOR_BTNFACE : Self = Self ( 15u32 ) ; pub const _COLOR_BTNHIGHLIGHT : Self = Self ( 20u32 ) ; pub const _COLOR_BTNHILIGHT : Self = Self ( 20u32 ) ; pub const COLOR_BTNSHADOW : Self = Self ( 16u32 ) ; pub const COLOR_BTNTEXT : Self = Self ( 18u32 ) ; pub const COLOR_CAPTIONTEXT : Self = Self ( 9u32 ) ; pub const COLOR_DESKTOP : Self = Self ( 1u32 ) ; pub const COLOR_GRADIENTACTIVECAPTION : Self = Self ( 27u32 ) ; pub const COLOR_GRADIENTINACTIVECAPTION : Self = Self ( 28u32 ) ; pub const COLOR_GRAYTEXT : Self = Self ( 17u32 ) ; pub const COLOR_HIGHLIGHT : Self = Self ( 13u32 ) ; pub const COLOR_HIGHLIGHTTEXT : Self = Self ( 14u32 ) ; pub const COLOR_HOTLIGHT : Self = Self ( 26u32 ) ; pub const COLOR_INACTIVEBORDER : Self = Self ( 11u32 ) ; pub const COLOR_INACTIVECAPTION : Self = Self ( 3u32 ) ; pub const COLOR_INACTIVECAPTIONTEXT : Self = Self ( 19u32 ) ; pub const COLOR_INFOBK : Self = Self ( 24u32 ) ; pub const COLOR_INFOTEXT : Self = Self ( 23u32 ) ; pub const COLOR_MENU : Self = Self ( 4u32 ) ; pub const COLOR_MENUHILIGHT : Self = Self ( 29u32 ) ; pub const COLOR_MENUBAR : Self = Self ( 30u32 ) ; pub const COLOR_MENUTEXT : Self = Self ( 7u32 ) ; pub const COLOR_SCROLLBAR : Self = Self ( 0u32 ) ; pub const COLOR_WINDOW : Self = Self ( 5u32 ) ; pub const COLOR_WINDOWFRAME : Self = Self ( 6u32 ) ; pub const COLOR_WINDOWTEXT : Self = Self ( 8u32 ) ; } impl :: std :: convert :: From < u32 > for GetSysColor_nIndexFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GetSysColor_nIndexFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for GetSysColor_nIndexFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for GetSysColor_nIndexFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for GetSysColor_nIndexFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for GetSysColor_nIndexFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn GetSysColor < > ( nindex : GetSysColor_nIndexFlags , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetSystemMenu < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( hwnd : T0__ , brevert : T1__ , ) -> super :: MenusAndResources :: HMENU { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct GetSystemMetrics_nIndexFlags ( pub u32 ) ; impl GetSystemMetrics_nIndexFlags { pub const SM_ARRANGE : Self = Self ( 56u32 ) ; pub const SM_CLEANBOOT : Self = Self ( 67u32 ) ; pub const SM_CMONITORS : Self = Self ( 80u32 ) ; pub const SM_CMOUSEBUTTONS : Self = Self ( 43u32 ) ; pub const SM_CONVERTIBLESLATEMODE : Self = Self ( 8195u32 ) ; pub const SM_CXBORDER : Self = Self ( 5u32 ) ; pub const SM_CXCURSOR : Self = Self ( 13u32 ) ; pub const SM_CXDLGFRAME : Self = Self ( 7u32 ) ; pub const SM_CXDOUBLECLK : Self = Self ( 36u32 ) ; pub const SM_CXDRAG : Self = Self ( 68u32 ) ; pub const SM_CXEDGE : Self = Self ( 45u32 ) ; pub const SM_CXFIXEDFRAME : Self = Self ( 7u32 ) ; pub const SM_CXFOCUSBORDER : Self = Self ( 83u32 ) ; pub const SM_CXFRAME : Self = Self ( 32u32 ) ; pub const SM_CXFULLSCREEN : Self = Self ( 16u32 ) ; pub const SM_CXHSCROLL : Self = Self ( 21u32 ) ; pub const SM_CXHTHUMB : Self = Self ( 10u32 ) ; pub const SM_CXICON : Self = Self ( 11u32 ) ; pub const SM_CXICONSPACING : Self = Self ( 38u32 ) ; pub const SM_CXMAXIMIZED : Self = Self ( 61u32 ) ; pub const SM_CXMAXTRACK : Self = Self ( 59u32 ) ; pub const SM_CXMENUCHECK : Self = Self ( 71u32 ) ; pub const SM_CXMENUSIZE : Self = Self ( 54u32 ) ; pub const SM_CXMIN : Self = Self ( 28u32 ) ; pub const SM_CXMINIMIZED : Self = Self ( 57u32 ) ; pub const SM_CXMINSPACING : Self = Self ( 47u32 ) ; pub const SM_CXMINTRACK : Self = Self ( 34u32 ) ; pub const SM_CXPADDEDBORDER : Self = Self ( 92u32 ) ; pub const SM_CXSCREEN : Self = Self ( 0u32 ) ; pub const SM_CXSIZE : Self = Self ( 30u32 ) ; pub const SM_CXSIZEFRAME : Self = Self ( 32u32 ) ; pub const SM_CXSMICON : Self = Self ( 49u32 ) ; pub const SM_CXSMSIZE : Self = Self ( 52u32 ) ; pub const SM_CXVIRTUALSCREEN : Self = Self ( 78u32 ) ; pub const SM_CXVSCROLL : Self = Self ( 2u32 ) ; pub const SM_CYBORDER : Self = Self ( 6u32 ) ; pub const SM_CYCAPTION : Self = Self ( 4u32 ) ; pub const SM_CYCURSOR : Self = Self ( 14u32 ) ; pub const SM_CYDLGFRAME : Self = Self ( 8u32 ) ; pub const SM_CYDOUBLECLK : Self = Self ( 37u32 ) ; pub const SM_CYDRAG : Self = Self ( 69u32 ) ; pub const SM_CYEDGE : Self = Self ( 46u32 ) ; pub const SM_CYFIXEDFRAME : Self = Self ( 8u32 ) ; pub const SM_CYFOCUSBORDER : Self = Self ( 84u32 ) ; pub const SM_CYFRAME : Self = Self ( 33u32 ) ; pub const SM_CYFULLSCREEN : Self = Self ( 17u32 ) ; pub const SM_CYHSCROLL : Self = Self ( 3u32 ) ; pub const SM_CYICON : Self = Self ( 12u32 ) ; pub const SM_CYICONSPACING : Self = Self ( 39u32 ) ; pub const SM_CYKANJIWINDOW : Self = Self ( 18u32 ) ; pub const SM_CYMAXIMIZED : Self = Self ( 62u32 ) ; pub const SM_CYMAXTRACK : Self = Self ( 60u32 ) ; pub const SM_CYMENU : Self = Self ( 15u32 ) ; pub const SM_CYMENUCHECK : Self = Self ( 72u32 ) ; pub const SM_CYMENUSIZE : Self = Self ( 55u32 ) ; pub const SM_CYMIN : Self = Self ( 29u32 ) ; pub const SM_CYMINIMIZED : Self = Self ( 58u32 ) ; pub const SM_CYMINSPACING : Self = Self ( 48u32 ) ; pub const SM_CYMINTRACK : Self = Self ( 35u32 ) ; pub const SM_CYSCREEN : Self = Self ( 1u32 ) ; pub const SM_CYSIZE : Self = Self ( 31u32 ) ; pub const SM_CYSIZEFRAME : Self = Self ( 33u32 ) ; pub const SM_CYSMCAPTION : Self = Self ( 51u32 ) ; pub const SM_CYSMICON : Self = Self ( 50u32 ) ; pub const SM_CYSMSIZE : Self = Self ( 53u32 ) ; pub const SM_CYVIRTUALSCREEN : Self = Self ( 79u32 ) ; pub const SM_CYVSCROLL : Self = Self ( 20u32 ) ; pub const SM_CYVTHUMB : Self = Self ( 9u32 ) ; pub const SM_DBCSENABLED : Self = Self ( 42u32 ) ; pub const SM_DEBUG : Self = Self ( 22u32 ) ; pub const SM_DIGITIZER : Self = Self ( 94u32 ) ; pub const SM_IMMENABLED : Self = Self ( 82u32 ) ; pub const SM_MAXIMUMTOUCHES : Self = Self ( 95u32 ) ; pub const SM_MEDIACENTER : Self = Self ( 87u32 ) ; pub const SM_MENUDROPALIGNMENT : Self = Self ( 40u32 ) ; pub const SM_MIDEASTENABLED : Self = Self ( 74u32 ) ; pub const SM_MOUSEPRESENT : Self = Self ( 19u32 ) ; pub const SM_MOUSEHORIZONTALWHEELPRESENT : Self = Self ( 91u32 ) ; pub const SM_MOUSEWHEELPRESENT : Self = Self ( 75u32 ) ; pub const SM_NETWORK : Self = Self ( 63u32 ) ; pub const SM_PENWINDOWS : Self = Self ( 41u32 ) ; pub const SM_REMOTECONTROL : Self = Self ( 8193u32 ) ; pub const SM_REMOTESESSION : Self = Self ( 4096u32 ) ; pub const SM_SAMEDISPLAYFORMAT : Self = Self ( 81u32 ) ; pub const SM_SECURE : Self = Self ( 44u32 ) ; pub const SM_SERVERR2 : Self = Self ( 89u32 ) ; pub const SM_SHOWSOUNDS : Self = Self ( 70u32 ) ; pub const SM_SHUTTINGDOWN : Self = Self ( 8192u32 ) ; pub const SM_SLOWMACHINE : Self = Self ( 73u32 ) ; pub const SM_STARTER : Self = Self ( 88u32 ) ; pub const SM_SWAPBUTTON : Self = Self ( 23u32 ) ; pub const SM_SYSTEMDOCKED_ : Self = Self ( 8196u32 ) ; pub const SM_TABLETPC : Self = Self ( 86u32 ) ; pub const SM_XVIRTUALSCREEN : Self = Self ( 76u32 ) ; pub const SM_YVIRTUALSCREEN : Self = Self ( 77u32 ) ; } impl :: std :: convert :: From < u32 > for GetSystemMetrics_nIndexFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GetSystemMetrics_nIndexFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for GetSystemMetrics_nIndexFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for GetSystemMetrics_nIndexFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for GetSystemMetrics_nIndexFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for GetSystemMetrics_nIndexFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn GetSystemMetrics < > ( nindex : GetSystemMetrics_nIndexFlags , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct TITLEBARINFO { pub cbSize : u32 , pub rcTitleBar : super :: DisplayDevices :: RECT , pub rgstate : [ u32 ;6 ] } impl TITLEBARINFO { } impl :: std :: default :: Default for TITLEBARINFO { fn default ( ) -> Self { Self { cbSize : 0 , rcTitleBar : :: std :: default :: Default :: default ( ) , rgstate : [ 0 ;6 ] } } } impl :: std :: fmt :: Debug for TITLEBARINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TITLEBARINFO" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "rcTitleBar" , & format_args ! ( "{:?}" , self . rcTitleBar ) ) . field ( "rgstate" , & format_args ! ( "{:?}" , self . rgstate ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TITLEBARINFO { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . rcTitleBar == other . rcTitleBar && self . rgstate == other . rgstate } } impl :: std :: cmp :: Eq for TITLEBARINFO { } unsafe impl :: windows :: Abi for TITLEBARINFO { type Abi = Self ; } pub unsafe fn GetTitleBarInfo < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , pti : * mut TITLEBARINFO , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetTopWindow < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct GetWindow_uCmdFlags ( pub u32 ) ; impl GetWindow_uCmdFlags { pub const GW_CHILD : Self = Self ( 5u32 ) ; pub const GW_ENABLEDPOPUP : Self = Self ( 6u32 ) ; pub const GW_HWNDFIRST : Self = Self ( 0u32 ) ; pub const GW_HWNDLAST : Self = Self ( 1u32 ) ; pub const GW_HWNDNEXT : Self = Self ( 2u32 ) ; pub const GW_HWNDPREV : Self = Self ( 3u32 ) ; pub const GW_OWNER : Self = Self ( 4u32 ) ; } impl :: std :: convert :: From < u32 > for GetWindow_uCmdFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GetWindow_uCmdFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for GetWindow_uCmdFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for GetWindow_uCmdFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for GetWindow_uCmdFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for GetWindow_uCmdFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn GetWindow < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ucmd : GetWindow_uCmdFlags , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowDisplayAffinity < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , pdwaffinity : * mut u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct WINDOWINFO { pub cbSize : u32 , pub rcWindow : super :: DisplayDevices :: RECT , pub rcClient : super :: DisplayDevices :: RECT , pub dwStyle : u32 , pub dwExStyle : u32 , pub dwWindowStatus : u32 , pub cxWindowBorders : u32 , pub cyWindowBorders : u32 , pub atomWindowType : u16 , pub wCreatorVersion : u16 } impl WINDOWINFO { } impl :: std :: default :: Default for WINDOWINFO { fn default ( ) -> Self { Self { cbSize : 0 , rcWindow : :: std :: default :: Default :: default ( ) , rcClient : :: std :: default :: Default :: default ( ) , dwStyle : 0 , dwExStyle : 0 , dwWindowStatus : 0 , cxWindowBorders : 0 , cyWindowBorders : 0 , atomWindowType : 0 , wCreatorVersion : 0 } } } impl :: std :: fmt :: Debug for WINDOWINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WINDOWINFO" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "rcWindow" , & format_args ! ( "{:?}" , self . rcWindow ) ) . field ( "rcClient" , & format_args ! ( "{:?}" , self . rcClient ) ) . field ( "dwStyle" , & format_args ! ( "{:?}" , self . dwStyle ) ) . field ( "dwExStyle" , & format_args ! ( "{:?}" , self . dwExStyle ) ) . field ( "dwWindowStatus" , & format_args ! ( "{:?}" , self . dwWindowStatus ) ) . field ( "cxWindowBorders" , & format_args ! ( "{:?}" , self . cxWindowBorders ) ) . field ( "cyWindowBorders" , & format_args ! ( "{:?}" , self . cyWindowBorders ) ) . field ( "atomWindowType" , & format_args ! ( "{:?}" , self . atomWindowType ) ) . field ( "wCreatorVersion" , & format_args ! ( "{:?}" , self . wCreatorVersion ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WINDOWINFO { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . rcWindow == other . rcWindow && self . rcClient == other . rcClient && self . dwStyle == other . dwStyle && self . dwExStyle == other . dwExStyle && self . dwWindowStatus == other . dwWindowStatus && self . cxWindowBorders == other . cxWindowBorders && self . cyWindowBorders == other . cyWindowBorders && self . atomWindowType == other . atomWindowType && self . wCreatorVersion == other . wCreatorVersion } } impl :: std :: cmp :: Eq for WINDOWINFO { } unsafe impl :: windows :: Abi for WINDOWINFO { type Abi = Self ; } pub unsafe fn GetWindowInfo < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , pwi : * mut WINDOWINFO , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct WINDOW_LONG_PTR_INDEX ( pub i32 ) ; impl WINDOW_LONG_PTR_INDEX { pub const GWL_EXSTYLE : Self = Self ( -20i32 ) ; pub const GWLP_HINSTANCE : Self = Self ( -6i32 ) ; pub const GWLP_HWNDPARENT : Self = Self ( -8i32 ) ; pub const GWLP_ID : Self = Self ( -12i32 ) ; pub const GWL_STYLE : Self = Self ( -16i32 ) ; pub const GWLP_USERDATA : Self = Self ( -21i32 ) ; pub const GWLP_WNDPROC : Self = Self ( -4i32 ) ; pub const GWL_HINSTANCE : Self = Self ( -6i32 ) ; pub const GWL_ID : Self = Self ( -12i32 ) ; pub const GWL_USERDATA : Self = Self ( -21i32 ) ; pub const GWL_WNDPROC : Self = Self ( -4i32 ) ; pub const GWL_HWNDPARENT : Self = Self ( -8i32 ) ; } impl :: std :: convert :: From < i32 > for WINDOW_LONG_PTR_INDEX { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for WINDOW_LONG_PTR_INDEX { type Abi = Self ; } pub unsafe fn GetWindowLongA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : WINDOW_LONG_PTR_INDEX , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowLongPtrA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : WINDOW_LONG_PTR_INDEX , ) -> isize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowLongPtrW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : WINDOW_LONG_PTR_INDEX , ) -> isize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowLongW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : WINDOW_LONG_PTR_INDEX , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowModuleFileNameA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , pszfilename : super :: SystemServices :: PSTR , cchfilenamemax : u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowModuleFileNameW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , pszfilename : super :: SystemServices :: PWSTR , cchfilenamemax : u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct WINDOWPLACEMENT_flags ( pub u32 ) ; impl WINDOWPLACEMENT_flags { pub const WPF_ASYNCWINDOWPLACEMENT : Self = Self ( 4u32 ) ; pub const WPF_RESTORETOMAXIMIZED : Self = Self ( 2u32 ) ; pub const WPF_SETMINPOSITION : Self = Self ( 1u32 ) ; } impl :: std :: convert :: From < u32 > for WINDOWPLACEMENT_flags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for WINDOWPLACEMENT_flags { type Abi = Self ; } impl :: std :: ops :: BitOr for WINDOWPLACEMENT_flags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for WINDOWPLACEMENT_flags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for WINDOWPLACEMENT_flags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for WINDOWPLACEMENT_flags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SHOW_WINDOW_CMD ( pub u32 ) ; impl SHOW_WINDOW_CMD { pub const SW_HIDE : Self = Self ( 0u32 ) ; pub const SW_FORCEMINIMIZE : Self = Self ( 11u32 ) ; pub const SW_MAXIMIZE : Self = Self ( 3u32 ) ; pub const SW_MINIMIZE : Self = Self ( 6u32 ) ; pub const SW_RESTORE : Self = Self ( 9u32 ) ; pub const SW_SHOW : Self = Self ( 5u32 ) ; pub const SW_SHOWDEFAULT : Self = Self ( 10u32 ) ; pub const SW_SHOWMAXIMIZED : Self = Self ( 3u32 ) ; pub const SW_SHOWMINIMIZED : Self = Self ( 2u32 ) ; pub const SW_SHOWMINNOACTIVE : Self = Self ( 7u32 ) ; pub const SW_SHOWNA : Self = Self ( 8u32 ) ; pub const SW_SHOWNOACTIVATE : Self = Self ( 4u32 ) ; pub const SW_SHOWNORMAL : Self = Self ( 1u32 ) ; pub const SW_NORMAL : Self = Self ( 1u32 ) ; pub const SW_MAX : Self = Self ( 11u32 ) ; pub const SW_PARENTCLOSING : Self = Self ( 1u32 ) ; pub const SW_OTHERZOOM : Self = Self ( 2u32 ) ; pub const SW_PARENTOPENING : Self = Self ( 3u32 ) ; pub const SW_OTHERUNZOOM : Self = Self ( 4u32 ) ; pub const SW_SCROLLCHILDREN : Self = Self ( 1u32 ) ; pub const SW_ERASE : Self = Self ( 4u32 ) ; pub const SW_INVALIDATE : Self = Self ( 2u32 ) ; pub const SW_SMOOTHSCROLL : Self = Self ( 16u32 ) ; } impl :: std :: convert :: From < u32 > for SHOW_WINDOW_CMD { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SHOW_WINDOW_CMD { type Abi = Self ; } impl :: std :: ops :: BitOr for SHOW_WINDOW_CMD { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for SHOW_WINDOW_CMD { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for SHOW_WINDOW_CMD { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for SHOW_WINDOW_CMD { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct WINDOWPLACEMENT { pub length : u32 , pub flags : WINDOWPLACEMENT_flags , pub showCmd : SHOW_WINDOW_CMD , pub ptMinPosition : super :: DisplayDevices :: POINT , pub ptMaxPosition : super :: DisplayDevices :: POINT , pub rcNormalPosition : super :: DisplayDevices :: RECT } impl WINDOWPLACEMENT { } impl :: std :: default :: Default for WINDOWPLACEMENT { fn default ( ) -> Self { Self { length : 0 , flags : :: std :: default :: Default :: default ( ) , showCmd : :: std :: default :: Default :: default ( ) , ptMinPosition : :: std :: default :: Default :: default ( ) , ptMaxPosition : :: std :: default :: Default :: default ( ) , rcNormalPosition : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for WINDOWPLACEMENT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WINDOWPLACEMENT" ) . field ( "length" , & format_args ! ( "{:?}" , self . length ) ) . field ( "flags" , & format_args ! ( "{:?}" , self . flags ) ) . field ( "showCmd" , & format_args ! ( "{:?}" , self . showCmd ) ) . field ( "ptMinPosition" , & format_args ! ( "{:?}" , self . ptMinPosition ) ) . field ( "ptMaxPosition" , & format_args ! ( "{:?}" , self . ptMaxPosition ) ) . field ( "rcNormalPosition" , & format_args ! ( "{:?}" , self . rcNormalPosition ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WINDOWPLACEMENT { fn eq ( & self , other : & Self ) -> bool { self . length == other . length && self . flags == other . flags && self . showCmd == other . showCmd && self . ptMinPosition == other . ptMinPosition && self . ptMaxPosition == other . ptMaxPosition && self . rcNormalPosition == other . rcNormalPosition } } impl :: std :: cmp :: Eq for WINDOWPLACEMENT { } unsafe impl :: windows :: Abi for WINDOWPLACEMENT { type Abi = Self ; } pub unsafe fn GetWindowPlacement < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , lpwndpl : * mut WINDOWPLACEMENT , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowRect < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , lprect : * mut super :: DisplayDevices :: RECT , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowTextA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , lpstring : super :: SystemServices :: PSTR , nmaxcount : i32 , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowTextLengthA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowTextLengthW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowTextW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , lpstring : super :: SystemServices :: PWSTR , nmaxcount : i32 , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowThreadProcessId < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , lpdwprocessid : * mut u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowWord < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : i32 , ) -> u16 { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct HANDEDNESS ( pub i32 ) ; impl HANDEDNESS { pub const HANDEDNESS_LEFT : Self = Self ( 0i32 ) ; pub const HANDEDNESS_RIGHT : Self = Self ( 1i32 ) ; } impl :: std :: convert :: From < i32 > for HANDEDNESS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for HANDEDNESS { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HARDWAREHOOKSTRUCT { pub hwnd : HWND , pub message : u32 , pub wParam : WPARAM , pub lParam : LPARAM } impl HARDWAREHOOKSTRUCT { } impl :: std :: default :: Default for HARDWAREHOOKSTRUCT { fn default ( ) -> Self { Self { hwnd : :: std :: default :: Default :: default ( ) , message : 0 , wParam : :: std :: default :: Default :: default ( ) , lParam : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for HARDWAREHOOKSTRUCT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HARDWAREHOOKSTRUCT" ) . field ( "hwnd" , & format_args ! ( "{:?}" , self . hwnd ) ) . field ( "message" , & format_args ! ( "{:?}" , self . message ) ) . field ( "wParam" , & format_args ! ( "{:?}" , self . wParam ) ) . field ( "lParam" , & format_args ! ( "{:?}" , self . lParam ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HARDWAREHOOKSTRUCT { fn eq ( & self , other : & Self ) -> bool { self . hwnd == other . hwnd && self . message == other . message && self . wParam == other . wParam && self . lParam == other . lParam } } impl :: std :: cmp :: Eq for HARDWAREHOOKSTRUCT { } unsafe impl :: windows :: Abi for HARDWAREHOOKSTRUCT { type Abi = Self ; } pub const HBMMENU_CALLBACK : super :: Gdi :: HBITMAP = super :: Gdi :: HBITMAP ( -1i32 as _ ) ; pub const HBMMENU_MBAR_CLOSE : super :: Gdi :: HBITMAP = super :: Gdi :: HBITMAP ( 5i32 as _ ) ; pub const HBMMENU_MBAR_CLOSE_D : super :: Gdi :: HBITMAP = super :: Gdi :: HBITMAP ( 6i32 as _ ) ; pub const HBMMENU_MBAR_MINIMIZE : super :: Gdi :: HBITMAP = super :: Gdi :: HBITMAP ( 3i32 as _ ) ; pub const HBMMENU_MBAR_MINIMIZE_D : super :: Gdi :: HBITMAP = super :: Gdi :: HBITMAP ( 7i32 as _ ) ; pub const HBMMENU_MBAR_RESTORE : super :: Gdi :: HBITMAP = super :: Gdi :: HBITMAP ( 2i32 as _ ) ; pub const HBMMENU_POPUP_CLOSE : super :: Gdi :: HBITMAP = super :: Gdi :: HBITMAP ( 8i32 as _ ) ; pub const HBMMENU_POPUP_MAXIMIZE : super :: Gdi :: HBITMAP = super :: Gdi :: HBITMAP ( 10i32 as _ ) ; pub const HBMMENU_POPUP_MINIMIZE : super :: Gdi :: HBITMAP = super :: Gdi :: HBITMAP ( 11i32 as _ ) ; pub const HBMMENU_POPUP_RESTORE : super :: Gdi :: HBITMAP = super :: Gdi :: HBITMAP ( 9i32 as _ ) ; pub const HBMMENU_SYSTEM : super :: Gdi :: HBITMAP = super :: Gdi :: HBITMAP ( 1i32 as _ ) ; pub const HCBT_ACTIVATE : u32 = 5u32 ; pub const HCBT_CLICKSKIPPED : u32 = 6u32 ; pub const HCBT_CREATEWND : u32 = 3u32 ; pub const HCBT_DESTROYWND : u32 = 4u32 ; pub const HCBT_KEYSKIPPED : u32 = 7u32 ; pub const HCBT_MINMAX : u32 = 1u32 ; pub const HCBT_MOVESIZE : u32 = 0u32 ; pub const HCBT_QS : u32 = 2u32 ; pub const HCBT_SETFOCUS : u32 = 9u32 ; pub const HCBT_SYSCOMMAND : u32 = 8u32 ; pub const HCF_DEFAULTDESKTOP : u32 = 512u32 ; pub const HCF_LOGONDESKTOP : u32 = 256u32 ; pub const HC_ACTION : u32 = 0u32 ; pub const HC_GETNEXT : u32 = 1u32 ; pub const HC_NOREMOVE : u32 = 3u32 ; pub const HC_SKIP : u32 = 2u32 ; pub const HC_SYSMODALOFF : u32 = 5u32 ; pub const HC_SYSMODALON : u32 = 4u32 ; pub const HELPINFO_MENUITEM : u32 = 2u32 ; pub const HELPINFO_WINDOW : u32 = 1u32 ; pub const HELP_COMMAND : i32 = 258i32 ; pub const HELP_CONTENTS : i32 = 3i32 ; pub const HELP_CONTEXT : i32 = 1i32 ; pub const HELP_CONTEXTMENU : u32 = 10u32 ; pub const HELP_CONTEXTPOPUP : i32 = 8i32 ; pub const HELP_FINDER : u32 = 11u32 ; pub const HELP_FORCEFILE : i32 = 9i32 ; pub const HELP_HELPONHELP : i32 = 4i32 ; pub const HELP_INDEX : i32 = 3i32 ; pub const HELP_KEY : i32 = 257i32 ; pub const HELP_MULTIKEY : i32 = 513i32 ; pub const HELP_PARTIALKEY : i32 = 261i32 ; pub const HELP_QUIT : i32 = 2i32 ; pub const HELP_SETCONTENTS : i32 = 5i32 ; pub const HELP_SETINDEX : i32 = 5i32 ; pub const HELP_SETPOPUP_POS : u32 = 13u32 ; pub const HELP_SETWINPOS : i32 = 515i32 ; pub const HELP_TCARD : u32 = 32768u32 ; pub const HELP_TCARD_DATA : u32 = 16u32 ; pub const HELP_TCARD_OTHER_CALLER : u32 = 17u32 ; pub const HELP_WM_HELP : u32 = 12u32 ; pub const HIDE_WINDOW : u32 = 0u32 ; pub const HKL_NEXT : u32 = 1u32 ; pub const HKL_PREV : u32 = 0u32 ; pub type HOOKPROC = extern "system" fn ( code : i32 , wparam : WPARAM , lparam : LPARAM ) -> super :: SystemServices :: LRESULT ; pub const HSHELL_ACCESSIBILITYSTATE : u32 = 11u32 ; pub const HSHELL_ACTIVATESHELLWINDOW : u32 = 3u32 ; pub const HSHELL_APPCOMMAND : u32 = 12u32 ; pub const HSHELL_ENDTASK : u32 = 10u32 ; pub const HSHELL_GETMINRECT : u32 = 5u32 ; pub const HSHELL_HIGHBIT : u32 = 32768u32 ; pub const HSHELL_LANGUAGE : u32 = 8u32 ; pub const HSHELL_MONITORCHANGED : u32 = 16u32 ; pub const HSHELL_REDRAW : u32 = 6u32 ; pub const HSHELL_SYSMENU : u32 = 9u32 ; pub const HSHELL_TASKMAN : u32 = 7u32 ; pub const HSHELL_WINDOWACTIVATED : u32 = 4u32 ; pub const HSHELL_WINDOWCREATED : u32 = 1u32 ; pub const HSHELL_WINDOWDESTROYED : u32 = 2u32 ; pub const HSHELL_WINDOWREPLACED : u32 = 13u32 ; pub const HSHELL_WINDOWREPLACING : u32 = 14u32 ; pub const HTBORDER : u32 = 18u32 ; pub const HTBOTTOM : u32 = 15u32 ; pub const HTBOTTOMLEFT : u32 = 16u32 ; pub const HTBOTTOMRIGHT : u32 = 17u32 ; pub const HTCAPTION : u32 = 2u32 ; pub const HTCLIENT : u32 = 1u32 ; pub const HTCLOSE : u32 = 20u32 ; pub const HTERROR : i32 = -2i32 ; pub const HTGROWBOX : u32 = 4u32 ; pub const HTHELP : u32 = 21u32 ; pub const HTHSCROLL : u32 = 6u32 ; pub const HTLEFT : u32 = 10u32 ; pub const HTMAXBUTTON : u32 = 9u32 ; pub const HTMENU : u32 = 5u32 ; pub const HTMINBUTTON : u32 = 8u32 ; pub const HTNOWHERE : u32 = 0u32 ; pub const HTOBJECT : u32 = 19u32 ; pub const HTRIGHT : u32 = 11u32 ; pub const HTSYSMENU : u32 = 3u32 ; pub const HTTOP : u32 = 12u32 ; pub const HTTOPLEFT : u32 = 13u32 ; pub const HTTOPRIGHT : u32 = 14u32 ; pub const HTTRANSPARENT : i32 = -1i32 ; pub const HTVSCROLL : u32 = 7u32 ; pub const HWND_BOTTOM : HWND = HWND ( 1i32 as _ ) ; pub const HWND_DESKTOP : HWND = HWND ( 0i32 as _ ) ; pub const HWND_MESSAGE : HWND = HWND ( -3i32 as _ ) ; pub const HWND_NOTOPMOST : HWND = HWND ( -2i32 as _ ) ; pub const HWND_TOP : HWND = HWND ( 0i32 as _ ) ; pub const HWND_TOPMOST : HWND = HWND ( -1i32 as _ ) ; pub unsafe fn HideCaret < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HiliteMenuItem < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hwnd : T0__ , hmenu : T1__ , uidhiliteitem : u32 , uhilite : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct ICONMETRICSA { pub cbSize : u32 , pub iHorzSpacing : i32 , pub iVertSpacing : i32 , pub iTitleWrap : i32 , pub lfFont : super :: Shell :: LOGFONTA } impl ICONMETRICSA { } impl :: std :: default :: Default for ICONMETRICSA { fn default ( ) -> Self { Self { cbSize : 0 , iHorzSpacing : 0 , iVertSpacing : 0 , iTitleWrap : 0 , lfFont : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for ICONMETRICSA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ICONMETRICSA" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "iHorzSpacing" , & format_args ! ( "{:?}" , self . iHorzSpacing ) ) . field ( "iVertSpacing" , & format_args ! ( "{:?}" , self . iVertSpacing ) ) . field ( "iTitleWrap" , & format_args ! ( "{:?}" , self . iTitleWrap ) ) . field ( "lfFont" , & format_args ! ( "{:?}" , self . lfFont ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ICONMETRICSA { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . iHorzSpacing == other . iHorzSpacing && self . iVertSpacing == other . iVertSpacing && self . iTitleWrap == other . iTitleWrap && self . lfFont == other . lfFont } } impl :: std :: cmp :: Eq for ICONMETRICSA { } unsafe impl :: windows :: Abi for ICONMETRICSA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct ICONMETRICSW { pub cbSize : u32 , pub iHorzSpacing : i32 , pub iVertSpacing : i32 , pub iTitleWrap : i32 , pub lfFont : super :: Shell :: LOGFONTW } impl ICONMETRICSW { } impl :: std :: default :: Default for ICONMETRICSW { fn default ( ) -> Self { Self { cbSize : 0 , iHorzSpacing : 0 , iVertSpacing : 0 , iTitleWrap : 0 , lfFont : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for ICONMETRICSW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ICONMETRICSW" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "iHorzSpacing" , & format_args ! ( "{:?}" , self . iHorzSpacing ) ) . field ( "iVertSpacing" , & format_args ! ( "{:?}" , self . iVertSpacing ) ) . field ( "iTitleWrap" , & format_args ! ( "{:?}" , self . iTitleWrap ) ) . field ( "lfFont" , & format_args ! ( "{:?}" , self . lfFont ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ICONMETRICSW { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . iHorzSpacing == other . iHorzSpacing && self . iVertSpacing == other . iVertSpacing && self . iTitleWrap == other . iTitleWrap && self . lfFont == other . lfFont } } impl :: std :: cmp :: Eq for ICONMETRICSW { } unsafe impl :: windows :: Abi for ICONMETRICSW { type Abi = Self ; } pub const ICON_BIG : u32 = 1u32 ; pub const ICON_SMALL : u32 = 0u32 ; pub const ICON_SMALL2 : u32 = 2u32 ; pub const IDANI_CAPTION : u32 = 3u32 ; pub const IDANI_OPEN : u32 = 1u32 ; pub const IDC_APPSTARTING : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32650i32 as _ ) ; pub const IDC_ARROW : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32512i32 as _ ) ; pub const IDC_CROSS : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32515i32 as _ ) ; pub const IDC_HAND : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32649i32 as _ ) ; pub const IDC_HELP : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32651i32 as _ ) ; pub const IDC_IBEAM : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32513i32 as _ ) ; pub const IDC_ICON : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32641i32 as _ ) ; pub const IDC_NO : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32648i32 as _ ) ; pub const IDC_PERSON : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32672i32 as _ ) ; pub const IDC_PIN : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32671i32 as _ ) ; pub const IDC_SIZE : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32640i32 as _ ) ; pub const IDC_SIZEALL : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32646i32 as _ ) ; pub const IDC_SIZENESW : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32643i32 as _ ) ; pub const IDC_SIZENS : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32645i32 as _ ) ; pub const IDC_SIZENWSE : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32642i32 as _ ) ; pub const IDC_SIZEWE : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32644i32 as _ ) ; pub const IDC_UPARROW : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32516i32 as _ ) ; pub const IDC_WAIT : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32514i32 as _ ) ; pub const IDHOT_SNAPDESKTOP : i32 = -2i32 ; pub const IDHOT_SNAPWINDOW : i32 = -1i32 ; pub const IDH_CANCEL : u32 = 28444u32 ; pub const IDH_GENERIC_HELP_BUTTON : u32 = 28442u32 ; pub const IDH_HELP : u32 = 28445u32 ; pub const IDH_MISSING_CONTEXT : u32 = 28441u32 ; pub const IDH_NO_HELP : u32 = 28440u32 ; pub const IDH_OK : u32 = 28443u32 ; pub const IDI_APPLICATION : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32512u32 as _ ) ; pub const IDI_ASTERISK : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32516u32 as _ ) ; pub const IDI_EXCLAMATION : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32515u32 as _ ) ; pub const IDI_HAND : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32513u32 as _ ) ; pub const IDI_QUESTION : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32514u32 as _ ) ; pub const IDI_SHIELD : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32518u32 as _ ) ; pub const IDI_WINLOGO : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32517u32 as _ ) ; pub const IMAGE_ENHMETAFILE : u32 = 3u32 ; pub const INDEXID_CONTAINER : u32 = 0u32 ; pub const INDEXID_OBJECT : u32 = 0u32 ; pub const INPUTLANGCHANGE_BACKWARD : u32 = 4u32 ; pub const INPUTLANGCHANGE_FORWARD : u32 = 2u32 ; pub const INPUTLANGCHANGE_SYSCHARSET : u32 = 1u32 ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPrintDialogCallback ( :: windows :: IUnknown ) ; impl IPrintDialogCallback { } unsafe impl :: windows :: Interface for IPrintDialogCallback { type Vtable = IPrintDialogCallback_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1481810627 ,25904 ,4561 , [ 182 ,163 ,0 ,0 ,248 ,117 ,123 ,249 ] , ) ; } impl IPrintDialogCallback { pub unsafe fn InitDone < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn SelectionChange < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn HandleMessage < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( & self , hdlg : T0__ , umsg : u32 , wparam : T2__ , lparam : T3__ , presult : * mut super :: SystemServices :: LRESULT , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , hdlg . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( umsg ) , wparam . into_param ( ) . abi ( ) , lparam . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( presult ) , ) } } impl :: std :: convert :: From < IPrintDialogCallback > for :: windows :: IUnknown { fn from ( value : IPrintDialogCallback ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IPrintDialogCallback > for :: windows :: IUnknown { fn from ( value : & IPrintDialogCallback ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IPrintDialogCallback { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: IUnknown > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < :: windows :: IUnknown > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for & 'a IPrintDialogCallback { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: IUnknown > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < :: windows :: IUnknown > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IPrintDialogCallback_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hdlg : HWND , umsg : u32 , wparam : WPARAM , lparam : LPARAM , presult : * mut super :: SystemServices :: LRESULT , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPrintDialogServices ( :: windows :: IUnknown ) ; impl IPrintDialogServices { } unsafe impl :: windows :: Interface for IPrintDialogServices { type Vtable = IPrintDialogServices_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1352314586 ,22073 ,4561 , [ 182 ,161 ,0 ,0 ,248 ,117 ,123 ,249 ] , ) ; } impl IPrintDialogServices { pub unsafe fn GetCurrentPrinterName < > ( & self , pprintername : super :: SystemServices :: PWSTR , pcchsize : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pprintername ) , :: std :: mem :: transmute ( pcchsize ) , ) } pub unsafe fn GetCurrentPortName < > ( & self , pportname : super :: SystemServices :: PWSTR , pcchsize : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pportname ) , :: std :: mem :: transmute ( pcchsize ) , ) } } impl :: std :: convert :: From < IPrintDialogServices > for :: windows :: IUnknown { fn from ( value : IPrintDialogServices ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IPrintDialogServices > for :: windows :: IUnknown { fn from ( value : & IPrintDialogServices ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IPrintDialogServices { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: IUnknown > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < :: windows :: IUnknown > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for & 'a IPrintDialogServices { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: IUnknown > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < :: windows :: IUnknown > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IPrintDialogServices_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pprintername : super :: SystemServices :: PWSTR , pcchsize : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pportname : super :: SystemServices :: PWSTR , pcchsize : * mut u32 , ) -> :: windows :: ErrorCode , ) ; pub const ISMEX_CALLBACK : u32 = 4u32 ; pub const ISMEX_NOSEND : u32 = 0u32 ; pub const ISMEX_NOTIFY : u32 = 2u32 ; pub const ISMEX_REPLIED : u32 = 8u32 ; pub const ISMEX_SEND : u32 = 1u32 ; pub const ISOLATIONAWARE_MANIFEST_RESOURCE_ID : u32 = 2u32 ; pub const ISOLATIONAWARE_NOSTATICIMPORT_MANIFEST_RESOURCE_ID : u32 = 3u32 ; pub const ISOLATIONPOLICY_BROWSER_MANIFEST_RESOURCE_ID : u32 = 5u32 ; pub const ISOLATIONPOLICY_MANIFEST_RESOURCE_ID : u32 = 4u32 ; pub unsafe fn InSendMessage < > ( ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn InSendMessageEx < > ( lpreserved : * mut :: std :: ffi :: c_void , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IndexFilePath < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( resourceindexer : * mut :: std :: ffi :: c_void , filepath : T1__ , ppresourceuri : * mut super :: SystemServices :: PWSTR , pqualifiercount : * mut u32 , ppqualifiers : * mut * mut IndexedResourceQualifier , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn InheritWindowMonitor < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , hwndinherit : T1__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn InsertMenuA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T4__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hmenu : T0__ , uposition : u32 , uflags : MENU_ITEM_FLAGS , uidnewitem : usize , lpnewitem : T4__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn InsertMenuItemA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( hmenu : T0__ , item : u32 , fbyposition : T2__ , lpmi : * mut MENUITEMINFOA , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn InsertMenuItemW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( hmenu : T0__ , item : u32 , fbyposition : T2__ , lpmi : * mut MENUITEMINFOW , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn InsertMenuW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T4__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hmenu : T0__ , uposition : u32 , uflags : MENU_ITEM_FLAGS , uidnewitem : usize , lpnewitem : T4__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn InternalGetWindowText < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , pstring : super :: SystemServices :: PWSTR , cchmaxcount : i32 , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsCharAlphaA < > ( ch : i8 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsCharAlphaNumericA < > ( ch : i8 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsCharAlphaNumericW < > ( ch : u16 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsCharAlphaW < > ( ch : u16 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsCharLowerA < > ( ch : i8 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsCharUpperA < > ( ch : i8 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsCharUpperW < > ( ch : u16 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsChild < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , HWND > , > ( hwndparent : T0__ , hwnd : T1__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsDialogMessageA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hdlg : T0__ , lpmsg : * mut MSG , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsDialogMessageW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hdlg : T0__ , lpmsg : * mut MSG , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsGUIThread < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( bconvert : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsHungAppWindow < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsIconic < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsMenu < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hmenu : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsProcessDPIAware < > ( ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsWindow < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsWindowUnicode < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsWindowVisible < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsZoomed < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct KBDLLHOOKSTRUCT { pub vkCode : u32 , pub scanCode : u32 , pub flags : u32 , pub time : u32 , pub dwExtraInfo : usize } impl KBDLLHOOKSTRUCT { } impl :: std :: default :: Default for KBDLLHOOKSTRUCT { fn default ( ) -> Self { Self { vkCode : 0 , scanCode : 0 , flags : 0 , time : 0 , dwExtraInfo : 0 } } } impl :: std :: fmt :: Debug for KBDLLHOOKSTRUCT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KBDLLHOOKSTRUCT" ) . field ( "vkCode" , & format_args ! ( "{:?}" , self . vkCode ) ) . field ( "scanCode" , & format_args ! ( "{:?}" , self . scanCode ) ) . field ( "flags" , & format_args ! ( "{:?}" , self . flags ) ) . field ( "time" , & format_args ! ( "{:?}" , self . time ) ) . field ( "dwExtraInfo" , & format_args ! ( "{:?}" , self . dwExtraInfo ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KBDLLHOOKSTRUCT { fn eq ( & self , other : & Self ) -> bool { self . vkCode == other . vkCode && self . scanCode == other . scanCode && self . flags == other . flags && self . time == other . time && self . dwExtraInfo == other . dwExtraInfo } } impl :: std :: cmp :: Eq for KBDLLHOOKSTRUCT { } unsafe impl :: windows :: Abi for KBDLLHOOKSTRUCT { type Abi = Self ; } pub const KF_ALTDOWN : u32 = 8192u32 ; pub const KF_DLGMODE : u32 = 2048u32 ; pub const KF_EXTENDED : u32 = 256u32 ; pub const KF_MENUMODE : u32 = 4096u32 ; pub const KF_REPEAT : u32 = 16384u32 ; pub const KF_UP : u32 = 32768u32 ; pub const KL_NAMELENGTH : u32 = 9u32 ; pub unsafe fn KillTimer < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , uidevent : usize , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub const LBN_DBLCLK : u32 = 2u32 ; pub const LBN_ERRSPACE : i32 = -2i32 ; pub const LBN_KILLFOCUS : u32 = 5u32 ; pub const LBN_SELCANCEL : u32 = 3u32 ; pub const LBN_SELCHANGE : u32 = 1u32 ; pub const LBN_SETFOCUS : u32 = 4u32 ; pub const LB_ADDFILE : u32 = 406u32 ; pub const LB_ADDSTRING : u32 = 384u32 ; pub const LB_CTLCODE : i32 = 0i32 ; pub const LB_DELETESTRING : u32 = 386u32 ; pub const LB_DIR : u32 = 397u32 ; pub const LB_ERR : i32 = -1i32 ; pub const LB_ERRSPACE : i32 = -2i32 ; pub const LB_FINDSTRING : u32 = 399u32 ; pub const LB_FINDSTRINGEXACT : u32 = 418u32 ; pub const LB_GETANCHORINDEX : u32 = 413u32 ; pub const LB_GETCARETINDEX : u32 = 415u32 ; pub const LB_GETCOUNT : u32 = 395u32 ; pub const LB_GETCURSEL : u32 = 392u32 ; pub const LB_GETHORIZONTALEXTENT : u32 = 403u32 ; pub const LB_GETITEMDATA : u32 = 409u32 ; pub const LB_GETITEMHEIGHT : u32 = 417u32 ; pub const LB_GETITEMRECT : u32 = 408u32 ; pub const LB_GETLISTBOXINFO : u32 = 434u32 ; pub const LB_GETLOCALE : u32 = 422u32 ; pub const LB_GETSEL : u32 = 391u32 ; pub const LB_GETSELCOUNT : u32 = 400u32 ; pub const LB_GETSELITEMS : u32 = 401u32 ; pub const LB_GETTEXT : u32 = 393u32 ; pub const LB_GETTEXTLEN : u32 = 394u32 ; pub const LB_GETTOPINDEX : u32 = 398u32 ; pub const LB_INITSTORAGE : u32 = 424u32 ; pub const LB_INSERTSTRING : u32 = 385u32 ; pub const LB_ITEMFROMPOINT : u32 = 425u32 ; pub const LB_MSGMAX : u32 = 435u32 ; pub const LB_MULTIPLEADDSTRING : u32 = 433u32 ; pub const LB_OKAY : u32 = 0u32 ; pub const LB_RESETCONTENT : u32 = 388u32 ; pub const LB_SELECTSTRING : u32 = 396u32 ; pub const LB_SELITEMRANGE : u32 = 411u32 ; pub const LB_SELITEMRANGEEX : u32 = 387u32 ; pub const LB_SETANCHORINDEX : u32 = 412u32 ; pub const LB_SETCARETINDEX : u32 = 414u32 ; pub const LB_SETCOLUMNWIDTH : u32 = 405u32 ; pub const LB_SETCOUNT : u32 = 423u32 ; pub const LB_SETCURSEL : u32 = 390u32 ; pub const LB_SETHORIZONTALEXTENT : u32 = 404u32 ; pub const LB_SETITEMDATA : u32 = 410u32 ; pub const LB_SETITEMHEIGHT : u32 = 416u32 ; pub const LB_SETLOCALE : u32 = 421u32 ; pub const LB_SETSEL : u32 = 389u32 ; pub const LB_SETTABSTOPS : u32 = 402u32 ; pub const LB_SETTOPINDEX : u32 = 407u32 ; pub const LLKHF_INJECTED : u32 = 16u32 ; pub const LLKHF_LOWER_IL_INJECTED : u32 = 2u32 ; pub const LLMHF_INJECTED : u32 = 1u32 ; pub const LLMHF_LOWER_IL_INJECTED : u32 = 2u32 ; pub type LPPAGEPAINTHOOK = extern "system" fn ( param0 : HWND , param1 : u32 , param2 : WPARAM , param3 : LPARAM ) -> usize ; pub type LPPAGESETUPHOOK = extern "system" fn ( param0 : HWND , param1 : u32 , param2 : WPARAM , param3 : LPARAM ) -> usize ; pub type LPPRINTHOOKPROC = extern "system" fn ( param0 : HWND , param1 : u32 , param2 : WPARAM , param3 : LPARAM ) -> usize ; pub type LPSETUPHOOKPROC = extern "system" fn ( param0 : HWND , param1 : u32 , param2 : WPARAM , param3 : LPARAM ) -> usize ; pub const LR_COLOR : u32 = 2u32 ; pub unsafe fn LoadAcceleratorsA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hinstance : T0__ , lptablename : T1__ , ) -> super :: MenusAndResources :: HACCEL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadAcceleratorsW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hinstance : T0__ , lptablename : T1__ , ) -> super :: MenusAndResources :: HACCEL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadCursorA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hinstance : T0__ , lpcursorname : T1__ , ) -> super :: MenusAndResources :: HCURSOR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadCursorFromFileA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpfilename : T0__ , ) -> super :: MenusAndResources :: HCURSOR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadCursorFromFileW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpfilename : T0__ , ) -> super :: MenusAndResources :: HCURSOR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadCursorW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hinstance : T0__ , lpcursorname : T1__ , ) -> super :: MenusAndResources :: HCURSOR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadIconA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hinstance : T0__ , lpiconname : T1__ , ) -> super :: MenusAndResources :: HICON { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadIconW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hinstance : T0__ , lpiconname : T1__ , ) -> super :: MenusAndResources :: HICON { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadImageA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hinst : T0__ , name : T1__ , r#type : CopyImage_type , cx : i32 , cy : i32 , fuload : super :: Controls :: ImageListLoadImage_uFlags , ) -> super :: SystemServices :: HANDLE { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadImageW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hinst : T0__ , name : T1__ , r#type : CopyImage_type , cx : i32 , cy : i32 , fuload : super :: Controls :: ImageListLoadImage_uFlags , ) -> super :: SystemServices :: HANDLE { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadMenuA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hinstance : T0__ , lpmenuname : T1__ , ) -> super :: MenusAndResources :: HMENU { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadMenuIndirectA < > ( lpmenutemplate : * const :: std :: ffi :: c_void , ) -> super :: MenusAndResources :: HMENU { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadMenuIndirectW < > ( lpmenutemplate : * const :: std :: ffi :: c_void , ) -> super :: MenusAndResources :: HMENU { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadMenuW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hinstance : T0__ , lpmenuname : T1__ , ) -> super :: MenusAndResources :: HMENU { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadResource < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HRSRC > , > ( hmodule : isize , hresinfo : T1__ , ) -> isize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadStringA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , > ( hinstance : T0__ , uid : u32 , lpbuffer : super :: SystemServices :: PSTR , cchbuffermax : i32 , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadStringW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , > ( hinstance : T0__ , uid : u32 , lpbuffer : super :: SystemServices :: PWSTR , cchbuffermax : i32 , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LockResource < > ( hresdata : isize , ) -> * mut :: std :: ffi :: c_void { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct LockSetForegroundWindow_uLockCodeFlags ( pub u32 ) ; impl LockSetForegroundWindow_uLockCodeFlags { pub const LSFW_LOCK : Self = Self ( 1u32 ) ; pub const LSFW_UNLOCK : Self = Self ( 2u32 ) ; } impl :: std :: convert :: From < u32 > for LockSetForegroundWindow_uLockCodeFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for LockSetForegroundWindow_uLockCodeFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for LockSetForegroundWindow_uLockCodeFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for LockSetForegroundWindow_uLockCodeFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for LockSetForegroundWindow_uLockCodeFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for LockSetForegroundWindow_uLockCodeFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn LockSetForegroundWindow < > ( ulockcode : LockSetForegroundWindow_uLockCodeFlags , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LogicalToPhysicalPoint < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , lppoint : * mut super :: DisplayDevices :: POINT , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LookupIconIdFromDirectory < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( presbits : * mut u8 , ficon : T1__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LookupIconIdFromDirectoryEx < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( presbits : * mut u8 , ficon : T1__ , cxdesired : i32 , cydesired : i32 , flags : super :: Controls :: ImageListLoadImage_uFlags , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub const MAPVK_VK_TO_CHAR : u32 = 2u32 ; pub const MAPVK_VK_TO_VSC : u32 = 0u32 ; pub const MAPVK_VK_TO_VSC_EX : u32 = 4u32 ; pub const MAPVK_VSC_TO_VK : u32 = 1u32 ; pub const MAPVK_VSC_TO_VK_EX : u32 = 3u32 ; pub const MAXIMUM_RESERVED_MANIFEST_RESOURCE_ID : u32 = 16u32 ; pub const MAX_LOGICALDPIOVERRIDE : u32 = 2u32 ; pub const MAX_STR_BLOCKREASON : u32 = 256u32 ; pub const MAX_TOUCH_COUNT : u32 = 256u32 ; pub const MAX_TOUCH_PREDICTION_FILTER_TAPS : u32 = 3u32 ; pub const MA_ACTIVATE : u32 = 1u32 ; pub const MA_ACTIVATEANDEAT : u32 = 2u32 ; pub const MA_NOACTIVATE : u32 = 3u32 ; pub const MA_NOACTIVATEANDEAT : u32 = 4u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MDICREATESTRUCTA { pub szClass : super :: SystemServices :: PSTR , pub szTitle : super :: SystemServices :: PSTR , pub hOwner : super :: SystemServices :: HANDLE , pub x : i32 , pub y : i32 , pub cx : i32 , pub cy : i32 , pub style : WINDOW_STYLE , pub lParam : LPARAM } impl MDICREATESTRUCTA { } impl :: std :: default :: Default for MDICREATESTRUCTA { fn default ( ) -> Self { Self { szClass : :: std :: default :: Default :: default ( ) , szTitle : :: std :: default :: Default :: default ( ) , hOwner : :: std :: default :: Default :: default ( ) , x : 0 , y : 0 , cx : 0 , cy : 0 , style : :: std :: default :: Default :: default ( ) , lParam : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for MDICREATESTRUCTA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MDICREATESTRUCTA" ) . field ( "szClass" , & format_args ! ( "{:?}" , self . szClass ) ) . field ( "szTitle" , & format_args ! ( "{:?}" , self . szTitle ) ) . field ( "hOwner" , & format_args ! ( "{:?}" , self . hOwner ) ) . field ( "x" , & format_args ! ( "{:?}" , self . x ) ) . field ( "y" , & format_args ! ( "{:?}" , self . y ) ) . field ( "cx" , & format_args ! ( "{:?}" , self . cx ) ) . field ( "cy" , & format_args ! ( "{:?}" , self . cy ) ) . field ( "style" , & format_args ! ( "{:?}" , self . style ) ) . field ( "lParam" , & format_args ! ( "{:?}" , self . lParam ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MDICREATESTRUCTA { fn eq ( & self , other : & Self ) -> bool { self . szClass == other . szClass && self . szTitle == other . szTitle && self . hOwner == other . hOwner && self . x == other . x && self . y == other . y && self . cx == other . cx && self . cy == other . cy && self . style == other . style && self . lParam == other . lParam } } impl :: std :: cmp :: Eq for MDICREATESTRUCTA { } unsafe impl :: windows :: Abi for MDICREATESTRUCTA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MDICREATESTRUCTW { pub szClass : super :: SystemServices :: PWSTR , pub szTitle : super :: SystemServices :: PWSTR , pub hOwner : super :: SystemServices :: HANDLE , pub x : i32 , pub y : i32 , pub cx : i32 , pub cy : i32 , pub style : WINDOW_STYLE , pub lParam : LPARAM } impl MDICREATESTRUCTW { } impl :: std :: default :: Default for MDICREATESTRUCTW { fn default ( ) -> Self { Self { szClass : :: std :: default :: Default :: default ( ) , szTitle : :: std :: default :: Default :: default ( ) , hOwner : :: std :: default :: Default :: default ( ) , x : 0 , y : 0 , cx : 0 , cy : 0 , style : :: std :: default :: Default :: default ( ) , lParam : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for MDICREATESTRUCTW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MDICREATESTRUCTW" ) . field ( "szClass" , & format_args ! ( "{:?}" , self . szClass ) ) . field ( "szTitle" , & format_args ! ( "{:?}" , self . szTitle ) ) . field ( "hOwner" , & format_args ! ( "{:?}" , self . hOwner ) ) . field ( "x" , & format_args ! ( "{:?}" , self . x ) ) . field ( "y" , & format_args ! ( "{:?}" , self . y ) ) . field ( "cx" , & format_args ! ( "{:?}" , self . cx ) ) . field ( "cy" , & format_args ! ( "{:?}" , self . cy ) ) . field ( "style" , & format_args ! ( "{:?}" , self . style ) ) . field ( "lParam" , & format_args ! ( "{:?}" , self . lParam ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MDICREATESTRUCTW { fn eq ( & self , other : & Self ) -> bool { self . szClass == other . szClass && self . szTitle == other . szTitle && self . hOwner == other . hOwner && self . x == other . x && self . y == other . y && self . cx == other . cx && self . cy == other . cy && self . style == other . style && self . lParam == other . lParam } } impl :: std :: cmp :: Eq for MDICREATESTRUCTW { } unsafe impl :: windows :: Abi for MDICREATESTRUCTW { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MDINEXTMENU { pub hmenuIn : super :: MenusAndResources :: HMENU , pub hmenuNext : super :: MenusAndResources :: HMENU , pub hwndNext : HWND } impl MDINEXTMENU { } impl :: std :: default :: Default for MDINEXTMENU { fn default ( ) -> Self { Self { hmenuIn : :: std :: default :: Default :: default ( ) , hmenuNext : :: std :: default :: Default :: default ( ) , hwndNext : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for MDINEXTMENU { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MDINEXTMENU" ) . field ( "hmenuIn" , & format_args ! ( "{:?}" , self . hmenuIn ) ) . field ( "hmenuNext" , & format_args ! ( "{:?}" , self . hmenuNext ) ) . field ( "hwndNext" , & format_args ! ( "{:?}" , self . hwndNext ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MDINEXTMENU { fn eq ( & self , other : & Self ) -> bool { self . hmenuIn == other . hmenuIn && self . hmenuNext == other . hmenuNext && self . hwndNext == other . hwndNext } } impl :: std :: cmp :: Eq for MDINEXTMENU { } unsafe impl :: windows :: Abi for MDINEXTMENU { type Abi = Self ; } pub const MDIS_ALLCHILDSTYLES : u32 = 1u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MENUGETOBJECTINFO_dwFlags ( pub u32 ) ; impl MENUGETOBJECTINFO_dwFlags { pub const MNGOF_BOTTOMGAP : Self = Self ( 2u32 ) ; pub const MNGOF_TOPGAP : Self = Self ( 1u32 ) ; } impl :: std :: convert :: From < u32 > for MENUGETOBJECTINFO_dwFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MENUGETOBJECTINFO_dwFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for MENUGETOBJECTINFO_dwFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for MENUGETOBJECTINFO_dwFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for MENUGETOBJECTINFO_dwFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for MENUGETOBJECTINFO_dwFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MENUGETOBJECTINFO { pub dwFlags : MENUGETOBJECTINFO_dwFlags , pub uPos : u32 , pub hmenu : super :: MenusAndResources :: HMENU , pub riid : * mut :: std :: ffi :: c_void , pub pvObj : * mut :: std :: ffi :: c_void } impl MENUGETOBJECTINFO { } impl :: std :: default :: Default for MENUGETOBJECTINFO { fn default ( ) -> Self { Self { dwFlags : :: std :: default :: Default :: default ( ) , uPos : 0 , hmenu : :: std :: default :: Default :: default ( ) , riid : :: std :: ptr :: null_mut ( ) , pvObj : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for MENUGETOBJECTINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MENUGETOBJECTINFO" ) . field ( "dwFlags" , & format_args ! ( "{:?}" , self . dwFlags ) ) . field ( "uPos" , & format_args ! ( "{:?}" , self . uPos ) ) . field ( "hmenu" , & format_args ! ( "{:?}" , self . hmenu ) ) . field ( "riid" , & format_args ! ( "{:?}" , self . riid ) ) . field ( "pvObj" , & format_args ! ( "{:?}" , self . pvObj ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MENUGETOBJECTINFO { fn eq ( & self , other : & Self ) -> bool { self . dwFlags == other . dwFlags && self . uPos == other . uPos && self . hmenu == other . hmenu && self . riid == other . riid && self . pvObj == other . pvObj } } impl :: std :: cmp :: Eq for MENUGETOBJECTINFO { } unsafe impl :: windows :: Abi for MENUGETOBJECTINFO { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MENUITEMTEMPLATE { pub mtOption : u16 , pub mtID : u16 , pub mtString : [ u16 ;1 ] } impl MENUITEMTEMPLATE { } impl :: std :: default :: Default for MENUITEMTEMPLATE { fn default ( ) -> Self { Self { mtOption : 0 , mtID : 0 , mtString : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for MENUITEMTEMPLATE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MENUITEMTEMPLATE" ) . field ( "mtOption" , & format_args ! ( "{:?}" , self . mtOption ) ) . field ( "mtID" , & format_args ! ( "{:?}" , self . mtID ) ) . field ( "mtString" , & format_args ! ( "{:?}" , self . mtString ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MENUITEMTEMPLATE { fn eq ( & self , other : & Self ) -> bool { self . mtOption == other . mtOption && self . mtID == other . mtID && self . mtString == other . mtString } } impl :: std :: cmp :: Eq for MENUITEMTEMPLATE { } unsafe impl :: windows :: Abi for MENUITEMTEMPLATE { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MENUITEMTEMPLATEHEADER { pub versionNumber : u16 , pub offset : u16 } impl MENUITEMTEMPLATEHEADER { } impl :: std :: default :: Default for MENUITEMTEMPLATEHEADER { fn default ( ) -> Self { Self { versionNumber : 0 , offset : 0 } } } impl :: std :: fmt :: Debug for MENUITEMTEMPLATEHEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MENUITEMTEMPLATEHEADER" ) . field ( "versionNumber" , & format_args ! ( "{:?}" , self . versionNumber ) ) . field ( "offset" , & format_args ! ( "{:?}" , self . offset ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MENUITEMTEMPLATEHEADER { fn eq ( & self , other : & Self ) -> bool { self . versionNumber == other . versionNumber && self . offset == other . offset } } impl :: std :: cmp :: Eq for MENUITEMTEMPLATEHEADER { } unsafe impl :: windows :: Abi for MENUITEMTEMPLATEHEADER { type Abi = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MESSAGEBOX_RESULT ( pub i32 ) ; impl MESSAGEBOX_RESULT { pub const IDOK : Self = Self ( 1i32 ) ; pub const IDCANCEL : Self = Self ( 2i32 ) ; pub const IDABORT : Self = Self ( 3i32 ) ; pub const IDRETRY : Self = Self ( 4i32 ) ; pub const IDIGNORE : Self = Self ( 5i32 ) ; pub const IDYES : Self = Self ( 6i32 ) ; pub const IDNO : Self = Self ( 7i32 ) ; pub const IDCLOSE : Self = Self ( 8i32 ) ; pub const IDHELP : Self = Self ( 9i32 ) ; pub const IDTRYAGAIN : Self = Self ( 10i32 ) ; pub const IDCONTINUE : Self = Self ( 11i32 ) ; pub const IDASYNC : Self = Self ( 32001i32 ) ; pub const IDTIMEOUT : Self = Self ( 32000i32 ) ; } impl :: std :: convert :: From < i32 > for MESSAGEBOX_RESULT { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MESSAGEBOX_RESULT { type Abi = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MESSAGEBOX_STYLE ( pub u32 ) ; impl MESSAGEBOX_STYLE { pub const MB_OK : Self = Self ( 0u32 ) ; pub const MB_ABORTRETRYIGNORE : Self = Self ( 2u32 ) ; pub const MB_CANCELTRYCONTINUE : Self = Self ( 6u32 ) ; pub const MB_HELP : Self = Self ( 16384u32 ) ; pub const MB_OKCANCEL : Self = Self ( 1u32 ) ; pub const MB_RETRYCANCEL : Self = Self ( 5u32 ) ; pub const MB_YESNO : Self = Self ( 4u32 ) ; pub const MB_YESNOCANCEL : Self = Self ( 3u32 ) ; pub const MB_ICONHAND : Self = Self ( 16u32 ) ; pub const MB_ICONQUESTION : Self = Self ( 32u32 ) ; pub const MB_ICONEXCLAMATION : Self = Self ( 48u32 ) ; pub const MB_ICONASTERISK : Self = Self ( 64u32 ) ; pub const MB_USERICON : Self = Self ( 128u32 ) ; pub const MB_ICONWARNING : Self = Self ( 48u32 ) ; pub const MB_ICONERROR : Self = Self ( 16u32 ) ; pub const MB_ICONINFORMATION : Self = Self ( 64u32 ) ; pub const MB_ICONSTOP : Self = Self ( 16u32 ) ; pub const MB_DEFBUTTON1 : Self = Self ( 0u32 ) ; pub const MB_DEFBUTTON2 : Self = Self ( 256u32 ) ; pub const MB_DEFBUTTON3 : Self = Self ( 512u32 ) ; pub const MB_DEFBUTTON4 : Self = Self ( 768u32 ) ; pub const MB_APPLMODAL : Self = Self ( 0u32 ) ; pub const MB_SYSTEMMODAL : Self = Self ( 4096u32 ) ; pub const MB_TASKMODAL : Self = Self ( 8192u32 ) ; pub const MB_NOFOCUS : Self = Self ( 32768u32 ) ; pub const MB_SETFOREGROUND : Self = Self ( 65536u32 ) ; pub const MB_DEFAULT_DESKTOP_ONLY : Self = Self ( 131072u32 ) ; pub const MB_TOPMOST : Self = Self ( 262144u32 ) ; pub const MB_RIGHT : Self = Self ( 524288u32 ) ; pub const MB_RTLREADING : Self = Self ( 1048576u32 ) ; pub const MB_SERVICE_NOTIFICATION : Self = Self ( 2097152u32 ) ; pub const MB_SERVICE_NOTIFICATION_NT3X : Self = Self ( 262144u32 ) ; pub const MB_TYPEMASK : Self = Self ( 15u32 ) ; pub const MB_ICONMASK : Self = Self ( 240u32 ) ; pub const MB_DEFMASK : Self = Self ( 3840u32 ) ; pub const MB_MODEMASK : Self = Self ( 12288u32 ) ; pub const MB_MISCMASK : Self = Self ( 49152u32 ) ; } impl :: std :: convert :: From < u32 > for MESSAGEBOX_STYLE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MESSAGEBOX_STYLE { type Abi = Self ; } impl :: std :: ops :: BitOr for MESSAGEBOX_STYLE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for MESSAGEBOX_STYLE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for MESSAGEBOX_STYLE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for MESSAGEBOX_STYLE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MESSAGE_RESOURCE_BLOCK { pub LowId : u32 , pub HighId : u32 , pub OffsetToEntries : u32 } impl MESSAGE_RESOURCE_BLOCK { } impl :: std :: default :: Default for MESSAGE_RESOURCE_BLOCK { fn default ( ) -> Self { Self { LowId : 0 , HighId : 0 , OffsetToEntries : 0 } } } impl :: std :: fmt :: Debug for MESSAGE_RESOURCE_BLOCK { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MESSAGE_RESOURCE_BLOCK" ) . field ( "LowId" , & format_args ! ( "{:?}" , self . LowId ) ) . field ( "HighId" , & format_args ! ( "{:?}" , self . HighId ) ) . field ( "OffsetToEntries" , & format_args ! ( "{:?}" , self . OffsetToEntries ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MESSAGE_RESOURCE_BLOCK { fn eq ( & self , other : & Self ) -> bool { self . LowId == other . LowId && self . HighId == other . HighId && self . OffsetToEntries == other . OffsetToEntries } } impl :: std :: cmp :: Eq for MESSAGE_RESOURCE_BLOCK { } unsafe impl :: windows :: Abi for MESSAGE_RESOURCE_BLOCK { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MESSAGE_RESOURCE_DATA { pub NumberOfBlocks : u32 , pub Blocks : [ MESSAGE_RESOURCE_BLOCK ;1 ] } impl MESSAGE_RESOURCE_DATA { } impl :: std :: default :: Default for MESSAGE_RESOURCE_DATA { fn default ( ) -> Self { Self { NumberOfBlocks : 0 , Blocks : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for MESSAGE_RESOURCE_DATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MESSAGE_RESOURCE_DATA" ) . field ( "NumberOfBlocks" , & format_args ! ( "{:?}" , self . NumberOfBlocks ) ) . field ( "Blocks" , & format_args ! ( "{:?}" , self . Blocks ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MESSAGE_RESOURCE_DATA { fn eq ( & self , other : & Self ) -> bool { self . NumberOfBlocks == other . NumberOfBlocks && self . Blocks == other . Blocks } } impl :: std :: cmp :: Eq for MESSAGE_RESOURCE_DATA { } unsafe impl :: windows :: Abi for MESSAGE_RESOURCE_DATA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MESSAGE_RESOURCE_ENTRY { pub Length : u16 , pub Flags : u16 , pub Text : [ u8 ;1 ] } impl MESSAGE_RESOURCE_ENTRY { } impl :: std :: default :: Default for MESSAGE_RESOURCE_ENTRY { fn default ( ) -> Self { Self { Length : 0 , Flags : 0 , Text : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for MESSAGE_RESOURCE_ENTRY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MESSAGE_RESOURCE_ENTRY" ) . field ( "Length" , & format_args ! ( "{:?}" , self . Length ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "Text" , & format_args ! ( "{:?}" , self . Text ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MESSAGE_RESOURCE_ENTRY { fn eq ( & self , other : & Self ) -> bool { self . Length == other . Length && self . Flags == other . Flags && self . Text == other . Text } } impl :: std :: cmp :: Eq for MESSAGE_RESOURCE_ENTRY { } unsafe impl :: windows :: Abi for MESSAGE_RESOURCE_ENTRY { type Abi = Self ; } pub const METRICS_USEDEFAULT : i32 = -1i32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MINIMIZEDMETRICS_iArrangeFlags ( pub i32 ) ; impl MINIMIZEDMETRICS_iArrangeFlags { pub const ARW_BOTTOMLEFT : Self = Self ( 0i32 ) ; pub const ARW_BOTTOMRIGHT : Self = Self ( 1i32 ) ; pub const ARW_TOPLEFT : Self = Self ( 2i32 ) ; pub const ARW_TOPRIGHT : Self = Self ( 3i32 ) ; } impl :: std :: convert :: From < i32 > for MINIMIZEDMETRICS_iArrangeFlags { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MINIMIZEDMETRICS_iArrangeFlags { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MINIMIZEDMETRICS { pub cbSize : u32 , pub iWidth : i32 , pub iHorzGap : i32 , pub iVertGap : i32 , pub iArrange : MINIMIZEDMETRICS_iArrangeFlags } impl MINIMIZEDMETRICS { } impl :: std :: default :: Default for MINIMIZEDMETRICS { fn default ( ) -> Self { Self { cbSize : 0 , iWidth : 0 , iHorzGap : 0 , iVertGap : 0 , iArrange : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for MINIMIZEDMETRICS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MINIMIZEDMETRICS" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "iWidth" , & format_args ! ( "{:?}" , self . iWidth ) ) . field ( "iHorzGap" , & format_args ! ( "{:?}" , self . iHorzGap ) ) . field ( "iVertGap" , & format_args ! ( "{:?}" , self . iVertGap ) ) . field ( "iArrange" , & format_args ! ( "{:?}" , self . iArrange ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MINIMIZEDMETRICS { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . iWidth == other . iWidth && self . iHorzGap == other . iHorzGap && self . iVertGap == other . iVertGap && self . iArrange == other . iArrange } } impl :: std :: cmp :: Eq for MINIMIZEDMETRICS { } unsafe impl :: windows :: Abi for MINIMIZEDMETRICS { type Abi = Self ; } pub const MINIMUM_RESERVED_MANIFEST_RESOURCE_ID : u32 = 1u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MINMAXINFO { pub ptReserved : super :: DisplayDevices :: POINT , pub ptMaxSize : super :: DisplayDevices :: POINT , pub ptMaxPosition : super :: DisplayDevices :: POINT , pub ptMinTrackSize : super :: DisplayDevices :: POINT , pub ptMaxTrackSize : super :: DisplayDevices :: POINT } impl MINMAXINFO { } impl :: std :: default :: Default for MINMAXINFO { fn default ( ) -> Self { Self { ptReserved : :: std :: default :: Default :: default ( ) , ptMaxSize : :: std :: default :: Default :: default ( ) , ptMaxPosition : :: std :: default :: Default :: default ( ) , ptMinTrackSize : :: std :: default :: Default :: default ( ) , ptMaxTrackSize : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for MINMAXINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MINMAXINFO" ) . field ( "ptReserved" , & format_args ! ( "{:?}" , self . ptReserved ) ) . field ( "ptMaxSize" , & format_args ! ( "{:?}" , self . ptMaxSize ) ) . field ( "ptMaxPosition" , & format_args ! ( "{:?}" , self . ptMaxPosition ) ) . field ( "ptMinTrackSize" , & format_args ! ( "{:?}" , self . ptMinTrackSize ) ) . field ( "ptMaxTrackSize" , & format_args ! ( "{:?}" , self . ptMaxTrackSize ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MINMAXINFO { fn eq ( & self , other : & Self ) -> bool { self . ptReserved == other . ptReserved && self . ptMaxSize == other . ptMaxSize && self . ptMaxPosition == other . ptMaxPosition && self . ptMinTrackSize == other . ptMinTrackSize && self . ptMaxTrackSize == other . ptMaxTrackSize } } impl :: std :: cmp :: Eq for MINMAXINFO { } unsafe impl :: windows :: Abi for MINMAXINFO { type Abi = Self ; } pub const MIN_LOGICALDPIOVERRIDE : i32 = -2i32 ; pub const MKF_AVAILABLE : u32 = 2u32 ; pub const MKF_CONFIRMHOTKEY : u32 = 8u32 ; pub const MKF_HOTKEYACTIVE : u32 = 4u32 ; pub const MKF_HOTKEYSOUND : u32 = 16u32 ; pub const MKF_INDICATOR : u32 = 32u32 ; pub const MKF_LEFTBUTTONDOWN : u32 = 16777216u32 ; pub const MKF_LEFTBUTTONSEL : u32 = 268435456u32 ; pub const MKF_MODIFIERS : u32 = 64u32 ; pub const MKF_MOUSEKEYSON : u32 = 1u32 ; pub const MKF_MOUSEMODE : u32 = 2147483648u32 ; pub const MKF_REPLACENUMBERS : u32 = 128u32 ; pub const MKF_RIGHTBUTTONDOWN : u32 = 33554432u32 ; pub const MKF_RIGHTBUTTONSEL : u32 = 536870912u32 ; pub const MK_CONTROL : u32 = 8u32 ; pub const MK_LBUTTON : u32 = 1u32 ; pub const MK_MBUTTON : u32 = 16u32 ; pub const MK_RBUTTON : u32 = 2u32 ; pub const MK_SHIFT : u32 = 4u32 ; pub const MK_XBUTTON1 : u32 = 32u32 ; pub const MK_XBUTTON2 : u32 = 64u32 ; pub const MNC_CLOSE : u32 = 1u32 ; pub const MNC_EXECUTE : u32 = 2u32 ; pub const MNC_IGNORE : u32 = 0u32 ; pub const MNC_SELECT : u32 = 3u32 ; pub const MND_CONTINUE : u32 = 0u32 ; pub const MND_ENDMENU : u32 = 1u32 ; pub const MNGO_NOERROR : u32 = 1u32 ; pub const MNGO_NOINTERFACE : u32 = 0u32 ; pub const MN_GETHMENU : u32 = 481u32 ; pub const MONITORINFOF_PRIMARY : u32 = 1u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MOUSEHOOKSTRUCT { pub pt : super :: DisplayDevices :: POINT , pub hwnd : HWND , pub wHitTestCode : u32 , pub dwExtraInfo : usize } impl MOUSEHOOKSTRUCT { } impl :: std :: default :: Default for MOUSEHOOKSTRUCT { fn default ( ) -> Self { Self { pt : :: std :: default :: Default :: default ( ) , hwnd : :: std :: default :: Default :: default ( ) , wHitTestCode : 0 , dwExtraInfo : 0 } } } impl :: std :: fmt :: Debug for MOUSEHOOKSTRUCT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MOUSEHOOKSTRUCT" ) . field ( "pt" , & format_args ! ( "{:?}" , self . pt ) ) . field ( "hwnd" , & format_args ! ( "{:?}" , self . hwnd ) ) . field ( "wHitTestCode" , & format_args ! ( "{:?}" , self . wHitTestCode ) ) . field ( "dwExtraInfo" , & format_args ! ( "{:?}" , self . dwExtraInfo ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MOUSEHOOKSTRUCT { fn eq ( & self , other : & Self ) -> bool { self . pt == other . pt && self . hwnd == other . hwnd && self . wHitTestCode == other . wHitTestCode && self . dwExtraInfo == other . dwExtraInfo } } impl :: std :: cmp :: Eq for MOUSEHOOKSTRUCT { } unsafe impl :: windows :: Abi for MOUSEHOOKSTRUCT { type Abi = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MOUSEHOOKSTRUCTEX_mouseData ( pub u32 ) ; impl MOUSEHOOKSTRUCTEX_mouseData { pub const XBUTTON1 : Self = Self ( 1u32 ) ; pub const XBUTTON2 : Self = Self ( 2u32 ) ; } impl :: std :: convert :: From < u32 > for MOUSEHOOKSTRUCTEX_mouseData { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MOUSEHOOKSTRUCTEX_mouseData { type Abi = Self ; } impl :: std :: ops :: BitOr for MOUSEHOOKSTRUCTEX_mouseData { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for MOUSEHOOKSTRUCTEX_mouseData { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for MOUSEHOOKSTRUCTEX_mouseData { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for MOUSEHOOKSTRUCTEX_mouseData { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MOUSEHOOKSTRUCTEX { pub __AnonymousBase_winuser_L1173_C46 : MOUSEHOOKSTRUCT , pub mouseData : MOUSEHOOKSTRUCTEX_mouseData } impl MOUSEHOOKSTRUCTEX { } impl :: std :: default :: Default for MOUSEHOOKSTRUCTEX { fn default ( ) -> Self { Self { __AnonymousBase_winuser_L1173_C46 : :: std :: default :: Default :: default ( ) , mouseData : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for MOUSEHOOKSTRUCTEX { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MOUSEHOOKSTRUCTEX" ) . field ( "__AnonymousBase_winuser_L1173_C46" , & format_args ! ( "{:?}" , self . __AnonymousBase_winuser_L1173_C46 ) ) . field ( "mouseData" , & format_args ! ( "{:?}" , self . mouseData ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MOUSEHOOKSTRUCTEX { fn eq ( & self , other : & Self ) -> bool { self . __AnonymousBase_winuser_L1173_C46 == other . __AnonymousBase_winuser_L1173_C46 && self . mouseData == other . mouseData } } impl :: std :: cmp :: Eq for MOUSEHOOKSTRUCTEX { } unsafe impl :: windows :: Abi for MOUSEHOOKSTRUCTEX { type Abi = Self ; } pub const MOUSEWHEEL_ROUTING_FOCUS : u32 = 0u32 ; pub const MOUSEWHEEL_ROUTING_HYBRID : u32 = 1u32 ; pub const MOUSEWHEEL_ROUTING_MOUSE_POS : u32 = 2u32 ; pub type MSGBOXCALLBACK = extern "system" fn ( lphelpinfo : * mut super :: Shell :: HELPINFO ) ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MSGBOXPARAMSA { pub cbSize : u32 , pub hwndOwner : HWND , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpszText : super :: SystemServices :: PSTR , pub lpszCaption : super :: SystemServices :: PSTR , pub dwStyle : MESSAGEBOX_STYLE , pub lpszIcon : super :: SystemServices :: PSTR , pub dwContextHelpId : usize , pub lpfnMsgBoxCallback : :: std :: option :: Option < MSGBOXCALLBACK > , pub dwLanguageId : u32 } impl MSGBOXPARAMSA { } impl :: std :: default :: Default for MSGBOXPARAMSA { fn default ( ) -> Self { Self { cbSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , lpszText : :: std :: default :: Default :: default ( ) , lpszCaption : :: std :: default :: Default :: default ( ) , dwStyle : :: std :: default :: Default :: default ( ) , lpszIcon : :: std :: default :: Default :: default ( ) , dwContextHelpId : 0 , lpfnMsgBoxCallback : :: std :: default :: Default :: default ( ) , dwLanguageId : 0 } } } impl :: std :: fmt :: Debug for MSGBOXPARAMSA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MSGBOXPARAMSA" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lpszText" , & format_args ! ( "{:?}" , self . lpszText ) ) . field ( "lpszCaption" , & format_args ! ( "{:?}" , self . lpszCaption ) ) . field ( "dwStyle" , & format_args ! ( "{:?}" , self . dwStyle ) ) . field ( "lpszIcon" , & format_args ! ( "{:?}" , self . lpszIcon ) ) . field ( "dwContextHelpId" , & format_args ! ( "{:?}" , self . dwContextHelpId ) ) . field ( "dwLanguageId" , & format_args ! ( "{:?}" , self . dwLanguageId ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MSGBOXPARAMSA { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . hwndOwner == other . hwndOwner && self . hInstance == other . hInstance && self . lpszText == other . lpszText && self . lpszCaption == other . lpszCaption && self . dwStyle == other . dwStyle && self . lpszIcon == other . lpszIcon && self . dwContextHelpId == other . dwContextHelpId && self . lpfnMsgBoxCallback . map ( | f | f as usize ) == other . lpfnMsgBoxCallback . map ( | f | f as usize ) && self . dwLanguageId == other . dwLanguageId } } impl :: std :: cmp :: Eq for MSGBOXPARAMSA { } unsafe impl :: windows :: Abi for MSGBOXPARAMSA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MSGBOXPARAMSW { pub cbSize : u32 , pub hwndOwner : HWND , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpszText : super :: SystemServices :: PWSTR , pub lpszCaption : super :: SystemServices :: PWSTR , pub dwStyle : MESSAGEBOX_STYLE , pub lpszIcon : super :: SystemServices :: PWSTR , pub dwContextHelpId : usize , pub lpfnMsgBoxCallback : :: std :: option :: Option < MSGBOXCALLBACK > , pub dwLanguageId : u32 } impl MSGBOXPARAMSW { } impl :: std :: default :: Default for MSGBOXPARAMSW { fn default ( ) -> Self { Self { cbSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , lpszText : :: std :: default :: Default :: default ( ) , lpszCaption : :: std :: default :: Default :: default ( ) , dwStyle : :: std :: default :: Default :: default ( ) , lpszIcon : :: std :: default :: Default :: default ( ) , dwContextHelpId : 0 , lpfnMsgBoxCallback : :: std :: default :: Default :: default ( ) , dwLanguageId : 0 } } } impl :: std :: fmt :: Debug for MSGBOXPARAMSW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MSGBOXPARAMSW" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lpszText" , & format_args ! ( "{:?}" , self . lpszText ) ) . field ( "lpszCaption" , & format_args ! ( "{:?}" , self . lpszCaption ) ) . field ( "dwStyle" , & format_args ! ( "{:?}" , self . dwStyle ) ) . field ( "lpszIcon" , & format_args ! ( "{:?}" , self . lpszIcon ) ) . field ( "dwContextHelpId" , & format_args ! ( "{:?}" , self . dwContextHelpId ) ) . field ( "dwLanguageId" , & format_args ! ( "{:?}" , self . dwLanguageId ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MSGBOXPARAMSW { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . hwndOwner == other . hwndOwner && self . hInstance == other . hInstance && self . lpszText == other . lpszText && self . lpszCaption == other . lpszCaption && self . dwStyle == other . dwStyle && self . lpszIcon == other . lpszIcon && self . dwContextHelpId == other . dwContextHelpId && self . lpfnMsgBoxCallback . map ( | f | f as usize ) == other . lpfnMsgBoxCallback . map ( | f | f as usize ) && self . dwLanguageId == other . dwLanguageId } } impl :: std :: cmp :: Eq for MSGBOXPARAMSW { } unsafe impl :: windows :: Abi for MSGBOXPARAMSW { type Abi = Self ; } pub const MSGF_DIALOGBOX : u32 = 0u32 ; pub const MSGF_MAX : u32 = 8u32 ; pub const MSGF_MENU : u32 = 2u32 ; pub const MSGF_MESSAGEBOX : u32 = 1u32 ; pub const MSGF_NEXTWINDOW : u32 = 6u32 ; pub const MSGF_SCROLLBAR : u32 = 5u32 ; pub const MSGF_USER : u32 = 4096u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MSLLHOOKSTRUCT { pub pt : super :: DisplayDevices :: POINT , pub mouseData : MOUSEHOOKSTRUCTEX_mouseData , pub flags : u32 , pub time : u32 , pub dwExtraInfo : usize } impl MSLLHOOKSTRUCT { } impl :: std :: default :: Default for MSLLHOOKSTRUCT { fn default ( ) -> Self { Self { pt : :: std :: default :: Default :: default ( ) , mouseData : :: std :: default :: Default :: default ( ) , flags : 0 , time : 0 , dwExtraInfo : 0 } } } impl :: std :: fmt :: Debug for MSLLHOOKSTRUCT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MSLLHOOKSTRUCT" ) . field ( "pt" , & format_args ! ( "{:?}" , self . pt ) ) . field ( "mouseData" , & format_args ! ( "{:?}" , self . mouseData ) ) . field ( "flags" , & format_args ! ( "{:?}" , self . flags ) ) . field ( "time" , & format_args ! ( "{:?}" , self . time ) ) . field ( "dwExtraInfo" , & format_args ! ( "{:?}" , self . dwExtraInfo ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MSLLHOOKSTRUCT { fn eq ( & self , other : & Self ) -> bool { self . pt == other . pt && self . mouseData == other . mouseData && self . flags == other . flags && self . time == other . time && self . dwExtraInfo == other . dwExtraInfo } } impl :: std :: cmp :: Eq for MSLLHOOKSTRUCT { } unsafe impl :: windows :: Abi for MSLLHOOKSTRUCT { type Abi = Self ; } pub unsafe fn MapDialogRect < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hdlg : T0__ , lprect : * mut super :: DisplayDevices :: RECT , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MenuItemFromPoint < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T2__ : :: windows :: IntoParam < 'a , super :: DisplayDevices :: POINT > , > ( hwnd : T0__ , hmenu : T1__ , ptscreen : T2__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MessageBoxA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hwnd : T0__ , lptext : T1__ , lpcaption : T2__ , utype : MESSAGEBOX_STYLE , ) -> MESSAGEBOX_RESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MessageBoxExA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hwnd : T0__ , lptext : T1__ , lpcaption : T2__ , utype : MESSAGEBOX_STYLE , wlanguageid : u16 , ) -> MESSAGEBOX_RESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MessageBoxExW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hwnd : T0__ , lptext : T1__ , lpcaption : T2__ , utype : MESSAGEBOX_STYLE , wlanguageid : u16 , ) -> MESSAGEBOX_RESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MessageBoxIndirectA < > ( lpmbp : * const MSGBOXPARAMSA , ) -> MESSAGEBOX_RESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MessageBoxIndirectW < > ( lpmbp : * const MSGBOXPARAMSW , ) -> MESSAGEBOX_RESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MessageBoxW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hwnd : T0__ , lptext : T1__ , lpcaption : T2__ , utype : MESSAGEBOX_STYLE , ) -> MESSAGEBOX_RESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ModifyMenuA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T4__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hmnu : T0__ , uposition : u32 , uflags : MENU_ITEM_FLAGS , uidnewitem : usize , lpnewitem : T4__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ModifyMenuW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T4__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hmnu : T0__ , uposition : u32 , uflags : MENU_ITEM_FLAGS , uidnewitem : usize , lpnewitem : T4__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MoveWindow < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T5__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( hwnd : T0__ , x : i32 , y : i32 , nwidth : i32 , nheight : i32 , brepaint : T5__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MrmPlatformVersion ( pub i32 ) ; impl MrmPlatformVersion { pub const MrmPlatformVersion_Default : Self = Self ( 0i32 ) ; pub const MrmPlatformVersion_Windows10_0_0_0 : Self = Self ( 17432576i32 ) ; pub const MrmPlatformVersion_Windows10_0_0_5 : Self = Self ( 17432581i32 ) ; } impl :: std :: convert :: From < i32 > for MrmPlatformVersion { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MrmPlatformVersion { type Abi = Self ; } pub unsafe fn MrmCreateConfig < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( platformversion : MrmPlatformVersion , defaultqualifiers : T1__ , outputxmlfile : T2__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MrmCreateConfigInMemory < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( platformversion : MrmPlatformVersion , defaultqualifiers : T1__ , outputxmldata : * mut * mut u8 , outputxmlsize : * mut u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MrmResourceIndexerHandle { pub handle : * mut :: std :: ffi :: c_void } impl MrmResourceIndexerHandle { } impl :: std :: default :: Default for MrmResourceIndexerHandle { fn default ( ) -> Self { Self { handle : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for MrmResourceIndexerHandle { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MrmResourceIndexerHandle" ) . field ( "handle" , & format_args ! ( "{:?}" , self . handle ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MrmResourceIndexerHandle { fn eq ( & self , other : & Self ) -> bool { self . handle == other . handle } } impl :: std :: cmp :: Eq for MrmResourceIndexerHandle { } unsafe impl :: windows :: Abi for MrmResourceIndexerHandle { type Abi = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MrmPackagingMode ( pub i32 ) ; impl MrmPackagingMode { pub const MrmPackagingModeStandaloneFile : Self = Self ( 0i32 ) ; pub const MrmPackagingModeAutoSplit : Self = Self ( 1i32 ) ; pub const MrmPackagingModeResourcePack : Self = Self ( 2i32 ) ; } impl :: std :: convert :: From < i32 > for MrmPackagingMode { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MrmPackagingMode { type Abi = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MrmPackagingOptions ( pub i32 ) ; impl MrmPackagingOptions { pub const MrmPackagingOptionsNone : Self = Self ( 0i32 ) ; pub const MrmPackagingOptionsOmitSchemaFromResourcePacks : Self = Self ( 1i32 ) ; pub const MrmPackagingOptionsSplitLanguageVariants : Self = Self ( 2i32 ) ; } impl :: std :: convert :: From < i32 > for MrmPackagingOptions { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MrmPackagingOptions { type Abi = Self ; } pub unsafe fn MrmCreateResourceFile < 'a , T0__ : :: windows :: IntoParam < 'a , MrmResourceIndexerHandle > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( indexer : T0__ , packagingmode : MrmPackagingMode , packagingoptions : MrmPackagingOptions , outputdirectory : T3__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MrmCreateResourceFileInMemory < 'a , T0__ : :: windows :: IntoParam < 'a , MrmResourceIndexerHandle > , > ( indexer : T0__ , packagingmode : MrmPackagingMode , packagingoptions : MrmPackagingOptions , outputpridata : * mut * mut u8 , outputprisize : * mut u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MrmCreateResourceIndexer < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( packagefamilyname : T0__ , projectroot : T1__ , platformversion : MrmPlatformVersion , defaultqualifiers : T3__ , indexer : * mut MrmResourceIndexerHandle , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MrmCreateResourceIndexerFromPreviousPriData < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( projectroot : T0__ , platformversion : MrmPlatformVersion , defaultqualifiers : T2__ , pridata : * mut u8 , prisize : u32 , indexer : * mut MrmResourceIndexerHandle , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MrmCreateResourceIndexerFromPreviousPriFile < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( projectroot : T0__ , platformversion : MrmPlatformVersion , defaultqualifiers : T2__ , prifile : T3__ , indexer : * mut MrmResourceIndexerHandle , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MrmCreateResourceIndexerFromPreviousSchemaData < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( projectroot : T0__ , platformversion : MrmPlatformVersion , defaultqualifiers : T2__ , schemaxmldata : * mut u8 , schemaxmlsize : u32 , indexer : * mut MrmResourceIndexerHandle , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MrmCreateResourceIndexerFromPreviousSchemaFile < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( projectroot : T0__ , platformversion : MrmPlatformVersion , defaultqualifiers : T2__ , schemafile : T3__ , indexer : * mut MrmResourceIndexerHandle , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MrmDestroyIndexerAndMessages < 'a , T0__ : :: windows :: IntoParam < 'a , MrmResourceIndexerHandle > , > ( indexer : T0__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MrmDumpType ( pub i32 ) ; impl MrmDumpType { pub const MrmDumpType_Basic : Self = Self ( 0i32 ) ; pub const MrmDumpType_Detailed : Self = Self ( 1i32 ) ; pub const MrmDumpType_Schema : Self = Self ( 2i32 ) ; } impl :: std :: convert :: From < i32 > for MrmDumpType { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MrmDumpType { type Abi = Self ; } pub unsafe fn MrmDumpPriDataInMemory < > ( inputpridata : * mut u8 , inputprisize : u32 , schemapridata : * mut u8 , schemaprisize : u32 , dumptype : MrmDumpType , outputxmldata : * mut * mut u8 , outputxmlsize : * mut u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MrmDumpPriFile < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( indexfilename : T0__ , schemaprifile : T1__ , dumptype : MrmDumpType , outputxmlfile : T3__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MrmDumpPriFileInMemory < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( indexfilename : T0__ , schemaprifile : T1__ , dumptype : MrmDumpType , outputxmldata : * mut * mut u8 , outputxmlsize : * mut u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MrmFreeMemory < > ( data : * mut u8 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MrmIndexEmbeddedData < 'a , T0__ : :: windows :: IntoParam < 'a , MrmResourceIndexerHandle > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T4__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( indexer : T0__ , resourceuri : T1__ , embeddeddata : * const u8 , embeddeddatasize : u32 , qualifiers : T4__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MrmIndexFile < 'a , T0__ : :: windows :: IntoParam < 'a , MrmResourceIndexerHandle > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( indexer : T0__ , resourceuri : T1__ , filepath : T2__ , qualifiers : T3__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MrmIndexFileAutoQualifiers < 'a , T0__ : :: windows :: IntoParam < 'a , MrmResourceIndexerHandle > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( indexer : T0__ , filepath : T1__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MrmIndexResourceContainerAutoQualifiers < 'a , T0__ : :: windows :: IntoParam < 'a , MrmResourceIndexerHandle > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( indexer : T0__ , containerpath : T1__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MrmIndexString < 'a , T0__ : :: windows :: IntoParam < 'a , MrmResourceIndexerHandle > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( indexer : T0__ , resourceuri : T1__ , resourcestring : T2__ , qualifiers : T3__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MrmResourceIndexerMessageSeverity ( pub i32 ) ; impl MrmResourceIndexerMessageSeverity { pub const MrmResourceIndexerMessageSeverityVerbose : Self = Self ( 0i32 ) ; pub const MrmResourceIndexerMessageSeverityInfo : Self = Self ( 1i32 ) ; pub const MrmResourceIndexerMessageSeverityWarning : Self = Self ( 2i32 ) ; pub const MrmResourceIndexerMessageSeverityError : Self = Self ( 3i32 ) ; } impl :: std :: convert :: From < i32 > for MrmResourceIndexerMessageSeverity { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MrmResourceIndexerMessageSeverity { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MrmResourceIndexerMessage { pub severity : MrmResourceIndexerMessageSeverity , pub id : u32 , pub text : super :: SystemServices :: PWSTR } impl MrmResourceIndexerMessage { } impl :: std :: default :: Default for MrmResourceIndexerMessage { fn default ( ) -> Self { Self { severity : :: std :: default :: Default :: default ( ) , id : 0 , text : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for MrmResourceIndexerMessage { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MrmResourceIndexerMessage" ) . field ( "severity" , & format_args ! ( "{:?}" , self . severity ) ) . field ( "id" , & format_args ! ( "{:?}" , self . id ) ) . field ( "text" , & format_args ! ( "{:?}" , self . text ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MrmResourceIndexerMessage { fn eq ( & self , other : & Self ) -> bool { self . severity == other . severity && self . id == other . id && self . text == other . text } } impl :: std :: cmp :: Eq for MrmResourceIndexerMessage { } unsafe impl :: windows :: Abi for MrmResourceIndexerMessage { type Abi = Self ; } pub unsafe fn MrmPeekResourceIndexerMessages < 'a , T0__ : :: windows :: IntoParam < 'a , MrmResourceIndexerHandle > , > ( handle : T0__ , messages : * mut * mut MrmResourceIndexerMessage , nummsgs : * mut u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub type NAMEENUMPROCA = extern "system" fn ( param0 : super :: SystemServices :: PSTR , param1 : LPARAM ) -> super :: SystemServices :: BOOL ; pub type NAMEENUMPROCW = extern "system" fn ( param0 : super :: SystemServices :: PWSTR , param1 : LPARAM ) -> super :: SystemServices :: BOOL ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct WINDOWPOS { pub hwnd : HWND , pub hwndInsertAfter : HWND , pub x : i32 , pub y : i32 , pub cx : i32 , pub cy : i32 , pub flags : SetWindowPos_uFlags } impl WINDOWPOS { } impl :: std :: default :: Default for WINDOWPOS { fn default ( ) -> Self { Self { hwnd : :: std :: default :: Default :: default ( ) , hwndInsertAfter : :: std :: default :: Default :: default ( ) , x : 0 , y : 0 , cx : 0 , cy : 0 , flags : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for WINDOWPOS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WINDOWPOS" ) . field ( "hwnd" , & format_args ! ( "{:?}" , self . hwnd ) ) . field ( "hwndInsertAfter" , & format_args ! ( "{:?}" , self . hwndInsertAfter ) ) . field ( "x" , & format_args ! ( "{:?}" , self . x ) ) . field ( "y" , & format_args ! ( "{:?}" , self . y ) ) . field ( "cx" , & format_args ! ( "{:?}" , self . cx ) ) . field ( "cy" , & format_args ! ( "{:?}" , self . cy ) ) . field ( "flags" , & format_args ! ( "{:?}" , self . flags ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WINDOWPOS { fn eq ( & self , other : & Self ) -> bool { self . hwnd == other . hwnd && self . hwndInsertAfter == other . hwndInsertAfter && self . x == other . x && self . y == other . y && self . cx == other . cx && self . cy == other . cy && self . flags == other . flags } } impl :: std :: cmp :: Eq for WINDOWPOS { } unsafe impl :: windows :: Abi for WINDOWPOS { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct NCCALCSIZE_PARAMS { pub rgrc : [ super :: DisplayDevices :: RECT ;3 ] , pub lppos : * mut WINDOWPOS } impl NCCALCSIZE_PARAMS { } impl :: std :: default :: Default for NCCALCSIZE_PARAMS { fn default ( ) -> Self { Self { rgrc : [ :: std :: default :: Default :: default ( ) ;3 ] , lppos : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for NCCALCSIZE_PARAMS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NCCALCSIZE_PARAMS" ) . field ( "rgrc" , & format_args ! ( "{:?}" , self . rgrc ) ) . field ( "lppos" , & format_args ! ( "{:?}" , self . lppos ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NCCALCSIZE_PARAMS { fn eq ( & self , other : & Self ) -> bool { self . rgrc == other . rgrc && self . lppos == other . lppos } } impl :: std :: cmp :: Eq for NCCALCSIZE_PARAMS { } unsafe impl :: windows :: Abi for NCCALCSIZE_PARAMS { type Abi = Self ; } pub const NFR_ANSI : u32 = 1u32 ; pub const NFR_UNICODE : u32 = 2u32 ; pub const NF_QUERY : u32 = 3u32 ; pub const NF_REQUERY : u32 = 4u32 ; pub const NID_EXTERNAL_PEN : u32 = 8u32 ; pub const NID_EXTERNAL_TOUCH : u32 = 2u32 ; pub const NID_INTEGRATED_PEN : u32 = 4u32 ; pub const NID_INTEGRATED_TOUCH : u32 = 1u32 ; pub const NID_MULTI_INPUT : u32 = 64u32 ; pub const NID_READY : u32 = 128u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct NONCLIENTMETRICSA { pub cbSize : u32 , pub iBorderWidth : i32 , pub iScrollWidth : i32 , pub iScrollHeight : i32 , pub iCaptionWidth : i32 , pub iCaptionHeight : i32 , pub lfCaptionFont : super :: Shell :: LOGFONTA , pub iSmCaptionWidth : i32 , pub iSmCaptionHeight : i32 , pub lfSmCaptionFont : super :: Shell :: LOGFONTA , pub iMenuWidth : i32 , pub iMenuHeight : i32 , pub lfMenuFont : super :: Shell :: LOGFONTA , pub lfStatusFont : super :: Shell :: LOGFONTA , pub lfMessageFont : super :: Shell :: LOGFONTA , pub iPaddedBorderWidth : i32 } impl NONCLIENTMETRICSA { } impl :: std :: default :: Default for NONCLIENTMETRICSA { fn default ( ) -> Self { Self { cbSize : 0 , iBorderWidth : 0 , iScrollWidth : 0 , iScrollHeight : 0 , iCaptionWidth : 0 , iCaptionHeight : 0 , lfCaptionFont : :: std :: default :: Default :: default ( ) , iSmCaptionWidth : 0 , iSmCaptionHeight : 0 , lfSmCaptionFont : :: std :: default :: Default :: default ( ) , iMenuWidth : 0 , iMenuHeight : 0 , lfMenuFont : :: std :: default :: Default :: default ( ) , lfStatusFont : :: std :: default :: Default :: default ( ) , lfMessageFont : :: std :: default :: Default :: default ( ) , iPaddedBorderWidth : 0 } } } impl :: std :: fmt :: Debug for NONCLIENTMETRICSA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NONCLIENTMETRICSA" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "iBorderWidth" , & format_args ! ( "{:?}" , self . iBorderWidth ) ) . field ( "iScrollWidth" , & format_args ! ( "{:?}" , self . iScrollWidth ) ) . field ( "iScrollHeight" , & format_args ! ( "{:?}" , self . iScrollHeight ) ) . field ( "iCaptionWidth" , & format_args ! ( "{:?}" , self . iCaptionWidth ) ) . field ( "iCaptionHeight" , & format_args ! ( "{:?}" , self . iCaptionHeight ) ) . field ( "lfCaptionFont" , & format_args ! ( "{:?}" , self . lfCaptionFont ) ) . field ( "iSmCaptionWidth" , & format_args ! ( "{:?}" , self . iSmCaptionWidth ) ) . field ( "iSmCaptionHeight" , & format_args ! ( "{:?}" , self . iSmCaptionHeight ) ) . field ( "lfSmCaptionFont" , & format_args ! ( "{:?}" , self . lfSmCaptionFont ) ) . field ( "iMenuWidth" , & format_args ! ( "{:?}" , self . iMenuWidth ) ) . field ( "iMenuHeight" , & format_args ! ( "{:?}" , self . iMenuHeight ) ) . field ( "lfMenuFont" , & format_args ! ( "{:?}" , self . lfMenuFont ) ) . field ( "lfStatusFont" , & format_args ! ( "{:?}" , self . lfStatusFont ) ) . field ( "lfMessageFont" , & format_args ! ( "{:?}" , self . lfMessageFont ) ) . field ( "iPaddedBorderWidth" , & format_args ! ( "{:?}" , self . iPaddedBorderWidth ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NONCLIENTMETRICSA { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . iBorderWidth == other . iBorderWidth && self . iScrollWidth == other . iScrollWidth && self . iScrollHeight == other . iScrollHeight && self . iCaptionWidth == other . iCaptionWidth && self . iCaptionHeight == other . iCaptionHeight && self . lfCaptionFont == other . lfCaptionFont && self . iSmCaptionWidth == other . iSmCaptionWidth && self . iSmCaptionHeight == other . iSmCaptionHeight && self . lfSmCaptionFont == other . lfSmCaptionFont && self . iMenuWidth == other . iMenuWidth && self . iMenuHeight == other . iMenuHeight && self . lfMenuFont == other . lfMenuFont && self . lfStatusFont == other . lfStatusFont && self . lfMessageFont == other . lfMessageFont && self . iPaddedBorderWidth == other . iPaddedBorderWidth } } impl :: std :: cmp :: Eq for NONCLIENTMETRICSA { } unsafe impl :: windows :: Abi for NONCLIENTMETRICSA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct NONCLIENTMETRICSW { pub cbSize : u32 , pub iBorderWidth : i32 , pub iScrollWidth : i32 , pub iScrollHeight : i32 , pub iCaptionWidth : i32 , pub iCaptionHeight : i32 , pub lfCaptionFont : super :: Shell :: LOGFONTW , pub iSmCaptionWidth : i32 , pub iSmCaptionHeight : i32 , pub lfSmCaptionFont : super :: Shell :: LOGFONTW , pub iMenuWidth : i32 , pub iMenuHeight : i32 , pub lfMenuFont : super :: Shell :: LOGFONTW , pub lfStatusFont : super :: Shell :: LOGFONTW , pub lfMessageFont : super :: Shell :: LOGFONTW , pub iPaddedBorderWidth : i32 } impl NONCLIENTMETRICSW { } impl :: std :: default :: Default for NONCLIENTMETRICSW { fn default ( ) -> Self { Self { cbSize : 0 , iBorderWidth : 0 , iScrollWidth : 0 , iScrollHeight : 0 , iCaptionWidth : 0 , iCaptionHeight : 0 , lfCaptionFont : :: std :: default :: Default :: default ( ) , iSmCaptionWidth : 0 , iSmCaptionHeight : 0 , lfSmCaptionFont : :: std :: default :: Default :: default ( ) , iMenuWidth : 0 , iMenuHeight : 0 , lfMenuFont : :: std :: default :: Default :: default ( ) , lfStatusFont : :: std :: default :: Default :: default ( ) , lfMessageFont : :: std :: default :: Default :: default ( ) , iPaddedBorderWidth : 0 } } } impl :: std :: fmt :: Debug for NONCLIENTMETRICSW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NONCLIENTMETRICSW" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "iBorderWidth" , & format_args ! ( "{:?}" , self . iBorderWidth ) ) . field ( "iScrollWidth" , & format_args ! ( "{:?}" , self . iScrollWidth ) ) . field ( "iScrollHeight" , & format_args ! ( "{:?}" , self . iScrollHeight ) ) . field ( "iCaptionWidth" , & format_args ! ( "{:?}" , self . iCaptionWidth ) ) . field ( "iCaptionHeight" , & format_args ! ( "{:?}" , self . iCaptionHeight ) ) . field ( "lfCaptionFont" , & format_args ! ( "{:?}" , self . lfCaptionFont ) ) . field ( "iSmCaptionWidth" , & format_args ! ( "{:?}" , self . iSmCaptionWidth ) ) . field ( "iSmCaptionHeight" , & format_args ! ( "{:?}" , self . iSmCaptionHeight ) ) . field ( "lfSmCaptionFont" , & format_args ! ( "{:?}" , self . lfSmCaptionFont ) ) . field ( "iMenuWidth" , & format_args ! ( "{:?}" , self . iMenuWidth ) ) . field ( "iMenuHeight" , & format_args ! ( "{:?}" , self . iMenuHeight ) ) . field ( "lfMenuFont" , & format_args ! ( "{:?}" , self . lfMenuFont ) ) . field ( "lfStatusFont" , & format_args ! ( "{:?}" , self . lfStatusFont ) ) . field ( "lfMessageFont" , & format_args ! ( "{:?}" , self . lfMessageFont ) ) . field ( "iPaddedBorderWidth" , & format_args ! ( "{:?}" , self . iPaddedBorderWidth ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NONCLIENTMETRICSW { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . iBorderWidth == other . iBorderWidth && self . iScrollWidth == other . iScrollWidth && self . iScrollHeight == other . iScrollHeight && self . iCaptionWidth == other . iCaptionWidth && self . iCaptionHeight == other . iCaptionHeight && self . lfCaptionFont == other . lfCaptionFont && self . iSmCaptionWidth == other . iSmCaptionWidth && self . iSmCaptionHeight == other . iSmCaptionHeight && self . lfSmCaptionFont == other . lfSmCaptionFont && self . iMenuWidth == other . iMenuWidth && self . iMenuHeight == other . iMenuHeight && self . lfMenuFont == other . lfMenuFont && self . lfStatusFont == other . lfStatusFont && self . lfMessageFont == other . lfMessageFont && self . iPaddedBorderWidth == other . iPaddedBorderWidth } } impl :: std :: cmp :: Eq for NONCLIENTMETRICSW { } unsafe impl :: windows :: Abi for NONCLIENTMETRICSW { type Abi = Self ; } pub const OBM_BTNCORNERS : u32 = 32758u32 ; pub const OBM_BTSIZE : u32 = 32761u32 ; pub const OBM_CHECK : u32 = 32760u32 ; pub const OBM_CHECKBOXES : u32 = 32759u32 ; pub const OBM_CLOSE : u32 = 32754u32 ; pub const OBM_COMBO : u32 = 32738u32 ; pub const OBM_DNARROW : u32 = 32752u32 ; pub const OBM_DNARROWD : u32 = 32742u32 ; pub const OBM_DNARROWI : u32 = 32736u32 ; pub const OBM_LFARROW : u32 = 32750u32 ; pub const OBM_LFARROWD : u32 = 32740u32 ; pub const OBM_LFARROWI : u32 = 32734u32 ; pub const OBM_MNARROW : u32 = 32739u32 ; pub const OBM_OLD_CLOSE : u32 = 32767u32 ; pub const OBM_OLD_DNARROW : u32 = 32764u32 ; pub const OBM_OLD_LFARROW : u32 = 32762u32 ; pub const OBM_OLD_REDUCE : u32 = 32757u32 ; pub const OBM_OLD_RESTORE : u32 = 32755u32 ; pub const OBM_OLD_RGARROW : u32 = 32763u32 ; pub const OBM_OLD_UPARROW : u32 = 32765u32 ; pub const OBM_OLD_ZOOM : u32 = 32756u32 ; pub const OBM_REDUCE : u32 = 32749u32 ; pub const OBM_REDUCED : u32 = 32746u32 ; pub const OBM_RESTORE : u32 = 32747u32 ; pub const OBM_RESTORED : u32 = 32744u32 ; pub const OBM_RGARROW : u32 = 32751u32 ; pub const OBM_RGARROWD : u32 = 32741u32 ; pub const OBM_RGARROWI : u32 = 32735u32 ; pub const OBM_SIZE : u32 = 32766u32 ; pub const OBM_UPARROW : u32 = 32753u32 ; pub const OBM_UPARROWD : u32 = 32743u32 ; pub const OBM_UPARROWI : u32 = 32737u32 ; pub const OBM_ZOOM : u32 = 32748u32 ; pub const OBM_ZOOMD : u32 = 32745u32 ; pub const OCR_ICOCUR : u32 = 32647u32 ; pub const OCR_ICON : u32 = 32641u32 ; pub const OCR_SIZE : u32 = 32640u32 ; pub const ODA_DRAWENTIRE : u32 = 1u32 ; pub const ODA_FOCUS : u32 = 4u32 ; pub const ODA_SELECT : u32 = 2u32 ; pub const ODS_CHECKED : u32 = 8u32 ; pub const ODS_COMBOBOXEDIT : u32 = 4096u32 ; pub const ODS_DEFAULT : u32 = 32u32 ; pub const ODS_DISABLED : u32 = 4u32 ; pub const ODS_FOCUS : u32 = 16u32 ; pub const ODS_GRAYED : u32 = 2u32 ; pub const ODS_HOTLIGHT : u32 = 64u32 ; pub const ODS_INACTIVE : u32 = 128u32 ; pub const ODS_NOACCEL : u32 = 256u32 ; pub const ODS_NOFOCUSRECT : u32 = 512u32 ; pub const ODS_SELECTED : u32 = 1u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OFNOTIFYA { pub hdr : super :: Controls :: NMHDR , pub lpOFN : * mut OPENFILENAMEA , pub pszFile : super :: SystemServices :: PSTR } impl OFNOTIFYA { } impl :: std :: default :: Default for OFNOTIFYA { fn default ( ) -> Self { Self { hdr : :: std :: default :: Default :: default ( ) , lpOFN : :: std :: ptr :: null_mut ( ) , pszFile : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for OFNOTIFYA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OFNOTIFYA" ) . field ( "hdr" , & format_args ! ( "{:?}" , self . hdr ) ) . field ( "lpOFN" , & format_args ! ( "{:?}" , self . lpOFN ) ) . field ( "pszFile" , & format_args ! ( "{:?}" , self . pszFile ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OFNOTIFYA { fn eq ( & self , other : & Self ) -> bool { self . hdr == other . hdr && self . lpOFN == other . lpOFN && self . pszFile == other . pszFile } } impl :: std :: cmp :: Eq for OFNOTIFYA { } unsafe impl :: windows :: Abi for OFNOTIFYA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OFNOTIFYEXA { pub hdr : super :: Controls :: NMHDR , pub lpOFN : * mut OPENFILENAMEA , pub psf : * mut :: std :: ffi :: c_void , pub pidl : * mut :: std :: ffi :: c_void } impl OFNOTIFYEXA { } impl :: std :: default :: Default for OFNOTIFYEXA { fn default ( ) -> Self { Self { hdr : :: std :: default :: Default :: default ( ) , lpOFN : :: std :: ptr :: null_mut ( ) , psf : :: std :: ptr :: null_mut ( ) , pidl : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for OFNOTIFYEXA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OFNOTIFYEXA" ) . field ( "hdr" , & format_args ! ( "{:?}" , self . hdr ) ) . field ( "lpOFN" , & format_args ! ( "{:?}" , self . lpOFN ) ) . field ( "psf" , & format_args ! ( "{:?}" , self . psf ) ) . field ( "pidl" , & format_args ! ( "{:?}" , self . pidl ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OFNOTIFYEXA { fn eq ( & self , other : & Self ) -> bool { self . hdr == other . hdr && self . lpOFN == other . lpOFN && self . psf == other . psf && self . pidl == other . pidl } } impl :: std :: cmp :: Eq for OFNOTIFYEXA { } unsafe impl :: windows :: Abi for OFNOTIFYEXA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OFNOTIFYEXW { pub hdr : super :: Controls :: NMHDR , pub lpOFN : * mut OPENFILENAMEW , pub psf : * mut :: std :: ffi :: c_void , pub pidl : * mut :: std :: ffi :: c_void } impl OFNOTIFYEXW { } impl :: std :: default :: Default for OFNOTIFYEXW { fn default ( ) -> Self { Self { hdr : :: std :: default :: Default :: default ( ) , lpOFN : :: std :: ptr :: null_mut ( ) , psf : :: std :: ptr :: null_mut ( ) , pidl : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for OFNOTIFYEXW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OFNOTIFYEXW" ) . field ( "hdr" , & format_args ! ( "{:?}" , self . hdr ) ) . field ( "lpOFN" , & format_args ! ( "{:?}" , self . lpOFN ) ) . field ( "psf" , & format_args ! ( "{:?}" , self . psf ) ) . field ( "pidl" , & format_args ! ( "{:?}" , self . pidl ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OFNOTIFYEXW { fn eq ( & self , other : & Self ) -> bool { self . hdr == other . hdr && self . lpOFN == other . lpOFN && self . psf == other . psf && self . pidl == other . pidl } } impl :: std :: cmp :: Eq for OFNOTIFYEXW { } unsafe impl :: windows :: Abi for OFNOTIFYEXW { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OFNOTIFYW { pub hdr : super :: Controls :: NMHDR , pub lpOFN : * mut OPENFILENAMEW , pub pszFile : super :: SystemServices :: PWSTR } impl OFNOTIFYW { } impl :: std :: default :: Default for OFNOTIFYW { fn default ( ) -> Self { Self { hdr : :: std :: default :: Default :: default ( ) , lpOFN : :: std :: ptr :: null_mut ( ) , pszFile : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for OFNOTIFYW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OFNOTIFYW" ) . field ( "hdr" , & format_args ! ( "{:?}" , self . hdr ) ) . field ( "lpOFN" , & format_args ! ( "{:?}" , self . lpOFN ) ) . field ( "pszFile" , & format_args ! ( "{:?}" , self . pszFile ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OFNOTIFYW { fn eq ( & self , other : & Self ) -> bool { self . hdr == other . hdr && self . lpOFN == other . lpOFN && self . pszFile == other . pszFile } } impl :: std :: cmp :: Eq for OFNOTIFYW { } unsafe impl :: windows :: Abi for OFNOTIFYW { type Abi = Self ; } pub const OFN_SHAREFALLTHROUGH : u32 = 2u32 ; pub const OFN_SHARENOWARN : u32 = 1u32 ; pub const OFN_SHAREWARN : u32 = 0u32 ; pub const OIC_BANG : u32 = 32515u32 ; pub const OIC_HAND : u32 = 32513u32 ; pub const OIC_NOTE : u32 = 32516u32 ; pub const OIC_QUES : u32 = 32514u32 ; pub const OIC_SAMPLE : u32 = 32512u32 ; pub const OIC_SHIELD : u32 = 32518u32 ; pub const OIC_WINLOGO : u32 = 32517u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OPENFILENAME_NT4A { pub lStructSize : u32 , pub hwndOwner : HWND , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpstrFilter : super :: SystemServices :: PSTR , pub lpstrCustomFilter : super :: SystemServices :: PSTR , pub nMaxCustFilter : u32 , pub nFilterIndex : u32 , pub lpstrFile : super :: SystemServices :: PSTR , pub nMaxFile : u32 , pub lpstrFileTitle : super :: SystemServices :: PSTR , pub nMaxFileTitle : u32 , pub lpstrInitialDir : super :: SystemServices :: PSTR , pub lpstrTitle : super :: SystemServices :: PSTR , pub Flags : u32 , pub nFileOffset : u16 , pub nFileExtension : u16 , pub lpstrDefExt : super :: SystemServices :: PSTR , pub lCustData : LPARAM , pub lpfnHook : :: std :: option :: Option < LPOFNHOOKPROC > , pub lpTemplateName : super :: SystemServices :: PSTR } impl OPENFILENAME_NT4A { } impl :: std :: default :: Default for OPENFILENAME_NT4A { fn default ( ) -> Self { Self { lStructSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , lpstrFilter : :: std :: default :: Default :: default ( ) , lpstrCustomFilter : :: std :: default :: Default :: default ( ) , nMaxCustFilter : 0 , nFilterIndex : 0 , lpstrFile : :: std :: default :: Default :: default ( ) , nMaxFile : 0 , lpstrFileTitle : :: std :: default :: Default :: default ( ) , nMaxFileTitle : 0 , lpstrInitialDir : :: std :: default :: Default :: default ( ) , lpstrTitle : :: std :: default :: Default :: default ( ) , Flags : 0 , nFileOffset : 0 , nFileExtension : 0 , lpstrDefExt : :: std :: default :: Default :: default ( ) , lCustData : :: std :: default :: Default :: default ( ) , lpfnHook : :: std :: default :: Default :: default ( ) , lpTemplateName : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for OPENFILENAME_NT4A { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OPENFILENAME_NT4A" ) . field ( "lStructSize" , & format_args ! ( "{:?}" , self . lStructSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lpstrFilter" , & format_args ! ( "{:?}" , self . lpstrFilter ) ) . field ( "lpstrCustomFilter" , & format_args ! ( "{:?}" , self . lpstrCustomFilter ) ) . field ( "nMaxCustFilter" , & format_args ! ( "{:?}" , self . nMaxCustFilter ) ) . field ( "nFilterIndex" , & format_args ! ( "{:?}" , self . nFilterIndex ) ) . field ( "lpstrFile" , & format_args ! ( "{:?}" , self . lpstrFile ) ) . field ( "nMaxFile" , & format_args ! ( "{:?}" , self . nMaxFile ) ) . field ( "lpstrFileTitle" , & format_args ! ( "{:?}" , self . lpstrFileTitle ) ) . field ( "nMaxFileTitle" , & format_args ! ( "{:?}" , self . nMaxFileTitle ) ) . field ( "lpstrInitialDir" , & format_args ! ( "{:?}" , self . lpstrInitialDir ) ) . field ( "lpstrTitle" , & format_args ! ( "{:?}" , self . lpstrTitle ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "nFileOffset" , & format_args ! ( "{:?}" , self . nFileOffset ) ) . field ( "nFileExtension" , & format_args ! ( "{:?}" , self . nFileExtension ) ) . field ( "lpstrDefExt" , & format_args ! ( "{:?}" , self . lpstrDefExt ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "lpTemplateName" , & format_args ! ( "{:?}" , self . lpTemplateName ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OPENFILENAME_NT4A { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . hwndOwner == other . hwndOwner && self . hInstance == other . hInstance && self . lpstrFilter == other . lpstrFilter && self . lpstrCustomFilter == other . lpstrCustomFilter && self . nMaxCustFilter == other . nMaxCustFilter && self . nFilterIndex == other . nFilterIndex && self . lpstrFile == other . lpstrFile && self . nMaxFile == other . nMaxFile && self . lpstrFileTitle == other . lpstrFileTitle && self . nMaxFileTitle == other . nMaxFileTitle && self . lpstrInitialDir == other . lpstrInitialDir && self . lpstrTitle == other . lpstrTitle && self . Flags == other . Flags && self . nFileOffset == other . nFileOffset && self . nFileExtension == other . nFileExtension && self . lpstrDefExt == other . lpstrDefExt && self . lCustData == other . lCustData && self . lpfnHook . map ( | f | f as usize ) == other . lpfnHook . map ( | f | f as usize ) && self . lpTemplateName == other . lpTemplateName } } impl :: std :: cmp :: Eq for OPENFILENAME_NT4A { } unsafe impl :: windows :: Abi for OPENFILENAME_NT4A { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OPENFILENAME_NT4W { pub lStructSize : u32 , pub hwndOwner : HWND , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpstrFilter : super :: SystemServices :: PWSTR , pub lpstrCustomFilter : super :: SystemServices :: PWSTR , pub nMaxCustFilter : u32 , pub nFilterIndex : u32 , pub lpstrFile : super :: SystemServices :: PWSTR , pub nMaxFile : u32 , pub lpstrFileTitle : super :: SystemServices :: PWSTR , pub nMaxFileTitle : u32 , pub lpstrInitialDir : super :: SystemServices :: PWSTR , pub lpstrTitle : super :: SystemServices :: PWSTR , pub Flags : u32 , pub nFileOffset : u16 , pub nFileExtension : u16 , pub lpstrDefExt : super :: SystemServices :: PWSTR , pub lCustData : LPARAM , pub lpfnHook : :: std :: option :: Option < LPOFNHOOKPROC > , pub lpTemplateName : super :: SystemServices :: PWSTR } impl OPENFILENAME_NT4W { } impl :: std :: default :: Default for OPENFILENAME_NT4W { fn default ( ) -> Self { Self { lStructSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , lpstrFilter : :: std :: default :: Default :: default ( ) , lpstrCustomFilter : :: std :: default :: Default :: default ( ) , nMaxCustFilter : 0 , nFilterIndex : 0 , lpstrFile : :: std :: default :: Default :: default ( ) , nMaxFile : 0 , lpstrFileTitle : :: std :: default :: Default :: default ( ) , nMaxFileTitle : 0 , lpstrInitialDir : :: std :: default :: Default :: default ( ) , lpstrTitle : :: std :: default :: Default :: default ( ) , Flags : 0 , nFileOffset : 0 , nFileExtension : 0 , lpstrDefExt : :: std :: default :: Default :: default ( ) , lCustData : :: std :: default :: Default :: default ( ) , lpfnHook : :: std :: default :: Default :: default ( ) , lpTemplateName : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for OPENFILENAME_NT4W { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OPENFILENAME_NT4W" ) . field ( "lStructSize" , & format_args ! ( "{:?}" , self . lStructSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lpstrFilter" , & format_args ! ( "{:?}" , self . lpstrFilter ) ) . field ( "lpstrCustomFilter" , & format_args ! ( "{:?}" , self . lpstrCustomFilter ) ) . field ( "nMaxCustFilter" , & format_args ! ( "{:?}" , self . nMaxCustFilter ) ) . field ( "nFilterIndex" , & format_args ! ( "{:?}" , self . nFilterIndex ) ) . field ( "lpstrFile" , & format_args ! ( "{:?}" , self . lpstrFile ) ) . field ( "nMaxFile" , & format_args ! ( "{:?}" , self . nMaxFile ) ) . field ( "lpstrFileTitle" , & format_args ! ( "{:?}" , self . lpstrFileTitle ) ) . field ( "nMaxFileTitle" , & format_args ! ( "{:?}" , self . nMaxFileTitle ) ) . field ( "lpstrInitialDir" , & format_args ! ( "{:?}" , self . lpstrInitialDir ) ) . field ( "lpstrTitle" , & format_args ! ( "{:?}" , self . lpstrTitle ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "nFileOffset" , & format_args ! ( "{:?}" , self . nFileOffset ) ) . field ( "nFileExtension" , & format_args ! ( "{:?}" , self . nFileExtension ) ) . field ( "lpstrDefExt" , & format_args ! ( "{:?}" , self . lpstrDefExt ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "lpTemplateName" , & format_args ! ( "{:?}" , self . lpTemplateName ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OPENFILENAME_NT4W { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . hwndOwner == other . hwndOwner && self . hInstance == other . hInstance && self . lpstrFilter == other . lpstrFilter && self . lpstrCustomFilter == other . lpstrCustomFilter && self . nMaxCustFilter == other . nMaxCustFilter && self . nFilterIndex == other . nFilterIndex && self . lpstrFile == other . lpstrFile && self . nMaxFile == other . nMaxFile && self . lpstrFileTitle == other . lpstrFileTitle && self . nMaxFileTitle == other . nMaxFileTitle && self . lpstrInitialDir == other . lpstrInitialDir && self . lpstrTitle == other . lpstrTitle && self . Flags == other . Flags && self . nFileOffset == other . nFileOffset && self . nFileExtension == other . nFileExtension && self . lpstrDefExt == other . lpstrDefExt && self . lCustData == other . lCustData && self . lpfnHook . map ( | f | f as usize ) == other . lpfnHook . map ( | f | f as usize ) && self . lpTemplateName == other . lpTemplateName } } impl :: std :: cmp :: Eq for OPENFILENAME_NT4W { } unsafe impl :: windows :: Abi for OPENFILENAME_NT4W { type Abi = Self ; } pub const ORD_LANGDRIVER : u32 = 1u32 ; pub unsafe fn OemToCharA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( psrc : T0__ , pdst : super :: SystemServices :: PSTR , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OemToCharBuffA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpszsrc : T0__ , lpszdst : super :: SystemServices :: PSTR , cchdstlength : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OemToCharBuffW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpszsrc : T0__ , lpszdst : super :: SystemServices :: PWSTR , cchdstlength : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OemToCharW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( psrc : T0__ , pdst : super :: SystemServices :: PWSTR , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OpenIcon < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct PAGESETUPDLGA_Flags ( pub u32 ) ; impl PAGESETUPDLGA_Flags { pub const PSD_DEFAULTMINMARGINS : Self = Self ( 0u32 ) ; pub const PSD_DISABLEMARGINS : Self = Self ( 16u32 ) ; pub const PSD_DISABLEORIENTATION : Self = Self ( 256u32 ) ; pub const PSD_DISABLEPAGEPAINTING : Self = Self ( 524288u32 ) ; pub const PSD_DISABLEPAPER : Self = Self ( 512u32 ) ; pub const PSD_DISABLEPRINTER : Self = Self ( 32u32 ) ; pub const PSD_ENABLEPAGEPAINTHOOK : Self = Self ( 262144u32 ) ; pub const PSD_ENABLEPAGESETUPHOOK : Self = Self ( 8192u32 ) ; pub const PSD_ENABLEPAGESETUPTEMPLATE : Self = Self ( 32768u32 ) ; pub const PSD_ENABLEPAGESETUPTEMPLATEHANDLE : Self = Self ( 131072u32 ) ; pub const PSD_INHUNDREDTHSOFMILLIMETERS : Self = Self ( 8u32 ) ; pub const PSD_INTHOUSANDTHSOFINCHES : Self = Self ( 4u32 ) ; pub const PSD_INWININIINTLMEASURE : Self = Self ( 0u32 ) ; pub const PSD_MARGINS : Self = Self ( 2u32 ) ; pub const PSD_MINMARGINS : Self = Self ( 1u32 ) ; pub const PSD_NONETWORKBUTTON : Self = Self ( 2097152u32 ) ; pub const PSD_NOWARNING : Self = Self ( 128u32 ) ; pub const PSD_RETURNDEFAULT : Self = Self ( 1024u32 ) ; pub const PSD_SHOWHELP : Self = Self ( 2048u32 ) ; } impl :: std :: convert :: From < u32 > for PAGESETUPDLGA_Flags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PAGESETUPDLGA_Flags { type Abi = Self ; } impl :: std :: ops :: BitOr for PAGESETUPDLGA_Flags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for PAGESETUPDLGA_Flags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for PAGESETUPDLGA_Flags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for PAGESETUPDLGA_Flags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct PAGESETUPDLGA { pub lStructSize : u32 , pub hwndOwner : HWND , pub hDevMode : isize , pub hDevNames : isize , pub Flags : PAGESETUPDLGA_Flags , pub ptPaperSize : super :: DisplayDevices :: POINT , pub rtMinMargin : super :: DisplayDevices :: RECT , pub rtMargin : super :: DisplayDevices :: RECT , pub hInstance : super :: SystemServices :: HINSTANCE , pub lCustData : LPARAM , pub lpfnPageSetupHook : :: std :: option :: Option < LPPAGESETUPHOOK > , pub lpfnPagePaintHook : :: std :: option :: Option < LPPAGEPAINTHOOK > , pub lpPageSetupTemplateName : super :: SystemServices :: PSTR , pub hPageSetupTemplate : isize } impl PAGESETUPDLGA { } impl :: std :: default :: Default for PAGESETUPDLGA { fn default ( ) -> Self { Self { lStructSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hDevMode : 0 , hDevNames : 0 , Flags : :: std :: default :: Default :: default ( ) , ptPaperSize : :: std :: default :: Default :: default ( ) , rtMinMargin : :: std :: default :: Default :: default ( ) , rtMargin : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , lCustData : :: std :: default :: Default :: default ( ) , lpfnPageSetupHook : :: std :: default :: Default :: default ( ) , lpfnPagePaintHook : :: std :: default :: Default :: default ( ) , lpPageSetupTemplateName : :: std :: default :: Default :: default ( ) , hPageSetupTemplate : 0 } } } impl :: std :: fmt :: Debug for PAGESETUPDLGA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PAGESETUPDLGA" ) . field ( "lStructSize" , & format_args ! ( "{:?}" , self . lStructSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hDevMode" , & format_args ! ( "{:?}" , self . hDevMode ) ) . field ( "hDevNames" , & format_args ! ( "{:?}" , self . hDevNames ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "ptPaperSize" , & format_args ! ( "{:?}" , self . ptPaperSize ) ) . field ( "rtMinMargin" , & format_args ! ( "{:?}" , self . rtMinMargin ) ) . field ( "rtMargin" , & format_args ! ( "{:?}" , self . rtMargin ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "lpPageSetupTemplateName" , & format_args ! ( "{:?}" , self . lpPageSetupTemplateName ) ) . field ( "hPageSetupTemplate" , & format_args ! ( "{:?}" , self . hPageSetupTemplate ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PAGESETUPDLGA { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . hwndOwner == other . hwndOwner && self . hDevMode == other . hDevMode && self . hDevNames == other . hDevNames && self . Flags == other . Flags && self . ptPaperSize == other . ptPaperSize && self . rtMinMargin == other . rtMinMargin && self . rtMargin == other . rtMargin && self . hInstance == other . hInstance && self . lCustData == other . lCustData && self . lpfnPageSetupHook . map ( | f | f as usize ) == other . lpfnPageSetupHook . map ( | f | f as usize ) && self . lpfnPagePaintHook . map ( | f | f as usize ) == other . lpfnPagePaintHook . map ( | f | f as usize ) && self . lpPageSetupTemplateName == other . lpPageSetupTemplateName && self . hPageSetupTemplate == other . hPageSetupTemplate } } impl :: std :: cmp :: Eq for PAGESETUPDLGA { } unsafe impl :: windows :: Abi for PAGESETUPDLGA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct PAGESETUPDLGW { pub lStructSize : u32 , pub hwndOwner : HWND , pub hDevMode : isize , pub hDevNames : isize , pub Flags : PAGESETUPDLGA_Flags , pub ptPaperSize : super :: DisplayDevices :: POINT , pub rtMinMargin : super :: DisplayDevices :: RECT , pub rtMargin : super :: DisplayDevices :: RECT , pub hInstance : super :: SystemServices :: HINSTANCE , pub lCustData : LPARAM , pub lpfnPageSetupHook : :: std :: option :: Option < LPPAGESETUPHOOK > , pub lpfnPagePaintHook : :: std :: option :: Option < LPPAGEPAINTHOOK > , pub lpPageSetupTemplateName : super :: SystemServices :: PWSTR , pub hPageSetupTemplate : isize } impl PAGESETUPDLGW { } impl :: std :: default :: Default for PAGESETUPDLGW { fn default ( ) -> Self { Self { lStructSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hDevMode : 0 , hDevNames : 0 , Flags : :: std :: default :: Default :: default ( ) , ptPaperSize : :: std :: default :: Default :: default ( ) , rtMinMargin : :: std :: default :: Default :: default ( ) , rtMargin : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , lCustData : :: std :: default :: Default :: default ( ) , lpfnPageSetupHook : :: std :: default :: Default :: default ( ) , lpfnPagePaintHook : :: std :: default :: Default :: default ( ) , lpPageSetupTemplateName : :: std :: default :: Default :: default ( ) , hPageSetupTemplate : 0 } } } impl :: std :: fmt :: Debug for PAGESETUPDLGW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PAGESETUPDLGW" ) . field ( "lStructSize" , & format_args ! ( "{:?}" , self . lStructSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hDevMode" , & format_args ! ( "{:?}" , self . hDevMode ) ) . field ( "hDevNames" , & format_args ! ( "{:?}" , self . hDevNames ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "ptPaperSize" , & format_args ! ( "{:?}" , self . ptPaperSize ) ) . field ( "rtMinMargin" , & format_args ! ( "{:?}" , self . rtMinMargin ) ) . field ( "rtMargin" , & format_args ! ( "{:?}" , self . rtMargin ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "lpPageSetupTemplateName" , & format_args ! ( "{:?}" , self . lpPageSetupTemplateName ) ) . field ( "hPageSetupTemplate" , & format_args ! ( "{:?}" , self . hPageSetupTemplate ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PAGESETUPDLGW { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . hwndOwner == other . hwndOwner && self . hDevMode == other . hDevMode && self . hDevNames == other . hDevNames && self . Flags == other . Flags && self . ptPaperSize == other . ptPaperSize && self . rtMinMargin == other . rtMinMargin && self . rtMargin == other . rtMargin && self . hInstance == other . hInstance && self . lCustData == other . lCustData && self . lpfnPageSetupHook . map ( | f | f as usize ) == other . lpfnPageSetupHook . map ( | f | f as usize ) && self . lpfnPagePaintHook . map ( | f | f as usize ) == other . lpfnPagePaintHook . map ( | f | f as usize ) && self . lpPageSetupTemplateName == other . lpPageSetupTemplateName && self . hPageSetupTemplate == other . hPageSetupTemplate } } impl :: std :: cmp :: Eq for PAGESETUPDLGW { } unsafe impl :: windows :: Abi for PAGESETUPDLGW { type Abi = Self ; } pub const PBTF_APMRESUMEFROMFAILURE : u32 = 1u32 ; pub const PBT_APMBATTERYLOW : u32 = 9u32 ; pub const PBT_APMOEMEVENT : u32 = 11u32 ; pub const PBT_APMPOWERSTATUSCHANGE : u32 = 10u32 ; pub const PBT_APMQUERYSTANDBY : u32 = 1u32 ; pub const PBT_APMQUERYSTANDBYFAILED : u32 = 3u32 ; pub const PBT_APMQUERYSUSPEND : u32 = 0u32 ; pub const PBT_APMQUERYSUSPENDFAILED : u32 = 2u32 ; pub const PBT_APMRESUMEAUTOMATIC : u32 = 18u32 ; pub const PBT_APMRESUMECRITICAL : u32 = 6u32 ; pub const PBT_APMRESUMESTANDBY : u32 = 8u32 ; pub const PBT_APMRESUMESUSPEND : u32 = 7u32 ; pub const PBT_APMSTANDBY : u32 = 5u32 ; pub const PBT_APMSUSPEND : u32 = 4u32 ; pub const PBT_POWERSETTINGCHANGE : u32 = 32787u32 ; pub const PDC_ARRIVAL : u32 = 1u32 ; pub const PDC_MAPPING_CHANGE : u32 = 256u32 ; pub const PDC_MODE_ASPECTRATIOPRESERVED : u32 = 2048u32 ; pub const PDC_MODE_CENTERED : u32 = 128u32 ; pub const PDC_MODE_DEFAULT : u32 = 64u32 ; pub const PDC_ORIENTATION_0 : u32 = 4u32 ; pub const PDC_ORIENTATION_180 : u32 = 16u32 ; pub const PDC_ORIENTATION_270 : u32 = 32u32 ; pub const PDC_ORIENTATION_90 : u32 = 8u32 ; pub const PDC_ORIGIN : u32 = 1024u32 ; pub const PDC_REMOVAL : u32 = 2u32 ; pub const PDC_RESOLUTION : u32 = 512u32 ; pub const PD_RESULT_APPLY : u32 = 2u32 ; pub const PD_RESULT_CANCEL : u32 = 0u32 ; pub const PD_RESULT_PRINT : u32 = 1u32 ; pub const PENARBITRATIONTYPE_FIS : u32 = 2u32 ; pub const PENARBITRATIONTYPE_MAX : u32 = 4u32 ; pub const PENARBITRATIONTYPE_NONE : u32 = 0u32 ; pub const PENARBITRATIONTYPE_SPT : u32 = 3u32 ; pub const PENARBITRATIONTYPE_WIN8 : u32 = 1u32 ; pub const PENVISUALIZATION_CURSOR : u32 = 32u32 ; pub const PENVISUALIZATION_DOUBLETAP : u32 = 2u32 ; pub const PENVISUALIZATION_OFF : u32 = 0u32 ; pub const PENVISUALIZATION_ON : u32 = 35u32 ; pub const PENVISUALIZATION_TAP : u32 = 1u32 ; pub const PEN_FLAG_BARREL : u32 = 1u32 ; pub const PEN_FLAG_ERASER : u32 = 4u32 ; pub const PEN_FLAG_INVERTED : u32 = 2u32 ; pub const PEN_FLAG_NONE : u32 = 0u32 ; pub const PEN_MASK_NONE : u32 = 0u32 ; pub const PEN_MASK_PRESSURE : u32 = 1u32 ; pub const PEN_MASK_ROTATION : u32 = 2u32 ; pub const PEN_MASK_TILT_X : u32 = 4u32 ; pub const PEN_MASK_TILT_Y : u32 = 8u32 ; pub const PMB_ACTIVE : u32 = 1u32 ; pub const POINTER_DEVICE_PRODUCT_STRING_MAX : u32 = 520u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct POINTER_INPUT_TYPE ( pub i32 ) ; impl POINTER_INPUT_TYPE { pub const PT_POINTER : Self = Self ( 1i32 ) ; pub const PT_TOUCH : Self = Self ( 2i32 ) ; pub const PT_PEN : Self = Self ( 3i32 ) ; pub const PT_MOUSE : Self = Self ( 4i32 ) ; pub const PT_TOUCHPAD : Self = Self ( 5i32 ) ; } impl :: std :: convert :: From < i32 > for POINTER_INPUT_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for POINTER_INPUT_TYPE { type Abi = Self ; } pub const POINTER_MESSAGE_FLAG_CANCELED : u32 = 32768u32 ; pub const POINTER_MESSAGE_FLAG_CONFIDENCE : u32 = 16384u32 ; pub const POINTER_MESSAGE_FLAG_FIFTHBUTTON : u32 = 256u32 ; pub const POINTER_MESSAGE_FLAG_FIRSTBUTTON : u32 = 16u32 ; pub const POINTER_MESSAGE_FLAG_FOURTHBUTTON : u32 = 128u32 ; pub const POINTER_MESSAGE_FLAG_INCONTACT : u32 = 4u32 ; pub const POINTER_MESSAGE_FLAG_INRANGE : u32 = 2u32 ; pub const POINTER_MESSAGE_FLAG_NEW : u32 = 1u32 ; pub const POINTER_MESSAGE_FLAG_PRIMARY : u32 = 8192u32 ; pub const POINTER_MESSAGE_FLAG_SECONDBUTTON : u32 = 32u32 ; pub const POINTER_MESSAGE_FLAG_THIRDBUTTON : u32 = 64u32 ; pub const POINTER_MOD_CTRL : u32 = 8u32 ; pub const POINTER_MOD_SHIFT : u32 = 4u32 ; pub type PREGISTERCLASSNAMEW = extern "system" fn ( param0 : super :: SystemServices :: PWSTR ) -> u8 ; pub const PRF_CHECKVISIBLE : i32 = 1i32 ; pub const PRF_CHILDREN : i32 = 16i32 ; pub const PRF_CLIENT : i32 = 4i32 ; pub const PRF_ERASEBKGND : i32 = 8i32 ; pub const PRF_NONCLIENT : i32 = 2i32 ; pub const PRF_OWNED : i32 = 32i32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct PRINTDLGEXA_Flags ( pub u32 ) ; impl PRINTDLGEXA_Flags { pub const PD_ALLPAGES : Self = Self ( 0u32 ) ; pub const PD_COLLATE : Self = Self ( 16u32 ) ; pub const PD_CURRENTPAGE : Self = Self ( 4194304u32 ) ; pub const PD_DISABLEPRINTTOFILE : Self = Self ( 524288u32 ) ; pub const PD_ENABLEPRINTTEMPLATE : Self = Self ( 16384u32 ) ; pub const PD_ENABLEPRINTTEMPLATEHANDLE : Self = Self ( 65536u32 ) ; pub const PD_EXCLUSIONFLAGS : Self = Self ( 16777216u32 ) ; pub const PD_HIDEPRINTTOFILE : Self = Self ( 1048576u32 ) ; pub const PD_NOCURRENTPAGE : Self = Self ( 8388608u32 ) ; pub const PD_NOPAGENUMS : Self = Self ( 8u32 ) ; pub const PD_NOSELECTION : Self = Self ( 4u32 ) ; pub const PD_NOWARNING : Self = Self ( 128u32 ) ; pub const PD_PAGENUMS : Self = Self ( 2u32 ) ; pub const PD_PRINTTOFILE : Self = Self ( 32u32 ) ; pub const PD_RETURNDC : Self = Self ( 256u32 ) ; pub const PD_RETURNDEFAULT : Self = Self ( 1024u32 ) ; pub const PD_RETURNIC : Self = Self ( 512u32 ) ; pub const PD_SELECTION : Self = Self ( 1u32 ) ; pub const PD_USEDEVMODECOPIES : Self = Self ( 262144u32 ) ; pub const PD_USEDEVMODECOPIESANDCOLLATE : Self = Self ( 262144u32 ) ; pub const PD_USELARGETEMPLATE : Self = Self ( 268435456u32 ) ; pub const PD_ENABLEPRINTHOOK : Self = Self ( 4096u32 ) ; pub const PD_ENABLESETUPHOOK : Self = Self ( 8192u32 ) ; pub const PD_ENABLESETUPTEMPLATE : Self = Self ( 32768u32 ) ; pub const PD_ENABLESETUPTEMPLATEHANDLE : Self = Self ( 131072u32 ) ; pub const PD_NONETWORKBUTTON : Self = Self ( 2097152u32 ) ; pub const PD_PRINTSETUP : Self = Self ( 64u32 ) ; pub const PD_SHOWHELP : Self = Self ( 2048u32 ) ; } impl :: std :: convert :: From < u32 > for PRINTDLGEXA_Flags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PRINTDLGEXA_Flags { type Abi = Self ; } impl :: std :: ops :: BitOr for PRINTDLGEXA_Flags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for PRINTDLGEXA_Flags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for PRINTDLGEXA_Flags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for PRINTDLGEXA_Flags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct PRINTDLGA { pub lStructSize : u32 , pub hwndOwner : HWND , pub hDevMode : isize , pub hDevNames : isize , pub hDC : super :: Gdi :: HDC , pub Flags : PRINTDLGEXA_Flags , pub nFromPage : u16 , pub nToPage : u16 , pub nMinPage : u16 , pub nMaxPage : u16 , pub nCopies : u16 , pub hInstance : super :: SystemServices :: HINSTANCE , pub lCustData : LPARAM , pub lpfnPrintHook : :: std :: option :: Option < LPPRINTHOOKPROC > , pub lpfnSetupHook : :: std :: option :: Option < LPSETUPHOOKPROC > , pub lpPrintTemplateName : super :: SystemServices :: PSTR , pub lpSetupTemplateName : super :: SystemServices :: PSTR , pub hPrintTemplate : isize , pub hSetupTemplate : isize } impl PRINTDLGA { } impl :: std :: default :: Default for PRINTDLGA { fn default ( ) -> Self { Self { lStructSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hDevMode : 0 , hDevNames : 0 , hDC : :: std :: default :: Default :: default ( ) , Flags : :: std :: default :: Default :: default ( ) , nFromPage : 0 , nToPage : 0 , nMinPage : 0 , nMaxPage : 0 , nCopies : 0 , hInstance : :: std :: default :: Default :: default ( ) , lCustData : :: std :: default :: Default :: default ( ) , lpfnPrintHook : :: std :: default :: Default :: default ( ) , lpfnSetupHook : :: std :: default :: Default :: default ( ) , lpPrintTemplateName : :: std :: default :: Default :: default ( ) , lpSetupTemplateName : :: std :: default :: Default :: default ( ) , hPrintTemplate : 0 , hSetupTemplate : 0 } } } impl :: std :: fmt :: Debug for PRINTDLGA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PRINTDLGA" ) . field ( "lStructSize" , & format_args ! ( "{:?}" , self . lStructSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hDevMode" , & format_args ! ( "{:?}" , self . hDevMode ) ) . field ( "hDevNames" , & format_args ! ( "{:?}" , self . hDevNames ) ) . field ( "hDC" , & format_args ! ( "{:?}" , self . hDC ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "nFromPage" , & format_args ! ( "{:?}" , self . nFromPage ) ) . field ( "nToPage" , & format_args ! ( "{:?}" , self . nToPage ) ) . field ( "nMinPage" , & format_args ! ( "{:?}" , self . nMinPage ) ) . field ( "nMaxPage" , & format_args ! ( "{:?}" , self . nMaxPage ) ) . field ( "nCopies" , & format_args ! ( "{:?}" , self . nCopies ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "lpPrintTemplateName" , & format_args ! ( "{:?}" , self . lpPrintTemplateName ) ) . field ( "lpSetupTemplateName" , & format_args ! ( "{:?}" , self . lpSetupTemplateName ) ) . field ( "hPrintTemplate" , & format_args ! ( "{:?}" , self . hPrintTemplate ) ) . field ( "hSetupTemplate" , & format_args ! ( "{:?}" , self . hSetupTemplate ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PRINTDLGA { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . hwndOwner == other . hwndOwner && self . hDevMode == other . hDevMode && self . hDevNames == other . hDevNames && self . hDC == other . hDC && self . Flags == other . Flags && self . nFromPage == other . nFromPage && self . nToPage == other . nToPage && self . nMinPage == other . nMinPage && self . nMaxPage == other . nMaxPage && self . nCopies == other . nCopies && self . hInstance == other . hInstance && self . lCustData == other . lCustData && self . lpfnPrintHook . map ( | f | f as usize ) == other . lpfnPrintHook . map ( | f | f as usize ) && self . lpfnSetupHook . map ( | f | f as usize ) == other . lpfnSetupHook . map ( | f | f as usize ) && self . lpPrintTemplateName == other . lpPrintTemplateName && self . lpSetupTemplateName == other . lpSetupTemplateName && self . hPrintTemplate == other . hPrintTemplate && self . hSetupTemplate == other . hSetupTemplate } } impl :: std :: cmp :: Eq for PRINTDLGA { } unsafe impl :: windows :: Abi for PRINTDLGA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct PRINTPAGERANGE { pub nFromPage : u32 , pub nToPage : u32 } impl PRINTPAGERANGE { } impl :: std :: default :: Default for PRINTPAGERANGE { fn default ( ) -> Self { Self { nFromPage : 0 , nToPage : 0 } } } impl :: std :: fmt :: Debug for PRINTPAGERANGE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PRINTPAGERANGE" ) . field ( "nFromPage" , & format_args ! ( "{:?}" , self . nFromPage ) ) . field ( "nToPage" , & format_args ! ( "{:?}" , self . nToPage ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PRINTPAGERANGE { fn eq ( & self , other : & Self ) -> bool { self . nFromPage == other . nFromPage && self . nToPage == other . nToPage } } impl :: std :: cmp :: Eq for PRINTPAGERANGE { } unsafe impl :: windows :: Abi for PRINTPAGERANGE { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone ) ] pub struct PRINTDLGEXA { pub lStructSize : u32 , pub hwndOwner : HWND , pub hDevMode : isize , pub hDevNames : isize , pub hDC : super :: Gdi :: HDC , pub Flags : PRINTDLGEXA_Flags , pub Flags2 : u32 , pub ExclusionFlags : u32 , pub nPageRanges : u32 , pub nMaxPageRanges : u32 , pub lpPageRanges : * mut PRINTPAGERANGE , pub nMinPage : u32 , pub nMaxPage : u32 , pub nCopies : u32 , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpPrintTemplateName : super :: SystemServices :: PSTR , pub lpCallback : :: std :: option :: Option < :: windows :: IUnknown > , pub nPropertyPages : u32 , pub lphPropertyPages : * mut super :: Controls :: HPROPSHEETPAGE , pub nStartPage : u32 , pub dwResultAction : u32 } impl PRINTDLGEXA { } impl :: std :: default :: Default for PRINTDLGEXA { fn default ( ) -> Self { Self { lStructSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hDevMode : 0 , hDevNames : 0 , hDC : :: std :: default :: Default :: default ( ) , Flags : :: std :: default :: Default :: default ( ) , Flags2 : 0 , ExclusionFlags : 0 , nPageRanges : 0 , nMaxPageRanges : 0 , lpPageRanges : :: std :: ptr :: null_mut ( ) , nMinPage : 0 , nMaxPage : 0 , nCopies : 0 , hInstance : :: std :: default :: Default :: default ( ) , lpPrintTemplateName : :: std :: default :: Default :: default ( ) , lpCallback : :: std :: default :: Default :: default ( ) , nPropertyPages : 0 , lphPropertyPages : :: std :: ptr :: null_mut ( ) , nStartPage : 0 , dwResultAction : 0 } } } impl :: std :: fmt :: Debug for PRINTDLGEXA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PRINTDLGEXA" ) . field ( "lStructSize" , & format_args ! ( "{:?}" , self . lStructSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hDevMode" , & format_args ! ( "{:?}" , self . hDevMode ) ) . field ( "hDevNames" , & format_args ! ( "{:?}" , self . hDevNames ) ) . field ( "hDC" , & format_args ! ( "{:?}" , self . hDC ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "Flags2" , & format_args ! ( "{:?}" , self . Flags2 ) ) . field ( "ExclusionFlags" , & format_args ! ( "{:?}" , self . ExclusionFlags ) ) . field ( "nPageRanges" , & format_args ! ( "{:?}" , self . nPageRanges ) ) . field ( "nMaxPageRanges" , & format_args ! ( "{:?}" , self . nMaxPageRanges ) ) . field ( "lpPageRanges" , & format_args ! ( "{:?}" , self . lpPageRanges ) ) . field ( "nMinPage" , & format_args ! ( "{:?}" , self . nMinPage ) ) . field ( "nMaxPage" , & format_args ! ( "{:?}" , self . nMaxPage ) ) . field ( "nCopies" , & format_args ! ( "{:?}" , self . nCopies ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lpPrintTemplateName" , & format_args ! ( "{:?}" , self . lpPrintTemplateName ) ) . field ( "lpCallback" , & format_args ! ( "{:?}" , self . lpCallback ) ) . field ( "nPropertyPages" , & format_args ! ( "{:?}" , self . nPropertyPages ) ) . field ( "lphPropertyPages" , & format_args ! ( "{:?}" , self . lphPropertyPages ) ) . field ( "nStartPage" , & format_args ! ( "{:?}" , self . nStartPage ) ) . field ( "dwResultAction" , & format_args ! ( "{:?}" , self . dwResultAction ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PRINTDLGEXA { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . hwndOwner == other . hwndOwner && self . hDevMode == other . hDevMode && self . hDevNames == other . hDevNames && self . hDC == other . hDC && self . Flags == other . Flags && self . Flags2 == other . Flags2 && self . ExclusionFlags == other . ExclusionFlags && self . nPageRanges == other . nPageRanges && self . nMaxPageRanges == other . nMaxPageRanges && self . lpPageRanges == other . lpPageRanges && self . nMinPage == other . nMinPage && self . nMaxPage == other . nMaxPage && self . nCopies == other . nCopies && self . hInstance == other . hInstance && self . lpPrintTemplateName == other . lpPrintTemplateName && self . lpCallback == other . lpCallback && self . nPropertyPages == other . nPropertyPages && self . lphPropertyPages == other . lphPropertyPages && self . nStartPage == other . nStartPage && self . dwResultAction == other . dwResultAction } } impl :: std :: cmp :: Eq for PRINTDLGEXA { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct PRINTDLGEXA_abi { pub lStructSize : u32 , pub hwndOwner : HWND , pub hDevMode : isize , pub hDevNames : isize , pub hDC : super :: Gdi :: HDC , pub Flags : PRINTDLGEXA_Flags , pub Flags2 : u32 , pub ExclusionFlags : u32 , pub nPageRanges : u32 , pub nMaxPageRanges : u32 , pub lpPageRanges : * mut PRINTPAGERANGE , pub nMinPage : u32 , pub nMaxPage : u32 , pub nCopies : u32 , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpPrintTemplateName : super :: SystemServices :: PSTR , pub lpCallback : :: windows :: RawPtr , pub nPropertyPages : u32 , pub lphPropertyPages : * mut super :: Controls :: HPROPSHEETPAGE , pub nStartPage : u32 , pub dwResultAction : u32 } unsafe impl :: windows :: Abi for PRINTDLGEXA { type Abi = PRINTDLGEXA_abi ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone ) ] pub struct PRINTDLGEXW { pub lStructSize : u32 , pub hwndOwner : HWND , pub hDevMode : isize , pub hDevNames : isize , pub hDC : super :: Gdi :: HDC , pub Flags : PRINTDLGEXA_Flags , pub Flags2 : u32 , pub ExclusionFlags : u32 , pub nPageRanges : u32 , pub nMaxPageRanges : u32 , pub lpPageRanges : * mut PRINTPAGERANGE , pub nMinPage : u32 , pub nMaxPage : u32 , pub nCopies : u32 , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpPrintTemplateName : super :: SystemServices :: PWSTR , pub lpCallback : :: std :: option :: Option < :: windows :: IUnknown > , pub nPropertyPages : u32 , pub lphPropertyPages : * mut super :: Controls :: HPROPSHEETPAGE , pub nStartPage : u32 , pub dwResultAction : u32 } impl PRINTDLGEXW { } impl :: std :: default :: Default for PRINTDLGEXW { fn default ( ) -> Self { Self { lStructSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hDevMode : 0 , hDevNames : 0 , hDC : :: std :: default :: Default :: default ( ) , Flags : :: std :: default :: Default :: default ( ) , Flags2 : 0 , ExclusionFlags : 0 , nPageRanges : 0 , nMaxPageRanges : 0 , lpPageRanges : :: std :: ptr :: null_mut ( ) , nMinPage : 0 , nMaxPage : 0 , nCopies : 0 , hInstance : :: std :: default :: Default :: default ( ) , lpPrintTemplateName : :: std :: default :: Default :: default ( ) , lpCallback : :: std :: default :: Default :: default ( ) , nPropertyPages : 0 , lphPropertyPages : :: std :: ptr :: null_mut ( ) , nStartPage : 0 , dwResultAction : 0 } } } impl :: std :: fmt :: Debug for PRINTDLGEXW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PRINTDLGEXW" ) . field ( "lStructSize" , & format_args ! ( "{:?}" , self . lStructSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hDevMode" , & format_args ! ( "{:?}" , self . hDevMode ) ) . field ( "hDevNames" , & format_args ! ( "{:?}" , self . hDevNames ) ) . field ( "hDC" , & format_args ! ( "{:?}" , self . hDC ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "Flags2" , & format_args ! ( "{:?}" , self . Flags2 ) ) . field ( "ExclusionFlags" , & format_args ! ( "{:?}" , self . ExclusionFlags ) ) . field ( "nPageRanges" , & format_args ! ( "{:?}" , self . nPageRanges ) ) . field ( "nMaxPageRanges" , & format_args ! ( "{:?}" , self . nMaxPageRanges ) ) . field ( "lpPageRanges" , & format_args ! ( "{:?}" , self . lpPageRanges ) ) . field ( "nMinPage" , & format_args ! ( "{:?}" , self . nMinPage ) ) . field ( "nMaxPage" , & format_args ! ( "{:?}" , self . nMaxPage ) ) . field ( "nCopies" , & format_args ! ( "{:?}" , self . nCopies ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lpPrintTemplateName" , & format_args ! ( "{:?}" , self . lpPrintTemplateName ) ) . field ( "lpCallback" , & format_args ! ( "{:?}" , self . lpCallback ) ) . field ( "nPropertyPages" , & format_args ! ( "{:?}" , self . nPropertyPages ) ) . field ( "lphPropertyPages" , & format_args ! ( "{:?}" , self . lphPropertyPages ) ) . field ( "nStartPage" , & format_args ! ( "{:?}" , self . nStartPage ) ) . field ( "dwResultAction" , & format_args ! ( "{:?}" , self . dwResultAction ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PRINTDLGEXW { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . hwndOwner == other . hwndOwner && self . hDevMode == other . hDevMode && self . hDevNames == other . hDevNames && self . hDC == other . hDC && self . Flags == other . Flags && self . Flags2 == other . Flags2 && self . ExclusionFlags == other . ExclusionFlags && self . nPageRanges == other . nPageRanges && self . nMaxPageRanges == other . nMaxPageRanges && self . lpPageRanges == other . lpPageRanges && self . nMinPage == other . nMinPage && self . nMaxPage == other . nMaxPage && self . nCopies == other . nCopies && self . hInstance == other . hInstance && self . lpPrintTemplateName == other . lpPrintTemplateName && self . lpCallback == other . lpCallback && self . nPropertyPages == other . nPropertyPages && self . lphPropertyPages == other . lphPropertyPages && self . nStartPage == other . nStartPage && self . dwResultAction == other . dwResultAction } } impl :: std :: cmp :: Eq for PRINTDLGEXW { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct PRINTDLGEXW_abi { pub lStructSize : u32 , pub hwndOwner : HWND , pub hDevMode : isize , pub hDevNames : isize , pub hDC : super :: Gdi :: HDC , pub Flags : PRINTDLGEXA_Flags , pub Flags2 : u32 , pub ExclusionFlags : u32 , pub nPageRanges : u32 , pub nMaxPageRanges : u32 , pub lpPageRanges : * mut PRINTPAGERANGE , pub nMinPage : u32 , pub nMaxPage : u32 , pub nCopies : u32 , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpPrintTemplateName : super :: SystemServices :: PWSTR , pub lpCallback : :: windows :: RawPtr , pub nPropertyPages : u32 , pub lphPropertyPages : * mut super :: Controls :: HPROPSHEETPAGE , pub nStartPage : u32 , pub dwResultAction : u32 } unsafe impl :: windows :: Abi for PRINTDLGEXW { type Abi = PRINTDLGEXW_abi ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct PRINTDLGW { pub lStructSize : u32 , pub hwndOwner : HWND , pub hDevMode : isize , pub hDevNames : isize , pub hDC : super :: Gdi :: HDC , pub Flags : PRINTDLGEXA_Flags , pub nFromPage : u16 , pub nToPage : u16 , pub nMinPage : u16 , pub nMaxPage : u16 , pub nCopies : u16 , pub hInstance : super :: SystemServices :: HINSTANCE , pub lCustData : LPARAM , pub lpfnPrintHook : :: std :: option :: Option < LPPRINTHOOKPROC > , pub lpfnSetupHook : :: std :: option :: Option < LPSETUPHOOKPROC > , pub lpPrintTemplateName : super :: SystemServices :: PWSTR , pub lpSetupTemplateName : super :: SystemServices :: PWSTR , pub hPrintTemplate : isize , pub hSetupTemplate : isize } impl PRINTDLGW { } impl :: std :: default :: Default for PRINTDLGW { fn default ( ) -> Self { Self { lStructSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hDevMode : 0 , hDevNames : 0 , hDC : :: std :: default :: Default :: default ( ) , Flags : :: std :: default :: Default :: default ( ) , nFromPage : 0 , nToPage : 0 , nMinPage : 0 , nMaxPage : 0 , nCopies : 0 , hInstance : :: std :: default :: Default :: default ( ) , lCustData : :: std :: default :: Default :: default ( ) , lpfnPrintHook : :: std :: default :: Default :: default ( ) , lpfnSetupHook : :: std :: default :: Default :: default ( ) , lpPrintTemplateName : :: std :: default :: Default :: default ( ) , lpSetupTemplateName : :: std :: default :: Default :: default ( ) , hPrintTemplate : 0 , hSetupTemplate : 0 } } } impl :: std :: fmt :: Debug for PRINTDLGW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PRINTDLGW" ) . field ( "lStructSize" , & format_args ! ( "{:?}" , self . lStructSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hDevMode" , & format_args ! ( "{:?}" , self . hDevMode ) ) . field ( "hDevNames" , & format_args ! ( "{:?}" , self . hDevNames ) ) . field ( "hDC" , & format_args ! ( "{:?}" , self . hDC ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "nFromPage" , & format_args ! ( "{:?}" , self . nFromPage ) ) . field ( "nToPage" , & format_args ! ( "{:?}" , self . nToPage ) ) . field ( "nMinPage" , & format_args ! ( "{:?}" , self . nMinPage ) ) . field ( "nMaxPage" , & format_args ! ( "{:?}" , self . nMaxPage ) ) . field ( "nCopies" , & format_args ! ( "{:?}" , self . nCopies ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "lpPrintTemplateName" , & format_args ! ( "{:?}" , self . lpPrintTemplateName ) ) . field ( "lpSetupTemplateName" , & format_args ! ( "{:?}" , self . lpSetupTemplateName ) ) . field ( "hPrintTemplate" , & format_args ! ( "{:?}" , self . hPrintTemplate ) ) . field ( "hSetupTemplate" , & format_args ! ( "{:?}" , self . hSetupTemplate ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PRINTDLGW { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . hwndOwner == other . hwndOwner && self . hDevMode == other . hDevMode && self . hDevNames == other . hDevNames && self . hDC == other . hDC && self . Flags == other . Flags && self . nFromPage == other . nFromPage && self . nToPage == other . nToPage && self . nMinPage == other . nMinPage && self . nMaxPage == other . nMaxPage && self . nCopies == other . nCopies && self . hInstance == other . hInstance && self . lCustData == other . lCustData && self . lpfnPrintHook . map ( | f | f as usize ) == other . lpfnPrintHook . map ( | f | f as usize ) && self . lpfnSetupHook . map ( | f | f as usize ) == other . lpfnSetupHook . map ( | f | f as usize ) && self . lpPrintTemplateName == other . lpPrintTemplateName && self . lpSetupTemplateName == other . lpSetupTemplateName && self . hPrintTemplate == other . hPrintTemplate && self . hSetupTemplate == other . hSetupTemplate } } impl :: std :: cmp :: Eq for PRINTDLGW { } unsafe impl :: windows :: Abi for PRINTDLGW { type Abi = Self ; } pub const PS_OPENTYPE_FONTTYPE : u32 = 65536u32 ; pub const PWR_CRITICALRESUME : u32 = 3u32 ; pub const PWR_FAIL : i32 = -1i32 ; pub const PWR_OK : u32 = 1u32 ; pub const PWR_SUSPENDREQUEST : u32 = 1u32 ; pub const PWR_SUSPENDRESUME : u32 = 2u32 ; pub const PW_RENDERFULLCONTENT : u32 = 2u32 ; pub unsafe fn PageSetupDlgA < > ( param0 : * mut PAGESETUPDLGA , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn PageSetupDlgW < > ( param0 : * mut PAGESETUPDLGW , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct PeekMessage_wRemoveMsg ( pub u32 ) ; impl PeekMessage_wRemoveMsg { pub const PM_NOREMOVE : Self = Self ( 0u32 ) ; pub const PM_REMOVE : Self = Self ( 1u32 ) ; pub const PM_NOYIELD : Self = Self ( 2u32 ) ; } impl :: std :: convert :: From < u32 > for PeekMessage_wRemoveMsg { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PeekMessage_wRemoveMsg { type Abi = Self ; } impl :: std :: ops :: BitOr for PeekMessage_wRemoveMsg { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for PeekMessage_wRemoveMsg { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for PeekMessage_wRemoveMsg { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for PeekMessage_wRemoveMsg { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn PeekMessageA < 'a , T1__ : :: windows :: IntoParam < 'a , HWND > , > ( lpmsg : * mut MSG , hwnd : T1__ , wmsgfiltermin : u32 , wmsgfiltermax : u32 , wremovemsg : PeekMessage_wRemoveMsg , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn PeekMessageW < 'a , T1__ : :: windows :: IntoParam < 'a , HWND > , > ( lpmsg : * mut MSG , hwnd : T1__ , wmsgfiltermin : u32 , wmsgfiltermax : u32 , wremovemsg : PeekMessage_wRemoveMsg , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn PhysicalToLogicalPoint < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , lppoint : * mut super :: DisplayDevices :: POINT , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn PostMessageA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwnd : T0__ , msg : u32 , wparam : T2__ , lparam : T3__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn PostMessageW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwnd : T0__ , msg : u32 , wparam : T2__ , lparam : T3__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn PostQuitMessage < > ( nexitcode : i32 , ) { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn PostThreadMessageA < 'a , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( idthread : u32 , msg : u32 , wparam : T2__ , lparam : T3__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn PostThreadMessageW < 'a , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( idthread : u32 , msg : u32 , wparam : T2__ , lparam : T3__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn PrintDlgA < > ( ppd : * mut PRINTDLGA , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn PrintDlgExA < > ( ppd : * mut PRINTDLGEXA , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn PrintDlgExW < > ( ppd : * mut PRINTDLGEXW , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn PrintDlgW < > ( ppd : * mut PRINTDLGW , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn PrivateExtractIconsA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( szfilename : T0__ , niconindex : i32 , cxicon : i32 , cyicon : i32 , phicon : * mut super :: MenusAndResources :: HICON , piconid : * mut u32 , nicons : u32 , flags : u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn PrivateExtractIconsW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( szfilename : T0__ , niconindex : i32 , cxicon : i32 , cyicon : i32 , phicon : * mut super :: MenusAndResources :: HICON , piconid : * mut u32 , nicons : u32 , flags : u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub const QS_POINTER : u32 = 4096u32 ; pub const QS_TOUCH : u32 = 2048u32 ; pub const RES_CURSOR : u32 = 2u32 ; pub const RES_ICON : u32 = 1u32 ; pub const RIDEV_EXMODEMASK : u32 = 240u32 ; pub const RIM_INPUT : u32 = 0u32 ; pub const RIM_INPUTSINK : u32 = 1u32 ; pub const RIM_TYPEMAX : u32 = 2u32 ; pub const RI_KEY_BREAK : u32 = 1u32 ; pub const RI_KEY_E0 : u32 = 2u32 ; pub const RI_KEY_E1 : u32 = 4u32 ; pub const RI_KEY_MAKE : u32 = 0u32 ; pub const RI_KEY_TERMSRV_SET_LED : u32 = 8u32 ; pub const RI_KEY_TERMSRV_SHADOW : u32 = 16u32 ; pub const RI_MOUSE_BUTTON_4_DOWN : u32 = 64u32 ; pub const RI_MOUSE_BUTTON_4_UP : u32 = 128u32 ; pub const RI_MOUSE_BUTTON_5_DOWN : u32 = 256u32 ; pub const RI_MOUSE_BUTTON_5_UP : u32 = 512u32 ; pub const RI_MOUSE_HWHEEL : u32 = 2048u32 ; pub const RI_MOUSE_LEFT_BUTTON_DOWN : u32 = 1u32 ; pub const RI_MOUSE_LEFT_BUTTON_UP : u32 = 2u32 ; pub const RI_MOUSE_MIDDLE_BUTTON_DOWN : u32 = 16u32 ; pub const RI_MOUSE_MIDDLE_BUTTON_UP : u32 = 32u32 ; pub const RI_MOUSE_RIGHT_BUTTON_DOWN : u32 = 4u32 ; pub const RI_MOUSE_RIGHT_BUTTON_UP : u32 = 8u32 ; pub const RI_MOUSE_WHEEL : u32 = 1024u32 ; pub const RT_ACCELERATOR : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 9i32 as _ ) ; pub const RT_ANICURSOR : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 21i32 as _ ) ; pub const RT_ANIICON : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 22i32 as _ ) ; pub const RT_BITMAP : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 2i32 as _ ) ; pub const RT_CURSOR : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 1i32 as _ ) ; pub const RT_DIALOG : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 5i32 as _ ) ; pub const RT_DLGINCLUDE : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 17i32 as _ ) ; pub const RT_FONT : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 8i32 as _ ) ; pub const RT_FONTDIR : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 7i32 as _ ) ; pub const RT_HTML : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 23i32 as _ ) ; pub const RT_ICON : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 3i32 as _ ) ; pub const RT_MANIFEST : u32 = 24u32 ; pub const RT_MENU : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 4i32 as _ ) ; pub const RT_MESSAGETABLE : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 11i32 as _ ) ; pub const RT_PLUGPLAY : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 19i32 as _ ) ; pub const RT_VERSION : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 16i32 as _ ) ; pub const RT_VXD : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 20i32 as _ ) ; pub unsafe fn RealChildWindowFromPoint < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: DisplayDevices :: POINT > , > ( hwndparent : T0__ , ptparentclientcoords : T1__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn RealGetWindowClassA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ptszclassname : super :: SystemServices :: PSTR , cchclassnamemax : u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn RealGetWindowClassW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ptszclassname : super :: SystemServices :: PWSTR , cchclassnamemax : u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn RegisterClassA < > ( lpwndclass : * const WNDCLASSA , ) -> u16 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn RegisterClassExA < > ( param0 : * const WNDCLASSEXA , ) -> u16 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn RegisterClassExW < > ( param0 : * const WNDCLASSEXW , ) -> u16 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn RegisterClassW < > ( lpwndclass : * const WNDCLASSW , ) -> u16 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn RegisterShellHookWindow < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn RegisterWindowMessageA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpstring : T0__ , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn RegisterWindowMessageW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpstring : T0__ , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn RemoveMenu < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hmenu : T0__ , uposition : u32 , uflags : MENU_ITEM_FLAGS , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn RemovePropA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hwnd : T0__ , lpstring : T1__ , ) -> super :: SystemServices :: HANDLE { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn RemovePropW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hwnd : T0__ , lpstring : T1__ , ) -> super :: SystemServices :: HANDLE { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ReplaceTextA < > ( param0 : * mut FINDREPLACEA , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ReplaceTextW < > ( param0 : * mut FINDREPLACEW , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ReplyMessage < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: LRESULT > , > ( lresult : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub const SBM_ENABLE_ARROWS : u32 = 228u32 ; pub const SBM_GETPOS : u32 = 225u32 ; pub const SBM_GETRANGE : u32 = 227u32 ; pub const SBM_GETSCROLLBARINFO : u32 = 235u32 ; pub const SBM_GETSCROLLINFO : u32 = 234u32 ; pub const SBM_SETPOS : u32 = 224u32 ; pub const SBM_SETRANGE : u32 = 226u32 ; pub const SBM_SETRANGEREDRAW : u32 = 230u32 ; pub const SBM_SETSCROLLINFO : u32 = 233u32 ; pub const SB_BOTTOM : u32 = 7u32 ; pub const SB_ENDSCROLL : u32 = 8u32 ; pub const SB_LEFT : u32 = 6u32 ; pub const SB_LINEDOWN : u32 = 1u32 ; pub const SB_LINELEFT : u32 = 0u32 ; pub const SB_LINERIGHT : u32 = 1u32 ; pub const SB_LINEUP : u32 = 0u32 ; pub const SB_PAGEDOWN : u32 = 3u32 ; pub const SB_PAGELEFT : u32 = 2u32 ; pub const SB_PAGERIGHT : u32 = 3u32 ; pub const SB_PAGEUP : u32 = 2u32 ; pub const SB_RIGHT : u32 = 7u32 ; pub const SB_THUMBPOSITION : u32 = 4u32 ; pub const SB_THUMBTRACK : u32 = 5u32 ; pub const SB_TOP : u32 = 6u32 ; pub const SCF_ISSECURE : u32 = 1u32 ; pub const SC_ARRANGE : u32 = 61712u32 ; pub const SC_CLOSE : u32 = 61536u32 ; pub const SC_CONTEXTHELP : u32 = 61824u32 ; pub const SC_DEFAULT : u32 = 61792u32 ; pub const SC_HOTKEY : u32 = 61776u32 ; pub const SC_HSCROLL : u32 = 61568u32 ; pub const SC_KEYMENU : u32 = 61696u32 ; pub const SC_MAXIMIZE : u32 = 61488u32 ; pub const SC_MINIMIZE : u32 = 61472u32 ; pub const SC_MONITORPOWER : u32 = 61808u32 ; pub const SC_MOUSEMENU : u32 = 61584u32 ; pub const SC_MOVE : u32 = 61456u32 ; pub const SC_NEXTWINDOW : u32 = 61504u32 ; pub const SC_PREVWINDOW : u32 = 61520u32 ; pub const SC_RESTORE : u32 = 61728u32 ; pub const SC_SCREENSAVE : u32 = 61760u32 ; pub const SC_SEPARATOR : u32 = 61455u32 ; pub const SC_SIZE : u32 = 61440u32 ; pub const SC_TASKLIST : u32 = 61744u32 ; pub const SC_VSCROLL : u32 = 61552u32 ; pub type SENDASYNCPROC = extern "system" fn ( param0 : HWND , param1 : u32 , param2 : usize , param3 : super :: SystemServices :: LRESULT ) ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct SHELLHOOKINFO { pub hwnd : HWND , pub rc : super :: DisplayDevices :: RECT } impl SHELLHOOKINFO { } impl :: std :: default :: Default for SHELLHOOKINFO { fn default ( ) -> Self { Self { hwnd : :: std :: default :: Default :: default ( ) , rc : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for SHELLHOOKINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SHELLHOOKINFO" ) . field ( "hwnd" , & format_args ! ( "{:?}" , self . hwnd ) ) . field ( "rc" , & format_args ! ( "{:?}" , self . rc ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SHELLHOOKINFO { fn eq ( & self , other : & Self ) -> bool { self . hwnd == other . hwnd && self . rc == other . rc } } impl :: std :: cmp :: Eq for SHELLHOOKINFO { } unsafe impl :: windows :: Abi for SHELLHOOKINFO { type Abi = Self ; } pub const SHOW_FULLSCREEN : u32 = 3u32 ; pub const SHOW_ICONWINDOW : u32 = 2u32 ; pub const SHOW_OPENNOACTIVATE : u32 = 4u32 ; pub const SHOW_OPENWINDOW : u32 = 1u32 ; pub const SIZE_MAXHIDE : u32 = 4u32 ; pub const SIZE_MAXIMIZED : u32 = 2u32 ; pub const SIZE_MAXSHOW : u32 = 3u32 ; pub const SIZE_MINIMIZED : u32 = 1u32 ; pub const SIZE_RESTORED : u32 = 0u32 ; pub const SM_CARETBLINKINGENABLED : u32 = 8194u32 ; pub const SM_CMETRICS : u32 = 76u32 ; pub const SM_RESERVED1 : u32 = 24u32 ; pub const SM_RESERVED2 : u32 = 25u32 ; pub const SM_RESERVED3 : u32 = 26u32 ; pub const SM_RESERVED4 : u32 = 27u32 ; pub const SM_SYSTEMDOCKED : u32 = 8196u32 ; pub const SOUND_SYSTEM_APPEND : u32 = 14u32 ; pub const SOUND_SYSTEM_APPSTART : u32 = 12u32 ; pub const SOUND_SYSTEM_BEEP : u32 = 3u32 ; pub const SOUND_SYSTEM_ERROR : u32 = 4u32 ; pub const SOUND_SYSTEM_FAULT : u32 = 13u32 ; pub const SOUND_SYSTEM_INFORMATION : u32 = 7u32 ; pub const SOUND_SYSTEM_MAXIMIZE : u32 = 8u32 ; pub const SOUND_SYSTEM_MENUCOMMAND : u32 = 15u32 ; pub const SOUND_SYSTEM_MENUPOPUP : u32 = 16u32 ; pub const SOUND_SYSTEM_MINIMIZE : u32 = 9u32 ; pub const SOUND_SYSTEM_QUESTION : u32 = 5u32 ; pub const SOUND_SYSTEM_RESTOREDOWN : u32 = 11u32 ; pub const SOUND_SYSTEM_RESTOREUP : u32 = 10u32 ; pub const SOUND_SYSTEM_SHUTDOWN : u32 = 2u32 ; pub const SOUND_SYSTEM_STARTUP : u32 = 1u32 ; pub const SOUND_SYSTEM_WARNING : u32 = 6u32 ; pub const START_PAGE_GENERAL : u32 = 4294967295u32 ; pub const STATE_SYSTEM_ALERT_HIGH : u32 = 268435456u32 ; pub const STATE_SYSTEM_ALERT_LOW : u32 = 67108864u32 ; pub const STATE_SYSTEM_ALERT_MEDIUM : u32 = 134217728u32 ; pub const STATE_SYSTEM_ANIMATED : u32 = 16384u32 ; pub const STATE_SYSTEM_BUSY : u32 = 2048u32 ; pub const STATE_SYSTEM_CHECKED : u32 = 16u32 ; pub const STATE_SYSTEM_COLLAPSED : u32 = 1024u32 ; pub const STATE_SYSTEM_DEFAULT : u32 = 256u32 ; pub const STATE_SYSTEM_EXPANDED : u32 = 512u32 ; pub const STATE_SYSTEM_EXTSELECTABLE : u32 = 33554432u32 ; pub const STATE_SYSTEM_FLOATING : u32 = 4096u32 ; pub const STATE_SYSTEM_FOCUSED : u32 = 4u32 ; pub const STATE_SYSTEM_HOTTRACKED : u32 = 128u32 ; pub const STATE_SYSTEM_LINKED : u32 = 4194304u32 ; pub const STATE_SYSTEM_MARQUEED : u32 = 8192u32 ; pub const STATE_SYSTEM_MIXED : u32 = 32u32 ; pub const STATE_SYSTEM_MOVEABLE : u32 = 262144u32 ; pub const STATE_SYSTEM_MULTISELECTABLE : u32 = 16777216u32 ; pub const STATE_SYSTEM_PROTECTED : u32 = 536870912u32 ; pub const STATE_SYSTEM_READONLY : u32 = 64u32 ; pub const STATE_SYSTEM_SELECTABLE : u32 = 2097152u32 ; pub const STATE_SYSTEM_SELECTED : u32 = 2u32 ; pub const STATE_SYSTEM_SELFVOICING : u32 = 524288u32 ; pub const STATE_SYSTEM_SIZEABLE : u32 = 131072u32 ; pub const STATE_SYSTEM_TRAVERSED : u32 = 8388608u32 ; pub const STATE_SYSTEM_VALID : u32 = 1073741823u32 ; pub const STM_GETICON : u32 = 369u32 ; pub const STM_GETIMAGE : u32 = 371u32 ; pub const STM_MSGMAX : u32 = 372u32 ; pub const STM_SETICON : u32 = 368u32 ; pub const STM_SETIMAGE : u32 = 370u32 ; pub const STN_CLICKED : u32 = 0u32 ; pub const STN_DBLCLK : u32 = 1u32 ; pub const STN_DISABLE : u32 = 3u32 ; pub const STN_ENABLE : u32 = 2u32 ; pub const STRSAFE_E_END_OF_FILE : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2147024858i32 as _ ) ; pub const STRSAFE_E_INSUFFICIENT_BUFFER : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2147024774i32 as _ ) ; pub const STRSAFE_E_INVALID_PARAMETER : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2147024809i32 as _ ) ; pub const STRSAFE_FILL_BEHIND_NULL : u32 = 512u32 ; pub const STRSAFE_FILL_ON_FAILURE : u32 = 1024u32 ; pub const STRSAFE_IGNORE_NULLS : u32 = 256u32 ; pub const STRSAFE_MAX_CCH : u32 = 2147483647u32 ; pub const STRSAFE_NO_TRUNCATION : u32 = 4096u32 ; pub const STRSAFE_NULL_ON_FAILURE : u32 = 2048u32 ; pub const STRSAFE_USE_SECURE_CRT : u32 = 0u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct STYLESTRUCT { pub styleOld : u32 , pub styleNew : u32 } impl STYLESTRUCT { } impl :: std :: default :: Default for STYLESTRUCT { fn default ( ) -> Self { Self { styleOld : 0 , styleNew : 0 } } } impl :: std :: fmt :: Debug for STYLESTRUCT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STYLESTRUCT" ) . field ( "styleOld" , & format_args ! ( "{:?}" , self . styleOld ) ) . field ( "styleNew" , & format_args ! ( "{:?}" , self . styleNew ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STYLESTRUCT { fn eq ( & self , other : & Self ) -> bool { self . styleOld == other . styleOld && self . styleNew == other . styleNew } } impl :: std :: cmp :: Eq for STYLESTRUCT { } unsafe impl :: windows :: Abi for STYLESTRUCT { type Abi = Self ; } pub const SYMBOL_FONTTYPE : u32 = 524288u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SYSTEM_PARAMETERS_INFO_ACTION ( pub u32 ) ; impl SYSTEM_PARAMETERS_INFO_ACTION { pub const SPI_GETBEEP : Self = Self ( 1u32 ) ; pub const SPI_SETBEEP : Self = Self ( 2u32 ) ; pub const SPI_GETMOUSE : Self = Self ( 3u32 ) ; pub const SPI_SETMOUSE : Self = Self ( 4u32 ) ; pub const SPI_GETBORDER : Self = Self ( 5u32 ) ; pub const SPI_SETBORDER : Self = Self ( 6u32 ) ; pub const SPI_GETKEYBOARDSPEED : Self = Self ( 10u32 ) ; pub const SPI_SETKEYBOARDSPEED : Self = Self ( 11u32 ) ; pub const SPI_LANGDRIVER : Self = Self ( 12u32 ) ; pub const SPI_ICONHORIZONTALSPACING : Self = Self ( 13u32 ) ; pub const SPI_GETSCREENSAVETIMEOUT : Self = Self ( 14u32 ) ; pub const SPI_SETSCREENSAVETIMEOUT : Self = Self ( 15u32 ) ; pub const SPI_GETSCREENSAVEACTIVE : Self = Self ( 16u32 ) ; pub const SPI_SETSCREENSAVEACTIVE : Self = Self ( 17u32 ) ; pub const SPI_GETGRIDGRANULARITY : Self = Self ( 18u32 ) ; pub const SPI_SETGRIDGRANULARITY : Self = Self ( 19u32 ) ; pub const SPI_SETDESKWALLPAPER : Self = Self ( 20u32 ) ; pub const SPI_SETDESKPATTERN : Self = Self ( 21u32 ) ; pub const SPI_GETKEYBOARDDELAY : Self = Self ( 22u32 ) ; pub const SPI_SETKEYBOARDDELAY : Self = Self ( 23u32 ) ; pub const SPI_ICONVERTICALSPACING : Self = Self ( 24u32 ) ; pub const SPI_GETICONTITLEWRAP : Self = Self ( 25u32 ) ; pub const SPI_SETICONTITLEWRAP : Self = Self ( 26u32 ) ; pub const SPI_GETMENUDROPALIGNMENT : Self = Self ( 27u32 ) ; pub const SPI_SETMENUDROPALIGNMENT : Self = Self ( 28u32 ) ; pub const SPI_SETDOUBLECLKWIDTH : Self = Self ( 29u32 ) ; pub const SPI_SETDOUBLECLKHEIGHT : Self = Self ( 30u32 ) ; pub const SPI_GETICONTITLELOGFONT : Self = Self ( 31u32 ) ; pub const SPI_SETDOUBLECLICKTIME : Self = Self ( 32u32 ) ; pub const SPI_SETMOUSEBUTTONSWAP : Self = Self ( 33u32 ) ; pub const SPI_SETICONTITLELOGFONT : Self = Self ( 34u32 ) ; pub const SPI_GETFASTTASKSWITCH : Self = Self ( 35u32 ) ; pub const SPI_SETFASTTASKSWITCH : Self = Self ( 36u32 ) ; pub const SPI_SETDRAGFULLWINDOWS : Self = Self ( 37u32 ) ; pub const SPI_GETDRAGFULLWINDOWS : Self = Self ( 38u32 ) ; pub const SPI_GETNONCLIENTMETRICS : Self = Self ( 41u32 ) ; pub const SPI_SETNONCLIENTMETRICS : Self = Self ( 42u32 ) ; pub const SPI_GETMINIMIZEDMETRICS : Self = Self ( 43u32 ) ; pub const SPI_SETMINIMIZEDMETRICS : Self = Self ( 44u32 ) ; pub const SPI_GETICONMETRICS : Self = Self ( 45u32 ) ; pub const SPI_SETICONMETRICS : Self = Self ( 46u32 ) ; pub const SPI_SETWORKAREA : Self = Self ( 47u32 ) ; pub const SPI_GETWORKAREA : Self = Self ( 48u32 ) ; pub const SPI_SETPENWINDOWS : Self = Self ( 49u32 ) ; pub const SPI_GETHIGHCONTRAST : Self = Self ( 66u32 ) ; pub const SPI_SETHIGHCONTRAST : Self = Self ( 67u32 ) ; pub const SPI_GETKEYBOARDPREF : Self = Self ( 68u32 ) ; pub const SPI_SETKEYBOARDPREF : Self = Self ( 69u32 ) ; pub const SPI_GETSCREENREADER : Self = Self ( 70u32 ) ; pub const SPI_SETSCREENREADER : Self = Self ( 71u32 ) ; pub const SPI_GETANIMATION : Self = Self ( 72u32 ) ; pub const SPI_SETANIMATION : Self = Self ( 73u32 ) ; pub const SPI_GETFONTSMOOTHING : Self = Self ( 74u32 ) ; pub const SPI_SETFONTSMOOTHING : Self = Self ( 75u32 ) ; pub const SPI_SETDRAGWIDTH : Self = Self ( 76u32 ) ; pub const SPI_SETDRAGHEIGHT : Self = Self ( 77u32 ) ; pub const SPI_SETHANDHELD : Self = Self ( 78u32 ) ; pub const SPI_GETLOWPOWERTIMEOUT : Self = Self ( 79u32 ) ; pub const SPI_GETPOWEROFFTIMEOUT : Self = Self ( 80u32 ) ; pub const SPI_SETLOWPOWERTIMEOUT : Self = Self ( 81u32 ) ; pub const SPI_SETPOWEROFFTIMEOUT : Self = Self ( 82u32 ) ; pub const SPI_GETLOWPOWERACTIVE : Self = Self ( 83u32 ) ; pub const SPI_GETPOWEROFFACTIVE : Self = Self ( 84u32 ) ; pub const SPI_SETLOWPOWERACTIVE : Self = Self ( 85u32 ) ; pub const SPI_SETPOWEROFFACTIVE : Self = Self ( 86u32 ) ; pub const SPI_SETCURSORS : Self = Self ( 87u32 ) ; pub const SPI_SETICONS : Self = Self ( 88u32 ) ; pub const SPI_GETDEFAULTINPUTLANG : Self = Self ( 89u32 ) ; pub const SPI_SETDEFAULTINPUTLANG : Self = Self ( 90u32 ) ; pub const SPI_SETLANGTOGGLE : Self = Self ( 91u32 ) ; pub const SPI_GETWINDOWSEXTENSION : Self = Self ( 92u32 ) ; pub const SPI_SETMOUSETRAILS : Self = Self ( 93u32 ) ; pub const SPI_GETMOUSETRAILS : Self = Self ( 94u32 ) ; pub const SPI_SETSCREENSAVERRUNNING : Self = Self ( 97u32 ) ; pub const SPI_SCREENSAVERRUNNING : Self = Self ( 97u32 ) ; pub const SPI_GETFILTERKEYS : Self = Self ( 50u32 ) ; pub const SPI_SETFILTERKEYS : Self = Self ( 51u32 ) ; pub const SPI_GETTOGGLEKEYS : Self = Self ( 52u32 ) ; pub const SPI_SETTOGGLEKEYS : Self = Self ( 53u32 ) ; pub const SPI_GETMOUSEKEYS : Self = Self ( 54u32 ) ; pub const SPI_SETMOUSEKEYS : Self = Self ( 55u32 ) ; pub const SPI_GETSHOWSOUNDS : Self = Self ( 56u32 ) ; pub const SPI_SETSHOWSOUNDS : Self = Self ( 57u32 ) ; pub const SPI_GETSTICKYKEYS : Self = Self ( 58u32 ) ; pub const SPI_SETSTICKYKEYS : Self = Self ( 59u32 ) ; pub const SPI_GETACCESSTIMEOUT : Self = Self ( 60u32 ) ; pub const SPI_SETACCESSTIMEOUT : Self = Self ( 61u32 ) ; pub const SPI_GETSERIALKEYS : Self = Self ( 62u32 ) ; pub const SPI_SETSERIALKEYS : Self = Self ( 63u32 ) ; pub const SPI_GETSOUNDSENTRY : Self = Self ( 64u32 ) ; pub const SPI_SETSOUNDSENTRY : Self = Self ( 65u32 ) ; pub const SPI_GETSNAPTODEFBUTTON : Self = Self ( 95u32 ) ; pub const SPI_SETSNAPTODEFBUTTON : Self = Self ( 96u32 ) ; pub const SPI_GETMOUSEHOVERWIDTH : Self = Self ( 98u32 ) ; pub const SPI_SETMOUSEHOVERWIDTH : Self = Self ( 99u32 ) ; pub const SPI_GETMOUSEHOVERHEIGHT : Self = Self ( 100u32 ) ; pub const SPI_SETMOUSEHOVERHEIGHT : Self = Self ( 101u32 ) ; pub const SPI_GETMOUSEHOVERTIME : Self = Self ( 102u32 ) ; pub const SPI_SETMOUSEHOVERTIME : Self = Self ( 103u32 ) ; pub const SPI_GETWHEELSCROLLLINES : Self = Self ( 104u32 ) ; pub const SPI_SETWHEELSCROLLLINES : Self = Self ( 105u32 ) ; pub const SPI_GETMENUSHOWDELAY : Self = Self ( 106u32 ) ; pub const SPI_SETMENUSHOWDELAY : Self = Self ( 107u32 ) ; pub const SPI_GETWHEELSCROLLCHARS : Self = Self ( 108u32 ) ; pub const SPI_SETWHEELSCROLLCHARS : Self = Self ( 109u32 ) ; pub const SPI_GETSHOWIMEUI : Self = Self ( 110u32 ) ; pub const SPI_SETSHOWIMEUI : Self = Self ( 111u32 ) ; pub const SPI_GETMOUSESPEED : Self = Self ( 112u32 ) ; pub const SPI_SETMOUSESPEED : Self = Self ( 113u32 ) ; pub const SPI_GETSCREENSAVERRUNNING : Self = Self ( 114u32 ) ; pub const SPI_GETDESKWALLPAPER : Self = Self ( 115u32 ) ; pub const SPI_GETAUDIODESCRIPTION : Self = Self ( 116u32 ) ; pub const SPI_SETAUDIODESCRIPTION : Self = Self ( 117u32 ) ; pub const SPI_GETSCREENSAVESECURE : Self = Self ( 118u32 ) ; pub const SPI_SETSCREENSAVESECURE : Self = Self ( 119u32 ) ; pub const SPI_GETHUNGAPPTIMEOUT : Self = Self ( 120u32 ) ; pub const SPI_SETHUNGAPPTIMEOUT : Self = Self ( 121u32 ) ; pub const SPI_GETWAITTOKILLTIMEOUT : Self = Self ( 122u32 ) ; pub const SPI_SETWAITTOKILLTIMEOUT : Self = Self ( 123u32 ) ; pub const SPI_GETWAITTOKILLSERVICETIMEOUT : Self = Self ( 124u32 ) ; pub const SPI_SETWAITTOKILLSERVICETIMEOUT : Self = Self ( 125u32 ) ; pub const SPI_GETMOUSEDOCKTHRESHOLD : Self = Self ( 126u32 ) ; pub const SPI_SETMOUSEDOCKTHRESHOLD : Self = Self ( 127u32 ) ; pub const SPI_GETPENDOCKTHRESHOLD : Self = Self ( 128u32 ) ; pub const SPI_SETPENDOCKTHRESHOLD : Self = Self ( 129u32 ) ; pub const SPI_GETWINARRANGING : Self = Self ( 130u32 ) ; pub const SPI_SETWINARRANGING : Self = Self ( 131u32 ) ; pub const SPI_GETMOUSEDRAGOUTTHRESHOLD : Self = Self ( 132u32 ) ; pub const SPI_SETMOUSEDRAGOUTTHRESHOLD : Self = Self ( 133u32 ) ; pub const SPI_GETPENDRAGOUTTHRESHOLD : Self = Self ( 134u32 ) ; pub const SPI_SETPENDRAGOUTTHRESHOLD : Self = Self ( 135u32 ) ; pub const SPI_GETMOUSESIDEMOVETHRESHOLD : Self = Self ( 136u32 ) ; pub const SPI_SETMOUSESIDEMOVETHRESHOLD : Self = Self ( 137u32 ) ; pub const SPI_GETPENSIDEMOVETHRESHOLD : Self = Self ( 138u32 ) ; pub const SPI_SETPENSIDEMOVETHRESHOLD : Self = Self ( 139u32 ) ; pub const SPI_GETDRAGFROMMAXIMIZE : Self = Self ( 140u32 ) ; pub const SPI_SETDRAGFROMMAXIMIZE : Self = Self ( 141u32 ) ; pub const SPI_GETSNAPSIZING : Self = Self ( 142u32 ) ; pub const SPI_SETSNAPSIZING : Self = Self ( 143u32 ) ; pub const SPI_GETDOCKMOVING : Self = Self ( 144u32 ) ; pub const SPI_SETDOCKMOVING : Self = Self ( 145u32 ) ; pub const SPI_GETTOUCHPREDICTIONPARAMETERS : Self = Self ( 156u32 ) ; pub const SPI_SETTOUCHPREDICTIONPARAMETERS : Self = Self ( 157u32 ) ; pub const SPI_GETLOGICALDPIOVERRIDE : Self = Self ( 158u32 ) ; pub const SPI_SETLOGICALDPIOVERRIDE : Self = Self ( 159u32 ) ; pub const SPI_GETMENURECT : Self = Self ( 162u32 ) ; pub const SPI_SETMENURECT : Self = Self ( 163u32 ) ; pub const SPI_GETACTIVEWINDOWTRACKING : Self = Self ( 4096u32 ) ; pub const SPI_SETACTIVEWINDOWTRACKING : Self = Self ( 4097u32 ) ; pub const SPI_GETMENUANIMATION : Self = Self ( 4098u32 ) ; pub const SPI_SETMENUANIMATION : Self = Self ( 4099u32 ) ; pub const SPI_GETCOMBOBOXANIMATION : Self = Self ( 4100u32 ) ; pub const SPI_SETCOMBOBOXANIMATION : Self = Self ( 4101u32 ) ; pub const SPI_GETLISTBOXSMOOTHSCROLLING : Self = Self ( 4102u32 ) ; pub const SPI_SETLISTBOXSMOOTHSCROLLING : Self = Self ( 4103u32 ) ; pub const SPI_GETGRADIENTCAPTIONS : Self = Self ( 4104u32 ) ; pub const SPI_SETGRADIENTCAPTIONS : Self = Self ( 4105u32 ) ; pub const SPI_GETKEYBOARDCUES : Self = Self ( 4106u32 ) ; pub const SPI_SETKEYBOARDCUES : Self = Self ( 4107u32 ) ; pub const SPI_GETMENUUNDERLINES : Self = Self ( 4106u32 ) ; pub const SPI_SETMENUUNDERLINES : Self = Self ( 4107u32 ) ; pub const SPI_GETACTIVEWNDTRKZORDER : Self = Self ( 4108u32 ) ; pub const SPI_SETACTIVEWNDTRKZORDER : Self = Self ( 4109u32 ) ; pub const SPI_GETHOTTRACKING : Self = Self ( 4110u32 ) ; pub const SPI_SETHOTTRACKING : Self = Self ( 4111u32 ) ; pub const SPI_GETMENUFADE : Self = Self ( 4114u32 ) ; pub const SPI_SETMENUFADE : Self = Self ( 4115u32 ) ; pub const SPI_GETSELECTIONFADE : Self = Self ( 4116u32 ) ; pub const SPI_SETSELECTIONFADE : Self = Self ( 4117u32 ) ; pub const SPI_GETTOOLTIPANIMATION : Self = Self ( 4118u32 ) ; pub const SPI_SETTOOLTIPANIMATION : Self = Self ( 4119u32 ) ; pub const SPI_GETTOOLTIPFADE : Self = Self ( 4120u32 ) ; pub const SPI_SETTOOLTIPFADE : Self = Self ( 4121u32 ) ; pub const SPI_GETCURSORSHADOW : Self = Self ( 4122u32 ) ; pub const SPI_SETCURSORSHADOW : Self = Self ( 4123u32 ) ; pub const SPI_GETMOUSESONAR : Self = Self ( 4124u32 ) ; pub const SPI_SETMOUSESONAR : Self = Self ( 4125u32 ) ; pub const SPI_GETMOUSECLICKLOCK : Self = Self ( 4126u32 ) ; pub const SPI_SETMOUSECLICKLOCK : Self = Self ( 4127u32 ) ; pub const SPI_GETMOUSEVANISH : Self = Self ( 4128u32 ) ; pub const SPI_SETMOUSEVANISH : Self = Self ( 4129u32 ) ; pub const SPI_GETFLATMENU : Self = Self ( 4130u32 ) ; pub const SPI_SETFLATMENU : Self = Self ( 4131u32 ) ; pub const SPI_GETDROPSHADOW : Self = Self ( 4132u32 ) ; pub const SPI_SETDROPSHADOW : Self = Self ( 4133u32 ) ; pub const SPI_GETBLOCKSENDINPUTRESETS : Self = Self ( 4134u32 ) ; pub const SPI_SETBLOCKSENDINPUTRESETS : Self = Self ( 4135u32 ) ; pub const SPI_GETUIEFFECTS : Self = Self ( 4158u32 ) ; pub const SPI_SETUIEFFECTS : Self = Self ( 4159u32 ) ; pub const SPI_GETDISABLEOVERLAPPEDCONTENT : Self = Self ( 4160u32 ) ; pub const SPI_SETDISABLEOVERLAPPEDCONTENT : Self = Self ( 4161u32 ) ; pub const SPI_GETCLIENTAREAANIMATION : Self = Self ( 4162u32 ) ; pub const SPI_SETCLIENTAREAANIMATION : Self = Self ( 4163u32 ) ; pub const SPI_GETCLEARTYPE : Self = Self ( 4168u32 ) ; pub const SPI_SETCLEARTYPE : Self = Self ( 4169u32 ) ; pub const SPI_GETSPEECHRECOGNITION : Self = Self ( 4170u32 ) ; pub const SPI_SETSPEECHRECOGNITION : Self = Self ( 4171u32 ) ; pub const SPI_GETCARETBROWSING : Self = Self ( 4172u32 ) ; pub const SPI_SETCARETBROWSING : Self = Self ( 4173u32 ) ; pub const SPI_GETTHREADLOCALINPUTSETTINGS : Self = Self ( 4174u32 ) ; pub const SPI_SETTHREADLOCALINPUTSETTINGS : Self = Self ( 4175u32 ) ; pub const SPI_GETSYSTEMLANGUAGEBAR : Self = Self ( 4176u32 ) ; pub const SPI_SETSYSTEMLANGUAGEBAR : Self = Self ( 4177u32 ) ; pub const SPI_GETFOREGROUNDLOCKTIMEOUT : Self = Self ( 8192u32 ) ; pub const SPI_SETFOREGROUNDLOCKTIMEOUT : Self = Self ( 8193u32 ) ; pub const SPI_GETACTIVEWNDTRKTIMEOUT : Self = Self ( 8194u32 ) ; pub const SPI_SETACTIVEWNDTRKTIMEOUT : Self = Self ( 8195u32 ) ; pub const SPI_GETFOREGROUNDFLASHCOUNT : Self = Self ( 8196u32 ) ; pub const SPI_SETFOREGROUNDFLASHCOUNT : Self = Self ( 8197u32 ) ; pub const SPI_GETCARETWIDTH : Self = Self ( 8198u32 ) ; pub const SPI_SETCARETWIDTH : Self = Self ( 8199u32 ) ; pub const SPI_GETMOUSECLICKLOCKTIME : Self = Self ( 8200u32 ) ; pub const SPI_SETMOUSECLICKLOCKTIME : Self = Self ( 8201u32 ) ; pub const SPI_GETFONTSMOOTHINGTYPE : Self = Self ( 8202u32 ) ; pub const SPI_SETFONTSMOOTHINGTYPE : Self = Self ( 8203u32 ) ; pub const SPI_GETFONTSMOOTHINGCONTRAST : Self = Self ( 8204u32 ) ; pub const SPI_SETFONTSMOOTHINGCONTRAST : Self = Self ( 8205u32 ) ; pub const SPI_GETFOCUSBORDERWIDTH : Self = Self ( 8206u32 ) ; pub const SPI_SETFOCUSBORDERWIDTH : Self = Self ( 8207u32 ) ; pub const SPI_GETFOCUSBORDERHEIGHT : Self = Self ( 8208u32 ) ; pub const SPI_SETFOCUSBORDERHEIGHT : Self = Self ( 8209u32 ) ; pub const SPI_GETFONTSMOOTHINGORIENTATION : Self = Self ( 8210u32 ) ; pub const SPI_SETFONTSMOOTHINGORIENTATION : Self = Self ( 8211u32 ) ; pub const SPI_GETMINIMUMHITRADIUS : Self = Self ( 8212u32 ) ; pub const SPI_SETMINIMUMHITRADIUS : Self = Self ( 8213u32 ) ; pub const SPI_GETMESSAGEDURATION : Self = Self ( 8214u32 ) ; pub const SPI_SETMESSAGEDURATION : Self = Self ( 8215u32 ) ; pub const SPI_GETCONTACTVISUALIZATION : Self = Self ( 8216u32 ) ; pub const SPI_SETCONTACTVISUALIZATION : Self = Self ( 8217u32 ) ; pub const SPI_GETGESTUREVISUALIZATION : Self = Self ( 8218u32 ) ; pub const SPI_SETGESTUREVISUALIZATION : Self = Self ( 8219u32 ) ; pub const SPI_GETMOUSEWHEELROUTING : Self = Self ( 8220u32 ) ; pub const SPI_SETMOUSEWHEELROUTING : Self = Self ( 8221u32 ) ; pub const SPI_GETPENVISUALIZATION : Self = Self ( 8222u32 ) ; pub const SPI_SETPENVISUALIZATION : Self = Self ( 8223u32 ) ; pub const SPI_GETPENARBITRATIONTYPE : Self = Self ( 8224u32 ) ; pub const SPI_SETPENARBITRATIONTYPE : Self = Self ( 8225u32 ) ; pub const SPI_GETCARETTIMEOUT : Self = Self ( 8226u32 ) ; pub const SPI_SETCARETTIMEOUT : Self = Self ( 8227u32 ) ; pub const SPI_GETHANDEDNESS : Self = Self ( 8228u32 ) ; pub const SPI_SETHANDEDNESS : Self = Self ( 8229u32 ) ; } impl :: std :: convert :: From < u32 > for SYSTEM_PARAMETERS_INFO_ACTION { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SYSTEM_PARAMETERS_INFO_ACTION { type Abi = Self ; } impl :: std :: ops :: BitOr for SYSTEM_PARAMETERS_INFO_ACTION { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for SYSTEM_PARAMETERS_INFO_ACTION { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for SYSTEM_PARAMETERS_INFO_ACTION { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for SYSTEM_PARAMETERS_INFO_ACTION { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn SendDlgItemMessageA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T3__ : :: windows :: IntoParam < 'a , WPARAM > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hdlg : T0__ , niddlgitem : i32 , msg : u32 , wparam : T3__ , lparam : T4__ , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SendDlgItemMessageW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T3__ : :: windows :: IntoParam < 'a , WPARAM > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hdlg : T0__ , niddlgitem : i32 , msg : u32 , wparam : T3__ , lparam : T4__ , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SendMessageA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , msg : u32 , wparam : WPARAM , lparam : LPARAM , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SendMessageCallbackA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwnd : T0__ , msg : u32 , wparam : T2__ , lparam : T3__ , lpresultcallback : :: std :: option :: Option < SENDASYNCPROC > , dwdata : usize , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SendMessageCallbackW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwnd : T0__ , msg : u32 , wparam : T2__ , lparam : T3__ , lpresultcallback : :: std :: option :: Option < SENDASYNCPROC > , dwdata : usize , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SendMessageTimeout_fuFlags ( pub u32 ) ; impl SendMessageTimeout_fuFlags { pub const SMTO_ABORTIFHUNG : Self = Self ( 2u32 ) ; pub const SMTO_BLOCK : Self = Self ( 1u32 ) ; pub const SMTO_NORMAL : Self = Self ( 0u32 ) ; pub const SMTO_NOTIMEOUTIFNOTHUNG : Self = Self ( 8u32 ) ; pub const SMTO_ERRORONEXIT : Self = Self ( 32u32 ) ; } impl :: std :: convert :: From < u32 > for SendMessageTimeout_fuFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SendMessageTimeout_fuFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for SendMessageTimeout_fuFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for SendMessageTimeout_fuFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for SendMessageTimeout_fuFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for SendMessageTimeout_fuFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn SendMessageTimeoutA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwnd : T0__ , msg : u32 , wparam : T2__ , lparam : T3__ , fuflags : SendMessageTimeout_fuFlags , utimeout : u32 , lpdwresult : * mut usize , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SendMessageTimeoutW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwnd : T0__ , msg : u32 , wparam : T2__ , lparam : T3__ , fuflags : SendMessageTimeout_fuFlags , utimeout : u32 , lpdwresult : * mut usize , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SendMessageW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , msg : u32 , wparam : WPARAM , lparam : LPARAM , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SendNotifyMessageA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwnd : T0__ , msg : u32 , wparam : T2__ , lparam : T3__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SendNotifyMessageW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwnd : T0__ , msg : u32 , wparam : T2__ , lparam : T3__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetCaretBlinkTime < > ( umseconds : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetCaretPos < > ( x : i32 , y : i32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetClassLongA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : GetClassLong_nIndex , dwnewlong : i32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetClassLongPtrA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : GetClassLong_nIndex , dwnewlong : isize , ) -> usize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetClassLongPtrW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : GetClassLong_nIndex , dwnewlong : isize , ) -> usize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetClassLongW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : GetClassLong_nIndex , dwnewlong : i32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetClassWord < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : i32 , wnewword : u16 , ) -> u16 { panic ! ( "Unsupported target OS" ) ; } pub type TIMERPROC = extern "system" fn ( param0 : HWND , param1 : u32 , param2 : usize , param3 : u32 ) ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SetCoalescableTimer_uToleranceDelayFlags ( pub u32 ) ; impl SetCoalescableTimer_uToleranceDelayFlags { pub const TIMERV_DEFAULT_COALESCING : Self = Self ( 0u32 ) ; pub const TIMERV_NO_COALESCING : Self = Self ( 4294967295u32 ) ; } impl :: std :: convert :: From < u32 > for SetCoalescableTimer_uToleranceDelayFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SetCoalescableTimer_uToleranceDelayFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for SetCoalescableTimer_uToleranceDelayFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for SetCoalescableTimer_uToleranceDelayFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for SetCoalescableTimer_uToleranceDelayFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for SetCoalescableTimer_uToleranceDelayFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn SetCoalescableTimer < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nidevent : usize , uelapse : u32 , lptimerfunc : :: std :: option :: Option < TIMERPROC > , utolerancedelay : SetCoalescableTimer_uToleranceDelayFlags , ) -> usize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetCursor < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HCURSOR > , > ( hcursor : T0__ , ) -> super :: MenusAndResources :: HCURSOR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetCursorPos < > ( x : i32 , y : i32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetDebugErrorLevel < > ( dwlevel : u32 , ) { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetDlgItemInt < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( hdlg : T0__ , niddlgitem : i32 , uvalue : u32 , bsigned : T3__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetDlgItemTextA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hdlg : T0__ , niddlgitem : i32 , lpstring : T2__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetDlgItemTextW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hdlg : T0__ , niddlgitem : i32 , lpstring : T2__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetForegroundWindow < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetLayeredWindowAttributes < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , crkey : u32 , balpha : u8 , dwflags : SetLayeredWindowAttributes_dwFlags , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetMenu < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hwnd : T0__ , hmenu : T1__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetMenuDefaultItem < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hmenu : T0__ , uitem : u32 , fbypos : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetMenuInfo < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( param0 : T0__ , param1 : * mut MENUINFO , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetMenuItemBitmaps < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T3__ : :: windows :: IntoParam < 'a , super :: Gdi :: HBITMAP > , T4__ : :: windows :: IntoParam < 'a , super :: Gdi :: HBITMAP > , > ( hmenu : T0__ , uposition : u32 , uflags : MENU_ITEM_FLAGS , hbitmapunchecked : T3__ , hbitmapchecked : T4__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetMenuItemInfoA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( hmenu : T0__ , item : u32 , fbypositon : T2__ , lpmii : * mut MENUITEMINFOA , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetMenuItemInfoW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( hmenu : T0__ , item : u32 , fbypositon : T2__ , lpmii : * mut MENUITEMINFOW , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetMessageExtraInfo < 'a , T0__ : :: windows :: IntoParam < 'a , LPARAM > , > ( lparam : T0__ , ) -> LPARAM { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetMessageQueue < > ( cmessagesmax : i32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetParent < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , HWND > , > ( hwndchild : T0__ , hwndnewparent : T1__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetPhysicalCursorPos < > ( x : i32 , y : i32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetProcessDPIAware < > ( ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetProcessDefaultLayout < > ( dwdefaultlayout : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetPropA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HANDLE > , > ( hwnd : T0__ , lpstring : T1__ , hdata : T2__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetPropW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HANDLE > , > ( hwnd : T0__ , lpstring : T1__ , hdata : T2__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetSysColors < > ( celements : i32 , lpaelements : * const i32 , lpargbvalues : * const u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SetSystemCursor_idFlags ( pub u32 ) ; impl SetSystemCursor_idFlags { pub const OCR_APPSTARTING : Self = Self ( 32650u32 ) ; pub const OCR_NORMAL : Self = Self ( 32512u32 ) ; pub const OCR_CROSS : Self = Self ( 32515u32 ) ; pub const OCR_HAND : Self = Self ( 32649u32 ) ; pub const OCR_HELP : Self = Self ( 32651u32 ) ; pub const OCR_IBEAM : Self = Self ( 32513u32 ) ; pub const OCR_NO : Self = Self ( 32648u32 ) ; pub const OCR_SIZEALL : Self = Self ( 32646u32 ) ; pub const OCR_SIZENESW : Self = Self ( 32643u32 ) ; pub const OCR_SIZENS : Self = Self ( 32645u32 ) ; pub const OCR_SIZENWSE : Self = Self ( 32642u32 ) ; pub const OCR_SIZEWE : Self = Self ( 32644u32 ) ; pub const OCR_UP : Self = Self ( 32516u32 ) ; pub const OCR_WAIT : Self = Self ( 32514u32 ) ; } impl :: std :: convert :: From < u32 > for SetSystemCursor_idFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SetSystemCursor_idFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for SetSystemCursor_idFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for SetSystemCursor_idFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for SetSystemCursor_idFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for SetSystemCursor_idFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn SetSystemCursor < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HCURSOR > , > ( hcur : T0__ , id : SetSystemCursor_idFlags , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetTimer < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nidevent : usize , uelapse : u32 , lptimerfunc : :: std :: option :: Option < TIMERPROC > , ) -> usize { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SetWindowDisplayAffinity_dwAffinityFlags ( pub u32 ) ; impl SetWindowDisplayAffinity_dwAffinityFlags { pub const WDA_NONE : Self = Self ( 0u32 ) ; pub const WDA_MONITOR : Self = Self ( 1u32 ) ; pub const WDA_EXCLUDEFROMCAPTURE : Self = Self ( 17u32 ) ; } impl :: std :: convert :: From < u32 > for SetWindowDisplayAffinity_dwAffinityFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SetWindowDisplayAffinity_dwAffinityFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for SetWindowDisplayAffinity_dwAffinityFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for SetWindowDisplayAffinity_dwAffinityFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for SetWindowDisplayAffinity_dwAffinityFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for SetWindowDisplayAffinity_dwAffinityFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn SetWindowDisplayAffinity < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , dwaffinity : SetWindowDisplayAffinity_dwAffinityFlags , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetWindowLongA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : WINDOW_LONG_PTR_INDEX , dwnewlong : i32 , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetWindowLongPtrA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : WINDOW_LONG_PTR_INDEX , dwnewlong : isize , ) -> isize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetWindowLongPtrW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : WINDOW_LONG_PTR_INDEX , dwnewlong : isize , ) -> isize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetWindowLongW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : WINDOW_LONG_PTR_INDEX , dwnewlong : i32 , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetWindowPlacement < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , lpwndpl : * const WINDOWPLACEMENT , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetWindowPos < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , hwndinsertafter : T1__ , x : i32 , y : i32 , cx : i32 , cy : i32 , uflags : SetWindowPos_uFlags , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetWindowTextA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hwnd : T0__ , lpstring : T1__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetWindowTextW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hwnd : T0__ , lpstring : T1__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetWindowWord < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : i32 , wnewword : u16 , ) -> u16 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetWindowsHookA < > ( nfiltertype : i32 , pfnfilterproc : :: std :: option :: Option < HOOKPROC > , ) -> HHOOK { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SetWindowsHookEx_idHook ( pub i32 ) ; impl SetWindowsHookEx_idHook { pub const WH_CALLWNDPROC : Self = Self ( 4i32 ) ; pub const WH_CALLWNDPROCRET : Self = Self ( 12i32 ) ; pub const WH_CBT : Self = Self ( 5i32 ) ; pub const WH_DEBUG : Self = Self ( 9i32 ) ; pub const WH_FOREGROUNDIDLE : Self = Self ( 11i32 ) ; pub const WH_GETMESSAGE : Self = Self ( 3i32 ) ; pub const WH_JOURNALPLAYBACK : Self = Self ( 1i32 ) ; pub const WH_JOURNALRECORD : Self = Self ( 0i32 ) ; pub const WH_KEYBOARD : Self = Self ( 2i32 ) ; pub const WH_KEYBOARD_LL : Self = Self ( 13i32 ) ; pub const WH_MOUSE : Self = Self ( 7i32 ) ; pub const WH_MOUSE_LL : Self = Self ( 14i32 ) ; pub const WH_MSGFILTER : Self = Self ( -1i32 ) ; pub const WH_SHELL : Self = Self ( 10i32 ) ; pub const WH_SYSMSGFILTER : Self = Self ( 6i32 ) ; } impl :: std :: convert :: From < i32 > for SetWindowsHookEx_idHook { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SetWindowsHookEx_idHook { type Abi = Self ; } pub unsafe fn SetWindowsHookExA < 'a , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , > ( idhook : SetWindowsHookEx_idHook , lpfn : :: std :: option :: Option < HOOKPROC > , hmod : T2__ , dwthreadid : u32 , ) -> HHOOK { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetWindowsHookExW < 'a , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , > ( idhook : SetWindowsHookEx_idHook , lpfn : :: std :: option :: Option < HOOKPROC > , hmod : T2__ , dwthreadid : u32 , ) -> HHOOK { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetWindowsHookW < > ( nfiltertype : i32 , pfnfilterproc : :: std :: option :: Option < HOOKPROC > , ) -> HHOOK { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ShowCaret < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ShowCursor < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( bshow : T0__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ShowOwnedPopups < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( hwnd : T0__ , fshow : T1__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ShowWindow < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ncmdshow : SHOW_WINDOW_CMD , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ShowWindowAsync < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ncmdshow : i32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SizeofResource < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HRSRC > , > ( hmodule : isize , hresinfo : T1__ , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SoundSentry < > ( ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SwitchToThisWindow < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( hwnd : T0__ , funknown : T1__ , ) { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SystemParametersInfo_fWinIni ( pub u32 ) ; impl SystemParametersInfo_fWinIni { pub const SPIF_UPDATEINIFILE : Self = Self ( 1u32 ) ; pub const SPIF_SENDCHANGE : Self = Self ( 2u32 ) ; pub const SPIF_SENDWININICHANGE : Self = Self ( 2u32 ) ; } impl :: std :: convert :: From < u32 > for SystemParametersInfo_fWinIni { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SystemParametersInfo_fWinIni { type Abi = Self ; } impl :: std :: ops :: BitOr for SystemParametersInfo_fWinIni { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for SystemParametersInfo_fWinIni { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for SystemParametersInfo_fWinIni { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for SystemParametersInfo_fWinIni { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn SystemParametersInfoA < > ( uiaction : SYSTEM_PARAMETERS_INFO_ACTION , uiparam : u32 , pvparam : * mut :: std :: ffi :: c_void , fwinini : SystemParametersInfo_fWinIni , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SystemParametersInfoW < > ( uiaction : SYSTEM_PARAMETERS_INFO_ACTION , uiparam : u32 , pvparam : * mut :: std :: ffi :: c_void , fwinini : SystemParametersInfo_fWinIni , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub const TIMERV_COALESCING_MAX : u32 = 2147483637u32 ; pub const TIMERV_COALESCING_MIN : u32 = 1u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct TITLEBARINFOEX { pub cbSize : u32 , pub rcTitleBar : super :: DisplayDevices :: RECT , pub rgstate : [ u32 ;6 ] , pub rgrect : [ super :: DisplayDevices :: RECT ;6 ] } impl TITLEBARINFOEX { } impl :: std :: default :: Default for TITLEBARINFOEX { fn default ( ) -> Self { Self { cbSize : 0 , rcTitleBar : :: std :: default :: Default :: default ( ) , rgstate : [ 0 ;6 ] , rgrect : [ :: std :: default :: Default :: default ( ) ;6 ] } } } impl :: std :: fmt :: Debug for TITLEBARINFOEX { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TITLEBARINFOEX" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "rcTitleBar" , & format_args ! ( "{:?}" , self . rcTitleBar ) ) . field ( "rgstate" , & format_args ! ( "{:?}" , self . rgstate ) ) . field ( "rgrect" , & format_args ! ( "{:?}" , self . rgrect ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TITLEBARINFOEX { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . rcTitleBar == other . rcTitleBar && self . rgstate == other . rgstate && self . rgrect == other . rgrect } } impl :: std :: cmp :: Eq for TITLEBARINFOEX { } unsafe impl :: windows :: Abi for TITLEBARINFOEX { type Abi = Self ; } pub const TKF_AVAILABLE : u32 = 2u32 ; pub const TKF_CONFIRMHOTKEY : u32 = 8u32 ; pub const TKF_HOTKEYACTIVE : u32 = 4u32 ; pub const TKF_HOTKEYSOUND : u32 = 16u32 ; pub const TKF_INDICATOR : u32 = 32u32 ; pub const TKF_TOGGLEKEYSON : u32 = 1u32 ; pub const TOUCHPREDICTIONPARAMETERS_DEFAULT_LATENCY : u32 = 8u32 ; pub const TOUCHPREDICTIONPARAMETERS_DEFAULT_RLS_DELTA : f32 = 0.001f32 ; pub const TOUCHPREDICTIONPARAMETERS_DEFAULT_RLS_EXPO_SMOOTH_ALPHA : f32 = 0.99f32 ; pub const TOUCHPREDICTIONPARAMETERS_DEFAULT_RLS_LAMBDA_LEARNING_RATE : f32 = 0.001f32 ; pub const TOUCHPREDICTIONPARAMETERS_DEFAULT_RLS_LAMBDA_MAX : f32 = 0.999f32 ; pub const TOUCHPREDICTIONPARAMETERS_DEFAULT_RLS_LAMBDA_MIN : f32 = 0.9f32 ; pub const TOUCHPREDICTIONPARAMETERS_DEFAULT_SAMPLETIME : u32 = 8u32 ; pub const TOUCHPREDICTIONPARAMETERS_DEFAULT_USE_HW_TIMESTAMP : u32 = 1u32 ; pub const TOUCH_FLAG_NONE : u32 = 0u32 ; pub const TOUCH_HIT_TESTING_CLIENT : u32 = 1u32 ; pub const TOUCH_HIT_TESTING_DEFAULT : u32 = 0u32 ; pub const TOUCH_HIT_TESTING_NONE : u32 = 2u32 ; pub const TOUCH_HIT_TESTING_PROXIMITY_CLOSEST : u32 = 0u32 ; pub const TOUCH_HIT_TESTING_PROXIMITY_FARTHEST : u32 = 4095u32 ; pub const TOUCH_MASK_CONTACTAREA : u32 = 1u32 ; pub const TOUCH_MASK_NONE : u32 = 0u32 ; pub const TOUCH_MASK_ORIENTATION : u32 = 2u32 ; pub const TOUCH_MASK_PRESSURE : u32 = 4u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct TPMPARAMS { pub cbSize : u32 , pub rcExclude : super :: DisplayDevices :: RECT } impl TPMPARAMS { } impl :: std :: default :: Default for TPMPARAMS { fn default ( ) -> Self { Self { cbSize : 0 , rcExclude : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for TPMPARAMS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TPMPARAMS" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "rcExclude" , & format_args ! ( "{:?}" , self . rcExclude ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TPMPARAMS { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . rcExclude == other . rcExclude } } impl :: std :: cmp :: Eq for TPMPARAMS { } unsafe impl :: windows :: Abi for TPMPARAMS { type Abi = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct TRACK_POPUP_MENU_FLAGS ( pub u32 ) ; impl TRACK_POPUP_MENU_FLAGS { pub const TPM_LEFTBUTTON : Self = Self ( 0u32 ) ; pub const TPM_RIGHTBUTTON : Self = Self ( 2u32 ) ; pub const TPM_LEFTALIGN : Self = Self ( 0u32 ) ; pub const TPM_CENTERALIGN : Self = Self ( 4u32 ) ; pub const TPM_RIGHTALIGN : Self = Self ( 8u32 ) ; pub const TPM_TOPALIGN : Self = Self ( 0u32 ) ; pub const TPM_VCENTERALIGN : Self = Self ( 16u32 ) ; pub const TPM_BOTTOMALIGN : Self = Self ( 32u32 ) ; pub const TPM_HORIZONTAL : Self = Self ( 0u32 ) ; pub const TPM_VERTICAL : Self = Self ( 64u32 ) ; pub const TPM_NONOTIFY : Self = Self ( 128u32 ) ; pub const TPM_RETURNCMD : Self = Self ( 256u32 ) ; pub const TPM_RECURSE : Self = Self ( 1u32 ) ; pub const TPM_HORPOSANIMATION : Self = Self ( 1024u32 ) ; pub const TPM_HORNEGANIMATION : Self = Self ( 2048u32 ) ; pub const TPM_VERPOSANIMATION : Self = Self ( 4096u32 ) ; pub const TPM_VERNEGANIMATION : Self = Self ( 8192u32 ) ; pub const TPM_NOANIMATION : Self = Self ( 16384u32 ) ; pub const TPM_LAYOUTRTL : Self = Self ( 32768u32 ) ; pub const TPM_WORKAREA : Self = Self ( 65536u32 ) ; } impl :: std :: convert :: From < u32 > for TRACK_POPUP_MENU_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for TRACK_POPUP_MENU_FLAGS { type Abi = Self ; } impl :: std :: ops :: BitOr for TRACK_POPUP_MENU_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for TRACK_POPUP_MENU_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for TRACK_POPUP_MENU_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for TRACK_POPUP_MENU_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub const TT_OPENTYPE_FONTTYPE : u32 = 131072u32 ; pub const TYPE1_FONTTYPE : u32 = 262144u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct TileWindows_wHowFlags ( pub u32 ) ; impl TileWindows_wHowFlags { pub const MDITILE_HORIZONTAL : Self = Self ( 1u32 ) ; pub const MDITILE_VERTICAL : Self = Self ( 0u32 ) ; } impl :: std :: convert :: From < u32 > for TileWindows_wHowFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for TileWindows_wHowFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for TileWindows_wHowFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for TileWindows_wHowFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for TileWindows_wHowFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for TileWindows_wHowFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn TileWindows < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwndparent : T0__ , whow : TileWindows_wHowFlags , lprect : * const super :: DisplayDevices :: RECT , ckids : u32 , lpkids : * const HWND , ) -> u16 { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct TouchPredictionParameters { pub cbSize : u32 , pub dwLatency : u32 , pub dwSampleTime : u32 , pub bUseHWTimeStamp : u32 } impl TouchPredictionParameters { } impl :: std :: default :: Default for TouchPredictionParameters { fn default ( ) -> Self { Self { cbSize : 0 , dwLatency : 0 , dwSampleTime : 0 , bUseHWTimeStamp : 0 } } } impl :: std :: fmt :: Debug for TouchPredictionParameters { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TouchPredictionParameters" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "dwLatency" , & format_args ! ( "{:?}" , self . dwLatency ) ) . field ( "dwSampleTime" , & format_args ! ( "{:?}" , self . dwSampleTime ) ) . field ( "bUseHWTimeStamp" , & format_args ! ( "{:?}" , self . bUseHWTimeStamp ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TouchPredictionParameters { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . dwLatency == other . dwLatency && self . dwSampleTime == other . dwSampleTime && self . bUseHWTimeStamp == other . bUseHWTimeStamp } } impl :: std :: cmp :: Eq for TouchPredictionParameters { } unsafe impl :: windows :: Abi for TouchPredictionParameters { type Abi = Self ; } pub unsafe fn TrackPopupMenu < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T5__ : :: windows :: IntoParam < 'a , HWND > , > ( hmenu : T0__ , uflags : TRACK_POPUP_MENU_FLAGS , x : i32 , y : i32 , nreserved : i32 , hwnd : T5__ , prcrect : * const super :: DisplayDevices :: RECT , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn TrackPopupMenuEx < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T4__ : :: windows :: IntoParam < 'a , HWND > , > ( hmenu : T0__ , uflags : u32 , x : i32 , y : i32 , hwnd : T4__ , lptpm : * mut TPMPARAMS , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn TranslateAcceleratorA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HACCEL > , > ( hwnd : T0__ , hacctable : T1__ , lpmsg : * mut MSG , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn TranslateAcceleratorW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HACCEL > , > ( hwnd : T0__ , hacctable : T1__ , lpmsg : * mut MSG , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn TranslateMDISysAccel < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwndclient : T0__ , lpmsg : * mut MSG , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn TranslateMessage < > ( lpmsg : * const MSG , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub const UISF_ACTIVE : u32 = 4u32 ; pub const UISF_HIDEACCEL : u32 = 2u32 ; pub const UISF_HIDEFOCUS : u32 = 1u32 ; pub const UIS_CLEAR : u32 = 2u32 ; pub const UIS_INITIALIZE : u32 = 3u32 ; pub const UIS_SET : u32 = 1u32 ; pub const UNICODE_NOCHAR : u32 = 65535u32 ; pub const UOI_TIMERPROC_EXCEPTION_SUPPRESSION : u32 = 7u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct UpdateLayeredWindow_dwFlags ( pub u32 ) ; impl UpdateLayeredWindow_dwFlags { pub const ULW_ALPHA : Self = Self ( 2u32 ) ; pub const ULW_COLORKEY : Self = Self ( 1u32 ) ; pub const ULW_OPAQUE : Self = Self ( 4u32 ) ; pub const ULW_EX_NORESIZE : Self = Self ( 8u32 ) ; } impl :: std :: convert :: From < u32 > for UpdateLayeredWindow_dwFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for UpdateLayeredWindow_dwFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for UpdateLayeredWindow_dwFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for UpdateLayeredWindow_dwFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for UpdateLayeredWindow_dwFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for UpdateLayeredWindow_dwFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct UPDATELAYEREDWINDOWINFO { pub cbSize : u32 , pub hdcDst : super :: Gdi :: HDC , pub pptDst : * mut super :: DisplayDevices :: POINT , pub psize : * mut super :: DisplayDevices :: SIZE , pub hdcSrc : super :: Gdi :: HDC , pub pptSrc : * mut super :: DisplayDevices :: POINT , pub crKey : u32 , pub pblend : * mut super :: Gdi :: BLENDFUNCTION , pub dwFlags : UpdateLayeredWindow_dwFlags , pub prcDirty : * mut super :: DisplayDevices :: RECT } impl UPDATELAYEREDWINDOWINFO { } impl :: std :: default :: Default for UPDATELAYEREDWINDOWINFO { fn default ( ) -> Self { Self { cbSize : 0 , hdcDst : :: std :: default :: Default :: default ( ) , pptDst : :: std :: ptr :: null_mut ( ) , psize : :: std :: ptr :: null_mut ( ) , hdcSrc : :: std :: default :: Default :: default ( ) , pptSrc : :: std :: ptr :: null_mut ( ) , crKey : 0 , pblend : :: std :: ptr :: null_mut ( ) , dwFlags : :: std :: default :: Default :: default ( ) , prcDirty : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for UPDATELAYEREDWINDOWINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "UPDATELAYEREDWINDOWINFO" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "hdcDst" , & format_args ! ( "{:?}" , self . hdcDst ) ) . field ( "pptDst" , & format_args ! ( "{:?}" , self . pptDst ) ) . field ( "psize" , & format_args ! ( "{:?}" , self . psize ) ) . field ( "hdcSrc" , & format_args ! ( "{:?}" , self . hdcSrc ) ) . field ( "pptSrc" , & format_args ! ( "{:?}" , self . pptSrc ) ) . field ( "crKey" , & format_args ! ( "{:?}" , self . crKey ) ) . field ( "pblend" , & format_args ! ( "{:?}" , self . pblend ) ) . field ( "dwFlags" , & format_args ! ( "{:?}" , self . dwFlags ) ) . field ( "prcDirty" , & format_args ! ( "{:?}" , self . prcDirty ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for UPDATELAYEREDWINDOWINFO { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . hdcDst == other . hdcDst && self . pptDst == other . pptDst && self . psize == other . psize && self . hdcSrc == other . hdcSrc && self . pptSrc == other . pptSrc && self . crKey == other . crKey && self . pblend == other . pblend && self . dwFlags == other . dwFlags && self . prcDirty == other . prcDirty } } impl :: std :: cmp :: Eq for UPDATELAYEREDWINDOWINFO { } unsafe impl :: windows :: Abi for UPDATELAYEREDWINDOWINFO { type Abi = Self ; } pub const USER_DEFAULT_SCREEN_DPI : u32 = 96u32 ; pub const USER_TIMER_MAXIMUM : u32 = 2147483647u32 ; pub const USER_TIMER_MINIMUM : u32 = 10u32 ; pub unsafe fn UnhookWindowsHook < > ( ncode : i32 , pfnfilterproc : :: std :: option :: Option < HOOKPROC > , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn UnhookWindowsHookEx < 'a , T0__ : :: windows :: IntoParam < 'a , HHOOK > , > ( hhk : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn UnregisterClassA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , > ( lpclassname : T0__ , hinstance : T1__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn UnregisterClassW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , > ( lpclassname : T0__ , hinstance : T1__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn UpdateLayeredWindow < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: Gdi :: HDC > , T4__ : :: windows :: IntoParam < 'a , super :: Gdi :: HDC > , > ( hwnd : T0__ , hdcdst : T1__ , pptdst : * mut super :: DisplayDevices :: POINT , psize : * mut super :: DisplayDevices :: SIZE , hdcsrc : T4__ , pptsrc : * mut super :: DisplayDevices :: POINT , crkey : u32 , pblend : * mut super :: Gdi :: BLENDFUNCTION , dwflags : UpdateLayeredWindow_dwFlags , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn UpdateLayeredWindowIndirect < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , pulwinfo : * const UPDATELAYEREDWINDOWINFO , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn UpdateResourceA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HANDLE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hupdate : T0__ , lptype : T1__ , lpname : T2__ , wlanguage : u16 , lpdata : * mut :: std :: ffi :: c_void , cb : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn UpdateResourceW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HANDLE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hupdate : T0__ , lptype : T1__ , lpname : T2__ , wlanguage : u16 , lpdata : * mut :: std :: ffi :: c_void , cb : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub const VK_ACCEPT : u32 = 30u32 ; pub const VK_ADD : u32 = 107u32 ; pub const VK_APPS : u32 = 93u32 ; pub const VK_ATTN : u32 = 246u32 ; pub const VK_BACK : u32 = 8u32 ; pub const VK_BROWSER_BACK : u32 = 166u32 ; pub const VK_BROWSER_FAVORITES : u32 = 171u32 ; pub const VK_BROWSER_FORWARD : u32 = 167u32 ; pub const VK_BROWSER_HOME : u32 = 172u32 ; pub const VK_BROWSER_REFRESH : u32 = 168u32 ; pub const VK_BROWSER_SEARCH : u32 = 170u32 ; pub const VK_BROWSER_STOP : u32 = 169u32 ; pub const VK_CANCEL : u32 = 3u32 ; pub const VK_CAPITAL : u32 = 20u32 ; pub const VK_CLEAR : u32 = 12u32 ; pub const VK_CONTROL : u32 = 17u32 ; pub const VK_CONVERT : u32 = 28u32 ; pub const VK_CRSEL : u32 = 247u32 ; pub const VK_DECIMAL : u32 = 110u32 ; pub const VK_DELETE : u32 = 46u32 ; pub const VK_DIVIDE : u32 = 111u32 ; pub const VK_DOWN : u32 = 40u32 ; pub const VK_END : u32 = 35u32 ; pub const VK_EREOF : u32 = 249u32 ; pub const VK_ESCAPE : u32 = 27u32 ; pub const VK_EXECUTE : u32 = 43u32 ; pub const VK_EXSEL : u32 = 248u32 ; pub const VK_F1 : u32 = 112u32 ; pub const VK_F10 : u32 = 121u32 ; pub const VK_F11 : u32 = 122u32 ; pub const VK_F12 : u32 = 123u32 ; pub const VK_F13 : u32 = 124u32 ; pub const VK_F14 : u32 = 125u32 ; pub const VK_F15 : u32 = 126u32 ; pub const VK_F16 : u32 = 127u32 ; pub const VK_F17 : u32 = 128u32 ; pub const VK_F18 : u32 = 129u32 ; pub const VK_F19 : u32 = 130u32 ; pub const VK_F2 : u32 = 113u32 ; pub const VK_F20 : u32 = 131u32 ; pub const VK_F21 : u32 = 132u32 ; pub const VK_F22 : u32 = 133u32 ; pub const VK_F23 : u32 = 134u32 ; pub const VK_F24 : u32 = 135u32 ; pub const VK_F3 : u32 = 114u32 ; pub const VK_F4 : u32 = 115u32 ; pub const VK_F5 : u32 = 116u32 ; pub const VK_F6 : u32 = 117u32 ; pub const VK_F7 : u32 = 118u32 ; pub const VK_F8 : u32 = 119u32 ; pub const VK_F9 : u32 = 120u32 ; pub const VK_FINAL : u32 = 24u32 ; pub const VK_GAMEPAD_A : u32 = 195u32 ; pub const VK_GAMEPAD_B : u32 = 196u32 ; pub const VK_GAMEPAD_DPAD_DOWN : u32 = 204u32 ; pub const VK_GAMEPAD_DPAD_LEFT : u32 = 205u32 ; pub const VK_GAMEPAD_DPAD_RIGHT : u32 = 206u32 ; pub const VK_GAMEPAD_DPAD_UP : u32 = 203u32 ; pub const VK_GAMEPAD_LEFT_SHOULDER : u32 = 200u32 ; pub const VK_GAMEPAD_LEFT_THUMBSTICK_BUTTON : u32 = 209u32 ; pub const VK_GAMEPAD_LEFT_THUMBSTICK_DOWN : u32 = 212u32 ; pub const VK_GAMEPAD_LEFT_THUMBSTICK_LEFT : u32 = 214u32 ; pub const VK_GAMEPAD_LEFT_THUMBSTICK_RIGHT : u32 = 213u32 ; pub const VK_GAMEPAD_LEFT_THUMBSTICK_UP : u32 = 211u32 ; pub const VK_GAMEPAD_LEFT_TRIGGER : u32 = 201u32 ; pub const VK_GAMEPAD_MENU : u32 = 207u32 ; pub const VK_GAMEPAD_RIGHT_SHOULDER : u32 = 199u32 ; pub const VK_GAMEPAD_RIGHT_THUMBSTICK_BUTTON : u32 = 210u32 ; pub const VK_GAMEPAD_RIGHT_THUMBSTICK_DOWN : u32 = 216u32 ; pub const VK_GAMEPAD_RIGHT_THUMBSTICK_LEFT : u32 = 218u32 ; pub const VK_GAMEPAD_RIGHT_THUMBSTICK_RIGHT : u32 = 217u32 ; pub const VK_GAMEPAD_RIGHT_THUMBSTICK_UP : u32 = 215u32 ; pub const VK_GAMEPAD_RIGHT_TRIGGER : u32 = 202u32 ; pub const VK_GAMEPAD_VIEW : u32 = 208u32 ; pub const VK_GAMEPAD_X : u32 = 197u32 ; pub const VK_GAMEPAD_Y : u32 = 198u32 ; pub const VK_HANGEUL : u32 = 21u32 ; pub const VK_HANGUL : u32 = 21u32 ; pub const VK_HANJA : u32 = 25u32 ; pub const VK_HELP : u32 = 47u32 ; pub const VK_HOME : u32 = 36u32 ; pub const VK_ICO_00 : u32 = 228u32 ; pub const VK_ICO_CLEAR : u32 = 230u32 ; pub const VK_ICO_HELP : u32 = 227u32 ; pub const VK_INSERT : u32 = 45u32 ; pub const VK_JUNJA : u32 = 23u32 ; pub const VK_KANA : u32 = 21u32 ; pub const VK_KANJI : u32 = 25u32 ; pub const VK_LAUNCH_APP1 : u32 = 182u32 ; pub const VK_LAUNCH_APP2 : u32 = 183u32 ; pub const VK_LAUNCH_MAIL : u32 = 180u32 ; pub const VK_LAUNCH_MEDIA_SELECT : u32 = 181u32 ; pub const VK_LBUTTON : u32 = 1u32 ; pub const VK_LCONTROL : u32 = 162u32 ; pub const VK_LEFT : u32 = 37u32 ; pub const VK_LMENU : u32 = 164u32 ; pub const VK_LSHIFT : u32 = 160u32 ; pub const VK_LWIN : u32 = 91u32 ; pub const VK_MBUTTON : u32 = 4u32 ; pub const VK_MEDIA_NEXT_TRACK : u32 = 176u32 ; pub const VK_MEDIA_PLAY_PAUSE : u32 = 179u32 ; pub const VK_MEDIA_PREV_TRACK : u32 = 177u32 ; pub const VK_MEDIA_STOP : u32 = 178u32 ; pub const VK_MENU : u32 = 18u32 ; pub const VK_MODECHANGE : u32 = 31u32 ; pub const VK_MULTIPLY : u32 = 106u32 ; pub const VK_NAVIGATION_ACCEPT : u32 = 142u32 ; pub const VK_NAVIGATION_CANCEL : u32 = 143u32 ; pub const VK_NAVIGATION_DOWN : u32 = 139u32 ; pub const VK_NAVIGATION_LEFT : u32 = 140u32 ; pub const VK_NAVIGATION_MENU : u32 = 137u32 ; pub const VK_NAVIGATION_RIGHT : u32 = 141u32 ; pub const VK_NAVIGATION_UP : u32 = 138u32 ; pub const VK_NAVIGATION_VIEW : u32 = 136u32 ; pub const VK_NEXT : u32 = 34u32 ; pub const VK_NONAME : u32 = 252u32 ; pub const VK_NONCONVERT : u32 = 29u32 ; pub const VK_NUMLOCK : u32 = 144u32 ; pub const VK_NUMPAD0 : u32 = 96u32 ; pub const VK_NUMPAD1 : u32 = 97u32 ; pub const VK_NUMPAD2 : u32 = 98u32 ; pub const VK_NUMPAD3 : u32 = 99u32 ; pub const VK_NUMPAD4 : u32 = 100u32 ; pub const VK_NUMPAD5 : u32 = 101u32 ; pub const VK_NUMPAD6 : u32 = 102u32 ; pub const VK_NUMPAD7 : u32 = 103u32 ; pub const VK_NUMPAD8 : u32 = 104u32 ; pub const VK_NUMPAD9 : u32 = 105u32 ; pub const VK_OEM_1 : u32 = 186u32 ; pub const VK_OEM_102 : u32 = 226u32 ; pub const VK_OEM_2 : u32 = 191u32 ; pub const VK_OEM_3 : u32 = 192u32 ; pub const VK_OEM_4 : u32 = 219u32 ; pub const VK_OEM_5 : u32 = 220u32 ; pub const VK_OEM_6 : u32 = 221u32 ; pub const VK_OEM_7 : u32 = 222u32 ; pub const VK_OEM_8 : u32 = 223u32 ; pub const VK_OEM_ATTN : u32 = 240u32 ; pub const VK_OEM_AUTO : u32 = 243u32 ; pub const VK_OEM_AX : u32 = 225u32 ; pub const VK_OEM_BACKTAB : u32 = 245u32 ; pub const VK_OEM_CLEAR : u32 = 254u32 ; pub const VK_OEM_COMMA : u32 = 188u32 ; pub const VK_OEM_COPY : u32 = 242u32 ; pub const VK_OEM_CUSEL : u32 = 239u32 ; pub const VK_OEM_ENLW : u32 = 244u32 ; pub const VK_OEM_FINISH : u32 = 241u32 ; pub const VK_OEM_FJ_JISHO : u32 = 146u32 ; pub const VK_OEM_FJ_LOYA : u32 = 149u32 ; pub const VK_OEM_FJ_MASSHOU : u32 = 147u32 ; pub const VK_OEM_FJ_ROYA : u32 = 150u32 ; pub const VK_OEM_FJ_TOUROKU : u32 = 148u32 ; pub const VK_OEM_JUMP : u32 = 234u32 ; pub const VK_OEM_MINUS : u32 = 189u32 ; pub const VK_OEM_NEC_EQUAL : u32 = 146u32 ; pub const VK_OEM_PA1 : u32 = 235u32 ; pub const VK_OEM_PA2 : u32 = 236u32 ; pub const VK_OEM_PA3 : u32 = 237u32 ; pub const VK_OEM_PERIOD : u32 = 190u32 ; pub const VK_OEM_PLUS : u32 = 187u32 ; pub const VK_OEM_RESET : u32 = 233u32 ; pub const VK_OEM_WSCTRL : u32 = 238u32 ; pub const VK_PA1 : u32 = 253u32 ; pub const VK_PACKET : u32 = 231u32 ; pub const VK_PAUSE : u32 = 19u32 ; pub const VK_PLAY : u32 = 250u32 ; pub const VK_PRINT : u32 = 42u32 ; pub const VK_PRIOR : u32 = 33u32 ; pub const VK_PROCESSKEY : u32 = 229u32 ; pub const VK_RBUTTON : u32 = 2u32 ; pub const VK_RCONTROL : u32 = 163u32 ; pub const VK_RETURN : u32 = 13u32 ; pub const VK_RIGHT : u32 = 39u32 ; pub const VK_RMENU : u32 = 165u32 ; pub const VK_RSHIFT : u32 = 161u32 ; pub const VK_RWIN : u32 = 92u32 ; pub const VK_SCROLL : u32 = 145u32 ; pub const VK_SELECT : u32 = 41u32 ; pub const VK_SEPARATOR : u32 = 108u32 ; pub const VK_SHIFT : u32 = 16u32 ; pub const VK_SLEEP : u32 = 95u32 ; pub const VK_SNAPSHOT : u32 = 44u32 ; pub const VK_SPACE : u32 = 32u32 ; pub const VK_SUBTRACT : u32 = 109u32 ; pub const VK_TAB : u32 = 9u32 ; pub const VK_UP : u32 = 38u32 ; pub const VK_VOLUME_DOWN : u32 = 174u32 ; pub const VK_VOLUME_MUTE : u32 = 173u32 ; pub const VK_VOLUME_UP : u32 = 175u32 ; pub const VK_XBUTTON1 : u32 = 5u32 ; pub const VK_XBUTTON2 : u32 = 6u32 ; pub const VK_ZOOM : u32 = 251u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct VS_FIXEDFILEINFOFlags ( pub u32 ) ; impl VS_FIXEDFILEINFOFlags { pub const VS_FF_DEBUG : Self = Self ( 1u32 ) ; pub const VS_FF_INFOINFERRED : Self = Self ( 16u32 ) ; pub const VS_FF_PATCHED : Self = Self ( 4u32 ) ; pub const VS_FF_PRERELEASE : Self = Self ( 2u32 ) ; pub const VS_FF_PRIVATEBUILD : Self = Self ( 8u32 ) ; pub const VS_FF_SPECIALBUILD : Self = Self ( 32u32 ) ; } impl :: std :: convert :: From < u32 > for VS_FIXEDFILEINFOFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for VS_FIXEDFILEINFOFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for VS_FIXEDFILEINFOFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for VS_FIXEDFILEINFOFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for VS_FIXEDFILEINFOFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for VS_FIXEDFILEINFOFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct VS_FIXEDFILEINFO_dwFileOSFlags ( pub i32 ) ; impl VS_FIXEDFILEINFO_dwFileOSFlags { pub const VOS_DOS : Self = Self ( 65536i32 ) ; pub const VOS_NT : Self = Self ( 262144i32 ) ; pub const VOS__WINDOWS16 : Self = Self ( 1i32 ) ; pub const VOS__WINDOWS32 : Self = Self ( 4i32 ) ; pub const VOS_OS216 : Self = Self ( 131072i32 ) ; pub const VOS_OS232 : Self = Self ( 196608i32 ) ; pub const VOS__PM16 : Self = Self ( 2i32 ) ; pub const VOS__PM32 : Self = Self ( 3i32 ) ; pub const VOS_UNKNOWN : Self = Self ( 0i32 ) ; } impl :: std :: convert :: From < i32 > for VS_FIXEDFILEINFO_dwFileOSFlags { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for VS_FIXEDFILEINFO_dwFileOSFlags { type Abi = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct VS_FIXEDFILEINFO_dwFileTypeFlags ( pub i32 ) ; impl VS_FIXEDFILEINFO_dwFileTypeFlags { pub const VFT_APP : Self = Self ( 1i32 ) ; pub const VFT_DLL : Self = Self ( 2i32 ) ; pub const VFT_DRV : Self = Self ( 3i32 ) ; pub const VFT_FONT : Self = Self ( 4i32 ) ; pub const VFT_STATIC_LIB : Self = Self ( 7i32 ) ; pub const VFT_UNKNOWN : Self = Self ( 0i32 ) ; pub const VFT_VXD : Self = Self ( 5i32 ) ; } impl :: std :: convert :: From < i32 > for VS_FIXEDFILEINFO_dwFileTypeFlags { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for VS_FIXEDFILEINFO_dwFileTypeFlags { type Abi = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct VS_FIXEDFILEINFO_dwFileSubtypeFlags ( pub i32 ) ; impl VS_FIXEDFILEINFO_dwFileSubtypeFlags { pub const VFT2_DRV_COMM : Self = Self ( 10i32 ) ; pub const VFT2_DRV_DISPLAY : Self = Self ( 4i32 ) ; pub const VFT2_DRV_INSTALLABLE : Self = Self ( 8i32 ) ; pub const VFT2_DRV_KEYBOARD : Self = Self ( 2i32 ) ; pub const VFT2_DRV_LANGUAGE : Self = Self ( 3i32 ) ; pub const VFT2_DRV_MOUSE : Self = Self ( 5i32 ) ; pub const VFT2_DRV_NETWORK : Self = Self ( 6i32 ) ; pub const VFT2_DRV_PRINTER : Self = Self ( 1i32 ) ; pub const VFT2_DRV_SOUND : Self = Self ( 9i32 ) ; pub const VFT2_DRV_SYSTEM : Self = Self ( 7i32 ) ; pub const VFT2_DRV_VERSIONED_PRINTER : Self = Self ( 12i32 ) ; pub const VFT2_UNKNOWN : Self = Self ( 0i32 ) ; } impl :: std :: convert :: From < i32 > for VS_FIXEDFILEINFO_dwFileSubtypeFlags { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for VS_FIXEDFILEINFO_dwFileSubtypeFlags { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct VS_FIXEDFILEINFO { pub dwSignature : u32 , pub dwStrucVersion : u32 , pub dwFileVersionMS : u32 , pub dwFileVersionLS : u32 , pub dwProductVersionMS : u32 , pub dwProductVersionLS : u32 , pub dwFileFlagsMask : u32 , pub dwFileFlags : VS_FIXEDFILEINFOFlags , pub dwFileOS : VS_FIXEDFILEINFO_dwFileOSFlags , pub dwFileType : VS_FIXEDFILEINFO_dwFileTypeFlags , pub dwFileSubtype : VS_FIXEDFILEINFO_dwFileSubtypeFlags , pub dwFileDateMS : u32 , pub dwFileDateLS : u32 } impl VS_FIXEDFILEINFO { } impl :: std :: default :: Default for VS_FIXEDFILEINFO { fn default ( ) -> Self { Self { dwSignature : 0 , dwStrucVersion : 0 , dwFileVersionMS : 0 , dwFileVersionLS : 0 , dwProductVersionMS : 0 , dwProductVersionLS : 0 , dwFileFlagsMask : 0 , dwFileFlags : :: std :: default :: Default :: default ( ) , dwFileOS : :: std :: default :: Default :: default ( ) , dwFileType : :: std :: default :: Default :: default ( ) , dwFileSubtype : :: std :: default :: Default :: default ( ) , dwFileDateMS : 0 , dwFileDateLS : 0 } } } impl :: std :: fmt :: Debug for VS_FIXEDFILEINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "VS_FIXEDFILEINFO" ) . field ( "dwSignature" , & format_args ! ( "{:?}" , self . dwSignature ) ) . field ( "dwStrucVersion" , & format_args ! ( "{:?}" , self . dwStrucVersion ) ) . field ( "dwFileVersionMS" , & format_args ! ( "{:?}" , self . dwFileVersionMS ) ) . field ( "dwFileVersionLS" , & format_args ! ( "{:?}" , self . dwFileVersionLS ) ) . field ( "dwProductVersionMS" , & format_args ! ( "{:?}" , self . dwProductVersionMS ) ) . field ( "dwProductVersionLS" , & format_args ! ( "{:?}" , self . dwProductVersionLS ) ) . field ( "dwFileFlagsMask" , & format_args ! ( "{:?}" , self . dwFileFlagsMask ) ) . field ( "dwFileFlags" , & format_args ! ( "{:?}" , self . dwFileFlags ) ) . field ( "dwFileOS" , & format_args ! ( "{:?}" , self . dwFileOS ) ) . field ( "dwFileType" , & format_args ! ( "{:?}" , self . dwFileType ) ) . field ( "dwFileSubtype" , & format_args ! ( "{:?}" , self . dwFileSubtype ) ) . field ( "dwFileDateMS" , & format_args ! ( "{:?}" , self . dwFileDateMS ) ) . field ( "dwFileDateLS" , & format_args ! ( "{:?}" , self . dwFileDateLS ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for VS_FIXEDFILEINFO { fn eq ( & self , other : & Self ) -> bool { self . dwSignature == other . dwSignature && self . dwStrucVersion == other . dwStrucVersion && self . dwFileVersionMS == other . dwFileVersionMS && self . dwFileVersionLS == other . dwFileVersionLS && self . dwProductVersionMS == other . dwProductVersionMS && self . dwProductVersionLS == other . dwProductVersionLS && self . dwFileFlagsMask == other . dwFileFlagsMask && self . dwFileFlags == other . dwFileFlags && self . dwFileOS == other . dwFileOS && self . dwFileType == other . dwFileType && self . dwFileSubtype == other . dwFileSubtype && self . dwFileDateMS == other . dwFileDateMS && self . dwFileDateLS == other . dwFileDateLS } } impl :: std :: cmp :: Eq for VS_FIXEDFILEINFO { } unsafe impl :: windows :: Abi for VS_FIXEDFILEINFO { type Abi = Self ; } pub unsafe fn VerFindFileA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( uflags : u32 , szfilename : T1__ , szwindir : T2__ , szappdir : T3__ , szcurdir : super :: SystemServices :: PSTR , pucurdirlen : * mut u32 , szdestdir : super :: SystemServices :: PSTR , pudestdirlen : * mut u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn VerFindFileW < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( uflags : u32 , szfilename : T1__ , szwindir : T2__ , szappdir : T3__ , szcurdir : super :: SystemServices :: PWSTR , pucurdirlen : * mut u32 , szdestdir : super :: SystemServices :: PWSTR , pudestdirlen : * mut u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct VerInstallFile_uFlags ( pub u32 ) ; impl VerInstallFile_uFlags { pub const VIFF_FORCEINSTALL : Self = Self ( 1u32 ) ; pub const VIFF_DONTDELETEOLD : Self = Self ( 2u32 ) ; } impl :: std :: convert :: From < u32 > for VerInstallFile_uFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for VerInstallFile_uFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for VerInstallFile_uFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for VerInstallFile_uFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for VerInstallFile_uFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for VerInstallFile_uFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn VerInstallFileA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T4__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T5__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( uflags : VerInstallFile_uFlags , szsrcfilename : T1__ , szdestfilename : T2__ , szsrcdir : T3__ , szdestdir : T4__ , szcurdir : T5__ , sztmpfile : super :: SystemServices :: PSTR , putmpfilelen : * mut u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn VerInstallFileW < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T4__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T5__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( uflags : VerInstallFile_uFlags , szsrcfilename : T1__ , szdestfilename : T2__ , szsrcdir : T3__ , szdestdir : T4__ , szcurdir : T5__ , sztmpfile : super :: SystemServices :: PWSTR , putmpfilelen : * mut u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn VerLanguageNameA < > ( wlang : u32 , szlang : super :: SystemServices :: PSTR , cchlang : u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn VerLanguageNameW < > ( wlang : u32 , szlang : super :: SystemServices :: PWSTR , cchlang : u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn VerQueryValueA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( pblock : * const :: std :: ffi :: c_void , lpsubblock : T1__ , lplpbuffer : * mut * mut :: std :: ffi :: c_void , pulen : * mut u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn VerQueryValueW < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( pblock : * const :: std :: ffi :: c_void , lpsubblock : T1__ , lplpbuffer : * mut * mut :: std :: ffi :: c_void , pulen : * mut u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub const WA_ACTIVE : u32 = 1u32 ; pub const WA_CLICKACTIVE : u32 = 2u32 ; pub const WA_INACTIVE : u32 = 0u32 ; pub const WHEEL_DELTA : u32 = 120u32 ; pub const WH_HARDWARE : u32 = 8u32 ; pub const WH_MAX : u32 = 14u32 ; pub const WH_MIN : i32 = -1i32 ; pub const WINEVENT_INCONTEXT : u32 = 4u32 ; pub const WINEVENT_OUTOFCONTEXT : u32 = 0u32 ; pub const WINEVENT_SKIPOWNPROCESS : u32 = 2u32 ; pub const WINEVENT_SKIPOWNTHREAD : u32 = 1u32 ; pub type WINSTAENUMPROCA = extern "system" fn ( param0 : super :: SystemServices :: PSTR , param1 : LPARAM ) -> super :: SystemServices :: BOOL ; pub type WINSTAENUMPROCW = extern "system" fn ( param0 : super :: SystemServices :: PWSTR , param1 : LPARAM ) -> super :: SystemServices :: BOOL ; pub const WINSTA_ACCESSCLIPBOARD : i32 = 4i32 ; pub const WINSTA_ACCESSGLOBALATOMS : i32 = 32i32 ; pub const WINSTA_CREATEDESKTOP : i32 = 8i32 ; pub const WINSTA_ENUMDESKTOPS : i32 = 1i32 ; pub const WINSTA_ENUMERATE : i32 = 256i32 ; pub const WINSTA_EXITWINDOWS : i32 = 64i32 ; pub const WINSTA_READATTRIBUTES : i32 = 2i32 ; pub const WINSTA_READSCREEN : i32 = 512i32 ; pub const WINSTA_WRITEATTRIBUTES : i32 = 16i32 ; pub const WMSZ_BOTTOM : u32 = 6u32 ; pub const WMSZ_BOTTOMLEFT : u32 = 7u32 ; pub const WMSZ_BOTTOMRIGHT : u32 = 8u32 ; pub const WMSZ_LEFT : u32 = 1u32 ; pub const WMSZ_RIGHT : u32 = 2u32 ; pub const WMSZ_TOP : u32 = 3u32 ; pub const WMSZ_TOPLEFT : u32 = 4u32 ; pub const WMSZ_TOPRIGHT : u32 = 5u32 ; pub const WM_ACTIVATE : u32 = 6u32 ; pub const WM_ACTIVATEAPP : u32 = 28u32 ; pub const WM_AFXFIRST : u32 = 864u32 ; pub const WM_AFXLAST : u32 = 895u32 ; pub const WM_APP : u32 = 32768u32 ; pub const WM_APPCOMMAND : u32 = 793u32 ; pub const WM_ASKCBFORMATNAME : u32 = 780u32 ; pub const WM_CANCELJOURNAL : u32 = 75u32 ; pub const WM_CANCELMODE : u32 = 31u32 ; pub const WM_CAPTURECHANGED : u32 = 533u32 ; pub const WM_CHANGECBCHAIN : u32 = 781u32 ; pub const WM_CHANGEUISTATE : u32 = 295u32 ; pub const WM_CHAR : u32 = 258u32 ; pub const WM_CHARTOITEM : u32 = 47u32 ; pub const WM_CHILDACTIVATE : u32 = 34u32 ; pub const WM_CHOOSEFONT_GETLOGFONT : u32 = 1025u32 ; pub const WM_CHOOSEFONT_SETFLAGS : u32 = 1126u32 ; pub const WM_CHOOSEFONT_SETLOGFONT : u32 = 1125u32 ; pub const WM_CLEAR : u32 = 771u32 ; pub const WM_CLIPBOARDUPDATE : u32 = 797u32 ; pub const WM_CLOSE : u32 = 16u32 ; pub const WM_COMMAND : u32 = 273u32 ; pub const WM_COMMNOTIFY : u32 = 68u32 ; pub const WM_COMPACTING : u32 = 65u32 ; pub const WM_COMPAREITEM : u32 = 57u32 ; pub const WM_COPY : u32 = 769u32 ; pub const WM_COPYDATA : u32 = 74u32 ; pub const WM_CREATE : u32 = 1u32 ; pub const WM_CTLCOLORBTN : u32 = 309u32 ; pub const WM_CTLCOLORDLG : u32 = 310u32 ; pub const WM_CTLCOLOREDIT : u32 = 307u32 ; pub const WM_CTLCOLORLISTBOX : u32 = 308u32 ; pub const WM_CTLCOLORMSGBOX : u32 = 306u32 ; pub const WM_CTLCOLORSCROLLBAR : u32 = 311u32 ; pub const WM_CTLCOLORSTATIC : u32 = 312u32 ; pub const WM_CUT : u32 = 768u32 ; pub const WM_DEADCHAR : u32 = 259u32 ; pub const WM_DELETEITEM : u32 = 45u32 ; pub const WM_DESTROY : u32 = 2u32 ; pub const WM_DESTROYCLIPBOARD : u32 = 775u32 ; pub const WM_DEVICECHANGE : u32 = 537u32 ; pub const WM_DEVMODECHANGE : u32 = 27u32 ; pub const WM_DISPLAYCHANGE : u32 = 126u32 ; pub const WM_DPICHANGED : u32 = 736u32 ; pub const WM_DPICHANGED_AFTERPARENT : u32 = 739u32 ; pub const WM_DPICHANGED_BEFOREPARENT : u32 = 738u32 ; pub const WM_DRAWCLIPBOARD : u32 = 776u32 ; pub const WM_DRAWITEM : u32 = 43u32 ; pub const WM_DROPFILES : u32 = 563u32 ; pub const WM_DWMCOLORIZATIONCOLORCHANGED : u32 = 800u32 ; pub const WM_DWMCOMPOSITIONCHANGED : u32 = 798u32 ; pub const WM_DWMNCRENDERINGCHANGED : u32 = 799u32 ; pub const WM_DWMSENDICONICLIVEPREVIEWBITMAP : u32 = 806u32 ; pub const WM_DWMSENDICONICTHUMBNAIL : u32 = 803u32 ; pub const WM_DWMWINDOWMAXIMIZEDCHANGE : u32 = 801u32 ; pub const WM_ENABLE : u32 = 10u32 ; pub const WM_ENDSESSION : u32 = 22u32 ; pub const WM_ENTERIDLE : u32 = 289u32 ; pub const WM_ENTERMENULOOP : u32 = 529u32 ; pub const WM_ENTERSIZEMOVE : u32 = 561u32 ; pub const WM_ERASEBKGND : u32 = 20u32 ; pub const WM_EXITMENULOOP : u32 = 530u32 ; pub const WM_EXITSIZEMOVE : u32 = 562u32 ; pub const WM_FONTCHANGE : u32 = 29u32 ; pub const WM_GESTURE : u32 = 281u32 ; pub const WM_GESTURENOTIFY : u32 = 282u32 ; pub const WM_GETDLGCODE : u32 = 135u32 ; pub const WM_GETDPISCALEDSIZE : u32 = 740u32 ; pub const WM_GETFONT : u32 = 49u32 ; pub const WM_GETHOTKEY : u32 = 51u32 ; pub const WM_GETICON : u32 = 127u32 ; pub const WM_GETMINMAXINFO : u32 = 36u32 ; pub const WM_GETOBJECT : u32 = 61u32 ; pub const WM_GETTEXT : u32 = 13u32 ; pub const WM_GETTEXTLENGTH : u32 = 14u32 ; pub const WM_GETTITLEBARINFOEX : u32 = 831u32 ; pub const WM_HANDHELDFIRST : u32 = 856u32 ; pub const WM_HANDHELDLAST : u32 = 863u32 ; pub const WM_HELP : u32 = 83u32 ; pub const WM_HOTKEY : u32 = 786u32 ; pub const WM_HSCROLL : u32 = 276u32 ; pub const WM_HSCROLLCLIPBOARD : u32 = 782u32 ; pub const WM_ICONERASEBKGND : u32 = 39u32 ; pub const WM_IME_CHAR : u32 = 646u32 ; pub const WM_IME_COMPOSITION : u32 = 271u32 ; pub const WM_IME_COMPOSITIONFULL : u32 = 644u32 ; pub const WM_IME_CONTROL : u32 = 643u32 ; pub const WM_IME_ENDCOMPOSITION : u32 = 270u32 ; pub const WM_IME_KEYDOWN : u32 = 656u32 ; pub const WM_IME_KEYLAST : u32 = 271u32 ; pub const WM_IME_KEYUP : u32 = 657u32 ; pub const WM_IME_NOTIFY : u32 = 642u32 ; pub const WM_IME_REQUEST : u32 = 648u32 ; pub const WM_IME_SELECT : u32 = 645u32 ; pub const WM_IME_SETCONTEXT : u32 = 641u32 ; pub const WM_IME_STARTCOMPOSITION : u32 = 269u32 ; pub const WM_INITDIALOG : u32 = 272u32 ; pub const WM_INITMENU : u32 = 278u32 ; pub const WM_INITMENUPOPUP : u32 = 279u32 ; pub const WM_INPUT : u32 = 255u32 ; pub const WM_INPUTLANGCHANGE : u32 = 81u32 ; pub const WM_INPUTLANGCHANGEREQUEST : u32 = 80u32 ; pub const WM_INPUT_DEVICE_CHANGE : u32 = 254u32 ; pub const WM_KEYDOWN : u32 = 256u32 ; pub const WM_KEYFIRST : u32 = 256u32 ; pub const WM_KEYLAST : u32 = 265u32 ; pub const WM_KEYUP : u32 = 257u32 ; pub const WM_KILLFOCUS : u32 = 8u32 ; pub const WM_LBUTTONDBLCLK : u32 = 515u32 ; pub const WM_LBUTTONDOWN : u32 = 513u32 ; pub const WM_LBUTTONUP : u32 = 514u32 ; pub const WM_MBUTTONDBLCLK : u32 = 521u32 ; pub const WM_MBUTTONDOWN : u32 = 519u32 ; pub const WM_MBUTTONUP : u32 = 520u32 ; pub const WM_MDIACTIVATE : u32 = 546u32 ; pub const WM_MDICASCADE : u32 = 551u32 ; pub const WM_MDICREATE : u32 = 544u32 ; pub const WM_MDIDESTROY : u32 = 545u32 ; pub const WM_MDIGETACTIVE : u32 = 553u32 ; pub const WM_MDIICONARRANGE : u32 = 552u32 ; pub const WM_MDIMAXIMIZE : u32 = 549u32 ; pub const WM_MDINEXT : u32 = 548u32 ; pub const WM_MDIREFRESHMENU : u32 = 564u32 ; pub const WM_MDIRESTORE : u32 = 547u32 ; pub const WM_MDISETMENU : u32 = 560u32 ; pub const WM_MDITILE : u32 = 550u32 ; pub const WM_MEASUREITEM : u32 = 44u32 ; pub const WM_MENUCHAR : u32 = 288u32 ; pub const WM_MENUCOMMAND : u32 = 294u32 ; pub const WM_MENUDRAG : u32 = 291u32 ; pub const WM_MENUGETOBJECT : u32 = 292u32 ; pub const WM_MENURBUTTONUP : u32 = 290u32 ; pub const WM_MENUSELECT : u32 = 287u32 ; pub const WM_MOUSEACTIVATE : u32 = 33u32 ; pub const WM_MOUSEFIRST : u32 = 512u32 ; pub const WM_MOUSEHWHEEL : u32 = 526u32 ; pub const WM_MOUSELAST : u32 = 526u32 ; pub const WM_MOUSEMOVE : u32 = 512u32 ; pub const WM_MOUSEWHEEL : u32 = 522u32 ; pub const WM_MOVE : u32 = 3u32 ; pub const WM_MOVING : u32 = 534u32 ; pub const WM_NCACTIVATE : u32 = 134u32 ; pub const WM_NCCALCSIZE : u32 = 131u32 ; pub const WM_NCCREATE : u32 = 129u32 ; pub const WM_NCDESTROY : u32 = 130u32 ; pub const WM_NCHITTEST : u32 = 132u32 ; pub const WM_NCLBUTTONDBLCLK : u32 = 163u32 ; pub const WM_NCLBUTTONDOWN : u32 = 161u32 ; pub const WM_NCLBUTTONUP : u32 = 162u32 ; pub const WM_NCMBUTTONDBLCLK : u32 = 169u32 ; pub const WM_NCMBUTTONDOWN : u32 = 167u32 ; pub const WM_NCMBUTTONUP : u32 = 168u32 ; pub const WM_NCMOUSEHOVER : u32 = 672u32 ; pub const WM_NCMOUSELEAVE : u32 = 674u32 ; pub const WM_NCMOUSEMOVE : u32 = 160u32 ; pub const WM_NCPAINT : u32 = 133u32 ; pub const WM_NCPOINTERDOWN : u32 = 578u32 ; pub const WM_NCPOINTERUP : u32 = 579u32 ; pub const WM_NCPOINTERUPDATE : u32 = 577u32 ; pub const WM_NCRBUTTONDBLCLK : u32 = 166u32 ; pub const WM_NCRBUTTONDOWN : u32 = 164u32 ; pub const WM_NCRBUTTONUP : u32 = 165u32 ; pub const WM_NCXBUTTONDBLCLK : u32 = 173u32 ; pub const WM_NCXBUTTONDOWN : u32 = 171u32 ; pub const WM_NCXBUTTONUP : u32 = 172u32 ; pub const WM_NEXTDLGCTL : u32 = 40u32 ; pub const WM_NEXTMENU : u32 = 531u32 ; pub const WM_NOTIFYFORMAT : u32 = 85u32 ; pub const WM_NULL : u32 = 0u32 ; pub const WM_PAINT : u32 = 15u32 ; pub const WM_PAINTCLIPBOARD : u32 = 777u32 ; pub const WM_PAINTICON : u32 = 38u32 ; pub const WM_PALETTECHANGED : u32 = 785u32 ; pub const WM_PALETTEISCHANGING : u32 = 784u32 ; pub const WM_PARENTNOTIFY : u32 = 528u32 ; pub const WM_PASTE : u32 = 770u32 ; pub const WM_PENWINFIRST : u32 = 896u32 ; pub const WM_PENWINLAST : u32 = 911u32 ; pub const WM_POINTERACTIVATE : u32 = 587u32 ; pub const WM_POINTERCAPTURECHANGED : u32 = 588u32 ; pub const WM_POINTERDEVICECHANGE : u32 = 568u32 ; pub const WM_POINTERDEVICEINRANGE : u32 = 569u32 ; pub const WM_POINTERDEVICEOUTOFRANGE : u32 = 570u32 ; pub const WM_POINTERDOWN : u32 = 582u32 ; pub const WM_POINTERENTER : u32 = 585u32 ; pub const WM_POINTERHWHEEL : u32 = 591u32 ; pub const WM_POINTERLEAVE : u32 = 586u32 ; pub const WM_POINTERROUTEDAWAY : u32 = 594u32 ; pub const WM_POINTERROUTEDRELEASED : u32 = 595u32 ; pub const WM_POINTERROUTEDTO : u32 = 593u32 ; pub const WM_POINTERUP : u32 = 583u32 ; pub const WM_POINTERUPDATE : u32 = 581u32 ; pub const WM_POINTERWHEEL : u32 = 590u32 ; pub const WM_POWER : u32 = 72u32 ; pub const WM_POWERBROADCAST : u32 = 536u32 ; pub const WM_PRINT : u32 = 791u32 ; pub const WM_PSD_ENVSTAMPRECT : u32 = 1029u32 ; pub const WM_PSD_FULLPAGERECT : u32 = 1025u32 ; pub const WM_PSD_GREEKTEXTRECT : u32 = 1028u32 ; pub const WM_PSD_MARGINRECT : u32 = 1027u32 ; pub const WM_PSD_MINMARGINRECT : u32 = 1026u32 ; pub const WM_PSD_YAFULLPAGERECT : u32 = 1030u32 ; pub const WM_QUERYDRAGICON : u32 = 55u32 ; pub const WM_QUERYENDSESSION : u32 = 17u32 ; pub const WM_QUERYNEWPALETTE : u32 = 783u32 ; pub const WM_QUERYOPEN : u32 = 19u32 ; pub const WM_QUERYUISTATE : u32 = 297u32 ; pub const WM_QUEUESYNC : u32 = 35u32 ; pub const WM_QUIT : u32 = 18u32 ; pub const WM_RBUTTONDBLCLK : u32 = 518u32 ; pub const WM_RBUTTONDOWN : u32 = 516u32 ; pub const WM_RBUTTONUP : u32 = 517u32 ; pub const WM_RENDERALLFORMATS : u32 = 774u32 ; pub const WM_RENDERFORMAT : u32 = 773u32 ; pub const WM_SETCURSOR : u32 = 32u32 ; pub const WM_SETFOCUS : u32 = 7u32 ; pub const WM_SETFONT : u32 = 48u32 ; pub const WM_SETHOTKEY : u32 = 50u32 ; pub const WM_SETICON : u32 = 128u32 ; pub const WM_SETREDRAW : u32 = 11u32 ; pub const WM_SETTEXT : u32 = 12u32 ; pub const WM_SHOWWINDOW : u32 = 24u32 ; pub const WM_SIZE : u32 = 5u32 ; pub const WM_SIZECLIPBOARD : u32 = 779u32 ; pub const WM_SIZING : u32 = 532u32 ; pub const WM_SPOOLERSTATUS : u32 = 42u32 ; pub const WM_STYLECHANGED : u32 = 125u32 ; pub const WM_STYLECHANGING : u32 = 124u32 ; pub const WM_SYNCPAINT : u32 = 136u32 ; pub const WM_SYSCHAR : u32 = 262u32 ; pub const WM_SYSCOLORCHANGE : u32 = 21u32 ; pub const WM_SYSCOMMAND : u32 = 274u32 ; pub const WM_SYSDEADCHAR : u32 = 263u32 ; pub const WM_SYSKEYDOWN : u32 = 260u32 ; pub const WM_SYSKEYUP : u32 = 261u32 ; pub const WM_TABLET_FIRST : u32 = 704u32 ; pub const WM_TABLET_LAST : u32 = 735u32 ; pub const WM_TCARD : u32 = 82u32 ; pub const WM_THEMECHANGED : u32 = 794u32 ; pub const WM_TIMECHANGE : u32 = 30u32 ; pub const WM_TIMER : u32 = 275u32 ; pub const WM_TOUCH : u32 = 576u32 ; pub const WM_TOUCHHITTESTING : u32 = 589u32 ; pub const WM_UNDO : u32 = 772u32 ; pub const WM_UNINITMENUPOPUP : u32 = 293u32 ; pub const WM_UPDATEUISTATE : u32 = 296u32 ; pub const WM_USER : u32 = 1024u32 ; pub const WM_USERCHANGED : u32 = 84u32 ; pub const WM_VKEYTOITEM : u32 = 46u32 ; pub const WM_VSCROLL : u32 = 277u32 ; pub const WM_VSCROLLCLIPBOARD : u32 = 778u32 ; pub const WM_WINDOWPOSCHANGED : u32 = 71u32 ; pub const WM_WINDOWPOSCHANGING : u32 = 70u32 ; pub const WM_WININICHANGE : u32 = 26u32 ; pub const WM_WTSSESSION_CHANGE : u32 = 689u32 ; pub const WM_XBUTTONDBLCLK : u32 = 525u32 ; pub const WM_XBUTTONDOWN : u32 = 523u32 ; pub const WM_XBUTTONUP : u32 = 524u32 ; pub const WSF_VISIBLE : i32 = 1i32 ; pub const WTS_CONSOLE_CONNECT : u32 = 1u32 ; pub const WTS_CONSOLE_DISCONNECT : u32 = 2u32 ; pub const WTS_REMOTE_CONNECT : u32 = 3u32 ; pub const WTS_REMOTE_DISCONNECT : u32 = 4u32 ; pub const WTS_SESSION_CREATE : u32 = 10u32 ; pub const WTS_SESSION_LOCK : u32 = 7u32 ; pub const WTS_SESSION_LOGOFF : u32 = 6u32 ; pub const WTS_SESSION_LOGON : u32 = 5u32 ; pub const WTS_SESSION_REMOTE_CONTROL : u32 = 9u32 ; pub const WTS_SESSION_TERMINATE : u32 = 11u32 ; pub const WTS_SESSION_UNLOCK : u32 = 8u32 ; pub const WVR_ALIGNBOTTOM : u32 = 64u32 ; pub const WVR_ALIGNLEFT : u32 = 32u32 ; pub const WVR_ALIGNRIGHT : u32 = 128u32 ; pub const WVR_ALIGNTOP : u32 = 16u32 ; pub const WVR_HREDRAW : u32 = 256u32 ; pub const WVR_VALIDRECTS : u32 = 1024u32 ; pub const WVR_VREDRAW : u32 = 512u32 ; pub unsafe fn WaitMessage < > ( ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn WindowFromPhysicalPoint < 'a , T0__ : :: windows :: IntoParam < 'a , super :: DisplayDevices :: POINT > , > ( point : T0__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn WindowFromPoint < 'a , T0__ : :: windows :: IntoParam < 'a , super :: DisplayDevices :: POINT > , > ( point : T0__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn lstrcatA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpstring1 : T0__ , lpstring2 : T1__ , ) -> super :: SystemServices :: PSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn lstrcatW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpstring1 : T0__ , lpstring2 : T1__ , ) -> super :: SystemServices :: PWSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn lstrcmpA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpstring1 : T0__ , lpstring2 : T1__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn lstrcmpW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpstring1 : T0__ , lpstring2 : T1__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn lstrcmpiA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpstring1 : T0__ , lpstring2 : T1__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn lstrcmpiW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpstring1 : T0__ , lpstring2 : T1__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn lstrcpyA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpstring1 : super :: SystemServices :: PSTR , lpstring2 : T1__ , ) -> super :: SystemServices :: PSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn lstrcpyW < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpstring1 : super :: SystemServices :: PWSTR , lpstring2 : T1__ , ) -> super :: SystemServices :: PWSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn lstrcpynA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpstring1 : super :: SystemServices :: PSTR , lpstring2 : T1__ , imaxlength : i32 , ) -> super :: SystemServices :: PSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn lstrcpynW < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpstring1 : super :: SystemServices :: PWSTR , lpstring2 : T1__ , imaxlength : i32 , ) -> super :: SystemServices :: PWSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn lstrlenA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpstring : T0__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn lstrlenW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpstring : T0__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn wsprintfA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( param0 : super :: SystemServices :: PSTR , param1 : T1__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn wsprintfW < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( param0 : super :: SystemServices :: PWSTR , param1 : T1__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn wvsprintfA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( param0 : super :: SystemServices :: PSTR , param1 : T1__ , arglist : * mut i8 , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn wvsprintfW < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( param0 : super :: SystemServices :: PWSTR , param1 : T1__ , arglist : * mut i8 , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod WindowsStationsAndDesktops { # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HDESK ( pub isize ) ; impl HDESK { } impl :: std :: default :: Default for HDESK { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HDESK { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HDESK" ) . field ( "Value" , & format_args ! ( "{:?}" , self .0 ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HDESK { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HDESK { } unsafe impl :: windows :: Abi for HDESK { type Abi = Self ; } } } } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> /opt/rustwide/target/debug/build/bindings-bd539b4dfab86e7e/out/windows.rs:1:28017 [INFO] [stdout] | [INFO] [stdout] 1 | ... { if ! value . 0 . is_null ( ) { unsafe { :: std :: boxed :: Box :: from_raw ( value . 0 ) ; } } } } } impl < 'a > :: windows :: Into... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1 | # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Windows { # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Win32 { # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Controls { # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct ImageListLoadImage_uFlags ( pub u32 ) ; impl ImageListLoadImage_uFlags { pub const LR_CREATEDIBSECTION : Self = Self ( 8192u32 ) ; pub const LR_DEFAULTCOLOR : Self = Self ( 0u32 ) ; pub const LR_DEFAULTSIZE : Self = Self ( 64u32 ) ; pub const LR_LOADFROMFILE : Self = Self ( 16u32 ) ; pub const LR_LOADMAP3DCOLORS : Self = Self ( 4096u32 ) ; pub const LR_LOADTRANSPARENT : Self = Self ( 32u32 ) ; pub const LR_MONOCHROME : Self = Self ( 1u32 ) ; pub const LR_SHARED : Self = Self ( 32768u32 ) ; pub const LR_VGACOLOR : Self = Self ( 128u32 ) ; pub const LR_COPYDELETEORG : Self = Self ( 8u32 ) ; pub const LR_COPYFROMRESOURCE : Self = Self ( 16384u32 ) ; pub const LR_COPYRETURNORG : Self = Self ( 4u32 ) ; } impl :: std :: convert :: From < u32 > for ImageListLoadImage_uFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for ImageListLoadImage_uFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for ImageListLoadImage_uFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for ImageListLoadImage_uFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for ImageListLoadImage_uFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for ImageListLoadImage_uFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SCROLLBAR_OBJID ( pub i32 ) ; impl SCROLLBAR_OBJID { pub const OBJID_CLIENT : Self = Self ( -4i32 ) ; pub const OBJID_HSCROLL : Self = Self ( -6i32 ) ; pub const OBJID_VSCROLL : Self = Self ( -5i32 ) ; } impl :: std :: convert :: From < i32 > for SCROLLBAR_OBJID { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SCROLLBAR_OBJID { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct NMHDR { pub hwndFrom : super :: WindowsAndMessaging :: HWND , pub idFrom : usize , pub code : u32 } impl NMHDR { } impl :: std :: default :: Default for NMHDR { fn default ( ) -> Self { Self { hwndFrom : :: std :: default :: Default :: default ( ) , idFrom : 0 , code : 0 } } } impl :: std :: fmt :: Debug for NMHDR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NMHDR" ) . field ( "hwndFrom" , & format_args ! ( "{:?}" , self . hwndFrom ) ) . field ( "idFrom" , & format_args ! ( "{:?}" , self . idFrom ) ) . field ( "code" , & format_args ! ( "{:?}" , self . code ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NMHDR { fn eq ( & self , other : & Self ) -> bool { self . hwndFrom == other . hwndFrom && self . idFrom == other . idFrom && self . code == other . code } } impl :: std :: cmp :: Eq for NMHDR { } unsafe impl :: windows :: Abi for NMHDR { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HPROPSHEETPAGE ( pub isize ) ; impl HPROPSHEETPAGE { } impl :: std :: default :: Default for HPROPSHEETPAGE { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HPROPSHEETPAGE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HPROPSHEETPAGE" ) . field ( "Value" , & format_args ! ( "{:?}" , self .0 ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HPROPSHEETPAGE { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HPROPSHEETPAGE { } unsafe impl :: windows :: Abi for HPROPSHEETPAGE { type Abi = Self ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Debug { pub unsafe fn GetLastError < > ( ) -> u32 { panic ! ( "Unsupported target OS" ) ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod DisplayDevices { # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct RECT { pub left : i32 , pub top : i32 , pub right : i32 , pub bottom : i32 } impl RECT { } impl :: std :: default :: Default for RECT { fn default ( ) -> Self { Self { left : 0 , top : 0 , right : 0 , bottom : 0 } } } impl :: std :: fmt :: Debug for RECT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "RECT" ) . field ( "left" , & format_args ! ( "{:?}" , self . left ) ) . field ( "top" , & format_args ! ( "{:?}" , self . top ) ) . field ( "right" , & format_args ! ( "{:?}" , self . right ) ) . field ( "bottom" , & format_args ! ( "{:?}" , self . bottom ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RECT { fn eq ( & self , other : & Self ) -> bool { self . left == other . left && self . top == other . top && self . right == other . right && self . bottom == other . bottom } } impl :: std :: cmp :: Eq for RECT { } unsafe impl :: windows :: Abi for RECT { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct POINT { pub x : i32 , pub y : i32 } impl POINT { } impl :: std :: default :: Default for POINT { fn default ( ) -> Self { Self { x : 0 , y : 0 } } } impl :: std :: fmt :: Debug for POINT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "POINT" ) . field ( "x" , & format_args ! ( "{:?}" , self . x ) ) . field ( "y" , & format_args ! ( "{:?}" , self . y ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for POINT { fn eq ( & self , other : & Self ) -> bool { self . x == other . x && self . y == other . y } } impl :: std :: cmp :: Eq for POINT { } unsafe impl :: windows :: Abi for POINT { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct SIZE { pub cx : i32 , pub cy : i32 } impl SIZE { } impl :: std :: default :: Default for SIZE { fn default ( ) -> Self { Self { cx : 0 , cy : 0 } } } impl :: std :: fmt :: Debug for SIZE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SIZE" ) . field ( "cx" , & format_args ! ( "{:?}" , self . cx ) ) . field ( "cy" , & format_args ! ( "{:?}" , self . cy ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SIZE { fn eq ( & self , other : & Self ) -> bool { self . cx == other . cx && self . cy == other . cy } } impl :: std :: cmp :: Eq for SIZE { } unsafe impl :: windows :: Abi for SIZE { type Abi = Self ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Gdi { # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HDC ( pub isize ) ; impl HDC { } impl :: std :: default :: Default for HDC { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HDC { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HDC" ) . field ( "Value" , & format_args ! ( "{:?}" , self .0 ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HDC { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HDC { } unsafe impl :: windows :: Abi for HDC { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HGDIOBJ ( pub isize ) ; impl HGDIOBJ { } impl :: std :: default :: Default for HGDIOBJ { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HGDIOBJ { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HGDIOBJ" ) . field ( "Value" , & format_args ! ( "{:?}" , self .0 ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HGDIOBJ { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HGDIOBJ { } unsafe impl :: windows :: Abi for HGDIOBJ { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HBITMAP ( pub isize ) ; impl HBITMAP { } impl :: std :: default :: Default for HBITMAP { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HBITMAP { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HBITMAP" ) . field ( "Value" , & format_args ! ( "{:?}" , self .0 ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HBITMAP { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HBITMAP { } unsafe impl :: windows :: Abi for HBITMAP { type Abi = Self ; } impl < 'a > :: windows :: IntoParam < 'a , HGDIOBJ > for HBITMAP { fn into_param ( self ) -> :: windows :: Param < 'a , HGDIOBJ > { :: windows :: Param :: Owned ( HGDIOBJ ( self . 0 ) ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HBRUSH ( pub isize ) ; impl HBRUSH { } impl :: std :: default :: Default for HBRUSH { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HBRUSH { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HBRUSH" ) . field ( "Value" , & format_args ! ( "{:?}" , self .0 ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HBRUSH { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HBRUSH { } unsafe impl :: windows :: Abi for HBRUSH { type Abi = Self ; } impl < 'a > :: windows :: IntoParam < 'a , HGDIOBJ > for HBRUSH { fn into_param ( self ) -> :: windows :: Param < 'a , HGDIOBJ > { :: windows :: Param :: Owned ( HGDIOBJ ( self . 0 ) ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct BLENDFUNCTION { pub BlendOp : u8 , pub BlendFlags : u8 , pub SourceConstantAlpha : u8 , pub AlphaFormat : u8 } impl BLENDFUNCTION { } impl :: std :: default :: Default for BLENDFUNCTION { fn default ( ) -> Self { Self { BlendOp : 0 , BlendFlags : 0 , SourceConstantAlpha : 0 , AlphaFormat : 0 } } } impl :: std :: fmt :: Debug for BLENDFUNCTION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "BLENDFUNCTION" ) . field ( "BlendOp" , & format_args ! ( "{:?}" , self . BlendOp ) ) . field ( "BlendFlags" , & format_args ! ( "{:?}" , self . BlendFlags ) ) . field ( "SourceConstantAlpha" , & format_args ! ( "{:?}" , self . SourceConstantAlpha ) ) . field ( "AlphaFormat" , & format_args ! ( "{:?}" , self . AlphaFormat ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for BLENDFUNCTION { fn eq ( & self , other : & Self ) -> bool { self . BlendOp == other . BlendOp && self . BlendFlags == other . BlendFlags && self . SourceConstantAlpha == other . SourceConstantAlpha && self . AlphaFormat == other . AlphaFormat } } impl :: std :: cmp :: Eq for BLENDFUNCTION { } unsafe impl :: windows :: Abi for BLENDFUNCTION { type Abi = Self ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Kernel { # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct LUID { pub LowPart : u32 , pub HighPart : i32 } impl LUID { } impl :: std :: default :: Default for LUID { fn default ( ) -> Self { Self { LowPart : 0 , HighPart : 0 } } } impl :: std :: fmt :: Debug for LUID { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "LUID" ) . field ( "LowPart" , & format_args ! ( "{:?}" , self . LowPart ) ) . field ( "HighPart" , & format_args ! ( "{:?}" , self . HighPart ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for LUID { fn eq ( & self , other : & Self ) -> bool { self . LowPart == other . LowPart && self . HighPart == other . HighPart } } impl :: std :: cmp :: Eq for LUID { } unsafe impl :: windows :: Abi for LUID { type Abi = Self ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod MenusAndResources { # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HMENU ( pub isize ) ; impl HMENU { } impl :: std :: default :: Default for HMENU { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HMENU { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HMENU" ) . field ( "Value" , & format_args ! ( "{:?}" , self .0 ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HMENU { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HMENU { } unsafe impl :: windows :: Abi for HMENU { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HICON ( pub isize ) ; impl HICON { } impl :: std :: default :: Default for HICON { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HICON { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HICON" ) . field ( "Value" , & format_args ! ( "{:?}" , self .0 ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HICON { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HICON { } unsafe impl :: windows :: Abi for HICON { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HCURSOR ( pub isize ) ; impl HCURSOR { } impl :: std :: default :: Default for HCURSOR { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HCURSOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HCURSOR" ) . field ( "Value" , & format_args ! ( "{:?}" , self .0 ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HCURSOR { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HCURSOR { } unsafe impl :: windows :: Abi for HCURSOR { type Abi = Self ; } impl < 'a > :: windows :: IntoParam < 'a , HICON > for HCURSOR { fn into_param ( self ) -> :: windows :: Param < 'a , HICON > { :: windows :: Param :: Owned ( HICON ( self . 0 ) ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HACCEL ( pub isize ) ; impl HACCEL { } impl :: std :: default :: Default for HACCEL { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HACCEL { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HACCEL" ) . field ( "Value" , & format_args ! ( "{:?}" , self .0 ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HACCEL { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HACCEL { } unsafe impl :: windows :: Abi for HACCEL { type Abi = Self ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Shell { # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct LOGFONTA { pub lfHeight : i32 , pub lfWidth : i32 , pub lfEscapement : i32 , pub lfOrientation : i32 , pub lfWeight : i32 , pub lfItalic : u8 , pub lfUnderline : u8 , pub lfStrikeOut : u8 , pub lfCharSet : u8 , pub lfOutPrecision : u8 , pub lfClipPrecision : u8 , pub lfQuality : u8 , pub lfPitchAndFamily : u8 , pub lfFaceName : [ i8 ;32 ] } impl LOGFONTA { } impl :: std :: default :: Default for LOGFONTA { fn default ( ) -> Self { Self { lfHeight : 0 , lfWidth : 0 , lfEscapement : 0 , lfOrientation : 0 , lfWeight : 0 , lfItalic : 0 , lfUnderline : 0 , lfStrikeOut : 0 , lfCharSet : 0 , lfOutPrecision : 0 , lfClipPrecision : 0 , lfQuality : 0 , lfPitchAndFamily : 0 , lfFaceName : [ 0 ;32 ] } } } impl :: std :: fmt :: Debug for LOGFONTA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "LOGFONTA" ) . field ( "lfHeight" , & format_args ! ( "{:?}" , self . lfHeight ) ) . field ( "lfWidth" , & format_args ! ( "{:?}" , self . lfWidth ) ) . field ( "lfEscapement" , & format_args ! ( "{:?}" , self . lfEscapement ) ) . field ( "lfOrientation" , & format_args ! ( "{:?}" , self . lfOrientation ) ) . field ( "lfWeight" , & format_args ! ( "{:?}" , self . lfWeight ) ) . field ( "lfItalic" , & format_args ! ( "{:?}" , self . lfItalic ) ) . field ( "lfUnderline" , & format_args ! ( "{:?}" , self . lfUnderline ) ) . field ( "lfStrikeOut" , & format_args ! ( "{:?}" , self . lfStrikeOut ) ) . field ( "lfCharSet" , & format_args ! ( "{:?}" , self . lfCharSet ) ) . field ( "lfOutPrecision" , & format_args ! ( "{:?}" , self . lfOutPrecision ) ) . field ( "lfClipPrecision" , & format_args ! ( "{:?}" , self . lfClipPrecision ) ) . field ( "lfQuality" , & format_args ! ( "{:?}" , self . lfQuality ) ) . field ( "lfPitchAndFamily" , & format_args ! ( "{:?}" , self . lfPitchAndFamily ) ) . field ( "lfFaceName" , & format_args ! ( "{:?}" , self . lfFaceName ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for LOGFONTA { fn eq ( & self , other : & Self ) -> bool { self . lfHeight == other . lfHeight && self . lfWidth == other . lfWidth && self . lfEscapement == other . lfEscapement && self . lfOrientation == other . lfOrientation && self . lfWeight == other . lfWeight && self . lfItalic == other . lfItalic && self . lfUnderline == other . lfUnderline && self . lfStrikeOut == other . lfStrikeOut && self . lfCharSet == other . lfCharSet && self . lfOutPrecision == other . lfOutPrecision && self . lfClipPrecision == other . lfClipPrecision && self . lfQuality == other . lfQuality && self . lfPitchAndFamily == other . lfPitchAndFamily && self . lfFaceName == other . lfFaceName } } impl :: std :: cmp :: Eq for LOGFONTA { } unsafe impl :: windows :: Abi for LOGFONTA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct LOGFONTW { pub lfHeight : i32 , pub lfWidth : i32 , pub lfEscapement : i32 , pub lfOrientation : i32 , pub lfWeight : i32 , pub lfItalic : u8 , pub lfUnderline : u8 , pub lfStrikeOut : u8 , pub lfCharSet : u8 , pub lfOutPrecision : u8 , pub lfClipPrecision : u8 , pub lfQuality : u8 , pub lfPitchAndFamily : u8 , pub lfFaceName : [ u16 ;32 ] } impl LOGFONTW { } impl :: std :: default :: Default for LOGFONTW { fn default ( ) -> Self { Self { lfHeight : 0 , lfWidth : 0 , lfEscapement : 0 , lfOrientation : 0 , lfWeight : 0 , lfItalic : 0 , lfUnderline : 0 , lfStrikeOut : 0 , lfCharSet : 0 , lfOutPrecision : 0 , lfClipPrecision : 0 , lfQuality : 0 , lfPitchAndFamily : 0 , lfFaceName : [ 0 ;32 ] } } } impl :: std :: fmt :: Debug for LOGFONTW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "LOGFONTW" ) . field ( "lfHeight" , & format_args ! ( "{:?}" , self . lfHeight ) ) . field ( "lfWidth" , & format_args ! ( "{:?}" , self . lfWidth ) ) . field ( "lfEscapement" , & format_args ! ( "{:?}" , self . lfEscapement ) ) . field ( "lfOrientation" , & format_args ! ( "{:?}" , self . lfOrientation ) ) . field ( "lfWeight" , & format_args ! ( "{:?}" , self . lfWeight ) ) . field ( "lfItalic" , & format_args ! ( "{:?}" , self . lfItalic ) ) . field ( "lfUnderline" , & format_args ! ( "{:?}" , self . lfUnderline ) ) . field ( "lfStrikeOut" , & format_args ! ( "{:?}" , self . lfStrikeOut ) ) . field ( "lfCharSet" , & format_args ! ( "{:?}" , self . lfCharSet ) ) . field ( "lfOutPrecision" , & format_args ! ( "{:?}" , self . lfOutPrecision ) ) . field ( "lfClipPrecision" , & format_args ! ( "{:?}" , self . lfClipPrecision ) ) . field ( "lfQuality" , & format_args ! ( "{:?}" , self . lfQuality ) ) . field ( "lfPitchAndFamily" , & format_args ! ( "{:?}" , self . lfPitchAndFamily ) ) . field ( "lfFaceName" , & format_args ! ( "{:?}" , self . lfFaceName ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for LOGFONTW { fn eq ( & self , other : & Self ) -> bool { self . lfHeight == other . lfHeight && self . lfWidth == other . lfWidth && self . lfEscapement == other . lfEscapement && self . lfOrientation == other . lfOrientation && self . lfWeight == other . lfWeight && self . lfItalic == other . lfItalic && self . lfUnderline == other . lfUnderline && self . lfStrikeOut == other . lfStrikeOut && self . lfCharSet == other . lfCharSet && self . lfOutPrecision == other . lfOutPrecision && self . lfClipPrecision == other . lfClipPrecision && self . lfQuality == other . lfQuality && self . lfPitchAndFamily == other . lfPitchAndFamily && self . lfFaceName == other . lfFaceName } } impl :: std :: cmp :: Eq for LOGFONTW { } unsafe impl :: windows :: Abi for LOGFONTW { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HELPINFO { pub cbSize : u32 , pub iContextType : i32 , pub iCtrlId : i32 , pub hItemHandle : super :: SystemServices :: HANDLE , pub dwContextId : usize , pub MousePos : super :: DisplayDevices :: POINT } impl HELPINFO { } impl :: std :: default :: Default for HELPINFO { fn default ( ) -> Self { Self { cbSize : 0 , iContextType : 0 , iCtrlId : 0 , hItemHandle : :: std :: default :: Default :: default ( ) , dwContextId : 0 , MousePos : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for HELPINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HELPINFO" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "iContextType" , & format_args ! ( "{:?}" , self . iContextType ) ) . field ( "iCtrlId" , & format_args ! ( "{:?}" , self . iCtrlId ) ) . field ( "hItemHandle" , & format_args ! ( "{:?}" , self . hItemHandle ) ) . field ( "dwContextId" , & format_args ! ( "{:?}" , self . dwContextId ) ) . field ( "MousePos" , & format_args ! ( "{:?}" , self . MousePos ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HELPINFO { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . iContextType == other . iContextType && self . iCtrlId == other . iCtrlId && self . hItemHandle == other . hItemHandle && self . dwContextId == other . dwContextId && self . MousePos == other . MousePos } } impl :: std :: cmp :: Eq for HELPINFO { } unsafe impl :: windows :: Abi for HELPINFO { type Abi = Self ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod SystemServices { # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: cmp :: Eq , :: std :: fmt :: Debug ) ] pub struct PSTR ( pub * mut u8 ) ; impl :: std :: default :: Default for PSTR { fn default ( ) -> Self { Self ( :: std :: ptr :: null_mut ( ) ) } } impl :: std :: cmp :: PartialEq for PSTR { fn eq ( & self , other : & Self ) -> bool { self . 0 == other . 0 } } unsafe impl :: windows :: Abi for PSTR { type Abi = Self ; fn drop_param ( param : & mut :: windows :: Param < Self > ) { if let :: windows :: Param :: Boxed ( value ) = param { if ! value . 0 . is_null ( ) { unsafe { :: std :: boxed :: Box :: from_raw ( value . 0 ) ; } } } } } impl < 'a > :: windows :: IntoParam < 'a , PSTR > for & 'a str { fn into_param ( self ) -> :: windows :: Param < 'a , PSTR > { :: windows :: Param :: Boxed ( PSTR ( :: std :: boxed :: Box :: < [ u8 ] > :: into_raw ( self . bytes ( ) . chain ( :: std :: iter :: once ( 0 ) ) . collect :: < std :: vec :: Vec < u8 >> ( ) . into_boxed_slice ( ) ) as _ ) ) } } impl < 'a > :: windows :: IntoParam < 'a , PSTR > for String { fn into_param ( self ) -> :: windows :: Param < 'a , PSTR > { :: windows :: Param :: Boxed ( PSTR ( :: std :: boxed :: Box :: < [ u8 ] > :: into_raw ( self . bytes ( ) . chain ( :: std :: iter :: once ( 0 ) ) . collect :: < std :: vec :: Vec < u8 >> ( ) . into_boxed_slice ( ) ) as _ ) ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: default :: Default ) ] pub struct BOOL ( pub i32 ) ; impl BOOL { # [ inline ] pub fn as_bool ( self ) -> bool { ! ( self . 0 == 0 ) } # [ inline ] pub fn ok ( self ) -> :: windows :: Result < ( ) > { if self . as_bool ( ) { Ok ( ( ) ) } else { Err ( :: windows :: ErrorCode :: from_thread ( ) . into ( ) ) } } # [ inline ] pub fn unwrap ( self ) { self . ok ( ) . unwrap ( ) ; } # [ inline ] pub fn expect ( self , msg : & str ) { self . ok ( ) . expect ( msg ) ; } } impl :: std :: fmt :: Debug for BOOL { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { let msg = if self . as_bool ( ) { "true" } else { "false" } ; fmt . write_str ( msg ) } } unsafe impl :: windows :: Abi for BOOL { type Abi = Self ; } impl :: std :: convert :: From < BOOL > for bool { fn from ( value : BOOL ) -> Self { value . as_bool ( ) } } impl :: std :: convert :: From < & BOOL > for bool { fn from ( value : & BOOL ) -> Self { value . as_bool ( ) } } impl :: std :: convert :: From < bool > for BOOL { fn from ( value : bool ) -> Self { if value { BOOL ( 1 ) } else { BOOL ( 0 ) } } } impl :: std :: convert :: From < & bool > for BOOL { fn from ( value : & bool ) -> Self { ( * value ) . into ( ) } } impl :: std :: cmp :: PartialEq < bool > for BOOL { fn eq ( & self , other : & bool ) -> bool { self . as_bool ( ) == * other } } impl :: std :: cmp :: PartialEq < BOOL > for bool { fn eq ( & self , other : & BOOL ) -> bool { * self == other . as_bool ( ) } } impl std :: ops :: Not for BOOL { type Output = Self ; fn not ( self ) -> Self :: Output { if self . as_bool ( ) { BOOL ( 0 ) } else { BOOL ( 1 ) } } } impl < 'a > :: windows :: IntoParam < 'a , BOOL > for bool { fn into_param ( self ) -> :: windows :: Param < 'a , BOOL > { :: windows :: Param :: Owned ( self . into ( ) ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: cmp :: Eq , :: std :: fmt :: Debug ) ] pub struct PWSTR ( pub * mut u16 ) ; impl :: std :: default :: Default for PWSTR { fn default ( ) -> Self { Self ( :: std :: ptr :: null_mut ( ) ) } } impl :: std :: cmp :: PartialEq for PWSTR { fn eq ( & self , other : & Self ) -> bool { self . 0 == other . 0 } } unsafe impl :: windows :: Abi for PWSTR { type Abi = Self ; fn drop_param ( param : & mut :: windows :: Param < Self > ) { if let :: windows :: Param :: Boxed ( value ) = param { if ! value . 0 . is_null ( ) { unsafe { let _ = :: std :: boxed :: Box :: from_raw ( value . 0 ) ; } } } } } impl < 'a > :: windows :: IntoParam < 'a , PWSTR > for & 'a str { fn into_param ( self ) -> :: windows :: Param < 'a , PWSTR > { :: windows :: Param :: Boxed ( PWSTR ( :: std :: boxed :: Box :: < [ u16 ] > :: into_raw ( self . encode_utf16 ( ) . chain ( :: std :: iter :: once ( 0 ) ) . collect :: < std :: vec :: Vec < u16 >> ( ) . into_boxed_slice ( ) ) as _ ) ) } } impl < 'a > :: windows :: IntoParam < 'a , PWSTR > for String { fn into_param ( self ) -> :: windows :: Param < 'a , PWSTR > { :: windows :: Param :: Boxed ( PWSTR ( :: std :: boxed :: Box :: < [ u16 ] > :: into_raw ( self . encode_utf16 ( ) . chain ( :: std :: iter :: once ( 0 ) ) . collect :: < std :: vec :: Vec < u16 >> ( ) . into_boxed_slice ( ) ) as _ ) ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HANDLE ( pub isize ) ; impl HANDLE { } impl :: std :: default :: Default for HANDLE { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HANDLE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HANDLE" ) . field ( "Value" , & format_args ! ( "{:?}" , self .0 ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HANDLE { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HANDLE { } unsafe impl :: windows :: Abi for HANDLE { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HINSTANCE ( pub isize ) ; impl HINSTANCE { } impl :: std :: default :: Default for HINSTANCE { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HINSTANCE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HINSTANCE" ) . field ( "Value" , & format_args ! ( "{:?}" , self .0 ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HINSTANCE { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HINSTANCE { } unsafe impl :: windows :: Abi for HINSTANCE { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct LRESULT ( pub i32 ) ; impl LRESULT { } impl :: std :: default :: Default for LRESULT { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for LRESULT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "LRESULT" ) . field ( "Value" , & format_args ! ( "{:?}" , self .0 ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for LRESULT { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for LRESULT { } unsafe impl :: windows :: Abi for LRESULT { type Abi = Self ; } pub type ENUMRESLANGPROCA = extern "system" fn ( hmodule : isize , lptype : PSTR , lpname : PSTR , wlanguage : u16 , lparam : isize ) -> BOOL ; pub type ENUMRESLANGPROCW = extern "system" fn ( hmodule : isize , lptype : PWSTR , lpname : PWSTR , wlanguage : u16 , lparam : isize ) -> BOOL ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HRSRC ( pub isize ) ; impl HRSRC { } impl :: std :: default :: Default for HRSRC { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HRSRC { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HRSRC" ) . field ( "Value" , & format_args ! ( "{:?}" , self .0 ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HRSRC { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HRSRC { } unsafe impl :: windows :: Abi for HRSRC { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct DPI_AWARENESS_CONTEXT ( pub isize ) ; impl DPI_AWARENESS_CONTEXT { } impl :: std :: default :: Default for DPI_AWARENESS_CONTEXT { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for DPI_AWARENESS_CONTEXT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DPI_AWARENESS_CONTEXT" ) . field ( "Value" , & format_args ! ( "{:?}" , self .0 ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DPI_AWARENESS_CONTEXT { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for DPI_AWARENESS_CONTEXT { } unsafe impl :: windows :: Abi for DPI_AWARENESS_CONTEXT { type Abi = Self ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod WindowsAndMessaging { # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct ACCEL { pub fVirt : u8 , pub key : u16 , pub cmd : u16 } impl ACCEL { } impl :: std :: default :: Default for ACCEL { fn default ( ) -> Self { Self { fVirt : 0 , key : 0 , cmd : 0 } } } impl :: std :: fmt :: Debug for ACCEL { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ACCEL" ) . field ( "fVirt" , & format_args ! ( "{:?}" , self . fVirt ) ) . field ( "key" , & format_args ! ( "{:?}" , self . key ) ) . field ( "cmd" , & format_args ! ( "{:?}" , self . cmd ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ACCEL { fn eq ( & self , other : & Self ) -> bool { self . fVirt == other . fVirt && self . key == other . key && self . cmd == other . cmd } } impl :: std :: cmp :: Eq for ACCEL { } unsafe impl :: windows :: Abi for ACCEL { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct ALTTABINFO { pub cbSize : u32 , pub cItems : i32 , pub cColumns : i32 , pub cRows : i32 , pub iColFocus : i32 , pub iRowFocus : i32 , pub cxItem : i32 , pub cyItem : i32 , pub ptStart : super :: DisplayDevices :: POINT } impl ALTTABINFO { } impl :: std :: default :: Default for ALTTABINFO { fn default ( ) -> Self { Self { cbSize : 0 , cItems : 0 , cColumns : 0 , cRows : 0 , iColFocus : 0 , iRowFocus : 0 , cxItem : 0 , cyItem : 0 , ptStart : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for ALTTABINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ALTTABINFO" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "cItems" , & format_args ! ( "{:?}" , self . cItems ) ) . field ( "cColumns" , & format_args ! ( "{:?}" , self . cColumns ) ) . field ( "cRows" , & format_args ! ( "{:?}" , self . cRows ) ) . field ( "iColFocus" , & format_args ! ( "{:?}" , self . iColFocus ) ) . field ( "iRowFocus" , & format_args ! ( "{:?}" , self . iRowFocus ) ) . field ( "cxItem" , & format_args ! ( "{:?}" , self . cxItem ) ) . field ( "cyItem" , & format_args ! ( "{:?}" , self . cyItem ) ) . field ( "ptStart" , & format_args ! ( "{:?}" , self . ptStart ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ALTTABINFO { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . cItems == other . cItems && self . cColumns == other . cColumns && self . cRows == other . cRows && self . iColFocus == other . iColFocus && self . iRowFocus == other . iRowFocus && self . cxItem == other . cxItem && self . cyItem == other . cyItem && self . ptStart == other . ptStart } } impl :: std :: cmp :: Eq for ALTTABINFO { } unsafe impl :: windows :: Abi for ALTTABINFO { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct ANIMATIONINFO { pub cbSize : u32 , pub iMinAnimate : i32 } impl ANIMATIONINFO { } impl :: std :: default :: Default for ANIMATIONINFO { fn default ( ) -> Self { Self { cbSize : 0 , iMinAnimate : 0 } } } impl :: std :: fmt :: Debug for ANIMATIONINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ANIMATIONINFO" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "iMinAnimate" , & format_args ! ( "{:?}" , self . iMinAnimate ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ANIMATIONINFO { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . iMinAnimate == other . iMinAnimate } } impl :: std :: cmp :: Eq for ANIMATIONINFO { } unsafe impl :: windows :: Abi for ANIMATIONINFO { type Abi = Self ; } pub const ARW_DOWN : i32 = 4i32 ; pub const ARW_HIDE : i32 = 8i32 ; pub const ARW_LEFT : i32 = 0i32 ; pub const ARW_RIGHT : i32 = 0i32 ; pub const ARW_STARTMASK : i32 = 3i32 ; pub const ARW_STARTRIGHT : i32 = 1i32 ; pub const ARW_STARTTOP : i32 = 2i32 ; pub const ARW_UP : i32 = 4i32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct AUDIODESCRIPTION { pub cbSize : u32 , pub Enabled : super :: SystemServices :: BOOL , pub Locale : u32 } impl AUDIODESCRIPTION { } impl :: std :: default :: Default for AUDIODESCRIPTION { fn default ( ) -> Self { Self { cbSize : 0 , Enabled : :: std :: default :: Default :: default ( ) , Locale : 0 } } } impl :: std :: fmt :: Debug for AUDIODESCRIPTION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "AUDIODESCRIPTION" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "Enabled" , & format_args ! ( "{:?}" , self . Enabled ) ) . field ( "Locale" , & format_args ! ( "{:?}" , self . Locale ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for AUDIODESCRIPTION { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . Enabled == other . Enabled && self . Locale == other . Locale } } impl :: std :: cmp :: Eq for AUDIODESCRIPTION { } unsafe impl :: windows :: Abi for AUDIODESCRIPTION { type Abi = Self ; } pub unsafe fn AdjustWindowRect < 'a , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( lprect : * mut super :: DisplayDevices :: RECT , dwstyle : u32 , bmenu : T2__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn AdjustWindowRectEx < 'a , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( lprect : * mut super :: DisplayDevices :: RECT , dwstyle : u32 , bmenu : T2__ , dwexstyle : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn AllowSetForegroundWindow < > ( dwprocessid : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HWND ( pub isize ) ; impl HWND { } impl :: std :: default :: Default for HWND { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HWND { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HWND" ) . field ( "Value" , & format_args ! ( "{:?}" , self .0 ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HWND { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HWND { } unsafe impl :: windows :: Abi for HWND { type Abi = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct AnimateWindow_dwFlags ( pub u32 ) ; impl AnimateWindow_dwFlags { pub const AW_ACTIVATE : Self = Self ( 131072u32 ) ; pub const AW_BLEND : Self = Self ( 524288u32 ) ; pub const AW_CENTER : Self = Self ( 16u32 ) ; pub const AW_HIDE : Self = Self ( 65536u32 ) ; pub const AW_HOR_POSITIVE : Self = Self ( 1u32 ) ; pub const AW_HOR_NEGATIVE : Self = Self ( 2u32 ) ; pub const AW_SLIDE : Self = Self ( 262144u32 ) ; pub const AW_VER_POSITIVE : Self = Self ( 4u32 ) ; pub const AW_VER_NEGATIVE : Self = Self ( 8u32 ) ; } impl :: std :: convert :: From < u32 > for AnimateWindow_dwFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for AnimateWindow_dwFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for AnimateWindow_dwFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for AnimateWindow_dwFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for AnimateWindow_dwFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for AnimateWindow_dwFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn AnimateWindow < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , dwtime : u32 , dwflags : AnimateWindow_dwFlags , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn AnyPopup < > ( ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub struct Apis { } impl Apis { } impl :: windows :: RuntimeName for Apis { const NAME : & 'static str ="Windows.Win32.WindowsAndMessaging.Apis" ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MENU_ITEM_FLAGS ( pub u32 ) ; impl MENU_ITEM_FLAGS { pub const MF_INSERT : Self = Self ( 0u32 ) ; pub const MF_CHANGE : Self = Self ( 128u32 ) ; pub const MF_APPEND : Self = Self ( 256u32 ) ; pub const MF_DELETE : Self = Self ( 512u32 ) ; pub const MF_REMOVE : Self = Self ( 4096u32 ) ; pub const MF_BYCOMMAND : Self = Self ( 0u32 ) ; pub const MF_BYPOSITION : Self = Self ( 1024u32 ) ; pub const MF_DISABLED : Self = Self ( 2u32 ) ; pub const MF_ENABLED : Self = Self ( 0u32 ) ; pub const MF_GRAYED : Self = Self ( 1u32 ) ; pub const MF_BITMAP : Self = Self ( 4u32 ) ; pub const MF_CHECKED : Self = Self ( 8u32 ) ; pub const MF_MENUBARBREAK : Self = Self ( 32u32 ) ; pub const MF_MENUBREAK : Self = Self ( 64u32 ) ; pub const MF_OWNERDRAW : Self = Self ( 256u32 ) ; pub const MF_POPUP : Self = Self ( 16u32 ) ; pub const MF_SEPARATOR : Self = Self ( 2048u32 ) ; pub const MF_STRING : Self = Self ( 0u32 ) ; pub const MF_UNCHECKED : Self = Self ( 0u32 ) ; pub const MF_USECHECKBITMAPS : Self = Self ( 512u32 ) ; pub const MF_UNHILITE : Self = Self ( 0u32 ) ; pub const MF_HILITE : Self = Self ( 128u32 ) ; pub const MF_DEFAULT : Self = Self ( 4096u32 ) ; pub const MF_SYSMENU : Self = Self ( 8192u32 ) ; pub const MF_HELP : Self = Self ( 16384u32 ) ; pub const MF_RIGHTJUSTIFY : Self = Self ( 16384u32 ) ; pub const MF_MOUSESELECT : Self = Self ( 32768u32 ) ; pub const MF_END : Self = Self ( 128u32 ) ; } impl :: std :: convert :: From < u32 > for MENU_ITEM_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MENU_ITEM_FLAGS { type Abi = Self ; } impl :: std :: ops :: BitOr for MENU_ITEM_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for MENU_ITEM_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for MENU_ITEM_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for MENU_ITEM_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn AppendMenuA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hmenu : T0__ , uflags : MENU_ITEM_FLAGS , uidnewitem : usize , lpnewitem : T3__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn AppendMenuW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hmenu : T0__ , uflags : MENU_ITEM_FLAGS , uidnewitem : usize , lpnewitem : T3__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ArrangeIconicWindows < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub const BM_CLICK : u32 = 245u32 ; pub const BM_GETCHECK : u32 = 240u32 ; pub const BM_GETIMAGE : u32 = 246u32 ; pub const BM_GETSTATE : u32 = 242u32 ; pub const BM_SETCHECK : u32 = 241u32 ; pub const BM_SETDONTCLICK : u32 = 248u32 ; pub const BM_SETIMAGE : u32 = 247u32 ; pub const BM_SETSTATE : u32 = 243u32 ; pub const BM_SETSTYLE : u32 = 244u32 ; pub const BN_CLICKED : u32 = 0u32 ; pub const BN_DISABLE : u32 = 4u32 ; pub const BN_DOUBLECLICKED : u32 = 5u32 ; pub const BN_HILITE : u32 = 2u32 ; pub const BN_KILLFOCUS : u32 = 7u32 ; pub const BN_PAINT : u32 = 1u32 ; pub const BN_SETFOCUS : u32 = 6u32 ; pub const BN_UNHILITE : u32 = 3u32 ; pub const BROADCAST_QUERY_DENY : u32 = 1112363332u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct BSMINFO { pub cbSize : u32 , pub hdesk : super :: WindowsStationsAndDesktops :: HDESK , pub hwnd : HWND , pub luid : super :: Kernel :: LUID } impl BSMINFO { } impl :: std :: default :: Default for BSMINFO { fn default ( ) -> Self { Self { cbSize : 0 , hdesk : :: std :: default :: Default :: default ( ) , hwnd : :: std :: default :: Default :: default ( ) , luid : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for BSMINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "BSMINFO" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "hdesk" , & format_args ! ( "{:?}" , self . hdesk ) ) . field ( "hwnd" , & format_args ! ( "{:?}" , self . hwnd ) ) . field ( "luid" , & format_args ! ( "{:?}" , self . luid ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for BSMINFO { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . hdesk == other . hdesk && self . hwnd == other . hwnd && self . luid == other . luid } } impl :: std :: cmp :: Eq for BSMINFO { } unsafe impl :: windows :: Abi for BSMINFO { type Abi = Self ; } pub const BSM_INSTALLABLEDRIVERS : u32 = 4u32 ; pub const BSM_NETDRIVER : u32 = 2u32 ; pub const BSM_VXDS : u32 = 1u32 ; pub const BST_FOCUS : u32 = 8u32 ; pub const BST_PUSHED : u32 = 4u32 ; pub unsafe fn BeginDeferWindowPos < > ( nnumwindows : i32 , ) -> isize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn BeginUpdateResourceA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( pfilename : T0__ , bdeleteexistingresources : T1__ , ) -> super :: SystemServices :: HANDLE { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn BeginUpdateResourceW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( pfilename : T0__ , bdeleteexistingresources : T1__ , ) -> super :: SystemServices :: HANDLE { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn BringWindowToTop < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct WPARAM ( pub usize ) ; impl WPARAM { } impl :: std :: default :: Default for WPARAM { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for WPARAM { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WPARAM" ) . field ( "Value" , & format_args ! ( "{:?}" , self .0 ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WPARAM { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for WPARAM { } unsafe impl :: windows :: Abi for WPARAM { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct LPARAM ( pub isize ) ; impl LPARAM { } impl :: std :: default :: Default for LPARAM { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for LPARAM { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "LPARAM" ) . field ( "Value" , & format_args ! ( "{:?}" , self .0 ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for LPARAM { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for LPARAM { } unsafe impl :: windows :: Abi for LPARAM { type Abi = Self ; } pub unsafe fn BroadcastSystemMessageA < 'a , T3__ : :: windows :: IntoParam < 'a , WPARAM > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( flags : u32 , lpinfo : * mut u32 , msg : u32 , wparam : T3__ , lparam : T4__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct BroadcastSystemMessageW_flags ( pub u32 ) ; impl BroadcastSystemMessageW_flags { pub const BSF_ALLOWSFW : Self = Self ( 128u32 ) ; pub const BSF_FLUSHDISK : Self = Self ( 4u32 ) ; pub const BSF_FORCEIFHUNG : Self = Self ( 32u32 ) ; pub const BSF_IGNORECURRENTTASK : Self = Self ( 2u32 ) ; pub const BSF_NOHANG : Self = Self ( 8u32 ) ; pub const BSF_NOTIMEOUTIFNOTHUNG : Self = Self ( 64u32 ) ; pub const BSF_POSTMESSAGE : Self = Self ( 16u32 ) ; pub const BSF_QUERY : Self = Self ( 1u32 ) ; pub const BSF_SENDNOTIFYMESSAGE : Self = Self ( 256u32 ) ; pub const BSF_LUID : Self = Self ( 1024u32 ) ; pub const BSF_RETURNHDESK : Self = Self ( 512u32 ) ; } impl :: std :: convert :: From < u32 > for BroadcastSystemMessageW_flags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for BroadcastSystemMessageW_flags { type Abi = Self ; } impl :: std :: ops :: BitOr for BroadcastSystemMessageW_flags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for BroadcastSystemMessageW_flags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for BroadcastSystemMessageW_flags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for BroadcastSystemMessageW_flags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct BroadcastSystemMessage_lpInfo ( pub u32 ) ; impl BroadcastSystemMessage_lpInfo { pub const BSM_ALLCOMPONENTS : Self = Self ( 0u32 ) ; pub const BSM_ALLDESKTOPS : Self = Self ( 16u32 ) ; pub const BSM_APPLICATIONS : Self = Self ( 8u32 ) ; } impl :: std :: convert :: From < u32 > for BroadcastSystemMessage_lpInfo { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for BroadcastSystemMessage_lpInfo { type Abi = Self ; } impl :: std :: ops :: BitOr for BroadcastSystemMessage_lpInfo { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for BroadcastSystemMessage_lpInfo { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for BroadcastSystemMessage_lpInfo { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for BroadcastSystemMessage_lpInfo { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn BroadcastSystemMessageExA < 'a , T3__ : :: windows :: IntoParam < 'a , WPARAM > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( flags : BroadcastSystemMessageW_flags , lpinfo : * mut BroadcastSystemMessage_lpInfo , msg : u32 , wparam : T3__ , lparam : T4__ , pbsminfo : * mut BSMINFO , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn BroadcastSystemMessageExW < 'a , T3__ : :: windows :: IntoParam < 'a , WPARAM > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( flags : BroadcastSystemMessageW_flags , lpinfo : * mut BroadcastSystemMessage_lpInfo , msg : u32 , wparam : T3__ , lparam : T4__ , pbsminfo : * mut BSMINFO , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn BroadcastSystemMessageW < 'a , T3__ : :: windows :: IntoParam < 'a , WPARAM > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( flags : BroadcastSystemMessageW_flags , lpinfo : * mut BroadcastSystemMessage_lpInfo , msg : u32 , wparam : T3__ , lparam : T4__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub const CALERT_SYSTEM : u32 = 6u32 ; pub const CBN_CLOSEUP : u32 = 8u32 ; pub const CBN_DBLCLK : u32 = 2u32 ; pub const CBN_DROPDOWN : u32 = 7u32 ; pub const CBN_EDITCHANGE : u32 = 5u32 ; pub const CBN_EDITUPDATE : u32 = 6u32 ; pub const CBN_ERRSPACE : i32 = -1i32 ; pub const CBN_KILLFOCUS : u32 = 4u32 ; pub const CBN_SELCHANGE : u32 = 1u32 ; pub const CBN_SELENDCANCEL : u32 = 10u32 ; pub const CBN_SELENDOK : u32 = 9u32 ; pub const CBN_SETFOCUS : u32 = 3u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CBTACTIVATESTRUCT { pub fMouse : super :: SystemServices :: BOOL , pub hWndActive : HWND } impl CBTACTIVATESTRUCT { } impl :: std :: default :: Default for CBTACTIVATESTRUCT { fn default ( ) -> Self { Self { fMouse : :: std :: default :: Default :: default ( ) , hWndActive : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for CBTACTIVATESTRUCT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CBTACTIVATESTRUCT" ) . field ( "fMouse" , & format_args ! ( "{:?}" , self . fMouse ) ) . field ( "hWndActive" , & format_args ! ( "{:?}" , self . hWndActive ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CBTACTIVATESTRUCT { fn eq ( & self , other : & Self ) -> bool { self . fMouse == other . fMouse && self . hWndActive == other . hWndActive } } impl :: std :: cmp :: Eq for CBTACTIVATESTRUCT { } unsafe impl :: windows :: Abi for CBTACTIVATESTRUCT { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CREATESTRUCTA { pub lpCreateParams : * mut :: std :: ffi :: c_void , pub hInstance : super :: SystemServices :: HINSTANCE , pub hMenu : super :: MenusAndResources :: HMENU , pub hwndParent : HWND , pub cy : i32 , pub cx : i32 , pub y : i32 , pub x : i32 , pub style : i32 , pub lpszName : super :: SystemServices :: PSTR , pub lpszClass : super :: SystemServices :: PSTR , pub dwExStyle : u32 } impl CREATESTRUCTA { } impl :: std :: default :: Default for CREATESTRUCTA { fn default ( ) -> Self { Self { lpCreateParams : :: std :: ptr :: null_mut ( ) , hInstance : :: std :: default :: Default :: default ( ) , hMenu : :: std :: default :: Default :: default ( ) , hwndParent : :: std :: default :: Default :: default ( ) , cy : 0 , cx : 0 , y : 0 , x : 0 , style : 0 , lpszName : :: std :: default :: Default :: default ( ) , lpszClass : :: std :: default :: Default :: default ( ) , dwExStyle : 0 } } } impl :: std :: fmt :: Debug for CREATESTRUCTA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CREATESTRUCTA" ) . field ( "lpCreateParams" , & format_args ! ( "{:?}" , self . lpCreateParams ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "hMenu" , & format_args ! ( "{:?}" , self . hMenu ) ) . field ( "hwndParent" , & format_args ! ( "{:?}" , self . hwndParent ) ) . field ( "cy" , & format_args ! ( "{:?}" , self . cy ) ) . field ( "cx" , & format_args ! ( "{:?}" , self . cx ) ) . field ( "y" , & format_args ! ( "{:?}" , self . y ) ) . field ( "x" , & format_args ! ( "{:?}" , self . x ) ) . field ( "style" , & format_args ! ( "{:?}" , self . style ) ) . field ( "lpszName" , & format_args ! ( "{:?}" , self . lpszName ) ) . field ( "lpszClass" , & format_args ! ( "{:?}" , self . lpszClass ) ) . field ( "dwExStyle" , & format_args ! ( "{:?}" , self . dwExStyle ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CREATESTRUCTA { fn eq ( & self , other : & Self ) -> bool { self . lpCreateParams == other . lpCreateParams && self . hInstance == other . hInstance && self . hMenu == other . hMenu && self . hwndParent == other . hwndParent && self . cy == other . cy && self . cx == other . cx && self . y == other . y && self . x == other . x && self . style == other . style && self . lpszName == other . lpszName && self . lpszClass == other . lpszClass && self . dwExStyle == other . dwExStyle } } impl :: std :: cmp :: Eq for CREATESTRUCTA { } unsafe impl :: windows :: Abi for CREATESTRUCTA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CBT_CREATEWNDA { pub lpcs : * mut CREATESTRUCTA , pub hwndInsertAfter : HWND } impl CBT_CREATEWNDA { } impl :: std :: default :: Default for CBT_CREATEWNDA { fn default ( ) -> Self { Self { lpcs : :: std :: ptr :: null_mut ( ) , hwndInsertAfter : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for CBT_CREATEWNDA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CBT_CREATEWNDA" ) . field ( "lpcs" , & format_args ! ( "{:?}" , self . lpcs ) ) . field ( "hwndInsertAfter" , & format_args ! ( "{:?}" , self . hwndInsertAfter ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CBT_CREATEWNDA { fn eq ( & self , other : & Self ) -> bool { self . lpcs == other . lpcs && self . hwndInsertAfter == other . hwndInsertAfter } } impl :: std :: cmp :: Eq for CBT_CREATEWNDA { } unsafe impl :: windows :: Abi for CBT_CREATEWNDA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CREATESTRUCTW { pub lpCreateParams : * mut :: std :: ffi :: c_void , pub hInstance : super :: SystemServices :: HINSTANCE , pub hMenu : super :: MenusAndResources :: HMENU , pub hwndParent : HWND , pub cy : i32 , pub cx : i32 , pub y : i32 , pub x : i32 , pub style : i32 , pub lpszName : super :: SystemServices :: PWSTR , pub lpszClass : super :: SystemServices :: PWSTR , pub dwExStyle : u32 } impl CREATESTRUCTW { } impl :: std :: default :: Default for CREATESTRUCTW { fn default ( ) -> Self { Self { lpCreateParams : :: std :: ptr :: null_mut ( ) , hInstance : :: std :: default :: Default :: default ( ) , hMenu : :: std :: default :: Default :: default ( ) , hwndParent : :: std :: default :: Default :: default ( ) , cy : 0 , cx : 0 , y : 0 , x : 0 , style : 0 , lpszName : :: std :: default :: Default :: default ( ) , lpszClass : :: std :: default :: Default :: default ( ) , dwExStyle : 0 } } } impl :: std :: fmt :: Debug for CREATESTRUCTW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CREATESTRUCTW" ) . field ( "lpCreateParams" , & format_args ! ( "{:?}" , self . lpCreateParams ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "hMenu" , & format_args ! ( "{:?}" , self . hMenu ) ) . field ( "hwndParent" , & format_args ! ( "{:?}" , self . hwndParent ) ) . field ( "cy" , & format_args ! ( "{:?}" , self . cy ) ) . field ( "cx" , & format_args ! ( "{:?}" , self . cx ) ) . field ( "y" , & format_args ! ( "{:?}" , self . y ) ) . field ( "x" , & format_args ! ( "{:?}" , self . x ) ) . field ( "style" , & format_args ! ( "{:?}" , self . style ) ) . field ( "lpszName" , & format_args ! ( "{:?}" , self . lpszName ) ) . field ( "lpszClass" , & format_args ! ( "{:?}" , self . lpszClass ) ) . field ( "dwExStyle" , & format_args ! ( "{:?}" , self . dwExStyle ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CREATESTRUCTW { fn eq ( & self , other : & Self ) -> bool { self . lpCreateParams == other . lpCreateParams && self . hInstance == other . hInstance && self . hMenu == other . hMenu && self . hwndParent == other . hwndParent && self . cy == other . cy && self . cx == other . cx && self . y == other . y && self . x == other . x && self . style == other . style && self . lpszName == other . lpszName && self . lpszClass == other . lpszClass && self . dwExStyle == other . dwExStyle } } impl :: std :: cmp :: Eq for CREATESTRUCTW { } unsafe impl :: windows :: Abi for CREATESTRUCTW { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CBT_CREATEWNDW { pub lpcs : * mut CREATESTRUCTW , pub hwndInsertAfter : HWND } impl CBT_CREATEWNDW { } impl :: std :: default :: Default for CBT_CREATEWNDW { fn default ( ) -> Self { Self { lpcs : :: std :: ptr :: null_mut ( ) , hwndInsertAfter : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for CBT_CREATEWNDW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CBT_CREATEWNDW" ) . field ( "lpcs" , & format_args ! ( "{:?}" , self . lpcs ) ) . field ( "hwndInsertAfter" , & format_args ! ( "{:?}" , self . hwndInsertAfter ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CBT_CREATEWNDW { fn eq ( & self , other : & Self ) -> bool { self . lpcs == other . lpcs && self . hwndInsertAfter == other . hwndInsertAfter } } impl :: std :: cmp :: Eq for CBT_CREATEWNDW { } unsafe impl :: windows :: Abi for CBT_CREATEWNDW { type Abi = Self ; } pub const CB_ADDSTRING : u32 = 323u32 ; pub const CB_DELETESTRING : u32 = 324u32 ; pub const CB_DIR : u32 = 325u32 ; pub const CB_ERR : i32 = -1i32 ; pub const CB_ERRSPACE : i32 = -2i32 ; pub const CB_FINDSTRING : u32 = 332u32 ; pub const CB_FINDSTRINGEXACT : u32 = 344u32 ; pub const CB_GETCOMBOBOXINFO : u32 = 356u32 ; pub const CB_GETCOUNT : u32 = 326u32 ; pub const CB_GETCURSEL : u32 = 327u32 ; pub const CB_GETDROPPEDCONTROLRECT : u32 = 338u32 ; pub const CB_GETDROPPEDSTATE : u32 = 343u32 ; pub const CB_GETDROPPEDWIDTH : u32 = 351u32 ; pub const CB_GETEDITSEL : u32 = 320u32 ; pub const CB_GETEXTENDEDUI : u32 = 342u32 ; pub const CB_GETHORIZONTALEXTENT : u32 = 349u32 ; pub const CB_GETITEMDATA : u32 = 336u32 ; pub const CB_GETITEMHEIGHT : u32 = 340u32 ; pub const CB_GETLBTEXT : u32 = 328u32 ; pub const CB_GETLBTEXTLEN : u32 = 329u32 ; pub const CB_GETLOCALE : u32 = 346u32 ; pub const CB_GETTOPINDEX : u32 = 347u32 ; pub const CB_INITSTORAGE : u32 = 353u32 ; pub const CB_INSERTSTRING : u32 = 330u32 ; pub const CB_LIMITTEXT : u32 = 321u32 ; pub const CB_MSGMAX : u32 = 357u32 ; pub const CB_MULTIPLEADDSTRING : u32 = 355u32 ; pub const CB_OKAY : u32 = 0u32 ; pub const CB_RESETCONTENT : u32 = 331u32 ; pub const CB_SELECTSTRING : u32 = 333u32 ; pub const CB_SETCURSEL : u32 = 334u32 ; pub const CB_SETDROPPEDWIDTH : u32 = 352u32 ; pub const CB_SETEDITSEL : u32 = 322u32 ; pub const CB_SETEXTENDEDUI : u32 = 341u32 ; pub const CB_SETHORIZONTALEXTENT : u32 = 350u32 ; pub const CB_SETITEMDATA : u32 = 337u32 ; pub const CB_SETITEMHEIGHT : u32 = 339u32 ; pub const CB_SETLOCALE : u32 = 345u32 ; pub const CB_SETTOPINDEX : u32 = 348u32 ; pub const CB_SHOWDROPDOWN : u32 = 335u32 ; pub const CCHILDREN_SCROLLBAR : u32 = 5u32 ; pub const CCHILDREN_TITLEBAR : u32 = 5u32 ; pub const CDM_FIRST : u32 = 1124u32 ; pub const CDM_GETFILEPATH : u32 = 1125u32 ; pub const CDM_GETFOLDERIDLIST : u32 = 1127u32 ; pub const CDM_GETFOLDERPATH : u32 = 1126u32 ; pub const CDM_GETSPEC : u32 = 1124u32 ; pub const CDM_HIDECONTROL : u32 = 1129u32 ; pub const CDM_LAST : u32 = 1224u32 ; pub const CDM_SETCONTROLTEXT : u32 = 1128u32 ; pub const CDM_SETDEFEXT : u32 = 1130u32 ; pub const CD_LBSELADD : u32 = 2u32 ; pub const CD_LBSELCHANGE : u32 = 0u32 ; pub const CD_LBSELNOITEMS : i32 = -1i32 ; pub const CD_LBSELSUB : u32 = 1u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CHANGEFILTERSTRUCT_ExtStatusFlags ( pub u32 ) ; impl CHANGEFILTERSTRUCT_ExtStatusFlags { pub const MSGFLTINFO_NONE : Self = Self ( 0u32 ) ; pub const MSGFLTINFO_ALLOWED_HIGHER : Self = Self ( 3u32 ) ; pub const MSGFLTINFO_ALREADYALLOWED_FORWND : Self = Self ( 1u32 ) ; pub const MSGFLTINFO_ALREADYDISALLOWED_FORWND : Self = Self ( 2u32 ) ; } impl :: std :: convert :: From < u32 > for CHANGEFILTERSTRUCT_ExtStatusFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CHANGEFILTERSTRUCT_ExtStatusFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for CHANGEFILTERSTRUCT_ExtStatusFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for CHANGEFILTERSTRUCT_ExtStatusFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for CHANGEFILTERSTRUCT_ExtStatusFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for CHANGEFILTERSTRUCT_ExtStatusFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CHANGEFILTERSTRUCT { pub cbSize : u32 , pub ExtStatus : CHANGEFILTERSTRUCT_ExtStatusFlags } impl CHANGEFILTERSTRUCT { } impl :: std :: default :: Default for CHANGEFILTERSTRUCT { fn default ( ) -> Self { Self { cbSize : 0 , ExtStatus : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for CHANGEFILTERSTRUCT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CHANGEFILTERSTRUCT" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "ExtStatus" , & format_args ! ( "{:?}" , self . ExtStatus ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CHANGEFILTERSTRUCT { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . ExtStatus == other . ExtStatus } } impl :: std :: cmp :: Eq for CHANGEFILTERSTRUCT { } unsafe impl :: windows :: Abi for CHANGEFILTERSTRUCT { type Abi = Self ; } pub const CHILDID_SELF : u32 = 0u32 ; pub type LPCCHOOKPROC = extern "system" fn ( param0 : HWND , param1 : u32 , param2 : WPARAM , param3 : LPARAM ) -> usize ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CHOOSECOLORA { pub lStructSize : u32 , pub hwndOwner : HWND , pub hInstance : HWND , pub rgbResult : u32 , pub lpCustColors : * mut u32 , pub Flags : u32 , pub lCustData : LPARAM , pub lpfnHook : :: std :: option :: Option < LPCCHOOKPROC > , pub lpTemplateName : super :: SystemServices :: PSTR } impl CHOOSECOLORA { } impl :: std :: default :: Default for CHOOSECOLORA { fn default ( ) -> Self { Self { lStructSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , rgbResult : 0 , lpCustColors : :: std :: ptr :: null_mut ( ) , Flags : 0 , lCustData : :: std :: default :: Default :: default ( ) , lpfnHook : :: std :: default :: Default :: default ( ) , lpTemplateName : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for CHOOSECOLORA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CHOOSECOLORA" ) . field ( "lStructSize" , & format_args ! ( "{:?}" , self . lStructSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "rgbResult" , & format_args ! ( "{:?}" , self . rgbResult ) ) . field ( "lpCustColors" , & format_args ! ( "{:?}" , self . lpCustColors ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "lpTemplateName" , & format_args ! ( "{:?}" , self . lpTemplateName ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CHOOSECOLORA { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . hwndOwner == other . hwndOwner && self . hInstance == other . hInstance && self . rgbResult == other . rgbResult && self . lpCustColors == other . lpCustColors && self . Flags == other . Flags && self . lCustData == other . lCustData && self . lpfnHook . map ( | f | f as usize ) == other . lpfnHook . map ( | f | f as usize ) && self . lpTemplateName == other . lpTemplateName } } impl :: std :: cmp :: Eq for CHOOSECOLORA { } unsafe impl :: windows :: Abi for CHOOSECOLORA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CHOOSECOLORW { pub lStructSize : u32 , pub hwndOwner : HWND , pub hInstance : HWND , pub rgbResult : u32 , pub lpCustColors : * mut u32 , pub Flags : u32 , pub lCustData : LPARAM , pub lpfnHook : :: std :: option :: Option < LPCCHOOKPROC > , pub lpTemplateName : super :: SystemServices :: PWSTR } impl CHOOSECOLORW { } impl :: std :: default :: Default for CHOOSECOLORW { fn default ( ) -> Self { Self { lStructSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , rgbResult : 0 , lpCustColors : :: std :: ptr :: null_mut ( ) , Flags : 0 , lCustData : :: std :: default :: Default :: default ( ) , lpfnHook : :: std :: default :: Default :: default ( ) , lpTemplateName : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for CHOOSECOLORW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CHOOSECOLORW" ) . field ( "lStructSize" , & format_args ! ( "{:?}" , self . lStructSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "rgbResult" , & format_args ! ( "{:?}" , self . rgbResult ) ) . field ( "lpCustColors" , & format_args ! ( "{:?}" , self . lpCustColors ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "lpTemplateName" , & format_args ! ( "{:?}" , self . lpTemplateName ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CHOOSECOLORW { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . hwndOwner == other . hwndOwner && self . hInstance == other . hInstance && self . rgbResult == other . rgbResult && self . lpCustColors == other . lpCustColors && self . Flags == other . Flags && self . lCustData == other . lCustData && self . lpfnHook . map ( | f | f as usize ) == other . lpfnHook . map ( | f | f as usize ) && self . lpTemplateName == other . lpTemplateName } } impl :: std :: cmp :: Eq for CHOOSECOLORW { } unsafe impl :: windows :: Abi for CHOOSECOLORW { type Abi = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CHOOSEFONTW_Flags ( pub u32 ) ; impl CHOOSEFONTW_Flags { pub const CF_APPLY : Self = Self ( 512u32 ) ; pub const CF_ANSIONLY : Self = Self ( 1024u32 ) ; pub const CF_BOTH : Self = Self ( 3u32 ) ; pub const CF_EFFECTS : Self = Self ( 256u32 ) ; pub const CF_ENABLEHOOK : Self = Self ( 8u32 ) ; pub const CF_ENABLETEMPLATE : Self = Self ( 16u32 ) ; pub const CF_ENABLETEMPLATEHANDLE : Self = Self ( 32u32 ) ; pub const CF_FIXEDPITCHONLY : Self = Self ( 16384u32 ) ; pub const CF_FORCEFONTEXIST : Self = Self ( 65536u32 ) ; pub const CF_INACTIVEFONTS : Self = Self ( 33554432u32 ) ; pub const CF_INITTOLOGFONTSTRUCT : Self = Self ( 64u32 ) ; pub const CF_LIMITSIZE : Self = Self ( 8192u32 ) ; pub const CF_NOOEMFONTS : Self = Self ( 2048u32 ) ; pub const CF_NOFACESEL : Self = Self ( 524288u32 ) ; pub const CF_NOSCRIPTSEL : Self = Self ( 8388608u32 ) ; pub const CF_NOSIMULATIONS : Self = Self ( 4096u32 ) ; pub const CF_NOSIZESEL : Self = Self ( 2097152u32 ) ; pub const CF_NOSTYLESEL : Self = Self ( 1048576u32 ) ; pub const CF_NOVECTORFONTS : Self = Self ( 2048u32 ) ; pub const CF_NOVERTFONTS : Self = Self ( 16777216u32 ) ; pub const CF_PRINTERFONTS : Self = Self ( 2u32 ) ; pub const CF_SCALABLEONLY : Self = Self ( 131072u32 ) ; pub const CF_SCREENFONTS : Self = Self ( 1u32 ) ; pub const CF_SCRIPTSONLY : Self = Self ( 1024u32 ) ; pub const CF_SELECTSCRIPT : Self = Self ( 4194304u32 ) ; pub const CF_SHOWHELP : Self = Self ( 4u32 ) ; pub const CF_TTONLY : Self = Self ( 262144u32 ) ; pub const CF_USESTYLE : Self = Self ( 128u32 ) ; pub const CF_WYSIWYG : Self = Self ( 32768u32 ) ; } impl :: std :: convert :: From < u32 > for CHOOSEFONTW_Flags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CHOOSEFONTW_Flags { type Abi = Self ; } impl :: std :: ops :: BitOr for CHOOSEFONTW_Flags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for CHOOSEFONTW_Flags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for CHOOSEFONTW_Flags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for CHOOSEFONTW_Flags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub type LPCFHOOKPROC = extern "system" fn ( param0 : HWND , param1 : u32 , param2 : WPARAM , param3 : LPARAM ) -> usize ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CHOOSEFONTA_nFontType ( pub u32 ) ; impl CHOOSEFONTA_nFontType { pub const BOLD_FONTTYPE : Self = Self ( 256u32 ) ; pub const ITALIC_FONTTYPE : Self = Self ( 512u32 ) ; pub const PRINTER_FONTTYPE : Self = Self ( 16384u32 ) ; pub const REGULAR_FONTTYPE : Self = Self ( 1024u32 ) ; pub const SCREEN_FONTTYPE : Self = Self ( 8192u32 ) ; pub const SIMULATED_FONTTYPE : Self = Self ( 32768u32 ) ; } impl :: std :: convert :: From < u32 > for CHOOSEFONTA_nFontType { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CHOOSEFONTA_nFontType { type Abi = Self ; } impl :: std :: ops :: BitOr for CHOOSEFONTA_nFontType { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for CHOOSEFONTA_nFontType { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for CHOOSEFONTA_nFontType { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for CHOOSEFONTA_nFontType { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CHOOSEFONTA { pub lStructSize : u32 , pub hwndOwner : HWND , pub hDC : super :: Gdi :: HDC , pub lpLogFont : * mut super :: Shell :: LOGFONTA , pub iPointSize : i32 , pub Flags : CHOOSEFONTW_Flags , pub rgbColors : u32 , pub lCustData : LPARAM , pub lpfnHook : :: std :: option :: Option < LPCFHOOKPROC > , pub lpTemplateName : super :: SystemServices :: PSTR , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpszStyle : super :: SystemServices :: PSTR , pub nFontType : CHOOSEFONTA_nFontType , pub ___MISSING_ALIGNMENT__ : u16 , pub nSizeMin : i32 , pub nSizeMax : i32 } impl CHOOSEFONTA { } impl :: std :: default :: Default for CHOOSEFONTA { fn default ( ) -> Self { Self { lStructSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hDC : :: std :: default :: Default :: default ( ) , lpLogFont : :: std :: ptr :: null_mut ( ) , iPointSize : 0 , Flags : :: std :: default :: Default :: default ( ) , rgbColors : 0 , lCustData : :: std :: default :: Default :: default ( ) , lpfnHook : :: std :: default :: Default :: default ( ) , lpTemplateName : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , lpszStyle : :: std :: default :: Default :: default ( ) , nFontType : :: std :: default :: Default :: default ( ) , ___MISSING_ALIGNMENT__ : 0 , nSizeMin : 0 , nSizeMax : 0 } } } impl :: std :: fmt :: Debug for CHOOSEFONTA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CHOOSEFONTA" ) . field ( "lStructSize" , & format_args ! ( "{:?}" , self . lStructSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hDC" , & format_args ! ( "{:?}" , self . hDC ) ) . field ( "lpLogFont" , & format_args ! ( "{:?}" , self . lpLogFont ) ) . field ( "iPointSize" , & format_args ! ( "{:?}" , self . iPointSize ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "rgbColors" , & format_args ! ( "{:?}" , self . rgbColors ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "lpTemplateName" , & format_args ! ( "{:?}" , self . lpTemplateName ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lpszStyle" , & format_args ! ( "{:?}" , self . lpszStyle ) ) . field ( "nFontType" , & format_args ! ( "{:?}" , self . nFontType ) ) . field ( "___MISSING_ALIGNMENT__" , & format_args ! ( "{:?}" , self . ___MISSING_ALIGNMENT__ ) ) . field ( "nSizeMin" , & format_args ! ( "{:?}" , self . nSizeMin ) ) . field ( "nSizeMax" , & format_args ! ( "{:?}" , self . nSizeMax ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CHOOSEFONTA { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . hwndOwner == other . hwndOwner && self . hDC == other . hDC && self . lpLogFont == other . lpLogFont && self . iPointSize == other . iPointSize && self . Flags == other . Flags && self . rgbColors == other . rgbColors && self . lCustData == other . lCustData && self . lpfnHook . map ( | f | f as usize ) == other . lpfnHook . map ( | f | f as usize ) && self . lpTemplateName == other . lpTemplateName && self . hInstance == other . hInstance && self . lpszStyle == other . lpszStyle && self . nFontType == other . nFontType && self . ___MISSING_ALIGNMENT__ == other . ___MISSING_ALIGNMENT__ && self . nSizeMin == other . nSizeMin && self . nSizeMax == other . nSizeMax } } impl :: std :: cmp :: Eq for CHOOSEFONTA { } unsafe impl :: windows :: Abi for CHOOSEFONTA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CHOOSEFONTW { pub lStructSize : u32 , pub hwndOwner : HWND , pub hDC : super :: Gdi :: HDC , pub lpLogFont : * mut super :: Shell :: LOGFONTW , pub iPointSize : i32 , pub Flags : CHOOSEFONTW_Flags , pub rgbColors : u32 , pub lCustData : LPARAM , pub lpfnHook : :: std :: option :: Option < LPCFHOOKPROC > , pub lpTemplateName : super :: SystemServices :: PWSTR , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpszStyle : super :: SystemServices :: PWSTR , pub nFontType : CHOOSEFONTA_nFontType , pub ___MISSING_ALIGNMENT__ : u16 , pub nSizeMin : i32 , pub nSizeMax : i32 } impl CHOOSEFONTW { } impl :: std :: default :: Default for CHOOSEFONTW { fn default ( ) -> Self { Self { lStructSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hDC : :: std :: default :: Default :: default ( ) , lpLogFont : :: std :: ptr :: null_mut ( ) , iPointSize : 0 , Flags : :: std :: default :: Default :: default ( ) , rgbColors : 0 , lCustData : :: std :: default :: Default :: default ( ) , lpfnHook : :: std :: default :: Default :: default ( ) , lpTemplateName : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , lpszStyle : :: std :: default :: Default :: default ( ) , nFontType : :: std :: default :: Default :: default ( ) , ___MISSING_ALIGNMENT__ : 0 , nSizeMin : 0 , nSizeMax : 0 } } } impl :: std :: fmt :: Debug for CHOOSEFONTW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CHOOSEFONTW" ) . field ( "lStructSize" , & format_args ! ( "{:?}" , self . lStructSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hDC" , & format_args ! ( "{:?}" , self . hDC ) ) . field ( "lpLogFont" , & format_args ! ( "{:?}" , self . lpLogFont ) ) . field ( "iPointSize" , & format_args ! ( "{:?}" , self . iPointSize ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "rgbColors" , & format_args ! ( "{:?}" , self . rgbColors ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "lpTemplateName" , & format_args ! ( "{:?}" , self . lpTemplateName ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lpszStyle" , & format_args ! ( "{:?}" , self . lpszStyle ) ) . field ( "nFontType" , & format_args ! ( "{:?}" , self . nFontType ) ) . field ( "___MISSING_ALIGNMENT__" , & format_args ! ( "{:?}" , self . ___MISSING_ALIGNMENT__ ) ) . field ( "nSizeMin" , & format_args ! ( "{:?}" , self . nSizeMin ) ) . field ( "nSizeMax" , & format_args ! ( "{:?}" , self . nSizeMax ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CHOOSEFONTW { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . hwndOwner == other . hwndOwner && self . hDC == other . hDC && self . lpLogFont == other . lpLogFont && self . iPointSize == other . iPointSize && self . Flags == other . Flags && self . rgbColors == other . rgbColors && self . lCustData == other . lCustData && self . lpfnHook . map ( | f | f as usize ) == other . lpfnHook . map ( | f | f as usize ) && self . lpTemplateName == other . lpTemplateName && self . hInstance == other . hInstance && self . lpszStyle == other . lpszStyle && self . nFontType == other . nFontType && self . ___MISSING_ALIGNMENT__ == other . ___MISSING_ALIGNMENT__ && self . nSizeMin == other . nSizeMin && self . nSizeMax == other . nSizeMax } } impl :: std :: cmp :: Eq for CHOOSEFONTW { } unsafe impl :: windows :: Abi for CHOOSEFONTW { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CLIENTCREATESTRUCT { pub hWindowMenu : super :: SystemServices :: HANDLE , pub idFirstChild : u32 } impl CLIENTCREATESTRUCT { } impl :: std :: default :: Default for CLIENTCREATESTRUCT { fn default ( ) -> Self { Self { hWindowMenu : :: std :: default :: Default :: default ( ) , idFirstChild : 0 } } } impl :: std :: fmt :: Debug for CLIENTCREATESTRUCT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CLIENTCREATESTRUCT" ) . field ( "hWindowMenu" , & format_args ! ( "{:?}" , self . hWindowMenu ) ) . field ( "idFirstChild" , & format_args ! ( "{:?}" , self . idFirstChild ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CLIENTCREATESTRUCT { fn eq ( & self , other : & Self ) -> bool { self . hWindowMenu == other . hWindowMenu && self . idFirstChild == other . idFirstChild } } impl :: std :: cmp :: Eq for CLIENTCREATESTRUCT { } unsafe impl :: windows :: Abi for CLIENTCREATESTRUCT { type Abi = Self ; } pub const COLOR_BTNHIGHLIGHT : u32 = 20u32 ; pub const CONSOLE_APPLICATION_16BIT : u32 = 0u32 ; pub const CONSOLE_CARET_SELECTION : u32 = 1u32 ; pub const CONSOLE_CARET_VISIBLE : u32 = 2u32 ; pub const CONTACTVISUALIZATION_OFF : u32 = 0u32 ; pub const CONTACTVISUALIZATION_ON : u32 = 1u32 ; pub const CONTACTVISUALIZATION_PRESENTATIONMODE : u32 = 2u32 ; pub const CREATEPROCESS_MANIFEST_RESOURCE_ID : u32 = 1u32 ; pub const CSOUND_SYSTEM : u32 = 16u32 ; pub const CTLCOLOR_BTN : u32 = 3u32 ; pub const CTLCOLOR_DLG : u32 = 4u32 ; pub const CTLCOLOR_EDIT : u32 = 1u32 ; pub const CTLCOLOR_LISTBOX : u32 = 2u32 ; pub const CTLCOLOR_MAX : u32 = 7u32 ; pub const CTLCOLOR_MSGBOX : u32 = 0u32 ; pub const CTLCOLOR_SCROLLBAR : u32 = 5u32 ; pub const CTLCOLOR_STATIC : u32 = 6u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CURSORINFO_flags ( pub u32 ) ; impl CURSORINFO_flags { pub const CURSOR_SHOWING : Self = Self ( 1u32 ) ; pub const CURSOR_SUPPRESSED : Self = Self ( 2u32 ) ; } impl :: std :: convert :: From < u32 > for CURSORINFO_flags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CURSORINFO_flags { type Abi = Self ; } impl :: std :: ops :: BitOr for CURSORINFO_flags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for CURSORINFO_flags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for CURSORINFO_flags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for CURSORINFO_flags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CURSORINFO { pub cbSize : u32 , pub flags : CURSORINFO_flags , pub hCursor : super :: MenusAndResources :: HCURSOR , pub ptScreenPos : super :: DisplayDevices :: POINT } impl CURSORINFO { } impl :: std :: default :: Default for CURSORINFO { fn default ( ) -> Self { Self { cbSize : 0 , flags : :: std :: default :: Default :: default ( ) , hCursor : :: std :: default :: Default :: default ( ) , ptScreenPos : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for CURSORINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CURSORINFO" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "flags" , & format_args ! ( "{:?}" , self . flags ) ) . field ( "hCursor" , & format_args ! ( "{:?}" , self . hCursor ) ) . field ( "ptScreenPos" , & format_args ! ( "{:?}" , self . ptScreenPos ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CURSORINFO { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . flags == other . flags && self . hCursor == other . hCursor && self . ptScreenPos == other . ptScreenPos } } impl :: std :: cmp :: Eq for CURSORINFO { } unsafe impl :: windows :: Abi for CURSORINFO { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CURSORSHAPE { pub xHotSpot : i32 , pub yHotSpot : i32 , pub cx : i32 , pub cy : i32 , pub cbWidth : i32 , pub Planes : u8 , pub BitsPixel : u8 } impl CURSORSHAPE { } impl :: std :: default :: Default for CURSORSHAPE { fn default ( ) -> Self { Self { xHotSpot : 0 , yHotSpot : 0 , cx : 0 , cy : 0 , cbWidth : 0 , Planes : 0 , BitsPixel : 0 } } } impl :: std :: fmt :: Debug for CURSORSHAPE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CURSORSHAPE" ) . field ( "xHotSpot" , & format_args ! ( "{:?}" , self . xHotSpot ) ) . field ( "yHotSpot" , & format_args ! ( "{:?}" , self . yHotSpot ) ) . field ( "cx" , & format_args ! ( "{:?}" , self . cx ) ) . field ( "cy" , & format_args ! ( "{:?}" , self . cy ) ) . field ( "cbWidth" , & format_args ! ( "{:?}" , self . cbWidth ) ) . field ( "Planes" , & format_args ! ( "{:?}" , self . Planes ) ) . field ( "BitsPixel" , & format_args ! ( "{:?}" , self . BitsPixel ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CURSORSHAPE { fn eq ( & self , other : & Self ) -> bool { self . xHotSpot == other . xHotSpot && self . yHotSpot == other . yHotSpot && self . cx == other . cx && self . cy == other . cy && self . cbWidth == other . cbWidth && self . Planes == other . Planes && self . BitsPixel == other . BitsPixel } } impl :: std :: cmp :: Eq for CURSORSHAPE { } unsafe impl :: windows :: Abi for CURSORSHAPE { type Abi = Self ; } pub const CWF_CREATE_ONLY : u32 = 1u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CWPRETSTRUCT { pub lResult : super :: SystemServices :: LRESULT , pub lParam : LPARAM , pub wParam : WPARAM , pub message : u32 , pub hwnd : HWND } impl CWPRETSTRUCT { } impl :: std :: default :: Default for CWPRETSTRUCT { fn default ( ) -> Self { Self { lResult : :: std :: default :: Default :: default ( ) , lParam : :: std :: default :: Default :: default ( ) , wParam : :: std :: default :: Default :: default ( ) , message : 0 , hwnd : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for CWPRETSTRUCT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CWPRETSTRUCT" ) . field ( "lResult" , & format_args ! ( "{:?}" , self . lResult ) ) . field ( "lParam" , & format_args ! ( "{:?}" , self . lParam ) ) . field ( "wParam" , & format_args ! ( "{:?}" , self . wParam ) ) . field ( "message" , & format_args ! ( "{:?}" , self . message ) ) . field ( "hwnd" , & format_args ! ( "{:?}" , self . hwnd ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CWPRETSTRUCT { fn eq ( & self , other : & Self ) -> bool { self . lResult == other . lResult && self . lParam == other . lParam && self . wParam == other . wParam && self . message == other . message && self . hwnd == other . hwnd } } impl :: std :: cmp :: Eq for CWPRETSTRUCT { } unsafe impl :: windows :: Abi for CWPRETSTRUCT { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CWPSTRUCT { pub lParam : LPARAM , pub wParam : WPARAM , pub message : u32 , pub hwnd : HWND } impl CWPSTRUCT { } impl :: std :: default :: Default for CWPSTRUCT { fn default ( ) -> Self { Self { lParam : :: std :: default :: Default :: default ( ) , wParam : :: std :: default :: Default :: default ( ) , message : 0 , hwnd : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for CWPSTRUCT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CWPSTRUCT" ) . field ( "lParam" , & format_args ! ( "{:?}" , self . lParam ) ) . field ( "wParam" , & format_args ! ( "{:?}" , self . wParam ) ) . field ( "message" , & format_args ! ( "{:?}" , self . message ) ) . field ( "hwnd" , & format_args ! ( "{:?}" , self . hwnd ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CWPSTRUCT { fn eq ( & self , other : & Self ) -> bool { self . lParam == other . lParam && self . wParam == other . wParam && self . message == other . message && self . hwnd == other . hwnd } } impl :: std :: cmp :: Eq for CWPSTRUCT { } unsafe impl :: windows :: Abi for CWPSTRUCT { type Abi = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CWP_FLAGS ( pub u32 ) ; impl CWP_FLAGS { pub const CWP_ALL : Self = Self ( 0u32 ) ; pub const CWP_SKIPINVISIBLE : Self = Self ( 1u32 ) ; pub const CWP_SKIPDISABLED : Self = Self ( 2u32 ) ; pub const CWP_SKIPTRANSPARENT : Self = Self ( 4u32 ) ; } impl :: std :: convert :: From < u32 > for CWP_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CWP_FLAGS { type Abi = Self ; } impl :: std :: ops :: BitOr for CWP_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for CWP_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for CWP_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for CWP_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub const CW_USEDEFAULT : i32 = -2147483648i32 ; pub unsafe fn CalculatePopupWindowPosition < > ( anchorpoint : * const super :: DisplayDevices :: POINT , windowsize : * const super :: DisplayDevices :: SIZE , flags : u32 , excluderect : * mut super :: DisplayDevices :: RECT , popupwindowposition : * mut super :: DisplayDevices :: RECT , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MSG { pub hwnd : HWND , pub message : u32 , pub wParam : WPARAM , pub lParam : LPARAM , pub time : u32 , pub pt : super :: DisplayDevices :: POINT } impl MSG { } impl :: std :: default :: Default for MSG { fn default ( ) -> Self { Self { hwnd : :: std :: default :: Default :: default ( ) , message : 0 , wParam : :: std :: default :: Default :: default ( ) , lParam : :: std :: default :: Default :: default ( ) , time : 0 , pt : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for MSG { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MSG" ) . field ( "hwnd" , & format_args ! ( "{:?}" , self . hwnd ) ) . field ( "message" , & format_args ! ( "{:?}" , self . message ) ) . field ( "wParam" , & format_args ! ( "{:?}" , self . wParam ) ) . field ( "lParam" , & format_args ! ( "{:?}" , self . lParam ) ) . field ( "time" , & format_args ! ( "{:?}" , self . time ) ) . field ( "pt" , & format_args ! ( "{:?}" , self . pt ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MSG { fn eq ( & self , other : & Self ) -> bool { self . hwnd == other . hwnd && self . message == other . message && self . wParam == other . wParam && self . lParam == other . lParam && self . time == other . time && self . pt == other . pt } } impl :: std :: cmp :: Eq for MSG { } unsafe impl :: windows :: Abi for MSG { type Abi = Self ; } pub unsafe fn CallMsgFilterA < > ( lpmsg : * mut MSG , ncode : i32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CallMsgFilterW < > ( lpmsg : * mut MSG , ncode : i32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HHOOK ( pub isize ) ; impl HHOOK { } impl :: std :: default :: Default for HHOOK { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HHOOK { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HHOOK" ) . field ( "Value" , & format_args ! ( "{:?}" , self .0 ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HHOOK { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HHOOK { } unsafe impl :: windows :: Abi for HHOOK { type Abi = Self ; } pub unsafe fn CallNextHookEx < 'a , T0__ : :: windows :: IntoParam < 'a , HHOOK > , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hhk : T0__ , ncode : i32 , wparam : T2__ , lparam : T3__ , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub type WNDPROC = extern "system" fn ( param0 : HWND , param1 : u32 , param2 : WPARAM , param3 : LPARAM ) -> super :: SystemServices :: LRESULT ; pub unsafe fn CallWindowProcA < 'a , T1__ : :: windows :: IntoParam < 'a , HWND > , T3__ : :: windows :: IntoParam < 'a , WPARAM > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( lpprevwndfunc : :: std :: option :: Option < WNDPROC > , hwnd : T1__ , msg : u32 , wparam : T3__ , lparam : T4__ , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CallWindowProcW < 'a , T1__ : :: windows :: IntoParam < 'a , HWND > , T3__ : :: windows :: IntoParam < 'a , WPARAM > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( lpprevwndfunc : :: std :: option :: Option < WNDPROC > , hwnd : T1__ , msg : u32 , wparam : T3__ , lparam : T4__ , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CancelShutdown < > ( ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CascadeWindows_wHowFlags ( pub u32 ) ; impl CascadeWindows_wHowFlags { pub const MDITILE_SKIPDISABLED : Self = Self ( 2u32 ) ; pub const MDITILE_ZORDER : Self = Self ( 4u32 ) ; } impl :: std :: convert :: From < u32 > for CascadeWindows_wHowFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CascadeWindows_wHowFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for CascadeWindows_wHowFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for CascadeWindows_wHowFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for CascadeWindows_wHowFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for CascadeWindows_wHowFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn CascadeWindows < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwndparent : T0__ , whow : CascadeWindows_wHowFlags , lprect : * const super :: DisplayDevices :: RECT , ckids : u32 , lpkids : * const HWND , ) -> u16 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ChangeMenuA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hmenu : T0__ , cmd : u32 , lpsznewitem : T2__ , cmdinsert : u32 , flags : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ChangeMenuW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hmenu : T0__ , cmd : u32 , lpsznewitem : T2__ , cmdinsert : u32 , flags : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct ChangeWindowMessageFilter_dwFlagFlags ( pub u32 ) ; impl ChangeWindowMessageFilter_dwFlagFlags { pub const MSGFLT_ADD : Self = Self ( 1u32 ) ; pub const MSGFLT_REMOVE : Self = Self ( 2u32 ) ; } impl :: std :: convert :: From < u32 > for ChangeWindowMessageFilter_dwFlagFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for ChangeWindowMessageFilter_dwFlagFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for ChangeWindowMessageFilter_dwFlagFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for ChangeWindowMessageFilter_dwFlagFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for ChangeWindowMessageFilter_dwFlagFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for ChangeWindowMessageFilter_dwFlagFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn ChangeWindowMessageFilter < > ( message : u32 , dwflag : ChangeWindowMessageFilter_dwFlagFlags , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct ChangeWindowMessageFilterEx_actionFlags ( pub u32 ) ; impl ChangeWindowMessageFilterEx_actionFlags { pub const MSGFLT_ALLOW : Self = Self ( 1u32 ) ; pub const MSGFLT_DISALLOW : Self = Self ( 2u32 ) ; pub const MSGFLT_RESET : Self = Self ( 0u32 ) ; } impl :: std :: convert :: From < u32 > for ChangeWindowMessageFilterEx_actionFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for ChangeWindowMessageFilterEx_actionFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for ChangeWindowMessageFilterEx_actionFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for ChangeWindowMessageFilterEx_actionFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for ChangeWindowMessageFilterEx_actionFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for ChangeWindowMessageFilterEx_actionFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn ChangeWindowMessageFilterEx < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , message : u32 , action : ChangeWindowMessageFilterEx_actionFlags , pchangefilterstruct : * mut CHANGEFILTERSTRUCT , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharLowerA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpsz : T0__ , ) -> super :: SystemServices :: PSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharLowerBuffA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpsz : T0__ , cchlength : u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharLowerBuffW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpsz : T0__ , cchlength : u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharLowerW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpsz : T0__ , ) -> super :: SystemServices :: PWSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharNextA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpsz : T0__ , ) -> super :: SystemServices :: PSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharNextExA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( codepage : u16 , lpcurrentchar : T1__ , dwflags : u32 , ) -> super :: SystemServices :: PSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharNextW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpsz : T0__ , ) -> super :: SystemServices :: PWSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharPrevA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpszstart : T0__ , lpszcurrent : T1__ , ) -> super :: SystemServices :: PSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharPrevExA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( codepage : u16 , lpstart : T1__ , lpcurrentchar : T2__ , dwflags : u32 , ) -> super :: SystemServices :: PSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharPrevW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpszstart : T0__ , lpszcurrent : T1__ , ) -> super :: SystemServices :: PWSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharToOemA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( psrc : T0__ , pdst : super :: SystemServices :: PSTR , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharToOemBuffA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpszsrc : T0__ , lpszdst : super :: SystemServices :: PSTR , cchdstlength : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharToOemBuffW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpszsrc : T0__ , lpszdst : super :: SystemServices :: PSTR , cchdstlength : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharToOemW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( psrc : T0__ , pdst : super :: SystemServices :: PSTR , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharUpperA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpsz : T0__ , ) -> super :: SystemServices :: PSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharUpperBuffA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpsz : T0__ , cchlength : u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharUpperBuffW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpsz : T0__ , cchlength : u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharUpperW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpsz : T0__ , ) -> super :: SystemServices :: PWSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CheckMenuItem < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hmenu : T0__ , uidcheckitem : u32 , ucheck : u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CheckMenuRadioItem < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hmenu : T0__ , first : u32 , last : u32 , check : u32 , flags : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ChildWindowFromPoint < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: DisplayDevices :: POINT > , > ( hwndparent : T0__ , point : T1__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ChildWindowFromPointEx < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: DisplayDevices :: POINT > , > ( hwnd : T0__ , pt : T1__ , flags : CWP_FLAGS , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ChooseColorA < > ( param0 : * mut CHOOSECOLORA , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ChooseColorW < > ( param0 : * mut CHOOSECOLORW , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ChooseFontA < > ( param0 : * mut CHOOSEFONTA , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ChooseFontW < > ( param0 : * mut CHOOSEFONTW , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ClipCursor < > ( lprect : * const super :: DisplayDevices :: RECT , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CloseWindow < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CommDlgExtendedError < > ( ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CopyAcceleratorTableA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HACCEL > , > ( haccelsrc : T0__ , lpacceldst : * mut ACCEL , caccelentries : i32 , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CopyAcceleratorTableW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HACCEL > , > ( haccelsrc : T0__ , lpacceldst : * mut ACCEL , caccelentries : i32 , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CopyIcon < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HICON > , > ( hicon : T0__ , ) -> super :: MenusAndResources :: HICON { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CopyImage_type ( pub u32 ) ; impl CopyImage_type { pub const IMAGE_BITMAP : Self = Self ( 0u32 ) ; pub const IMAGE_CURSOR : Self = Self ( 2u32 ) ; pub const IMAGE_ICON : Self = Self ( 1u32 ) ; } impl :: std :: convert :: From < u32 > for CopyImage_type { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CopyImage_type { type Abi = Self ; } impl :: std :: ops :: BitOr for CopyImage_type { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for CopyImage_type { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for CopyImage_type { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for CopyImage_type { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn CopyImage < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HANDLE > , > ( h : T0__ , r#type : CopyImage_type , cx : i32 , cy : i32 , flags : super :: Controls :: ImageListLoadImage_uFlags , ) -> super :: SystemServices :: HANDLE { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateAcceleratorTableA < > ( paccel : * mut ACCEL , caccel : i32 , ) -> super :: MenusAndResources :: HACCEL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateAcceleratorTableW < > ( paccel : * mut ACCEL , caccel : i32 , ) -> super :: MenusAndResources :: HACCEL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateCaret < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: Gdi :: HBITMAP > , > ( hwnd : T0__ , hbitmap : T1__ , nwidth : i32 , nheight : i32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateCursor < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , > ( hinst : T0__ , xhotspot : i32 , yhotspot : i32 , nwidth : i32 , nheight : i32 , pvandplane : * const :: std :: ffi :: c_void , pvxorplane : * const :: std :: ffi :: c_void , ) -> super :: MenusAndResources :: HCURSOR { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C , packed ( 2 ) ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct DLGTEMPLATE { pub style : u32 , pub dwExtendedStyle : u32 , pub cdit : u16 , pub x : i16 , pub y : i16 , pub cx : i16 , pub cy : i16 } impl DLGTEMPLATE { } unsafe impl :: windows :: Abi for DLGTEMPLATE { type Abi = Self ; } pub type DLGPROC = extern "system" fn ( param0 : HWND , param1 : u32 , param2 : WPARAM , param3 : LPARAM ) -> isize ; pub unsafe fn CreateDialogIndirectParamA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T2__ : :: windows :: IntoParam < 'a , HWND > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hinstance : T0__ , lptemplate : * mut DLGTEMPLATE , hwndparent : T2__ , lpdialogfunc : :: std :: option :: Option < DLGPROC > , dwinitparam : T4__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateDialogIndirectParamW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T2__ : :: windows :: IntoParam < 'a , HWND > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hinstance : T0__ , lptemplate : * mut DLGTEMPLATE , hwndparent : T2__ , lpdialogfunc : :: std :: option :: Option < DLGPROC > , dwinitparam : T4__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateDialogParamA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T2__ : :: windows :: IntoParam < 'a , HWND > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hinstance : T0__ , lptemplatename : T1__ , hwndparent : T2__ , lpdialogfunc : :: std :: option :: Option < DLGPROC > , dwinitparam : T4__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateDialogParamW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , HWND > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hinstance : T0__ , lptemplatename : T1__ , hwndparent : T2__ , lpdialogfunc : :: std :: option :: Option < DLGPROC > , dwinitparam : T4__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateIcon < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , > ( hinstance : T0__ , nwidth : i32 , nheight : i32 , cplanes : u8 , cbitspixel : u8 , lpbandbits : * const u8 , lpbxorbits : * const u8 , ) -> super :: MenusAndResources :: HICON { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateIconFromResource < 'a , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( presbits : * mut u8 , dwressize : u32 , ficon : T2__ , dwver : u32 , ) -> super :: MenusAndResources :: HICON { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateIconFromResourceEx < 'a , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( presbits : * mut u8 , dwressize : u32 , ficon : T2__ , dwver : u32 , cxdesired : i32 , cydesired : i32 , flags : super :: Controls :: ImageListLoadImage_uFlags , ) -> super :: MenusAndResources :: HICON { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct ICONINFO { pub fIcon : super :: SystemServices :: BOOL , pub xHotspot : u32 , pub yHotspot : u32 , pub hbmMask : super :: Gdi :: HBITMAP , pub hbmColor : super :: Gdi :: HBITMAP } impl ICONINFO { } impl :: std :: default :: Default for ICONINFO { fn default ( ) -> Self { Self { fIcon : :: std :: default :: Default :: default ( ) , xHotspot : 0 , yHotspot : 0 , hbmMask : :: std :: default :: Default :: default ( ) , hbmColor : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for ICONINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ICONINFO" ) . field ( "fIcon" , & format_args ! ( "{:?}" , self . fIcon ) ) . field ( "xHotspot" , & format_args ! ( "{:?}" , self . xHotspot ) ) . field ( "yHotspot" , & format_args ! ( "{:?}" , self . yHotspot ) ) . field ( "hbmMask" , & format_args ! ( "{:?}" , self . hbmMask ) ) . field ( "hbmColor" , & format_args ! ( "{:?}" , self . hbmColor ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ICONINFO { fn eq ( & self , other : & Self ) -> bool { self . fIcon == other . fIcon && self . xHotspot == other . xHotspot && self . yHotspot == other . yHotspot && self . hbmMask == other . hbmMask && self . hbmColor == other . hbmColor } } impl :: std :: cmp :: Eq for ICONINFO { } unsafe impl :: windows :: Abi for ICONINFO { type Abi = Self ; } pub unsafe fn CreateIconIndirect < > ( piconinfo : * mut ICONINFO , ) -> super :: MenusAndResources :: HICON { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct WINDOW_STYLE ( pub u32 ) ; impl WINDOW_STYLE { pub const WS_OVERLAPPED : Self = Self ( 0u32 ) ; pub const WS_POPUP : Self = Self ( 2147483648u32 ) ; pub const WS_CHILD : Self = Self ( 1073741824u32 ) ; pub const WS_MINIMIZE : Self = Self ( 536870912u32 ) ; pub const WS_MAXIMIZE : Self = Self ( 16777216u32 ) ; pub const WS_HSCROLL : Self = Self ( 1048576u32 ) ; pub const WS_VSCROLL : Self = Self ( 2097152u32 ) ; pub const WS_VISIBLE : Self = Self ( 268435456u32 ) ; pub const WS_DISABLED : Self = Self ( 134217728u32 ) ; pub const WS_CLIPSIBLINGS : Self = Self ( 67108864u32 ) ; pub const WS_CLIPCHILDREN : Self = Self ( 33554432u32 ) ; pub const WS_CAPTION : Self = Self ( 12582912u32 ) ; pub const WS_BORDER : Self = Self ( 8388608u32 ) ; pub const WS_DLGFRAME : Self = Self ( 4194304u32 ) ; pub const WS_SYSMENU : Self = Self ( 524288u32 ) ; pub const WS_THICKFRAME : Self = Self ( 262144u32 ) ; pub const WS_GROUP : Self = Self ( 131072u32 ) ; pub const WS_TABSTOP : Self = Self ( 65536u32 ) ; pub const WS_MINIMIZEBOX : Self = Self ( 131072u32 ) ; pub const WS_MAXIMIZEBOX : Self = Self ( 65536u32 ) ; pub const WS_TILED : Self = Self ( 0u32 ) ; pub const WS_ICONIC : Self = Self ( 536870912u32 ) ; pub const WS_SIZEBOX : Self = Self ( 262144u32 ) ; pub const WS_TILEDWINDOW : Self = Self ( 13565952u32 ) ; pub const WS_OVERLAPPEDWINDOW : Self = Self ( 13565952u32 ) ; pub const WS_POPUPWINDOW : Self = Self ( 2156396544u32 ) ; pub const WS_CHILDWINDOW : Self = Self ( 1073741824u32 ) ; pub const WS_ACTIVECAPTION : Self = Self ( 1u32 ) ; } impl :: std :: convert :: From < u32 > for WINDOW_STYLE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for WINDOW_STYLE { type Abi = Self ; } impl :: std :: ops :: BitOr for WINDOW_STYLE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for WINDOW_STYLE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for WINDOW_STYLE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for WINDOW_STYLE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn CreateMDIWindowA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T7__ : :: windows :: IntoParam < 'a , HWND > , T8__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T9__ : :: windows :: IntoParam < 'a , LPARAM > , > ( lpclassname : T0__ , lpwindowname : T1__ , dwstyle : WINDOW_STYLE , x : i32 , y : i32 , nwidth : i32 , nheight : i32 , hwndparent : T7__ , hinstance : T8__ , lparam : T9__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateMDIWindowW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T7__ : :: windows :: IntoParam < 'a , HWND > , T8__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T9__ : :: windows :: IntoParam < 'a , LPARAM > , > ( lpclassname : T0__ , lpwindowname : T1__ , dwstyle : WINDOW_STYLE , x : i32 , y : i32 , nwidth : i32 , nheight : i32 , hwndparent : T7__ , hinstance : T8__ , lparam : T9__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateMenu < > ( ) -> super :: MenusAndResources :: HMENU { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreatePopupMenu < > ( ) -> super :: MenusAndResources :: HMENU { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateResourceIndexer < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( projectroot : T0__ , extensiondllpath : T1__ , ppresourceindexer : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct WINDOW_EX_STYLE ( pub u32 ) ; impl WINDOW_EX_STYLE { pub const WS_EX_DLGMODALFRAME : Self = Self ( 1u32 ) ; pub const WS_EX_NOPARENTNOTIFY : Self = Self ( 4u32 ) ; pub const WS_EX_TOPMOST : Self = Self ( 8u32 ) ; pub const WS_EX_ACCEPTFILES : Self = Self ( 16u32 ) ; pub const WS_EX_TRANSPARENT : Self = Self ( 32u32 ) ; pub const WS_EX_MDICHILD : Self = Self ( 64u32 ) ; pub const WS_EX_TOOLWINDOW : Self = Self ( 128u32 ) ; pub const WS_EX_WINDOWEDGE : Self = Self ( 256u32 ) ; pub const WS_EX_CLIENTEDGE : Self = Self ( 512u32 ) ; pub const WS_EX_CONTEXTHELP : Self = Self ( 1024u32 ) ; pub const WS_EX_RIGHT : Self = Self ( 4096u32 ) ; pub const WS_EX_LEFT : Self = Self ( 0u32 ) ; pub const WS_EX_RTLREADING : Self = Self ( 8192u32 ) ; pub const WS_EX_LTRREADING : Self = Self ( 0u32 ) ; pub const WS_EX_LEFTSCROLLBAR : Self = Self ( 16384u32 ) ; pub const WS_EX_RIGHTSCROLLBAR : Self = Self ( 0u32 ) ; pub const WS_EX_CONTROLPARENT : Self = Self ( 65536u32 ) ; pub const WS_EX_STATICEDGE : Self = Self ( 131072u32 ) ; pub const WS_EX_APPWINDOW : Self = Self ( 262144u32 ) ; pub const WS_EX_OVERLAPPEDWINDOW : Self = Self ( 768u32 ) ; pub const WS_EX_PALETTEWINDOW : Self = Self ( 392u32 ) ; pub const WS_EX_LAYERED : Self = Self ( 524288u32 ) ; pub const WS_EX_NOINHERITLAYOUT : Self = Self ( 1048576u32 ) ; pub const WS_EX_NOREDIRECTIONBITMAP : Self = Self ( 2097152u32 ) ; pub const WS_EX_LAYOUTRTL : Self = Self ( 4194304u32 ) ; pub const WS_EX_COMPOSITED : Self = Self ( 33554432u32 ) ; pub const WS_EX_NOACTIVATE : Self = Self ( 134217728u32 ) ; } impl :: std :: convert :: From < u32 > for WINDOW_EX_STYLE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for WINDOW_EX_STYLE { type Abi = Self ; } impl :: std :: ops :: BitOr for WINDOW_EX_STYLE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for WINDOW_EX_STYLE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for WINDOW_EX_STYLE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for WINDOW_EX_STYLE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn CreateWindowExA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T8__ : :: windows :: IntoParam < 'a , HWND > , T9__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T10__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , > ( dwexstyle : WINDOW_EX_STYLE , lpclassname : T1__ , lpwindowname : T2__ , dwstyle : WINDOW_STYLE , x : i32 , y : i32 , nwidth : i32 , nheight : i32 , hwndparent : T8__ , hmenu : T9__ , hinstance : T10__ , lpparam : * mut :: std :: ffi :: c_void , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateWindowExW < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T8__ : :: windows :: IntoParam < 'a , HWND > , T9__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T10__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , > ( dwexstyle : WINDOW_EX_STYLE , lpclassname : T1__ , lpwindowname : T2__ , dwstyle : WINDOW_STYLE , x : i32 , y : i32 , nwidth : i32 , nheight : i32 , hwndparent : T8__ , hmenu : T9__ , hinstance : T10__ , lpparam : * mut :: std :: ffi :: c_void , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub const DCX_EXCLUDEUPDATE : i32 = 256i32 ; pub const DC_HASDEFID : u32 = 21323u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct DEBUGHOOKINFO { pub idThread : u32 , pub idThreadInstaller : u32 , pub lParam : LPARAM , pub wParam : WPARAM , pub code : i32 } impl DEBUGHOOKINFO { } impl :: std :: default :: Default for DEBUGHOOKINFO { fn default ( ) -> Self { Self { idThread : 0 , idThreadInstaller : 0 , lParam : :: std :: default :: Default :: default ( ) , wParam : :: std :: default :: Default :: default ( ) , code : 0 } } } impl :: std :: fmt :: Debug for DEBUGHOOKINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEBUGHOOKINFO" ) . field ( "idThread" , & format_args ! ( "{:?}" , self . idThread ) ) . field ( "idThreadInstaller" , & format_args ! ( "{:?}" , self . idThreadInstaller ) ) . field ( "lParam" , & format_args ! ( "{:?}" , self . lParam ) ) . field ( "wParam" , & format_args ! ( "{:?}" , self . wParam ) ) . field ( "code" , & format_args ! ( "{:?}" , self . code ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEBUGHOOKINFO { fn eq ( & self , other : & Self ) -> bool { self . idThread == other . idThread && self . idThreadInstaller == other . idThreadInstaller && self . lParam == other . lParam && self . wParam == other . wParam && self . code == other . code } } impl :: std :: cmp :: Eq for DEBUGHOOKINFO { } unsafe impl :: windows :: Abi for DEBUGHOOKINFO { type Abi = Self ; } pub type DESKTOPENUMPROCA = extern "system" fn ( param0 : super :: SystemServices :: PSTR , param1 : LPARAM ) -> super :: SystemServices :: BOOL ; pub type DESKTOPENUMPROCW = extern "system" fn ( param0 : super :: SystemServices :: PWSTR , param1 : LPARAM ) -> super :: SystemServices :: BOOL ; pub const DESKTOP_CREATEMENU : i32 = 4i32 ; pub const DESKTOP_CREATEWINDOW : i32 = 2i32 ; pub const DESKTOP_ENUMERATE : i32 = 64i32 ; pub const DESKTOP_HOOKCONTROL : i32 = 8i32 ; pub const DESKTOP_JOURNALPLAYBACK : i32 = 32i32 ; pub const DESKTOP_JOURNALRECORD : i32 = 16i32 ; pub const DESKTOP_READOBJECTS : i32 = 1i32 ; pub const DESKTOP_SWITCHDESKTOP : i32 = 256i32 ; pub const DESKTOP_WRITEOBJECTS : i32 = 128i32 ; pub const DEVICE_NOTIFY_ALL_INTERFACE_CLASSES : u32 = 4u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct DEVNAMES { pub wDriverOffset : u16 , pub wDeviceOffset : u16 , pub wOutputOffset : u16 , pub wDefault : u16 } impl DEVNAMES { } impl :: std :: default :: Default for DEVNAMES { fn default ( ) -> Self { Self { wDriverOffset : 0 , wDeviceOffset : 0 , wOutputOffset : 0 , wDefault : 0 } } } impl :: std :: fmt :: Debug for DEVNAMES { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEVNAMES" ) . field ( "wDriverOffset" , & format_args ! ( "{:?}" , self . wDriverOffset ) ) . field ( "wDeviceOffset" , & format_args ! ( "{:?}" , self . wDeviceOffset ) ) . field ( "wOutputOffset" , & format_args ! ( "{:?}" , self . wOutputOffset ) ) . field ( "wDefault" , & format_args ! ( "{:?}" , self . wDefault ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVNAMES { fn eq ( & self , other : & Self ) -> bool { self . wDriverOffset == other . wDriverOffset && self . wDeviceOffset == other . wDeviceOffset && self . wOutputOffset == other . wOutputOffset && self . wDefault == other . wDefault } } impl :: std :: cmp :: Eq for DEVNAMES { } unsafe impl :: windows :: Abi for DEVNAMES { type Abi = Self ; } pub const DF_ALLOWOTHERACCOUNTHOOK : i32 = 1i32 ; pub const DIFFERENCE : u32 = 11u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct DI_FLAGS ( pub u32 ) ; impl DI_FLAGS { pub const DI_MASK : Self = Self ( 1u32 ) ; pub const DI_IMAGE : Self = Self ( 2u32 ) ; pub const DI_NORMAL : Self = Self ( 3u32 ) ; pub const DI_COMPAT : Self = Self ( 4u32 ) ; pub const DI_DEFAULTSIZE : Self = Self ( 8u32 ) ; pub const DI_NOMIRROR : Self = Self ( 16u32 ) ; } impl :: std :: convert :: From < u32 > for DI_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DI_FLAGS { type Abi = Self ; } impl :: std :: ops :: BitOr for DI_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for DI_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for DI_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for DI_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub const DLGC_BUTTON : u32 = 8192u32 ; pub const DLGC_DEFPUSHBUTTON : u32 = 16u32 ; pub const DLGC_HASSETSEL : u32 = 8u32 ; pub const DLGC_RADIOBUTTON : u32 = 64u32 ; pub const DLGC_STATIC : u32 = 256u32 ; pub const DLGC_UNDEFPUSHBUTTON : u32 = 32u32 ; pub const DLGC_WANTALLKEYS : u32 = 4u32 ; pub const DLGC_WANTARROWS : u32 = 1u32 ; pub const DLGC_WANTCHARS : u32 = 128u32 ; pub const DLGC_WANTMESSAGE : u32 = 4u32 ; pub const DLGC_WANTTAB : u32 = 2u32 ; # [ repr ( C , packed ( 2 ) ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct DLGITEMTEMPLATE { pub style : u32 , pub dwExtendedStyle : u32 , pub x : i16 , pub y : i16 , pub cx : i16 , pub cy : i16 , pub id : u16 } impl DLGITEMTEMPLATE { } unsafe impl :: windows :: Abi for DLGITEMTEMPLATE { type Abi = Self ; } pub const DLGWINDOWEXTRA : u32 = 30u32 ; pub const DM_GETDEFID : u32 = 1024u32 ; pub const DM_POINTERHITTEST : u32 = 592u32 ; pub const DM_REPOSITION : u32 = 1026u32 ; pub const DM_SETDEFID : u32 = 1025u32 ; pub const DN_DEFAULTPRN : u32 = 1u32 ; pub const DOF_DIRECTORY : u32 = 32771u32 ; pub const DOF_DOCUMENT : u32 = 32770u32 ; pub const DOF_EXECUTABLE : u32 = 32769u32 ; pub const DOF_MULTIPLE : u32 = 32772u32 ; pub const DOF_PROGMAN : u32 = 1u32 ; pub const DOF_SHELLDATA : u32 = 2u32 ; pub const DO_DROPFILE : i32 = 1162627398i32 ; pub const DO_PRINTFILE : i32 = 1414419024i32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct DROPSTRUCT { pub hwndSource : HWND , pub hwndSink : HWND , pub wFmt : u32 , pub dwData : usize , pub ptDrop : super :: DisplayDevices :: POINT , pub dwControlData : u32 } impl DROPSTRUCT { } impl :: std :: default :: Default for DROPSTRUCT { fn default ( ) -> Self { Self { hwndSource : :: std :: default :: Default :: default ( ) , hwndSink : :: std :: default :: Default :: default ( ) , wFmt : 0 , dwData : 0 , ptDrop : :: std :: default :: Default :: default ( ) , dwControlData : 0 } } } impl :: std :: fmt :: Debug for DROPSTRUCT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DROPSTRUCT" ) . field ( "hwndSource" , & format_args ! ( "{:?}" , self . hwndSource ) ) . field ( "hwndSink" , & format_args ! ( "{:?}" , self . hwndSink ) ) . field ( "wFmt" , & format_args ! ( "{:?}" , self . wFmt ) ) . field ( "dwData" , & format_args ! ( "{:?}" , self . dwData ) ) . field ( "ptDrop" , & format_args ! ( "{:?}" , self . ptDrop ) ) . field ( "dwControlData" , & format_args ! ( "{:?}" , self . dwControlData ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DROPSTRUCT { fn eq ( & self , other : & Self ) -> bool { self . hwndSource == other . hwndSource && self . hwndSink == other . hwndSink && self . wFmt == other . wFmt && self . dwData == other . dwData && self . ptDrop == other . ptDrop && self . dwControlData == other . dwControlData } } impl :: std :: cmp :: Eq for DROPSTRUCT { } unsafe impl :: windows :: Abi for DROPSTRUCT { type Abi = Self ; } pub const DWLP_MSGRESULT : u32 = 0u32 ; pub const DWL_DLGPROC : u32 = 4u32 ; pub const DWL_MSGRESULT : u32 = 0u32 ; pub const DWL_USER : u32 = 8u32 ; pub unsafe fn DefDlgProcA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hdlg : T0__ , msg : u32 , wparam : T2__ , lparam : T3__ , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DefDlgProcW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hdlg : T0__ , msg : u32 , wparam : T2__ , lparam : T3__ , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DefFrameProcA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , HWND > , T3__ : :: windows :: IntoParam < 'a , WPARAM > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwnd : T0__ , hwndmdiclient : T1__ , umsg : u32 , wparam : T3__ , lparam : T4__ , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DefFrameProcW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , HWND > , T3__ : :: windows :: IntoParam < 'a , WPARAM > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwnd : T0__ , hwndmdiclient : T1__ , umsg : u32 , wparam : T3__ , lparam : T4__ , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DefMDIChildProcA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwnd : T0__ , umsg : u32 , wparam : T2__ , lparam : T3__ , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DefMDIChildProcW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwnd : T0__ , umsg : u32 , wparam : T2__ , lparam : T3__ , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DefWindowProcA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwnd : T0__ , msg : u32 , wparam : T2__ , lparam : T3__ , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DefWindowProcW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwnd : T0__ , msg : u32 , wparam : T2__ , lparam : T3__ , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SetWindowPos_uFlags ( pub u32 ) ; impl SetWindowPos_uFlags { pub const SWP_ASYNCWINDOWPOS : Self = Self ( 16384u32 ) ; pub const SWP_DEFERERASE : Self = Self ( 8192u32 ) ; pub const SWP_DRAWFRAME : Self = Self ( 32u32 ) ; pub const SWP_FRAMECHANGED : Self = Self ( 32u32 ) ; pub const SWP_HIDEWINDOW : Self = Self ( 128u32 ) ; pub const SWP_NOACTIVATE : Self = Self ( 16u32 ) ; pub const SWP_NOCOPYBITS : Self = Self ( 256u32 ) ; pub const SWP_NOMOVE : Self = Self ( 2u32 ) ; pub const SWP_NOOWNERZORDER : Self = Self ( 512u32 ) ; pub const SWP_NOREDRAW : Self = Self ( 8u32 ) ; pub const SWP_NOREPOSITION : Self = Self ( 512u32 ) ; pub const SWP_NOSENDCHANGING : Self = Self ( 1024u32 ) ; pub const SWP_NOSIZE : Self = Self ( 1u32 ) ; pub const SWP_NOZORDER : Self = Self ( 4u32 ) ; pub const SWP_SHOWWINDOW : Self = Self ( 64u32 ) ; pub const SWP__NOOWNERZORDER : Self = Self ( 512u32 ) ; } impl :: std :: convert :: From < u32 > for SetWindowPos_uFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SetWindowPos_uFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for SetWindowPos_uFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for SetWindowPos_uFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for SetWindowPos_uFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for SetWindowPos_uFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn DeferWindowPos < 'a , T1__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , HWND > , > ( hwinposinfo : isize , hwnd : T1__ , hwndinsertafter : T2__ , x : i32 , y : i32 , cx : i32 , cy : i32 , uflags : SetWindowPos_uFlags , ) -> isize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DeleteMenu < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hmenu : T0__ , uposition : u32 , uflags : MENU_ITEM_FLAGS , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DeregisterShellHookWindow < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DestroyAcceleratorTable < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HACCEL > , > ( haccel : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DestroyCaret < > ( ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DestroyCursor < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HCURSOR > , > ( hcursor : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DestroyIcon < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HICON > , > ( hicon : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct IndexedResourceQualifier { pub name : super :: SystemServices :: PWSTR , pub value : super :: SystemServices :: PWSTR } impl IndexedResourceQualifier { } impl :: std :: default :: Default for IndexedResourceQualifier { fn default ( ) -> Self { Self { name : :: std :: default :: Default :: default ( ) , value : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for IndexedResourceQualifier { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "IndexedResourceQualifier" ) . field ( "name" , & format_args ! ( "{:?}" , self . name ) ) . field ( "value" , & format_args ! ( "{:?}" , self . value ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for IndexedResourceQualifier { fn eq ( & self , other : & Self ) -> bool { self . name == other . name && self . value == other . value } } impl :: std :: cmp :: Eq for IndexedResourceQualifier { } unsafe impl :: windows :: Abi for IndexedResourceQualifier { type Abi = Self ; } pub unsafe fn DestroyIndexedResults < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( resourceuri : T0__ , qualifiercount : u32 , qualifiers : * mut IndexedResourceQualifier , ) { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DestroyMenu < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hmenu : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DestroyResourceIndexer < > ( resourceindexer : * mut :: std :: ffi :: c_void , ) { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DestroyWindow < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DialogBoxIndirectParamA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T2__ : :: windows :: IntoParam < 'a , HWND > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hinstance : T0__ , hdialogtemplate : * mut DLGTEMPLATE , hwndparent : T2__ , lpdialogfunc : :: std :: option :: Option < DLGPROC > , dwinitparam : T4__ , ) -> isize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DialogBoxIndirectParamW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T2__ : :: windows :: IntoParam < 'a , HWND > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hinstance : T0__ , hdialogtemplate : * mut DLGTEMPLATE , hwndparent : T2__ , lpdialogfunc : :: std :: option :: Option < DLGPROC > , dwinitparam : T4__ , ) -> isize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DialogBoxParamA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T2__ : :: windows :: IntoParam < 'a , HWND > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hinstance : T0__ , lptemplatename : T1__ , hwndparent : T2__ , lpdialogfunc : :: std :: option :: Option < DLGPROC > , dwinitparam : T4__ , ) -> isize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DialogBoxParamW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , HWND > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hinstance : T0__ , lptemplatename : T1__ , hwndparent : T2__ , lpdialogfunc : :: std :: option :: Option < DLGPROC > , dwinitparam : T4__ , ) -> isize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DispatchMessageA < > ( lpmsg : * const MSG , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DispatchMessageW < > ( lpmsg : * const MSG , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DragObject < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , HWND > , T4__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HCURSOR > , > ( hwndparent : T0__ , hwndfrom : T1__ , fmt : u32 , data : usize , hcur : T4__ , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DrawIcon < 'a , T0__ : :: windows :: IntoParam < 'a , super :: Gdi :: HDC > , T3__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HICON > , > ( hdc : T0__ , x : i32 , y : i32 , hicon : T3__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DrawIconEx < 'a , T0__ : :: windows :: IntoParam < 'a , super :: Gdi :: HDC > , T3__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HICON > , T7__ : :: windows :: IntoParam < 'a , super :: Gdi :: HBRUSH > , > ( hdc : T0__ , xleft : i32 , ytop : i32 , hicon : T3__ , cxwidth : i32 , cywidth : i32 , istepifanicur : u32 , hbrflickerfreedraw : T7__ , diflags : DI_FLAGS , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DrawMenuBar < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub const EC_LEFTMARGIN : u32 = 1u32 ; pub const EC_RIGHTMARGIN : u32 = 2u32 ; pub const EC_USEFONTINFO : u32 = 65535u32 ; pub const EDD_GET_DEVICE_INTERFACE_NAME : u32 = 1u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct EDIT_CONTROL_FEATURE ( pub i32 ) ; impl EDIT_CONTROL_FEATURE { pub const EDIT_CONTROL_FEATURE_ENTERPRISE_DATA_PROTECTION_PASTE_SUPPORT : Self = Self ( 0i32 ) ; pub const EDIT_CONTROL_FEATURE_PASTE_NOTIFICATIONS : Self = Self ( 1i32 ) ; } impl :: std :: convert :: From < i32 > for EDIT_CONTROL_FEATURE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for EDIT_CONTROL_FEATURE { type Abi = Self ; } pub const EDS_RAWMODE : u32 = 2u32 ; pub const EDS_ROTATEDMODE : u32 = 4u32 ; pub const EIMES_CANCELCOMPSTRINFOCUS : u32 = 2u32 ; pub const EIMES_COMPLETECOMPSTRKILLFOCUS : u32 = 4u32 ; pub const EIMES_GETCOMPSTRATONCE : u32 = 1u32 ; pub const EMSIS_COMPOSITIONSTRING : u32 = 1u32 ; pub const EM_CANUNDO : u32 = 198u32 ; pub const EM_EMPTYUNDOBUFFER : u32 = 205u32 ; pub const EM_ENABLEFEATURE : u32 = 218u32 ; pub const EM_FMTLINES : u32 = 200u32 ; pub const EM_GETFIRSTVISIBLELINE : u32 = 206u32 ; pub const EM_GETHANDLE : u32 = 189u32 ; pub const EM_GETIMESTATUS : u32 = 217u32 ; pub const EM_GETLINE : u32 = 196u32 ; pub const EM_GETLINECOUNT : u32 = 186u32 ; pub const EM_GETMARGINS : u32 = 212u32 ; pub const EM_GETMODIFY : u32 = 184u32 ; pub const EM_GETPASSWORDCHAR : u32 = 210u32 ; pub const EM_GETRECT : u32 = 178u32 ; pub const EM_GETSEL : u32 = 176u32 ; pub const EM_GETTHUMB : u32 = 190u32 ; pub const EM_GETWORDBREAKPROC : u32 = 209u32 ; pub const EM_LIMITTEXT : u32 = 197u32 ; pub const EM_LINEFROMCHAR : u32 = 201u32 ; pub const EM_LINEINDEX : u32 = 187u32 ; pub const EM_LINELENGTH : u32 = 193u32 ; pub const EM_LINESCROLL : u32 = 182u32 ; pub const EM_REPLACESEL : u32 = 194u32 ; pub const EM_SCROLL : u32 = 181u32 ; pub const EM_SETHANDLE : u32 = 188u32 ; pub const EM_SETIMESTATUS : u32 = 216u32 ; pub const EM_SETMARGINS : u32 = 211u32 ; pub const EM_SETMODIFY : u32 = 185u32 ; pub const EM_SETPASSWORDCHAR : u32 = 204u32 ; pub const EM_SETREADONLY : u32 = 207u32 ; pub const EM_SETRECT : u32 = 179u32 ; pub const EM_SETRECTNP : u32 = 180u32 ; pub const EM_SETSEL : u32 = 177u32 ; pub const EM_SETTABSTOPS : u32 = 203u32 ; pub const EM_SETWORDBREAKPROC : u32 = 208u32 ; pub const EM_UNDO : u32 = 199u32 ; pub const ENDSESSION_CLOSEAPP : u32 = 1u32 ; pub const ENDSESSION_CRITICAL : u32 = 1073741824u32 ; pub const ENDSESSION_LOGOFF : u32 = 2147483648u32 ; pub type ENUMRESNAMEPROCA = extern "system" fn ( hmodule : isize , lptype : super :: SystemServices :: PSTR , lpname : super :: SystemServices :: PSTR , lparam : isize ) -> super :: SystemServices :: BOOL ; pub type ENUMRESNAMEPROCW = extern "system" fn ( hmodule : isize , lptype : super :: SystemServices :: PWSTR , lpname : super :: SystemServices :: PWSTR , lparam : isize ) -> super :: SystemServices :: BOOL ; pub type ENUMRESTYPEPROCA = extern "system" fn ( hmodule : isize , lptype : super :: SystemServices :: PSTR , lparam : isize ) -> super :: SystemServices :: BOOL ; pub type ENUMRESTYPEPROCW = extern "system" fn ( hmodule : isize , lptype : super :: SystemServices :: PWSTR , lparam : isize ) -> super :: SystemServices :: BOOL ; pub const EN_AFTER_PASTE : u32 = 2049u32 ; pub const EN_ALIGN_LTR_EC : u32 = 1792u32 ; pub const EN_ALIGN_RTL_EC : u32 = 1793u32 ; pub const EN_BEFORE_PASTE : u32 = 2048u32 ; pub const EN_CHANGE : u32 = 768u32 ; pub const EN_ERRSPACE : u32 = 1280u32 ; pub const EN_HSCROLL : u32 = 1537u32 ; pub const EN_KILLFOCUS : u32 = 512u32 ; pub const EN_MAXTEXT : u32 = 1281u32 ; pub const EN_SETFOCUS : u32 = 256u32 ; pub const EN_UPDATE : u32 = 1024u32 ; pub const EN_VSCROLL : u32 = 1538u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct EVENTMSG { pub message : u32 , pub paramL : u32 , pub paramH : u32 , pub time : u32 , pub hwnd : HWND } impl EVENTMSG { } impl :: std :: default :: Default for EVENTMSG { fn default ( ) -> Self { Self { message : 0 , paramL : 0 , paramH : 0 , time : 0 , hwnd : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for EVENTMSG { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EVENTMSG" ) . field ( "message" , & format_args ! ( "{:?}" , self . message ) ) . field ( "paramL" , & format_args ! ( "{:?}" , self . paramL ) ) . field ( "paramH" , & format_args ! ( "{:?}" , self . paramH ) ) . field ( "time" , & format_args ! ( "{:?}" , self . time ) ) . field ( "hwnd" , & format_args ! ( "{:?}" , self . hwnd ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EVENTMSG { fn eq ( & self , other : & Self ) -> bool { self . message == other . message && self . paramL == other . paramL && self . paramH == other . paramH && self . time == other . time && self . hwnd == other . hwnd } } impl :: std :: cmp :: Eq for EVENTMSG { } unsafe impl :: windows :: Abi for EVENTMSG { type Abi = Self ; } pub const EVENT_AIA_END : u32 = 45055u32 ; pub const EVENT_AIA_START : u32 = 40960u32 ; pub const EVENT_CONSOLE_CARET : u32 = 16385u32 ; pub const EVENT_CONSOLE_END : u32 = 16639u32 ; pub const EVENT_CONSOLE_END_APPLICATION : u32 = 16391u32 ; pub const EVENT_CONSOLE_LAYOUT : u32 = 16389u32 ; pub const EVENT_CONSOLE_START_APPLICATION : u32 = 16390u32 ; pub const EVENT_CONSOLE_UPDATE_REGION : u32 = 16386u32 ; pub const EVENT_CONSOLE_UPDATE_SCROLL : u32 = 16388u32 ; pub const EVENT_CONSOLE_UPDATE_SIMPLE : u32 = 16387u32 ; pub const EVENT_MAX : u32 = 2147483647u32 ; pub const EVENT_MIN : u32 = 1u32 ; pub const EVENT_OBJECT_ACCELERATORCHANGE : u32 = 32786u32 ; pub const EVENT_OBJECT_CLOAKED : u32 = 32791u32 ; pub const EVENT_OBJECT_CONTENTSCROLLED : u32 = 32789u32 ; pub const EVENT_OBJECT_CREATE : u32 = 32768u32 ; pub const EVENT_OBJECT_DEFACTIONCHANGE : u32 = 32785u32 ; pub const EVENT_OBJECT_DESCRIPTIONCHANGE : u32 = 32781u32 ; pub const EVENT_OBJECT_DESTROY : u32 = 32769u32 ; pub const EVENT_OBJECT_DRAGCANCEL : u32 = 32802u32 ; pub const EVENT_OBJECT_DRAGCOMPLETE : u32 = 32803u32 ; pub const EVENT_OBJECT_DRAGDROPPED : u32 = 32806u32 ; pub const EVENT_OBJECT_DRAGENTER : u32 = 32804u32 ; pub const EVENT_OBJECT_DRAGLEAVE : u32 = 32805u32 ; pub const EVENT_OBJECT_DRAGSTART : u32 = 32801u32 ; pub const EVENT_OBJECT_END : u32 = 33023u32 ; pub const EVENT_OBJECT_FOCUS : u32 = 32773u32 ; pub const EVENT_OBJECT_HELPCHANGE : u32 = 32784u32 ; pub const EVENT_OBJECT_HIDE : u32 = 32771u32 ; pub const EVENT_OBJECT_HOSTEDOBJECTSINVALIDATED : u32 = 32800u32 ; pub const EVENT_OBJECT_IME_CHANGE : u32 = 32809u32 ; pub const EVENT_OBJECT_IME_HIDE : u32 = 32808u32 ; pub const EVENT_OBJECT_IME_SHOW : u32 = 32807u32 ; pub const EVENT_OBJECT_INVOKED : u32 = 32787u32 ; pub const EVENT_OBJECT_LIVEREGIONCHANGED : u32 = 32793u32 ; pub const EVENT_OBJECT_LOCATIONCHANGE : u32 = 32779u32 ; pub const EVENT_OBJECT_NAMECHANGE : u32 = 32780u32 ; pub const EVENT_OBJECT_PARENTCHANGE : u32 = 32783u32 ; pub const EVENT_OBJECT_REORDER : u32 = 32772u32 ; pub const EVENT_OBJECT_SELECTION : u32 = 32774u32 ; pub const EVENT_OBJECT_SELECTIONADD : u32 = 32775u32 ; pub const EVENT_OBJECT_SELECTIONREMOVE : u32 = 32776u32 ; pub const EVENT_OBJECT_SELECTIONWITHIN : u32 = 32777u32 ; pub const EVENT_OBJECT_SHOW : u32 = 32770u32 ; pub const EVENT_OBJECT_STATECHANGE : u32 = 32778u32 ; pub const EVENT_OBJECT_TEXTEDIT_CONVERSIONTARGETCHANGED : u32 = 32816u32 ; pub const EVENT_OBJECT_TEXTSELECTIONCHANGED : u32 = 32788u32 ; pub const EVENT_OBJECT_UNCLOAKED : u32 = 32792u32 ; pub const EVENT_OBJECT_VALUECHANGE : u32 = 32782u32 ; pub const EVENT_OEM_DEFINED_END : u32 = 511u32 ; pub const EVENT_OEM_DEFINED_START : u32 = 257u32 ; pub const EVENT_SYSTEM_ALERT : u32 = 2u32 ; pub const EVENT_SYSTEM_ARRANGMENTPREVIEW : u32 = 32790u32 ; pub const EVENT_SYSTEM_CAPTUREEND : u32 = 9u32 ; pub const EVENT_SYSTEM_CAPTURESTART : u32 = 8u32 ; pub const EVENT_SYSTEM_CONTEXTHELPEND : u32 = 13u32 ; pub const EVENT_SYSTEM_CONTEXTHELPSTART : u32 = 12u32 ; pub const EVENT_SYSTEM_DESKTOPSWITCH : u32 = 32u32 ; pub const EVENT_SYSTEM_DIALOGEND : u32 = 17u32 ; pub const EVENT_SYSTEM_DIALOGSTART : u32 = 16u32 ; pub const EVENT_SYSTEM_DRAGDROPEND : u32 = 15u32 ; pub const EVENT_SYSTEM_DRAGDROPSTART : u32 = 14u32 ; pub const EVENT_SYSTEM_END : u32 = 255u32 ; pub const EVENT_SYSTEM_FOREGROUND : u32 = 3u32 ; pub const EVENT_SYSTEM_IME_KEY_NOTIFICATION : u32 = 41u32 ; pub const EVENT_SYSTEM_MENUEND : u32 = 5u32 ; pub const EVENT_SYSTEM_MENUPOPUPEND : u32 = 7u32 ; pub const EVENT_SYSTEM_MENUPOPUPSTART : u32 = 6u32 ; pub const EVENT_SYSTEM_MENUSTART : u32 = 4u32 ; pub const EVENT_SYSTEM_MINIMIZEEND : u32 = 23u32 ; pub const EVENT_SYSTEM_MINIMIZESTART : u32 = 22u32 ; pub const EVENT_SYSTEM_MOVESIZEEND : u32 = 11u32 ; pub const EVENT_SYSTEM_MOVESIZESTART : u32 = 10u32 ; pub const EVENT_SYSTEM_SCROLLINGEND : u32 = 19u32 ; pub const EVENT_SYSTEM_SCROLLINGSTART : u32 = 18u32 ; pub const EVENT_SYSTEM_SOUND : u32 = 1u32 ; pub const EVENT_SYSTEM_SWITCHEND : u32 = 21u32 ; pub const EVENT_SYSTEM_SWITCHER_APPDROPPED : u32 = 38u32 ; pub const EVENT_SYSTEM_SWITCHER_APPGRABBED : u32 = 36u32 ; pub const EVENT_SYSTEM_SWITCHER_APPOVERTARGET : u32 = 37u32 ; pub const EVENT_SYSTEM_SWITCHER_CANCELLED : u32 = 39u32 ; pub const EVENT_SYSTEM_SWITCHSTART : u32 = 20u32 ; pub const EVENT_UIA_EVENTID_END : u32 = 20223u32 ; pub const EVENT_UIA_EVENTID_START : u32 = 19968u32 ; pub const EVENT_UIA_PROPID_END : u32 = 30207u32 ; pub const EVENT_UIA_PROPID_START : u32 = 29952u32 ; pub const EWX_ARSO : u32 = 67108864u32 ; pub const EWX_BOOTOPTIONS : u32 = 16777216u32 ; pub const EWX_FORCE : u32 = 4u32 ; pub const EWX_FORCEIFHUNG : u32 = 16u32 ; pub const EWX_QUICKRESOLVE : u32 = 32u32 ; pub unsafe fn EnableMenuItem < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hmenu : T0__ , uidenableitem : u32 , uenable : MENU_ITEM_FLAGS , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EndDeferWindowPos < > ( hwinposinfo : isize , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EndDialog < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hdlg : T0__ , nresult : isize , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EndMenu < > ( ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EndUpdateResourceA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HANDLE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( hupdate : T0__ , fdiscard : T1__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EndUpdateResourceW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HANDLE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( hupdate : T0__ , fdiscard : T1__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub type WNDENUMPROC = extern "system" fn ( param0 : HWND , param1 : LPARAM ) -> super :: SystemServices :: BOOL ; pub unsafe fn EnumChildWindows < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwndparent : T0__ , lpenumfunc : :: std :: option :: Option < WNDENUMPROC > , lparam : T2__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub type PROPENUMPROCA = extern "system" fn ( param0 : HWND , param1 : super :: SystemServices :: PSTR , param2 : super :: SystemServices :: HANDLE ) -> super :: SystemServices :: BOOL ; pub unsafe fn EnumPropsA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , lpenumfunc : :: std :: option :: Option < PROPENUMPROCA > , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub type PROPENUMPROCEXA = extern "system" fn ( param0 : HWND , param1 : super :: SystemServices :: PSTR , param2 : super :: SystemServices :: HANDLE , param3 : usize ) -> super :: SystemServices :: BOOL ; pub unsafe fn EnumPropsExA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwnd : T0__ , lpenumfunc : :: std :: option :: Option < PROPENUMPROCEXA > , lparam : T2__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub type PROPENUMPROCEXW = extern "system" fn ( param0 : HWND , param1 : super :: SystemServices :: PWSTR , param2 : super :: SystemServices :: HANDLE , param3 : usize ) -> super :: SystemServices :: BOOL ; pub unsafe fn EnumPropsExW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwnd : T0__ , lpenumfunc : :: std :: option :: Option < PROPENUMPROCEXW > , lparam : T2__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub type PROPENUMPROCW = extern "system" fn ( param0 : HWND , param1 : super :: SystemServices :: PWSTR , param2 : super :: SystemServices :: HANDLE ) -> super :: SystemServices :: BOOL ; pub unsafe fn EnumPropsW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , lpenumfunc : :: std :: option :: Option < PROPENUMPROCW > , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumResourceLanguagesA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hmodule : isize , lptype : T1__ , lpname : T2__ , lpenumfunc : :: std :: option :: Option < super :: SystemServices :: ENUMRESLANGPROCA > , lparam : isize , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumResourceLanguagesExA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hmodule : isize , lptype : T1__ , lpname : T2__ , lpenumfunc : :: std :: option :: Option < super :: SystemServices :: ENUMRESLANGPROCA > , lparam : isize , dwflags : u32 , langid : u16 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumResourceLanguagesExW < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hmodule : isize , lptype : T1__ , lpname : T2__ , lpenumfunc : :: std :: option :: Option < super :: SystemServices :: ENUMRESLANGPROCW > , lparam : isize , dwflags : u32 , langid : u16 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumResourceLanguagesW < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hmodule : isize , lptype : T1__ , lpname : T2__ , lpenumfunc : :: std :: option :: Option < super :: SystemServices :: ENUMRESLANGPROCW > , lparam : isize , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumResourceNamesA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hmodule : isize , lptype : T1__ , lpenumfunc : :: std :: option :: Option < ENUMRESNAMEPROCA > , lparam : isize , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumResourceNamesExA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hmodule : isize , lptype : T1__ , lpenumfunc : :: std :: option :: Option < ENUMRESNAMEPROCA > , lparam : isize , dwflags : u32 , langid : u16 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumResourceNamesExW < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hmodule : isize , lptype : T1__ , lpenumfunc : :: std :: option :: Option < ENUMRESNAMEPROCW > , lparam : isize , dwflags : u32 , langid : u16 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumResourceTypesA < > ( hmodule : isize , lpenumfunc : :: std :: option :: Option < ENUMRESTYPEPROCA > , lparam : isize , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumResourceTypesExA < > ( hmodule : isize , lpenumfunc : :: std :: option :: Option < ENUMRESTYPEPROCA > , lparam : isize , dwflags : u32 , langid : u16 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumResourceTypesExW < > ( hmodule : isize , lpenumfunc : :: std :: option :: Option < ENUMRESTYPEPROCW > , lparam : isize , dwflags : u32 , langid : u16 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumResourceTypesW < > ( hmodule : isize , lpenumfunc : :: std :: option :: Option < ENUMRESTYPEPROCW > , lparam : isize , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumThreadWindows < 'a , T2__ : :: windows :: IntoParam < 'a , LPARAM > , > ( dwthreadid : u32 , lpfn : :: std :: option :: Option < WNDENUMPROC > , lparam : T2__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumWindows < 'a , T1__ : :: windows :: IntoParam < 'a , LPARAM > , > ( lpenumfunc : :: std :: option :: Option < WNDENUMPROC > , lparam : T1__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub const FALT : u32 = 16u32 ; pub const FAPPCOMMAND_KEY : u32 = 0u32 ; pub const FAPPCOMMAND_MASK : u32 = 61440u32 ; pub const FAPPCOMMAND_MOUSE : u32 = 32768u32 ; pub const FAPPCOMMAND_OEM : u32 = 4096u32 ; pub const FCONTROL : u32 = 8u32 ; pub const FE_FONTSMOOTHINGCLEARTYPE : u32 = 2u32 ; pub const FE_FONTSMOOTHINGORIENTATIONBGR : u32 = 0u32 ; pub const FE_FONTSMOOTHINGORIENTATIONRGB : u32 = 1u32 ; pub const FE_FONTSMOOTHINGSTANDARD : u32 = 1u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct FINDREPLACEW_Flags ( pub u32 ) ; impl FINDREPLACEW_Flags { pub const FR_DIALOGTERM : Self = Self ( 64u32 ) ; pub const FR_DOWN : Self = Self ( 1u32 ) ; pub const FR_ENABLEHOOK : Self = Self ( 256u32 ) ; pub const FR_ENABLETEMPLATE : Self = Self ( 512u32 ) ; pub const FR_ENABLETEMPLATEHANDLE : Self = Self ( 8192u32 ) ; pub const FR_FINDNEXT : Self = Self ( 8u32 ) ; pub const FR_HIDEUPDOWN : Self = Self ( 16384u32 ) ; pub const FR_HIDEMATCHCASE : Self = Self ( 32768u32 ) ; pub const FR_HIDEWHOLEWORD : Self = Self ( 65536u32 ) ; pub const FR_MATCHCASE : Self = Self ( 4u32 ) ; pub const FR_NOMATCHCASE : Self = Self ( 2048u32 ) ; pub const FR_NOUPDOWN : Self = Self ( 1024u32 ) ; pub const FR_NOWHOLEWORD : Self = Self ( 4096u32 ) ; pub const FR_REPLACE : Self = Self ( 16u32 ) ; pub const FR_REPLACEALL : Self = Self ( 32u32 ) ; pub const FR_SHOWHELP : Self = Self ( 128u32 ) ; pub const FR_WHOLEWORD : Self = Self ( 2u32 ) ; } impl :: std :: convert :: From < u32 > for FINDREPLACEW_Flags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for FINDREPLACEW_Flags { type Abi = Self ; } impl :: std :: ops :: BitOr for FINDREPLACEW_Flags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for FINDREPLACEW_Flags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for FINDREPLACEW_Flags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for FINDREPLACEW_Flags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub type LPFRHOOKPROC = extern "system" fn ( param0 : HWND , param1 : u32 , param2 : WPARAM , param3 : LPARAM ) -> usize ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct FINDREPLACEA { pub lStructSize : u32 , pub hwndOwner : HWND , pub hInstance : super :: SystemServices :: HINSTANCE , pub Flags : FINDREPLACEW_Flags , pub lpstrFindWhat : super :: SystemServices :: PSTR , pub lpstrReplaceWith : super :: SystemServices :: PSTR , pub wFindWhatLen : u16 , pub wReplaceWithLen : u16 , pub lCustData : LPARAM , pub lpfnHook : :: std :: option :: Option < LPFRHOOKPROC > , pub lpTemplateName : super :: SystemServices :: PSTR } impl FINDREPLACEA { } impl :: std :: default :: Default for FINDREPLACEA { fn default ( ) -> Self { Self { lStructSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , Flags : :: std :: default :: Default :: default ( ) , lpstrFindWhat : :: std :: default :: Default :: default ( ) , lpstrReplaceWith : :: std :: default :: Default :: default ( ) , wFindWhatLen : 0 , wReplaceWithLen : 0 , lCustData : :: std :: default :: Default :: default ( ) , lpfnHook : :: std :: default :: Default :: default ( ) , lpTemplateName : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for FINDREPLACEA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FINDREPLACEA" ) . field ( "lStructSize" , & format_args ! ( "{:?}" , self . lStructSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "lpstrFindWhat" , & format_args ! ( "{:?}" , self . lpstrFindWhat ) ) . field ( "lpstrReplaceWith" , & format_args ! ( "{:?}" , self . lpstrReplaceWith ) ) . field ( "wFindWhatLen" , & format_args ! ( "{:?}" , self . wFindWhatLen ) ) . field ( "wReplaceWithLen" , & format_args ! ( "{:?}" , self . wReplaceWithLen ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "lpTemplateName" , & format_args ! ( "{:?}" , self . lpTemplateName ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FINDREPLACEA { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . hwndOwner == other . hwndOwner && self . hInstance == other . hInstance && self . Flags == other . Flags && self . lpstrFindWhat == other . lpstrFindWhat && self . lpstrReplaceWith == other . lpstrReplaceWith && self . wFindWhatLen == other . wFindWhatLen && self . wReplaceWithLen == other . wReplaceWithLen && self . lCustData == other . lCustData && self . lpfnHook . map ( | f | f as usize ) == other . lpfnHook . map ( | f | f as usize ) && self . lpTemplateName == other . lpTemplateName } } impl :: std :: cmp :: Eq for FINDREPLACEA { } unsafe impl :: windows :: Abi for FINDREPLACEA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct FINDREPLACEW { pub lStructSize : u32 , pub hwndOwner : HWND , pub hInstance : super :: SystemServices :: HINSTANCE , pub Flags : FINDREPLACEW_Flags , pub lpstrFindWhat : super :: SystemServices :: PWSTR , pub lpstrReplaceWith : super :: SystemServices :: PWSTR , pub wFindWhatLen : u16 , pub wReplaceWithLen : u16 , pub lCustData : LPARAM , pub lpfnHook : :: std :: option :: Option < LPFRHOOKPROC > , pub lpTemplateName : super :: SystemServices :: PWSTR } impl FINDREPLACEW { } impl :: std :: default :: Default for FINDREPLACEW { fn default ( ) -> Self { Self { lStructSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , Flags : :: std :: default :: Default :: default ( ) , lpstrFindWhat : :: std :: default :: Default :: default ( ) , lpstrReplaceWith : :: std :: default :: Default :: default ( ) , wFindWhatLen : 0 , wReplaceWithLen : 0 , lCustData : :: std :: default :: Default :: default ( ) , lpfnHook : :: std :: default :: Default :: default ( ) , lpTemplateName : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for FINDREPLACEW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FINDREPLACEW" ) . field ( "lStructSize" , & format_args ! ( "{:?}" , self . lStructSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "lpstrFindWhat" , & format_args ! ( "{:?}" , self . lpstrFindWhat ) ) . field ( "lpstrReplaceWith" , & format_args ! ( "{:?}" , self . lpstrReplaceWith ) ) . field ( "wFindWhatLen" , & format_args ! ( "{:?}" , self . wFindWhatLen ) ) . field ( "wReplaceWithLen" , & format_args ! ( "{:?}" , self . wReplaceWithLen ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "lpTemplateName" , & format_args ! ( "{:?}" , self . lpTemplateName ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FINDREPLACEW { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . hwndOwner == other . hwndOwner && self . hInstance == other . hInstance && self . Flags == other . Flags && self . lpstrFindWhat == other . lpstrFindWhat && self . lpstrReplaceWith == other . lpstrReplaceWith && self . wFindWhatLen == other . wFindWhatLen && self . wReplaceWithLen == other . wReplaceWithLen && self . lCustData == other . lCustData && self . lpfnHook . map ( | f | f as usize ) == other . lpfnHook . map ( | f | f as usize ) && self . lpTemplateName == other . lpTemplateName } } impl :: std :: cmp :: Eq for FINDREPLACEW { } unsafe impl :: windows :: Abi for FINDREPLACEW { type Abi = Self ; } pub const FKF_AVAILABLE : u32 = 2u32 ; pub const FKF_CLICKON : u32 = 64u32 ; pub const FKF_CONFIRMHOTKEY : u32 = 8u32 ; pub const FKF_FILTERKEYSON : u32 = 1u32 ; pub const FKF_HOTKEYACTIVE : u32 = 4u32 ; pub const FKF_HOTKEYSOUND : u32 = 16u32 ; pub const FKF_INDICATOR : u32 = 32u32 ; pub const FNOINVERT : u32 = 2u32 ; pub const FRM_FIRST : u32 = 1124u32 ; pub const FRM_LAST : u32 = 1224u32 ; pub const FRM_SETOPERATIONRESULT : u32 = 1124u32 ; pub const FRM_SETOPERATIONRESULTTEXT : u32 = 1125u32 ; pub const FR_NOWRAPAROUND : u32 = 524288u32 ; pub const FR_RAW : u32 = 131072u32 ; pub const FR_SHOWWRAPAROUND : u32 = 262144u32 ; pub const FR_WRAPAROUND : u32 = 1048576u32 ; pub const FSHIFT : u32 = 4u32 ; pub const FVIRTKEY : u32 = 1u32 ; pub unsafe fn FindResourceA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hmodule : isize , lpname : T1__ , lptype : T2__ , ) -> super :: SystemServices :: HRSRC { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn FindResourceExA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hmodule : isize , lptype : T1__ , lpname : T2__ , wlanguage : u16 , ) -> super :: SystemServices :: HRSRC { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn FindTextA < > ( param0 : * mut FINDREPLACEA , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn FindTextW < > ( param0 : * mut FINDREPLACEW , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn FindWindowA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpclassname : T0__ , lpwindowname : T1__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn FindWindowExA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hwndparent : T0__ , hwndchildafter : T1__ , lpszclass : T2__ , lpszwindow : T3__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn FindWindowExW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hwndparent : T0__ , hwndchildafter : T1__ , lpszclass : T2__ , lpszwindow : T3__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn FindWindowW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpclassname : T0__ , lpwindowname : T1__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn FreeResource < > ( hresdata : isize , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub const GCF_INCLUDE_ANCESTORS : u32 = 1u32 ; pub const GESTURECONFIGMAXCOUNT : u32 = 256u32 ; pub const GESTUREVISUALIZATION_DOUBLETAP : u32 = 2u32 ; pub const GESTUREVISUALIZATION_OFF : u32 = 0u32 ; pub const GESTUREVISUALIZATION_ON : u32 = 31u32 ; pub const GESTUREVISUALIZATION_PRESSANDHOLD : u32 = 8u32 ; pub const GESTUREVISUALIZATION_PRESSANDTAP : u32 = 4u32 ; pub const GESTUREVISUALIZATION_RIGHTTAP : u32 = 16u32 ; pub const GESTUREVISUALIZATION_TAP : u32 = 1u32 ; pub const GF_BEGIN : u32 = 1u32 ; pub const GF_END : u32 = 4u32 ; pub const GF_INERTIA : u32 = 2u32 ; pub const GIDC_ARRIVAL : u32 = 1u32 ; pub const GIDC_REMOVAL : u32 = 2u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct GUITHREADINFO_flags ( pub u32 ) ; impl GUITHREADINFO_flags { pub const GUI_CARETBLINKING : Self = Self ( 1u32 ) ; pub const GUI_INMENUMODE : Self = Self ( 4u32 ) ; pub const GUI_INMOVESIZE : Self = Self ( 2u32 ) ; pub const GUI_POPUPMENUMODE : Self = Self ( 16u32 ) ; pub const GUI_SYSTEMMENUMODE : Self = Self ( 8u32 ) ; } impl :: std :: convert :: From < u32 > for GUITHREADINFO_flags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GUITHREADINFO_flags { type Abi = Self ; } impl :: std :: ops :: BitOr for GUITHREADINFO_flags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for GUITHREADINFO_flags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for GUITHREADINFO_flags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for GUITHREADINFO_flags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct GUITHREADINFO { pub cbSize : u32 , pub flags : GUITHREADINFO_flags , pub hwndActive : HWND , pub hwndFocus : HWND , pub hwndCapture : HWND , pub hwndMenuOwner : HWND , pub hwndMoveSize : HWND , pub hwndCaret : HWND , pub rcCaret : super :: DisplayDevices :: RECT } impl GUITHREADINFO { } impl :: std :: default :: Default for GUITHREADINFO { fn default ( ) -> Self { Self { cbSize : 0 , flags : :: std :: default :: Default :: default ( ) , hwndActive : :: std :: default :: Default :: default ( ) , hwndFocus : :: std :: default :: Default :: default ( ) , hwndCapture : :: std :: default :: Default :: default ( ) , hwndMenuOwner : :: std :: default :: Default :: default ( ) , hwndMoveSize : :: std :: default :: Default :: default ( ) , hwndCaret : :: std :: default :: Default :: default ( ) , rcCaret : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for GUITHREADINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "GUITHREADINFO" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "flags" , & format_args ! ( "{:?}" , self . flags ) ) . field ( "hwndActive" , & format_args ! ( "{:?}" , self . hwndActive ) ) . field ( "hwndFocus" , & format_args ! ( "{:?}" , self . hwndFocus ) ) . field ( "hwndCapture" , & format_args ! ( "{:?}" , self . hwndCapture ) ) . field ( "hwndMenuOwner" , & format_args ! ( "{:?}" , self . hwndMenuOwner ) ) . field ( "hwndMoveSize" , & format_args ! ( "{:?}" , self . hwndMoveSize ) ) . field ( "hwndCaret" , & format_args ! ( "{:?}" , self . hwndCaret ) ) . field ( "rcCaret" , & format_args ! ( "{:?}" , self . rcCaret ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for GUITHREADINFO { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . flags == other . flags && self . hwndActive == other . hwndActive && self . hwndFocus == other . hwndFocus && self . hwndCapture == other . hwndCapture && self . hwndMenuOwner == other . hwndMenuOwner && self . hwndMoveSize == other . hwndMoveSize && self . hwndCaret == other . hwndCaret && self . rcCaret == other . rcCaret } } impl :: std :: cmp :: Eq for GUITHREADINFO { } unsafe impl :: windows :: Abi for GUITHREADINFO { type Abi = Self ; } pub const GUI_16BITTASK : u32 = 0u32 ; pub const GWFS_INCLUDE_ANCESTORS : u32 = 1u32 ; pub const GW_MAX : u32 = 5u32 ; pub unsafe fn GetAltTabInfoA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , iitem : i32 , pati : * mut ALTTABINFO , pszitemtext : super :: SystemServices :: PSTR , cchitemtext : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetAltTabInfoW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , iitem : i32 , pati : * mut ALTTABINFO , pszitemtext : super :: SystemServices :: PWSTR , cchitemtext : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct GetAncestor_gaFlags ( pub u32 ) ; impl GetAncestor_gaFlags { pub const GA_PARENT : Self = Self ( 1u32 ) ; pub const GA_ROOT : Self = Self ( 2u32 ) ; pub const GA_ROOTOWNER : Self = Self ( 3u32 ) ; } impl :: std :: convert :: From < u32 > for GetAncestor_gaFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GetAncestor_gaFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for GetAncestor_gaFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for GetAncestor_gaFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for GetAncestor_gaFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for GetAncestor_gaFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn GetAncestor < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , gaflags : GetAncestor_gaFlags , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCaretBlinkTime < > ( ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCaretPos < > ( lppoint : * mut super :: DisplayDevices :: POINT , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct WNDCLASS_STYLES ( pub u32 ) ; impl WNDCLASS_STYLES { pub const CS_VREDRAW : Self = Self ( 1u32 ) ; pub const CS_HREDRAW : Self = Self ( 2u32 ) ; pub const CS_DBLCLKS : Self = Self ( 8u32 ) ; pub const CS_OWNDC : Self = Self ( 32u32 ) ; pub const CS_CLASSDC : Self = Self ( 64u32 ) ; pub const CS_PARENTDC : Self = Self ( 128u32 ) ; pub const CS_NOCLOSE : Self = Self ( 512u32 ) ; pub const CS_SAVEBITS : Self = Self ( 2048u32 ) ; pub const CS_BYTEALIGNCLIENT : Self = Self ( 4096u32 ) ; pub const CS_BYTEALIGNWINDOW : Self = Self ( 8192u32 ) ; pub const CS_GLOBALCLASS : Self = Self ( 16384u32 ) ; pub const CS_IME : Self = Self ( 65536u32 ) ; pub const CS_DROPSHADOW : Self = Self ( 131072u32 ) ; } impl :: std :: convert :: From < u32 > for WNDCLASS_STYLES { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for WNDCLASS_STYLES { type Abi = Self ; } impl :: std :: ops :: BitOr for WNDCLASS_STYLES { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for WNDCLASS_STYLES { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for WNDCLASS_STYLES { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for WNDCLASS_STYLES { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct WNDCLASSA { pub style : WNDCLASS_STYLES , pub lpfnWndProc : :: std :: option :: Option < WNDPROC > , pub cbClsExtra : i32 , pub cbWndExtra : i32 , pub hInstance : super :: SystemServices :: HINSTANCE , pub hIcon : super :: MenusAndResources :: HICON , pub hCursor : super :: MenusAndResources :: HCURSOR , pub hbrBackground : super :: Gdi :: HBRUSH , pub lpszMenuName : super :: SystemServices :: PSTR , pub lpszClassName : super :: SystemServices :: PSTR } impl WNDCLASSA { } impl :: std :: default :: Default for WNDCLASSA { fn default ( ) -> Self { Self { style : :: std :: default :: Default :: default ( ) , lpfnWndProc : :: std :: default :: Default :: default ( ) , cbClsExtra : 0 , cbWndExtra : 0 , hInstance : :: std :: default :: Default :: default ( ) , hIcon : :: std :: default :: Default :: default ( ) , hCursor : :: std :: default :: Default :: default ( ) , hbrBackground : :: std :: default :: Default :: default ( ) , lpszMenuName : :: std :: default :: Default :: default ( ) , lpszClassName : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for WNDCLASSA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WNDCLASSA" ) . field ( "style" , & format_args ! ( "{:?}" , self . style ) ) . field ( "cbClsExtra" , & format_args ! ( "{:?}" , self . cbClsExtra ) ) . field ( "cbWndExtra" , & format_args ! ( "{:?}" , self . cbWndExtra ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "hIcon" , & format_args ! ( "{:?}" , self . hIcon ) ) . field ( "hCursor" , & format_args ! ( "{:?}" , self . hCursor ) ) . field ( "hbrBackground" , & format_args ! ( "{:?}" , self . hbrBackground ) ) . field ( "lpszMenuName" , & format_args ! ( "{:?}" , self . lpszMenuName ) ) . field ( "lpszClassName" , & format_args ! ( "{:?}" , self . lpszClassName ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WNDCLASSA { fn eq ( & self , other : & Self ) -> bool { self . style == other . style && self . lpfnWndProc . map ( | f | f as usize ) == other . lpfnWndProc . map ( | f | f as usize ) && self . cbClsExtra == other . cbClsExtra && self . cbWndExtra == other . cbWndExtra && self . hInstance == other . hInstance && self . hIcon == other . hIcon && self . hCursor == other . hCursor && self . hbrBackground == other . hbrBackground && self . lpszMenuName == other . lpszMenuName && self . lpszClassName == other . lpszClassName } } impl :: std :: cmp :: Eq for WNDCLASSA { } unsafe impl :: windows :: Abi for WNDCLASSA { type Abi = Self ; } pub unsafe fn GetClassInfoA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hinstance : T0__ , lpclassname : T1__ , lpwndclass : * mut WNDCLASSA , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct WNDCLASSEXA { pub cbSize : u32 , pub style : WNDCLASS_STYLES , pub lpfnWndProc : :: std :: option :: Option < WNDPROC > , pub cbClsExtra : i32 , pub cbWndExtra : i32 , pub hInstance : super :: SystemServices :: HINSTANCE , pub hIcon : super :: MenusAndResources :: HICON , pub hCursor : super :: MenusAndResources :: HCURSOR , pub hbrBackground : super :: Gdi :: HBRUSH , pub lpszMenuName : super :: SystemServices :: PSTR , pub lpszClassName : super :: SystemServices :: PSTR , pub hIconSm : super :: MenusAndResources :: HICON } impl WNDCLASSEXA { } impl :: std :: default :: Default for WNDCLASSEXA { fn default ( ) -> Self { Self { cbSize : 0 , style : :: std :: default :: Default :: default ( ) , lpfnWndProc : :: std :: default :: Default :: default ( ) , cbClsExtra : 0 , cbWndExtra : 0 , hInstance : :: std :: default :: Default :: default ( ) , hIcon : :: std :: default :: Default :: default ( ) , hCursor : :: std :: default :: Default :: default ( ) , hbrBackground : :: std :: default :: Default :: default ( ) , lpszMenuName : :: std :: default :: Default :: default ( ) , lpszClassName : :: std :: default :: Default :: default ( ) , hIconSm : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for WNDCLASSEXA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WNDCLASSEXA" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "style" , & format_args ! ( "{:?}" , self . style ) ) . field ( "cbClsExtra" , & format_args ! ( "{:?}" , self . cbClsExtra ) ) . field ( "cbWndExtra" , & format_args ! ( "{:?}" , self . cbWndExtra ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "hIcon" , & format_args ! ( "{:?}" , self . hIcon ) ) . field ( "hCursor" , & format_args ! ( "{:?}" , self . hCursor ) ) . field ( "hbrBackground" , & format_args ! ( "{:?}" , self . hbrBackground ) ) . field ( "lpszMenuName" , & format_args ! ( "{:?}" , self . lpszMenuName ) ) . field ( "lpszClassName" , & format_args ! ( "{:?}" , self . lpszClassName ) ) . field ( "hIconSm" , & format_args ! ( "{:?}" , self . hIconSm ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WNDCLASSEXA { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . style == other . style && self . lpfnWndProc . map ( | f | f as usize ) == other . lpfnWndProc . map ( | f | f as usize ) && self . cbClsExtra == other . cbClsExtra && self . cbWndExtra == other . cbWndExtra && self . hInstance == other . hInstance && self . hIcon == other . hIcon && self . hCursor == other . hCursor && self . hbrBackground == other . hbrBackground && self . lpszMenuName == other . lpszMenuName && self . lpszClassName == other . lpszClassName && self . hIconSm == other . hIconSm } } impl :: std :: cmp :: Eq for WNDCLASSEXA { } unsafe impl :: windows :: Abi for WNDCLASSEXA { type Abi = Self ; } pub unsafe fn GetClassInfoExA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hinstance : T0__ , lpszclass : T1__ , lpwcx : * mut WNDCLASSEXA , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct WNDCLASSEXW { pub cbSize : u32 , pub style : WNDCLASS_STYLES , pub lpfnWndProc : :: std :: option :: Option < WNDPROC > , pub cbClsExtra : i32 , pub cbWndExtra : i32 , pub hInstance : super :: SystemServices :: HINSTANCE , pub hIcon : super :: MenusAndResources :: HICON , pub hCursor : super :: MenusAndResources :: HCURSOR , pub hbrBackground : super :: Gdi :: HBRUSH , pub lpszMenuName : super :: SystemServices :: PWSTR , pub lpszClassName : super :: SystemServices :: PWSTR , pub hIconSm : super :: MenusAndResources :: HICON } impl WNDCLASSEXW { } impl :: std :: default :: Default for WNDCLASSEXW { fn default ( ) -> Self { Self { cbSize : 0 , style : :: std :: default :: Default :: default ( ) , lpfnWndProc : :: std :: default :: Default :: default ( ) , cbClsExtra : 0 , cbWndExtra : 0 , hInstance : :: std :: default :: Default :: default ( ) , hIcon : :: std :: default :: Default :: default ( ) , hCursor : :: std :: default :: Default :: default ( ) , hbrBackground : :: std :: default :: Default :: default ( ) , lpszMenuName : :: std :: default :: Default :: default ( ) , lpszClassName : :: std :: default :: Default :: default ( ) , hIconSm : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for WNDCLASSEXW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WNDCLASSEXW" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "style" , & format_args ! ( "{:?}" , self . style ) ) . field ( "cbClsExtra" , & format_args ! ( "{:?}" , self . cbClsExtra ) ) . field ( "cbWndExtra" , & format_args ! ( "{:?}" , self . cbWndExtra ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "hIcon" , & format_args ! ( "{:?}" , self . hIcon ) ) . field ( "hCursor" , & format_args ! ( "{:?}" , self . hCursor ) ) . field ( "hbrBackground" , & format_args ! ( "{:?}" , self . hbrBackground ) ) . field ( "lpszMenuName" , & format_args ! ( "{:?}" , self . lpszMenuName ) ) . field ( "lpszClassName" , & format_args ! ( "{:?}" , self . lpszClassName ) ) . field ( "hIconSm" , & format_args ! ( "{:?}" , self . hIconSm ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WNDCLASSEXW { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . style == other . style && self . lpfnWndProc . map ( | f | f as usize ) == other . lpfnWndProc . map ( | f | f as usize ) && self . cbClsExtra == other . cbClsExtra && self . cbWndExtra == other . cbWndExtra && self . hInstance == other . hInstance && self . hIcon == other . hIcon && self . hCursor == other . hCursor && self . hbrBackground == other . hbrBackground && self . lpszMenuName == other . lpszMenuName && self . lpszClassName == other . lpszClassName && self . hIconSm == other . hIconSm } } impl :: std :: cmp :: Eq for WNDCLASSEXW { } unsafe impl :: windows :: Abi for WNDCLASSEXW { type Abi = Self ; } pub unsafe fn GetClassInfoExW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hinstance : T0__ , lpszclass : T1__ , lpwcx : * mut WNDCLASSEXW , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct WNDCLASSW { pub style : WNDCLASS_STYLES , pub lpfnWndProc : :: std :: option :: Option < WNDPROC > , pub cbClsExtra : i32 , pub cbWndExtra : i32 , pub hInstance : super :: SystemServices :: HINSTANCE , pub hIcon : super :: MenusAndResources :: HICON , pub hCursor : super :: MenusAndResources :: HCURSOR , pub hbrBackground : super :: Gdi :: HBRUSH , pub lpszMenuName : super :: SystemServices :: PWSTR , pub lpszClassName : super :: SystemServices :: PWSTR } impl WNDCLASSW { } impl :: std :: default :: Default for WNDCLASSW { fn default ( ) -> Self { Self { style : :: std :: default :: Default :: default ( ) , lpfnWndProc : :: std :: default :: Default :: default ( ) , cbClsExtra : 0 , cbWndExtra : 0 , hInstance : :: std :: default :: Default :: default ( ) , hIcon : :: std :: default :: Default :: default ( ) , hCursor : :: std :: default :: Default :: default ( ) , hbrBackground : :: std :: default :: Default :: default ( ) , lpszMenuName : :: std :: default :: Default :: default ( ) , lpszClassName : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for WNDCLASSW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WNDCLASSW" ) . field ( "style" , & format_args ! ( "{:?}" , self . style ) ) . field ( "cbClsExtra" , & format_args ! ( "{:?}" , self . cbClsExtra ) ) . field ( "cbWndExtra" , & format_args ! ( "{:?}" , self . cbWndExtra ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "hIcon" , & format_args ! ( "{:?}" , self . hIcon ) ) . field ( "hCursor" , & format_args ! ( "{:?}" , self . hCursor ) ) . field ( "hbrBackground" , & format_args ! ( "{:?}" , self . hbrBackground ) ) . field ( "lpszMenuName" , & format_args ! ( "{:?}" , self . lpszMenuName ) ) . field ( "lpszClassName" , & format_args ! ( "{:?}" , self . lpszClassName ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WNDCLASSW { fn eq ( & self , other : & Self ) -> bool { self . style == other . style && self . lpfnWndProc . map ( | f | f as usize ) == other . lpfnWndProc . map ( | f | f as usize ) && self . cbClsExtra == other . cbClsExtra && self . cbWndExtra == other . cbWndExtra && self . hInstance == other . hInstance && self . hIcon == other . hIcon && self . hCursor == other . hCursor && self . hbrBackground == other . hbrBackground && self . lpszMenuName == other . lpszMenuName && self . lpszClassName == other . lpszClassName } } impl :: std :: cmp :: Eq for WNDCLASSW { } unsafe impl :: windows :: Abi for WNDCLASSW { type Abi = Self ; } pub unsafe fn GetClassInfoW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hinstance : T0__ , lpclassname : T1__ , lpwndclass : * mut WNDCLASSW , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct GetClassLong_nIndex ( pub i32 ) ; impl GetClassLong_nIndex { pub const GCW_ATOM : Self = Self ( -32i32 ) ; pub const GCL_CBCLSEXTRA : Self = Self ( -20i32 ) ; pub const GCL_CBWNDEXTRA : Self = Self ( -18i32 ) ; pub const GCL_HBRBACKGROUND : Self = Self ( -10i32 ) ; pub const GCL_HCURSOR : Self = Self ( -12i32 ) ; pub const GCL_HICON : Self = Self ( -14i32 ) ; pub const GCL_HICONSM : Self = Self ( -34i32 ) ; pub const GCL_HMODULE : Self = Self ( -16i32 ) ; pub const GCL_MENUNAME : Self = Self ( -8i32 ) ; pub const GCL_STYLE : Self = Self ( -26i32 ) ; pub const GCL_WNDPROC : Self = Self ( -24i32 ) ; pub const GCLP_HBRBACKGROUND : Self = Self ( -10i32 ) ; pub const GCLP_HCURSOR : Self = Self ( -12i32 ) ; pub const GCLP_HICON : Self = Self ( -14i32 ) ; pub const GCLP_HICONSM : Self = Self ( -34i32 ) ; pub const GCLP_HMODULE : Self = Self ( -16i32 ) ; pub const GCLP_MENUNAME : Self = Self ( -8i32 ) ; pub const GCLP_WNDPROC : Self = Self ( -24i32 ) ; } impl :: std :: convert :: From < i32 > for GetClassLong_nIndex { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GetClassLong_nIndex { type Abi = Self ; } pub unsafe fn GetClassLongA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : GetClassLong_nIndex , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetClassLongPtrA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : GetClassLong_nIndex , ) -> usize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetClassLongPtrW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : GetClassLong_nIndex , ) -> usize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetClassLongW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : GetClassLong_nIndex , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetClassNameA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , lpclassname : super :: SystemServices :: PSTR , nmaxcount : i32 , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetClassNameW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , lpclassname : super :: SystemServices :: PWSTR , nmaxcount : i32 , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetClassWord < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : i32 , ) -> u16 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetClientRect < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , lprect : * mut super :: DisplayDevices :: RECT , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetClipCursor < > ( lprect : * mut super :: DisplayDevices :: RECT , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCursor < > ( ) -> super :: MenusAndResources :: HCURSOR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCursorInfo < > ( pci : * mut CURSORINFO , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCursorPos < > ( lppoint : * mut super :: DisplayDevices :: POINT , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetDesktopWindow < > ( ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetDialogBaseUnits < > ( ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetDlgCtrlID < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetDlgItem < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hdlg : T0__ , niddlgitem : i32 , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetDlgItemInt < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( hdlg : T0__ , niddlgitem : i32 , lptranslated : * mut super :: SystemServices :: BOOL , bsigned : T3__ , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetDlgItemTextA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hdlg : T0__ , niddlgitem : i32 , lpstring : super :: SystemServices :: PSTR , cchmax : i32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetDlgItemTextW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hdlg : T0__ , niddlgitem : i32 , lpstring : super :: SystemServices :: PWSTR , cchmax : i32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetDpiAwarenessContextForProcess < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HANDLE > , > ( hprocess : T0__ , ) -> super :: SystemServices :: DPI_AWARENESS_CONTEXT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileTitleA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( param0 : T0__ , buf : super :: SystemServices :: PSTR , cchsize : u16 , ) -> i16 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileTitleW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( param0 : T0__ , buf : super :: SystemServices :: PWSTR , cchsize : u16 , ) -> i16 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileVersionInfoA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lptstrfilename : T0__ , dwhandle : u32 , dwlen : u32 , lpdata : * mut :: std :: ffi :: c_void , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileVersionInfoExA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( dwflags : u32 , lpwstrfilename : T1__ , dwhandle : u32 , dwlen : u32 , lpdata : * mut :: std :: ffi :: c_void , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileVersionInfoExW < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( dwflags : u32 , lpwstrfilename : T1__ , dwhandle : u32 , dwlen : u32 , lpdata : * mut :: std :: ffi :: c_void , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileVersionInfoSizeA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lptstrfilename : T0__ , lpdwhandle : * mut u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileVersionInfoSizeExA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( dwflags : u32 , lpwstrfilename : T1__ , lpdwhandle : * mut u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileVersionInfoSizeExW < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( dwflags : u32 , lpwstrfilename : T1__ , lpdwhandle : * mut u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileVersionInfoSizeW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lptstrfilename : T0__ , lpdwhandle : * mut u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileVersionInfoW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lptstrfilename : T0__ , dwhandle : u32 , dwlen : u32 , lpdata : * mut :: std :: ffi :: c_void , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetForegroundWindow < > ( ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetGUIThreadInfo < > ( idthread : u32 , pgui : * mut GUITHREADINFO , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetIconInfo < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HICON > , > ( hicon : T0__ , piconinfo : * mut ICONINFO , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct ICONINFOEXA { pub cbSize : u32 , pub fIcon : super :: SystemServices :: BOOL , pub xHotspot : u32 , pub yHotspot : u32 , pub hbmMask : super :: Gdi :: HBITMAP , pub hbmColor : super :: Gdi :: HBITMAP , pub wResID : u16 , pub szModName : [ i8 ;260 ] , pub szResName : [ i8 ;260 ] } impl ICONINFOEXA { } impl :: std :: default :: Default for ICONINFOEXA { fn default ( ) -> Self { Self { cbSize : 0 , fIcon : :: std :: default :: Default :: default ( ) , xHotspot : 0 , yHotspot : 0 , hbmMask : :: std :: default :: Default :: default ( ) , hbmColor : :: std :: default :: Default :: default ( ) , wResID : 0 , szModName : [ 0 ;260 ] , szResName : [ 0 ;260 ] } } } impl :: std :: fmt :: Debug for ICONINFOEXA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ICONINFOEXA" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "fIcon" , & format_args ! ( "{:?}" , self . fIcon ) ) . field ( "xHotspot" , & format_args ! ( "{:?}" , self . xHotspot ) ) . field ( "yHotspot" , & format_args ! ( "{:?}" , self . yHotspot ) ) . field ( "hbmMask" , & format_args ! ( "{:?}" , self . hbmMask ) ) . field ( "hbmColor" , & format_args ! ( "{:?}" , self . hbmColor ) ) . field ( "wResID" , & format_args ! ( "{:?}" , self . wResID ) ) . field ( "szModName" , & format_args ! ( "{:?}" , self . szModName ) ) . field ( "szResName" , & format_args ! ( "{:?}" , self . szResName ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ICONINFOEXA { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . fIcon == other . fIcon && self . xHotspot == other . xHotspot && self . yHotspot == other . yHotspot && self . hbmMask == other . hbmMask && self . hbmColor == other . hbmColor && self . wResID == other . wResID && self . szModName == other . szModName && self . szResName == other . szResName } } impl :: std :: cmp :: Eq for ICONINFOEXA { } unsafe impl :: windows :: Abi for ICONINFOEXA { type Abi = Self ; } pub unsafe fn GetIconInfoExA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HICON > , > ( hicon : T0__ , piconinfo : * mut ICONINFOEXA , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct ICONINFOEXW { pub cbSize : u32 , pub fIcon : super :: SystemServices :: BOOL , pub xHotspot : u32 , pub yHotspot : u32 , pub hbmMask : super :: Gdi :: HBITMAP , pub hbmColor : super :: Gdi :: HBITMAP , pub wResID : u16 , pub szModName : [ u16 ;260 ] , pub szResName : [ u16 ;260 ] } impl ICONINFOEXW { } impl :: std :: default :: Default for ICONINFOEXW { fn default ( ) -> Self { Self { cbSize : 0 , fIcon : :: std :: default :: Default :: default ( ) , xHotspot : 0 , yHotspot : 0 , hbmMask : :: std :: default :: Default :: default ( ) , hbmColor : :: std :: default :: Default :: default ( ) , wResID : 0 , szModName : [ 0 ;260 ] , szResName : [ 0 ;260 ] } } } impl :: std :: fmt :: Debug for ICONINFOEXW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ICONINFOEXW" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "fIcon" , & format_args ! ( "{:?}" , self . fIcon ) ) . field ( "xHotspot" , & format_args ! ( "{:?}" , self . xHotspot ) ) . field ( "yHotspot" , & format_args ! ( "{:?}" , self . yHotspot ) ) . field ( "hbmMask" , & format_args ! ( "{:?}" , self . hbmMask ) ) . field ( "hbmColor" , & format_args ! ( "{:?}" , self . hbmColor ) ) . field ( "wResID" , & format_args ! ( "{:?}" , self . wResID ) ) . field ( "szModName" , & format_args ! ( "{:?}" , self . szModName ) ) . field ( "szResName" , & format_args ! ( "{:?}" , self . szResName ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ICONINFOEXW { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . fIcon == other . fIcon && self . xHotspot == other . xHotspot && self . yHotspot == other . yHotspot && self . hbmMask == other . hbmMask && self . hbmColor == other . hbmColor && self . wResID == other . wResID && self . szModName == other . szModName && self . szResName == other . szResName } } impl :: std :: cmp :: Eq for ICONINFOEXW { } unsafe impl :: windows :: Abi for ICONINFOEXW { type Abi = Self ; } pub unsafe fn GetIconInfoExW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HICON > , > ( hicon : T0__ , piconinfo : * mut ICONINFOEXW , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetInputState < > ( ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetLastActivePopup < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SetLayeredWindowAttributes_dwFlags ( pub u32 ) ; impl SetLayeredWindowAttributes_dwFlags { pub const LWA_ALPHA : Self = Self ( 2u32 ) ; pub const LWA_COLORKEY : Self = Self ( 1u32 ) ; } impl :: std :: convert :: From < u32 > for SetLayeredWindowAttributes_dwFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SetLayeredWindowAttributes_dwFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for SetLayeredWindowAttributes_dwFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for SetLayeredWindowAttributes_dwFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for SetLayeredWindowAttributes_dwFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for SetLayeredWindowAttributes_dwFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn GetLayeredWindowAttributes < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , pcrkey : * mut u32 , pbalpha : * mut u8 , pdwflags : * mut SetLayeredWindowAttributes_dwFlags , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMenu < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: MenusAndResources :: HMENU { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MENUBARINFO { pub cbSize : u32 , pub rcBar : super :: DisplayDevices :: RECT , pub hMenu : super :: MenusAndResources :: HMENU , pub hwndMenu : HWND , pub _bitfield : i32 } impl MENUBARINFO { } impl :: std :: default :: Default for MENUBARINFO { fn default ( ) -> Self { Self { cbSize : 0 , rcBar : :: std :: default :: Default :: default ( ) , hMenu : :: std :: default :: Default :: default ( ) , hwndMenu : :: std :: default :: Default :: default ( ) , _bitfield : 0 } } } impl :: std :: fmt :: Debug for MENUBARINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MENUBARINFO" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "rcBar" , & format_args ! ( "{:?}" , self . rcBar ) ) . field ( "hMenu" , & format_args ! ( "{:?}" , self . hMenu ) ) . field ( "hwndMenu" , & format_args ! ( "{:?}" , self . hwndMenu ) ) . field ( "_bitfield" , & format_args ! ( "{:?}" , self . _bitfield ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MENUBARINFO { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . rcBar == other . rcBar && self . hMenu == other . hMenu && self . hwndMenu == other . hwndMenu && self . _bitfield == other . _bitfield } } impl :: std :: cmp :: Eq for MENUBARINFO { } unsafe impl :: windows :: Abi for MENUBARINFO { type Abi = Self ; } pub unsafe fn GetMenuBarInfo < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , idobject : super :: Controls :: SCROLLBAR_OBJID , iditem : i32 , pmbi : * mut MENUBARINFO , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMenuCheckMarkDimensions < > ( ) -> i32 { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct GetMenuDefaultItem_gmdiFlags ( pub u32 ) ; impl GetMenuDefaultItem_gmdiFlags { pub const GMDI_GOINTOPOPUPS : Self = Self ( 2u32 ) ; pub const GMDI_USEDISABLED : Self = Self ( 1u32 ) ; } impl :: std :: convert :: From < u32 > for GetMenuDefaultItem_gmdiFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GetMenuDefaultItem_gmdiFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for GetMenuDefaultItem_gmdiFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for GetMenuDefaultItem_gmdiFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for GetMenuDefaultItem_gmdiFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for GetMenuDefaultItem_gmdiFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn GetMenuDefaultItem < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hmenu : T0__ , fbypos : u32 , gmdiflags : GetMenuDefaultItem_gmdiFlags , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MENUINFO_fMaskFlags ( pub u32 ) ; impl MENUINFO_fMaskFlags { pub const MIM_APPLYTOSUBMENUS : Self = Self ( 2147483648u32 ) ; pub const MIM_BACKGROUND : Self = Self ( 2u32 ) ; pub const MIM_HELPID : Self = Self ( 4u32 ) ; pub const MIM_MAXHEIGHT : Self = Self ( 1u32 ) ; pub const MIM_MENUDATA : Self = Self ( 8u32 ) ; pub const MIM_STYLE : Self = Self ( 16u32 ) ; } impl :: std :: convert :: From < u32 > for MENUINFO_fMaskFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MENUINFO_fMaskFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for MENUINFO_fMaskFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for MENUINFO_fMaskFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for MENUINFO_fMaskFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for MENUINFO_fMaskFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MENUINFO_dwStyleFlags ( pub u32 ) ; impl MENUINFO_dwStyleFlags { pub const MNS_AUTODISMISS : Self = Self ( 268435456u32 ) ; pub const MNS_CHECKORBMP : Self = Self ( 67108864u32 ) ; pub const MNS_DRAGDROP : Self = Self ( 536870912u32 ) ; pub const MNS_MODELESS : Self = Self ( 1073741824u32 ) ; pub const MNS_NOCHECK : Self = Self ( 2147483648u32 ) ; pub const MNS_NOTIFYBYPOS : Self = Self ( 134217728u32 ) ; } impl :: std :: convert :: From < u32 > for MENUINFO_dwStyleFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MENUINFO_dwStyleFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for MENUINFO_dwStyleFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for MENUINFO_dwStyleFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for MENUINFO_dwStyleFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for MENUINFO_dwStyleFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MENUINFO { pub cbSize : u32 , pub fMask : MENUINFO_fMaskFlags , pub dwStyle : MENUINFO_dwStyleFlags , pub cyMax : u32 , pub hbrBack : super :: Gdi :: HBRUSH , pub dwContextHelpID : u32 , pub dwMenuData : usize } impl MENUINFO { } impl :: std :: default :: Default for MENUINFO { fn default ( ) -> Self { Self { cbSize : 0 , fMask : :: std :: default :: Default :: default ( ) , dwStyle : :: std :: default :: Default :: default ( ) , cyMax : 0 , hbrBack : :: std :: default :: Default :: default ( ) , dwContextHelpID : 0 , dwMenuData : 0 } } } impl :: std :: fmt :: Debug for MENUINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MENUINFO" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "fMask" , & format_args ! ( "{:?}" , self . fMask ) ) . field ( "dwStyle" , & format_args ! ( "{:?}" , self . dwStyle ) ) . field ( "cyMax" , & format_args ! ( "{:?}" , self . cyMax ) ) . field ( "hbrBack" , & format_args ! ( "{:?}" , self . hbrBack ) ) . field ( "dwContextHelpID" , & format_args ! ( "{:?}" , self . dwContextHelpID ) ) . field ( "dwMenuData" , & format_args ! ( "{:?}" , self . dwMenuData ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MENUINFO { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . fMask == other . fMask && self . dwStyle == other . dwStyle && self . cyMax == other . cyMax && self . hbrBack == other . hbrBack && self . dwContextHelpID == other . dwContextHelpID && self . dwMenuData == other . dwMenuData } } impl :: std :: cmp :: Eq for MENUINFO { } unsafe impl :: windows :: Abi for MENUINFO { type Abi = Self ; } pub unsafe fn GetMenuInfo < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( param0 : T0__ , param1 : * mut MENUINFO , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMenuItemCount < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hmenu : T0__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMenuItemID < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hmenu : T0__ , npos : i32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MENU_ITEM_MASK ( pub u32 ) ; impl MENU_ITEM_MASK { pub const MIIM_BITMAP : Self = Self ( 128u32 ) ; pub const MIIM_CHECKMARKS : Self = Self ( 8u32 ) ; pub const MIIM_DATA : Self = Self ( 32u32 ) ; pub const MIIM_FTYPE : Self = Self ( 256u32 ) ; pub const MIIM_ID : Self = Self ( 2u32 ) ; pub const MIIM_STATE : Self = Self ( 1u32 ) ; pub const MIIM_STRING : Self = Self ( 64u32 ) ; pub const MIIM_SUBMENU : Self = Self ( 4u32 ) ; pub const MIIM_TYPE : Self = Self ( 16u32 ) ; } impl :: std :: convert :: From < u32 > for MENU_ITEM_MASK { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MENU_ITEM_MASK { type Abi = Self ; } impl :: std :: ops :: BitOr for MENU_ITEM_MASK { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for MENU_ITEM_MASK { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for MENU_ITEM_MASK { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for MENU_ITEM_MASK { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MENU_ITEM_TYPE ( pub u32 ) ; impl MENU_ITEM_TYPE { pub const MFT_BITMAP : Self = Self ( 4u32 ) ; pub const MFT_MENUBARBREAK : Self = Self ( 32u32 ) ; pub const MFT_MENUBREAK : Self = Self ( 64u32 ) ; pub const MFT_OWNERDRAW : Self = Self ( 256u32 ) ; pub const MFT_RADIOCHECK : Self = Self ( 512u32 ) ; pub const MFT_RIGHTJUSTIFY : Self = Self ( 16384u32 ) ; pub const MFT_RIGHTORDER : Self = Self ( 8192u32 ) ; pub const MFT_SEPARATOR : Self = Self ( 2048u32 ) ; pub const MFT_STRING : Self = Self ( 0u32 ) ; } impl :: std :: convert :: From < u32 > for MENU_ITEM_TYPE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MENU_ITEM_TYPE { type Abi = Self ; } impl :: std :: ops :: BitOr for MENU_ITEM_TYPE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for MENU_ITEM_TYPE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for MENU_ITEM_TYPE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for MENU_ITEM_TYPE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MENU_ITEM_STATE ( pub u32 ) ; impl MENU_ITEM_STATE { pub const MFS_GRAYED : Self = Self ( 3u32 ) ; pub const MFS_DISABLED : Self = Self ( 3u32 ) ; pub const MFS_CHECKED : Self = Self ( 8u32 ) ; pub const MFS_HILITE : Self = Self ( 128u32 ) ; pub const MFS_ENABLED : Self = Self ( 0u32 ) ; pub const MFS_UNCHECKED : Self = Self ( 0u32 ) ; pub const MFS_UNHILITE : Self = Self ( 0u32 ) ; pub const MFS_DEFAULT : Self = Self ( 4096u32 ) ; } impl :: std :: convert :: From < u32 > for MENU_ITEM_STATE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MENU_ITEM_STATE { type Abi = Self ; } impl :: std :: ops :: BitOr for MENU_ITEM_STATE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for MENU_ITEM_STATE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for MENU_ITEM_STATE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for MENU_ITEM_STATE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MENUITEMINFOA { pub cbSize : u32 , pub fMask : MENU_ITEM_MASK , pub fType : MENU_ITEM_TYPE , pub fState : MENU_ITEM_STATE , pub wID : u32 , pub hSubMenu : super :: MenusAndResources :: HMENU , pub hbmpChecked : super :: Gdi :: HBITMAP , pub hbmpUnchecked : super :: Gdi :: HBITMAP , pub dwItemData : usize , pub dwTypeData : super :: SystemServices :: PSTR , pub cch : u32 , pub hbmpItem : super :: Gdi :: HBITMAP } impl MENUITEMINFOA { } impl :: std :: default :: Default for MENUITEMINFOA { fn default ( ) -> Self { Self { cbSize : 0 , fMask : :: std :: default :: Default :: default ( ) , fType : :: std :: default :: Default :: default ( ) , fState : :: std :: default :: Default :: default ( ) , wID : 0 , hSubMenu : :: std :: default :: Default :: default ( ) , hbmpChecked : :: std :: default :: Default :: default ( ) , hbmpUnchecked : :: std :: default :: Default :: default ( ) , dwItemData : 0 , dwTypeData : :: std :: default :: Default :: default ( ) , cch : 0 , hbmpItem : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for MENUITEMINFOA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MENUITEMINFOA" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "fMask" , & format_args ! ( "{:?}" , self . fMask ) ) . field ( "fType" , & format_args ! ( "{:?}" , self . fType ) ) . field ( "fState" , & format_args ! ( "{:?}" , self . fState ) ) . field ( "wID" , & format_args ! ( "{:?}" , self . wID ) ) . field ( "hSubMenu" , & format_args ! ( "{:?}" , self . hSubMenu ) ) . field ( "hbmpChecked" , & format_args ! ( "{:?}" , self . hbmpChecked ) ) . field ( "hbmpUnchecked" , & format_args ! ( "{:?}" , self . hbmpUnchecked ) ) . field ( "dwItemData" , & format_args ! ( "{:?}" , self . dwItemData ) ) . field ( "dwTypeData" , & format_args ! ( "{:?}" , self . dwTypeData ) ) . field ( "cch" , & format_args ! ( "{:?}" , self . cch ) ) . field ( "hbmpItem" , & format_args ! ( "{:?}" , self . hbmpItem ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MENUITEMINFOA { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . fMask == other . fMask && self . fType == other . fType && self . fState == other . fState && self . wID == other . wID && self . hSubMenu == other . hSubMenu && self . hbmpChecked == other . hbmpChecked && self . hbmpUnchecked == other . hbmpUnchecked && self . dwItemData == other . dwItemData && self . dwTypeData == other . dwTypeData && self . cch == other . cch && self . hbmpItem == other . hbmpItem } } impl :: std :: cmp :: Eq for MENUITEMINFOA { } unsafe impl :: windows :: Abi for MENUITEMINFOA { type Abi = Self ; } pub unsafe fn GetMenuItemInfoA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( hmenu : T0__ , item : u32 , fbyposition : T2__ , lpmii : * mut MENUITEMINFOA , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MENUITEMINFOW { pub cbSize : u32 , pub fMask : MENU_ITEM_MASK , pub fType : MENU_ITEM_TYPE , pub fState : MENU_ITEM_STATE , pub wID : u32 , pub hSubMenu : super :: MenusAndResources :: HMENU , pub hbmpChecked : super :: Gdi :: HBITMAP , pub hbmpUnchecked : super :: Gdi :: HBITMAP , pub dwItemData : usize , pub dwTypeData : super :: SystemServices :: PWSTR , pub cch : u32 , pub hbmpItem : super :: Gdi :: HBITMAP } impl MENUITEMINFOW { } impl :: std :: default :: Default for MENUITEMINFOW { fn default ( ) -> Self { Self { cbSize : 0 , fMask : :: std :: default :: Default :: default ( ) , fType : :: std :: default :: Default :: default ( ) , fState : :: std :: default :: Default :: default ( ) , wID : 0 , hSubMenu : :: std :: default :: Default :: default ( ) , hbmpChecked : :: std :: default :: Default :: default ( ) , hbmpUnchecked : :: std :: default :: Default :: default ( ) , dwItemData : 0 , dwTypeData : :: std :: default :: Default :: default ( ) , cch : 0 , hbmpItem : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for MENUITEMINFOW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MENUITEMINFOW" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "fMask" , & format_args ! ( "{:?}" , self . fMask ) ) . field ( "fType" , & format_args ! ( "{:?}" , self . fType ) ) . field ( "fState" , & format_args ! ( "{:?}" , self . fState ) ) . field ( "wID" , & format_args ! ( "{:?}" , self . wID ) ) . field ( "hSubMenu" , & format_args ! ( "{:?}" , self . hSubMenu ) ) . field ( "hbmpChecked" , & format_args ! ( "{:?}" , self . hbmpChecked ) ) . field ( "hbmpUnchecked" , & format_args ! ( "{:?}" , self . hbmpUnchecked ) ) . field ( "dwItemData" , & format_args ! ( "{:?}" , self . dwItemData ) ) . field ( "dwTypeData" , & format_args ! ( "{:?}" , self . dwTypeData ) ) . field ( "cch" , & format_args ! ( "{:?}" , self . cch ) ) . field ( "hbmpItem" , & format_args ! ( "{:?}" , self . hbmpItem ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MENUITEMINFOW { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . fMask == other . fMask && self . fType == other . fType && self . fState == other . fState && self . wID == other . wID && self . hSubMenu == other . hSubMenu && self . hbmpChecked == other . hbmpChecked && self . hbmpUnchecked == other . hbmpUnchecked && self . dwItemData == other . dwItemData && self . dwTypeData == other . dwTypeData && self . cch == other . cch && self . hbmpItem == other . hbmpItem } } impl :: std :: cmp :: Eq for MENUITEMINFOW { } unsafe impl :: windows :: Abi for MENUITEMINFOW { type Abi = Self ; } pub unsafe fn GetMenuItemInfoW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( hmenu : T0__ , item : u32 , fbyposition : T2__ , lpmii : * mut MENUITEMINFOW , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMenuItemRect < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hwnd : T0__ , hmenu : T1__ , uitem : u32 , lprcitem : * mut super :: DisplayDevices :: RECT , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMenuState < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hmenu : T0__ , uid : u32 , uflags : MENU_ITEM_FLAGS , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMenuStringA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hmenu : T0__ , uiditem : u32 , lpstring : super :: SystemServices :: PSTR , cchmax : i32 , flags : MENU_ITEM_FLAGS , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMenuStringW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hmenu : T0__ , uiditem : u32 , lpstring : super :: SystemServices :: PWSTR , cchmax : i32 , flags : MENU_ITEM_FLAGS , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMessageA < 'a , T1__ : :: windows :: IntoParam < 'a , HWND > , > ( lpmsg : * mut MSG , hwnd : T1__ , wmsgfiltermin : u32 , wmsgfiltermax : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMessageExtraInfo < > ( ) -> LPARAM { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMessagePos < > ( ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMessageTime < > ( ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMessageW < 'a , T1__ : :: windows :: IntoParam < 'a , HWND > , > ( lpmsg : * mut MSG , hwnd : T1__ , wmsgfiltermin : u32 , wmsgfiltermax : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetNextDlgGroupItem < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( hdlg : T0__ , hctl : T1__ , bprevious : T2__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetNextDlgTabItem < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( hdlg : T0__ , hctl : T1__ , bprevious : T2__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct OPEN_FILENAME_FLAGS ( pub u32 ) ; impl OPEN_FILENAME_FLAGS { pub const OFN_READONLY : Self = Self ( 1u32 ) ; pub const OFN_OVERWRITEPROMPT : Self = Self ( 2u32 ) ; pub const OFN_HIDEREADONLY : Self = Self ( 4u32 ) ; pub const OFN_NOCHANGEDIR : Self = Self ( 8u32 ) ; pub const OFN_SHOWHELP : Self = Self ( 16u32 ) ; pub const OFN_ENABLEHOOK : Self = Self ( 32u32 ) ; pub const OFN_ENABLETEMPLATE : Self = Self ( 64u32 ) ; pub const OFN_ENABLETEMPLATEHANDLE : Self = Self ( 128u32 ) ; pub const OFN_NOVALIDATE : Self = Self ( 256u32 ) ; pub const OFN_ALLOWMULTISELECT : Self = Self ( 512u32 ) ; pub const OFN_EXTENSIONDIFFERENT : Self = Self ( 1024u32 ) ; pub const OFN_PATHMUSTEXIST : Self = Self ( 2048u32 ) ; pub const OFN_FILEMUSTEXIST : Self = Self ( 4096u32 ) ; pub const OFN_CREATEPROMPT : Self = Self ( 8192u32 ) ; pub const OFN_SHAREAWARE : Self = Self ( 16384u32 ) ; pub const OFN_NOREADONLYRETURN : Self = Self ( 32768u32 ) ; pub const OFN_NOTESTFILECREATE : Self = Self ( 65536u32 ) ; pub const OFN_NONETWORKBUTTON : Self = Self ( 131072u32 ) ; pub const OFN_NOLONGNAMES : Self = Self ( 262144u32 ) ; pub const OFN_EXPLORER : Self = Self ( 524288u32 ) ; pub const OFN_NODEREFERENCELINKS : Self = Self ( 1048576u32 ) ; pub const OFN_LONGNAMES : Self = Self ( 2097152u32 ) ; pub const OFN_ENABLEINCLUDENOTIFY : Self = Self ( 4194304u32 ) ; pub const OFN_ENABLESIZING : Self = Self ( 8388608u32 ) ; pub const OFN_DONTADDTORECENT : Self = Self ( 33554432u32 ) ; pub const OFN_FORCESHOWHIDDEN : Self = Self ( 268435456u32 ) ; } impl :: std :: convert :: From < u32 > for OPEN_FILENAME_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for OPEN_FILENAME_FLAGS { type Abi = Self ; } impl :: std :: ops :: BitOr for OPEN_FILENAME_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for OPEN_FILENAME_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for OPEN_FILENAME_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for OPEN_FILENAME_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub type LPOFNHOOKPROC = extern "system" fn ( param0 : HWND , param1 : u32 , param2 : WPARAM , param3 : LPARAM ) -> usize ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct OPEN_FILENAME_FLAGS_EX ( pub u32 ) ; impl OPEN_FILENAME_FLAGS_EX { pub const OFN_EX_NONE : Self = Self ( 0u32 ) ; pub const OFN_EX_NOPLACESBAR : Self = Self ( 1u32 ) ; } impl :: std :: convert :: From < u32 > for OPEN_FILENAME_FLAGS_EX { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for OPEN_FILENAME_FLAGS_EX { type Abi = Self ; } impl :: std :: ops :: BitOr for OPEN_FILENAME_FLAGS_EX { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for OPEN_FILENAME_FLAGS_EX { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for OPEN_FILENAME_FLAGS_EX { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for OPEN_FILENAME_FLAGS_EX { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OPENFILENAMEA { pub lStructSize : u32 , pub hwndOwner : HWND , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpstrFilter : super :: SystemServices :: PSTR , pub lpstrCustomFilter : super :: SystemServices :: PSTR , pub nMaxCustFilter : u32 , pub nFilterIndex : u32 , pub lpstrFile : super :: SystemServices :: PSTR , pub nMaxFile : u32 , pub lpstrFileTitle : super :: SystemServices :: PSTR , pub nMaxFileTitle : u32 , pub lpstrInitialDir : super :: SystemServices :: PSTR , pub lpstrTitle : super :: SystemServices :: PSTR , pub Flags : OPEN_FILENAME_FLAGS , pub nFileOffset : u16 , pub nFileExtension : u16 , pub lpstrDefExt : super :: SystemServices :: PSTR , pub lCustData : LPARAM , pub lpfnHook : :: std :: option :: Option < LPOFNHOOKPROC > , pub lpTemplateName : super :: SystemServices :: PSTR , pub pvReserved : * mut :: std :: ffi :: c_void , pub dwReserved : u32 , pub FlagsEx : OPEN_FILENAME_FLAGS_EX } impl OPENFILENAMEA { } impl :: std :: default :: Default for OPENFILENAMEA { fn default ( ) -> Self { Self { lStructSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , lpstrFilter : :: std :: default :: Default :: default ( ) , lpstrCustomFilter : :: std :: default :: Default :: default ( ) , nMaxCustFilter : 0 , nFilterIndex : 0 , lpstrFile : :: std :: default :: Default :: default ( ) , nMaxFile : 0 , lpstrFileTitle : :: std :: default :: Default :: default ( ) , nMaxFileTitle : 0 , lpstrInitialDir : :: std :: default :: Default :: default ( ) , lpstrTitle : :: std :: default :: Default :: default ( ) , Flags : :: std :: default :: Default :: default ( ) , nFileOffset : 0 , nFileExtension : 0 , lpstrDefExt : :: std :: default :: Default :: default ( ) , lCustData : :: std :: default :: Default :: default ( ) , lpfnHook : :: std :: default :: Default :: default ( ) , lpTemplateName : :: std :: default :: Default :: default ( ) , pvReserved : :: std :: ptr :: null_mut ( ) , dwReserved : 0 , FlagsEx : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for OPENFILENAMEA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OPENFILENAMEA" ) . field ( "lStructSize" , & format_args ! ( "{:?}" , self . lStructSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lpstrFilter" , & format_args ! ( "{:?}" , self . lpstrFilter ) ) . field ( "lpstrCustomFilter" , & format_args ! ( "{:?}" , self . lpstrCustomFilter ) ) . field ( "nMaxCustFilter" , & format_args ! ( "{:?}" , self . nMaxCustFilter ) ) . field ( "nFilterIndex" , & format_args ! ( "{:?}" , self . nFilterIndex ) ) . field ( "lpstrFile" , & format_args ! ( "{:?}" , self . lpstrFile ) ) . field ( "nMaxFile" , & format_args ! ( "{:?}" , self . nMaxFile ) ) . field ( "lpstrFileTitle" , & format_args ! ( "{:?}" , self . lpstrFileTitle ) ) . field ( "nMaxFileTitle" , & format_args ! ( "{:?}" , self . nMaxFileTitle ) ) . field ( "lpstrInitialDir" , & format_args ! ( "{:?}" , self . lpstrInitialDir ) ) . field ( "lpstrTitle" , & format_args ! ( "{:?}" , self . lpstrTitle ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "nFileOffset" , & format_args ! ( "{:?}" , self . nFileOffset ) ) . field ( "nFileExtension" , & format_args ! ( "{:?}" , self . nFileExtension ) ) . field ( "lpstrDefExt" , & format_args ! ( "{:?}" , self . lpstrDefExt ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "lpTemplateName" , & format_args ! ( "{:?}" , self . lpTemplateName ) ) . field ( "pvReserved" , & format_args ! ( "{:?}" , self . pvReserved ) ) . field ( "dwReserved" , & format_args ! ( "{:?}" , self . dwReserved ) ) . field ( "FlagsEx" , & format_args ! ( "{:?}" , self . FlagsEx ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OPENFILENAMEA { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . hwndOwner == other . hwndOwner && self . hInstance == other . hInstance && self . lpstrFilter == other . lpstrFilter && self . lpstrCustomFilter == other . lpstrCustomFilter && self . nMaxCustFilter == other . nMaxCustFilter && self . nFilterIndex == other . nFilterIndex && self . lpstrFile == other . lpstrFile && self . nMaxFile == other . nMaxFile && self . lpstrFileTitle == other . lpstrFileTitle && self . nMaxFileTitle == other . nMaxFileTitle && self . lpstrInitialDir == other . lpstrInitialDir && self . lpstrTitle == other . lpstrTitle && self . Flags == other . Flags && self . nFileOffset == other . nFileOffset && self . nFileExtension == other . nFileExtension && self . lpstrDefExt == other . lpstrDefExt && self . lCustData == other . lCustData && self . lpfnHook . map ( | f | f as usize ) == other . lpfnHook . map ( | f | f as usize ) && self . lpTemplateName == other . lpTemplateName && self . pvReserved == other . pvReserved && self . dwReserved == other . dwReserved && self . FlagsEx == other . FlagsEx } } impl :: std :: cmp :: Eq for OPENFILENAMEA { } unsafe impl :: windows :: Abi for OPENFILENAMEA { type Abi = Self ; } pub unsafe fn GetOpenFileNameA < > ( param0 : * mut OPENFILENAMEA , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OPENFILENAMEW { pub lStructSize : u32 , pub hwndOwner : HWND , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpstrFilter : super :: SystemServices :: PWSTR , pub lpstrCustomFilter : super :: SystemServices :: PWSTR , pub nMaxCustFilter : u32 , pub nFilterIndex : u32 , pub lpstrFile : super :: SystemServices :: PWSTR , pub nMaxFile : u32 , pub lpstrFileTitle : super :: SystemServices :: PWSTR , pub nMaxFileTitle : u32 , pub lpstrInitialDir : super :: SystemServices :: PWSTR , pub lpstrTitle : super :: SystemServices :: PWSTR , pub Flags : OPEN_FILENAME_FLAGS , pub nFileOffset : u16 , pub nFileExtension : u16 , pub lpstrDefExt : super :: SystemServices :: PWSTR , pub lCustData : LPARAM , pub lpfnHook : :: std :: option :: Option < LPOFNHOOKPROC > , pub lpTemplateName : super :: SystemServices :: PWSTR , pub pvReserved : * mut :: std :: ffi :: c_void , pub dwReserved : u32 , pub FlagsEx : OPEN_FILENAME_FLAGS_EX } impl OPENFILENAMEW { } impl :: std :: default :: Default for OPENFILENAMEW { fn default ( ) -> Self { Self { lStructSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , lpstrFilter : :: std :: default :: Default :: default ( ) , lpstrCustomFilter : :: std :: default :: Default :: default ( ) , nMaxCustFilter : 0 , nFilterIndex : 0 , lpstrFile : :: std :: default :: Default :: default ( ) , nMaxFile : 0 , lpstrFileTitle : :: std :: default :: Default :: default ( ) , nMaxFileTitle : 0 , lpstrInitialDir : :: std :: default :: Default :: default ( ) , lpstrTitle : :: std :: default :: Default :: default ( ) , Flags : :: std :: default :: Default :: default ( ) , nFileOffset : 0 , nFileExtension : 0 , lpstrDefExt : :: std :: default :: Default :: default ( ) , lCustData : :: std :: default :: Default :: default ( ) , lpfnHook : :: std :: default :: Default :: default ( ) , lpTemplateName : :: std :: default :: Default :: default ( ) , pvReserved : :: std :: ptr :: null_mut ( ) , dwReserved : 0 , FlagsEx : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for OPENFILENAMEW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OPENFILENAMEW" ) . field ( "lStructSize" , & format_args ! ( "{:?}" , self . lStructSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lpstrFilter" , & format_args ! ( "{:?}" , self . lpstrFilter ) ) . field ( "lpstrCustomFilter" , & format_args ! ( "{:?}" , self . lpstrCustomFilter ) ) . field ( "nMaxCustFilter" , & format_args ! ( "{:?}" , self . nMaxCustFilter ) ) . field ( "nFilterIndex" , & format_args ! ( "{:?}" , self . nFilterIndex ) ) . field ( "lpstrFile" , & format_args ! ( "{:?}" , self . lpstrFile ) ) . field ( "nMaxFile" , & format_args ! ( "{:?}" , self . nMaxFile ) ) . field ( "lpstrFileTitle" , & format_args ! ( "{:?}" , self . lpstrFileTitle ) ) . field ( "nMaxFileTitle" , & format_args ! ( "{:?}" , self . nMaxFileTitle ) ) . field ( "lpstrInitialDir" , & format_args ! ( "{:?}" , self . lpstrInitialDir ) ) . field ( "lpstrTitle" , & format_args ! ( "{:?}" , self . lpstrTitle ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "nFileOffset" , & format_args ! ( "{:?}" , self . nFileOffset ) ) . field ( "nFileExtension" , & format_args ! ( "{:?}" , self . nFileExtension ) ) . field ( "lpstrDefExt" , & format_args ! ( "{:?}" , self . lpstrDefExt ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "lpTemplateName" , & format_args ! ( "{:?}" , self . lpTemplateName ) ) . field ( "pvReserved" , & format_args ! ( "{:?}" , self . pvReserved ) ) . field ( "dwReserved" , & format_args ! ( "{:?}" , self . dwReserved ) ) . field ( "FlagsEx" , & format_args ! ( "{:?}" , self . FlagsEx ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OPENFILENAMEW { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . hwndOwner == other . hwndOwner && self . hInstance == other . hInstance && self . lpstrFilter == other . lpstrFilter && self . lpstrCustomFilter == other . lpstrCustomFilter && self . nMaxCustFilter == other . nMaxCustFilter && self . nFilterIndex == other . nFilterIndex && self . lpstrFile == other . lpstrFile && self . nMaxFile == other . nMaxFile && self . lpstrFileTitle == other . lpstrFileTitle && self . nMaxFileTitle == other . nMaxFileTitle && self . lpstrInitialDir == other . lpstrInitialDir && self . lpstrTitle == other . lpstrTitle && self . Flags == other . Flags && self . nFileOffset == other . nFileOffset && self . nFileExtension == other . nFileExtension && self . lpstrDefExt == other . lpstrDefExt && self . lCustData == other . lCustData && self . lpfnHook . map ( | f | f as usize ) == other . lpfnHook . map ( | f | f as usize ) && self . lpTemplateName == other . lpTemplateName && self . pvReserved == other . pvReserved && self . dwReserved == other . dwReserved && self . FlagsEx == other . FlagsEx } } impl :: std :: cmp :: Eq for OPENFILENAMEW { } unsafe impl :: windows :: Abi for OPENFILENAMEW { type Abi = Self ; } pub unsafe fn GetOpenFileNameW < > ( param0 : * mut OPENFILENAMEW , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetParent < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetPhysicalCursorPos < > ( lppoint : * mut super :: DisplayDevices :: POINT , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetProcessDefaultLayout < > ( pdwdefaultlayout : * mut u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetPropA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hwnd : T0__ , lpstring : T1__ , ) -> super :: SystemServices :: HANDLE { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetPropW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hwnd : T0__ , lpstring : T1__ , ) -> super :: SystemServices :: HANDLE { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct GetQueueStatus_flags ( pub u32 ) ; impl GetQueueStatus_flags { pub const QS_ALLEVENTS : Self = Self ( 1215u32 ) ; pub const QS_ALLINPUT : Self = Self ( 1279u32 ) ; pub const QS_ALLPOSTMESSAGE : Self = Self ( 256u32 ) ; pub const QS_HOTKEY : Self = Self ( 128u32 ) ; pub const QS_INPUT : Self = Self ( 1031u32 ) ; pub const QS_KEY : Self = Self ( 1u32 ) ; pub const QS_MOUSE : Self = Self ( 6u32 ) ; pub const QS_MOUSEBUTTON : Self = Self ( 4u32 ) ; pub const QS_MOUSEMOVE : Self = Self ( 2u32 ) ; pub const QS_PAINT : Self = Self ( 32u32 ) ; pub const QS_POSTMESSAGE : Self = Self ( 8u32 ) ; pub const QS_RAWINPUT : Self = Self ( 1024u32 ) ; pub const QS_SENDMESSAGE : Self = Self ( 64u32 ) ; pub const QS_TIMER : Self = Self ( 16u32 ) ; } impl :: std :: convert :: From < u32 > for GetQueueStatus_flags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GetQueueStatus_flags { type Abi = Self ; } impl :: std :: ops :: BitOr for GetQueueStatus_flags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for GetQueueStatus_flags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for GetQueueStatus_flags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for GetQueueStatus_flags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn GetQueueStatus < > ( flags : GetQueueStatus_flags , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetSaveFileNameA < > ( param0 : * mut OPENFILENAMEA , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetSaveFileNameW < > ( param0 : * mut OPENFILENAMEW , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetShellWindow < > ( ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetSubMenu < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hmenu : T0__ , npos : i32 , ) -> super :: MenusAndResources :: HMENU { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct GetSysColor_nIndexFlags ( pub u32 ) ; impl GetSysColor_nIndexFlags { pub const COLOR_3DDKSHADOW : Self = Self ( 21u32 ) ; pub const COLOR_3DFACE : Self = Self ( 15u32 ) ; pub const COLOR_3DHIGHLIGHT : Self = Self ( 20u32 ) ; pub const COLOR_3DHILIGHT : Self = Self ( 20u32 ) ; pub const COLOR_3DLIGHT : Self = Self ( 22u32 ) ; pub const COLOR_3DSHADOW : Self = Self ( 16u32 ) ; pub const COLOR_ACTIVEBORDER : Self = Self ( 10u32 ) ; pub const COLOR_ACTIVECAPTION : Self = Self ( 2u32 ) ; pub const COLOR_APPWORKSPACE : Self = Self ( 12u32 ) ; pub const COLOR_BACKGROUND : Self = Self ( 1u32 ) ; pub const COLOR_BTNFACE : Self = Self ( 15u32 ) ; pub const _COLOR_BTNHIGHLIGHT : Self = Self ( 20u32 ) ; pub const _COLOR_BTNHILIGHT : Self = Self ( 20u32 ) ; pub const COLOR_BTNSHADOW : Self = Self ( 16u32 ) ; pub const COLOR_BTNTEXT : Self = Self ( 18u32 ) ; pub const COLOR_CAPTIONTEXT : Self = Self ( 9u32 ) ; pub const COLOR_DESKTOP : Self = Self ( 1u32 ) ; pub const COLOR_GRADIENTACTIVECAPTION : Self = Self ( 27u32 ) ; pub const COLOR_GRADIENTINACTIVECAPTION : Self = Self ( 28u32 ) ; pub const COLOR_GRAYTEXT : Self = Self ( 17u32 ) ; pub const COLOR_HIGHLIGHT : Self = Self ( 13u32 ) ; pub const COLOR_HIGHLIGHTTEXT : Self = Self ( 14u32 ) ; pub const COLOR_HOTLIGHT : Self = Self ( 26u32 ) ; pub const COLOR_INACTIVEBORDER : Self = Self ( 11u32 ) ; pub const COLOR_INACTIVECAPTION : Self = Self ( 3u32 ) ; pub const COLOR_INACTIVECAPTIONTEXT : Self = Self ( 19u32 ) ; pub const COLOR_INFOBK : Self = Self ( 24u32 ) ; pub const COLOR_INFOTEXT : Self = Self ( 23u32 ) ; pub const COLOR_MENU : Self = Self ( 4u32 ) ; pub const COLOR_MENUHILIGHT : Self = Self ( 29u32 ) ; pub const COLOR_MENUBAR : Self = Self ( 30u32 ) ; pub const COLOR_MENUTEXT : Self = Self ( 7u32 ) ; pub const COLOR_SCROLLBAR : Self = Self ( 0u32 ) ; pub const COLOR_WINDOW : Self = Self ( 5u32 ) ; pub const COLOR_WINDOWFRAME : Self = Self ( 6u32 ) ; pub const COLOR_WINDOWTEXT : Self = Self ( 8u32 ) ; } impl :: std :: convert :: From < u32 > for GetSysColor_nIndexFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GetSysColor_nIndexFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for GetSysColor_nIndexFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for GetSysColor_nIndexFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for GetSysColor_nIndexFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for GetSysColor_nIndexFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn GetSysColor < > ( nindex : GetSysColor_nIndexFlags , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetSystemMenu < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( hwnd : T0__ , brevert : T1__ , ) -> super :: MenusAndResources :: HMENU { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct GetSystemMetrics_nIndexFlags ( pub u32 ) ; impl GetSystemMetrics_nIndexFlags { pub const SM_ARRANGE : Self = Self ( 56u32 ) ; pub const SM_CLEANBOOT : Self = Self ( 67u32 ) ; pub const SM_CMONITORS : Self = Self ( 80u32 ) ; pub const SM_CMOUSEBUTTONS : Self = Self ( 43u32 ) ; pub const SM_CONVERTIBLESLATEMODE : Self = Self ( 8195u32 ) ; pub const SM_CXBORDER : Self = Self ( 5u32 ) ; pub const SM_CXCURSOR : Self = Self ( 13u32 ) ; pub const SM_CXDLGFRAME : Self = Self ( 7u32 ) ; pub const SM_CXDOUBLECLK : Self = Self ( 36u32 ) ; pub const SM_CXDRAG : Self = Self ( 68u32 ) ; pub const SM_CXEDGE : Self = Self ( 45u32 ) ; pub const SM_CXFIXEDFRAME : Self = Self ( 7u32 ) ; pub const SM_CXFOCUSBORDER : Self = Self ( 83u32 ) ; pub const SM_CXFRAME : Self = Self ( 32u32 ) ; pub const SM_CXFULLSCREEN : Self = Self ( 16u32 ) ; pub const SM_CXHSCROLL : Self = Self ( 21u32 ) ; pub const SM_CXHTHUMB : Self = Self ( 10u32 ) ; pub const SM_CXICON : Self = Self ( 11u32 ) ; pub const SM_CXICONSPACING : Self = Self ( 38u32 ) ; pub const SM_CXMAXIMIZED : Self = Self ( 61u32 ) ; pub const SM_CXMAXTRACK : Self = Self ( 59u32 ) ; pub const SM_CXMENUCHECK : Self = Self ( 71u32 ) ; pub const SM_CXMENUSIZE : Self = Self ( 54u32 ) ; pub const SM_CXMIN : Self = Self ( 28u32 ) ; pub const SM_CXMINIMIZED : Self = Self ( 57u32 ) ; pub const SM_CXMINSPACING : Self = Self ( 47u32 ) ; pub const SM_CXMINTRACK : Self = Self ( 34u32 ) ; pub const SM_CXPADDEDBORDER : Self = Self ( 92u32 ) ; pub const SM_CXSCREEN : Self = Self ( 0u32 ) ; pub const SM_CXSIZE : Self = Self ( 30u32 ) ; pub const SM_CXSIZEFRAME : Self = Self ( 32u32 ) ; pub const SM_CXSMICON : Self = Self ( 49u32 ) ; pub const SM_CXSMSIZE : Self = Self ( 52u32 ) ; pub const SM_CXVIRTUALSCREEN : Self = Self ( 78u32 ) ; pub const SM_CXVSCROLL : Self = Self ( 2u32 ) ; pub const SM_CYBORDER : Self = Self ( 6u32 ) ; pub const SM_CYCAPTION : Self = Self ( 4u32 ) ; pub const SM_CYCURSOR : Self = Self ( 14u32 ) ; pub const SM_CYDLGFRAME : Self = Self ( 8u32 ) ; pub const SM_CYDOUBLECLK : Self = Self ( 37u32 ) ; pub const SM_CYDRAG : Self = Self ( 69u32 ) ; pub const SM_CYEDGE : Self = Self ( 46u32 ) ; pub const SM_CYFIXEDFRAME : Self = Self ( 8u32 ) ; pub const SM_CYFOCUSBORDER : Self = Self ( 84u32 ) ; pub const SM_CYFRAME : Self = Self ( 33u32 ) ; pub const SM_CYFULLSCREEN : Self = Self ( 17u32 ) ; pub const SM_CYHSCROLL : Self = Self ( 3u32 ) ; pub const SM_CYICON : Self = Self ( 12u32 ) ; pub const SM_CYICONSPACING : Self = Self ( 39u32 ) ; pub const SM_CYKANJIWINDOW : Self = Self ( 18u32 ) ; pub const SM_CYMAXIMIZED : Self = Self ( 62u32 ) ; pub const SM_CYMAXTRACK : Self = Self ( 60u32 ) ; pub const SM_CYMENU : Self = Self ( 15u32 ) ; pub const SM_CYMENUCHECK : Self = Self ( 72u32 ) ; pub const SM_CYMENUSIZE : Self = Self ( 55u32 ) ; pub const SM_CYMIN : Self = Self ( 29u32 ) ; pub const SM_CYMINIMIZED : Self = Self ( 58u32 ) ; pub const SM_CYMINSPACING : Self = Self ( 48u32 ) ; pub const SM_CYMINTRACK : Self = Self ( 35u32 ) ; pub const SM_CYSCREEN : Self = Self ( 1u32 ) ; pub const SM_CYSIZE : Self = Self ( 31u32 ) ; pub const SM_CYSIZEFRAME : Self = Self ( 33u32 ) ; pub const SM_CYSMCAPTION : Self = Self ( 51u32 ) ; pub const SM_CYSMICON : Self = Self ( 50u32 ) ; pub const SM_CYSMSIZE : Self = Self ( 53u32 ) ; pub const SM_CYVIRTUALSCREEN : Self = Self ( 79u32 ) ; pub const SM_CYVSCROLL : Self = Self ( 20u32 ) ; pub const SM_CYVTHUMB : Self = Self ( 9u32 ) ; pub const SM_DBCSENABLED : Self = Self ( 42u32 ) ; pub const SM_DEBUG : Self = Self ( 22u32 ) ; pub const SM_DIGITIZER : Self = Self ( 94u32 ) ; pub const SM_IMMENABLED : Self = Self ( 82u32 ) ; pub const SM_MAXIMUMTOUCHES : Self = Self ( 95u32 ) ; pub const SM_MEDIACENTER : Self = Self ( 87u32 ) ; pub const SM_MENUDROPALIGNMENT : Self = Self ( 40u32 ) ; pub const SM_MIDEASTENABLED : Self = Self ( 74u32 ) ; pub const SM_MOUSEPRESENT : Self = Self ( 19u32 ) ; pub const SM_MOUSEHORIZONTALWHEELPRESENT : Self = Self ( 91u32 ) ; pub const SM_MOUSEWHEELPRESENT : Self = Self ( 75u32 ) ; pub const SM_NETWORK : Self = Self ( 63u32 ) ; pub const SM_PENWINDOWS : Self = Self ( 41u32 ) ; pub const SM_REMOTECONTROL : Self = Self ( 8193u32 ) ; pub const SM_REMOTESESSION : Self = Self ( 4096u32 ) ; pub const SM_SAMEDISPLAYFORMAT : Self = Self ( 81u32 ) ; pub const SM_SECURE : Self = Self ( 44u32 ) ; pub const SM_SERVERR2 : Self = Self ( 89u32 ) ; pub const SM_SHOWSOUNDS : Self = Self ( 70u32 ) ; pub const SM_SHUTTINGDOWN : Self = Self ( 8192u32 ) ; pub const SM_SLOWMACHINE : Self = Self ( 73u32 ) ; pub const SM_STARTER : Self = Self ( 88u32 ) ; pub const SM_SWAPBUTTON : Self = Self ( 23u32 ) ; pub const SM_SYSTEMDOCKED_ : Self = Self ( 8196u32 ) ; pub const SM_TABLETPC : Self = Self ( 86u32 ) ; pub const SM_XVIRTUALSCREEN : Self = Self ( 76u32 ) ; pub const SM_YVIRTUALSCREEN : Self = Self ( 77u32 ) ; } impl :: std :: convert :: From < u32 > for GetSystemMetrics_nIndexFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GetSystemMetrics_nIndexFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for GetSystemMetrics_nIndexFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for GetSystemMetrics_nIndexFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for GetSystemMetrics_nIndexFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for GetSystemMetrics_nIndexFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn GetSystemMetrics < > ( nindex : GetSystemMetrics_nIndexFlags , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct TITLEBARINFO { pub cbSize : u32 , pub rcTitleBar : super :: DisplayDevices :: RECT , pub rgstate : [ u32 ;6 ] } impl TITLEBARINFO { } impl :: std :: default :: Default for TITLEBARINFO { fn default ( ) -> Self { Self { cbSize : 0 , rcTitleBar : :: std :: default :: Default :: default ( ) , rgstate : [ 0 ;6 ] } } } impl :: std :: fmt :: Debug for TITLEBARINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TITLEBARINFO" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "rcTitleBar" , & format_args ! ( "{:?}" , self . rcTitleBar ) ) . field ( "rgstate" , & format_args ! ( "{:?}" , self . rgstate ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TITLEBARINFO { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . rcTitleBar == other . rcTitleBar && self . rgstate == other . rgstate } } impl :: std :: cmp :: Eq for TITLEBARINFO { } unsafe impl :: windows :: Abi for TITLEBARINFO { type Abi = Self ; } pub unsafe fn GetTitleBarInfo < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , pti : * mut TITLEBARINFO , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetTopWindow < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct GetWindow_uCmdFlags ( pub u32 ) ; impl GetWindow_uCmdFlags { pub const GW_CHILD : Self = Self ( 5u32 ) ; pub const GW_ENABLEDPOPUP : Self = Self ( 6u32 ) ; pub const GW_HWNDFIRST : Self = Self ( 0u32 ) ; pub const GW_HWNDLAST : Self = Self ( 1u32 ) ; pub const GW_HWNDNEXT : Self = Self ( 2u32 ) ; pub const GW_HWNDPREV : Self = Self ( 3u32 ) ; pub const GW_OWNER : Self = Self ( 4u32 ) ; } impl :: std :: convert :: From < u32 > for GetWindow_uCmdFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GetWindow_uCmdFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for GetWindow_uCmdFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for GetWindow_uCmdFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for GetWindow_uCmdFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for GetWindow_uCmdFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn GetWindow < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ucmd : GetWindow_uCmdFlags , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowDisplayAffinity < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , pdwaffinity : * mut u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct WINDOWINFO { pub cbSize : u32 , pub rcWindow : super :: DisplayDevices :: RECT , pub rcClient : super :: DisplayDevices :: RECT , pub dwStyle : u32 , pub dwExStyle : u32 , pub dwWindowStatus : u32 , pub cxWindowBorders : u32 , pub cyWindowBorders : u32 , pub atomWindowType : u16 , pub wCreatorVersion : u16 } impl WINDOWINFO { } impl :: std :: default :: Default for WINDOWINFO { fn default ( ) -> Self { Self { cbSize : 0 , rcWindow : :: std :: default :: Default :: default ( ) , rcClient : :: std :: default :: Default :: default ( ) , dwStyle : 0 , dwExStyle : 0 , dwWindowStatus : 0 , cxWindowBorders : 0 , cyWindowBorders : 0 , atomWindowType : 0 , wCreatorVersion : 0 } } } impl :: std :: fmt :: Debug for WINDOWINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WINDOWINFO" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "rcWindow" , & format_args ! ( "{:?}" , self . rcWindow ) ) . field ( "rcClient" , & format_args ! ( "{:?}" , self . rcClient ) ) . field ( "dwStyle" , & format_args ! ( "{:?}" , self . dwStyle ) ) . field ( "dwExStyle" , & format_args ! ( "{:?}" , self . dwExStyle ) ) . field ( "dwWindowStatus" , & format_args ! ( "{:?}" , self . dwWindowStatus ) ) . field ( "cxWindowBorders" , & format_args ! ( "{:?}" , self . cxWindowBorders ) ) . field ( "cyWindowBorders" , & format_args ! ( "{:?}" , self . cyWindowBorders ) ) . field ( "atomWindowType" , & format_args ! ( "{:?}" , self . atomWindowType ) ) . field ( "wCreatorVersion" , & format_args ! ( "{:?}" , self . wCreatorVersion ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WINDOWINFO { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . rcWindow == other . rcWindow && self . rcClient == other . rcClient && self . dwStyle == other . dwStyle && self . dwExStyle == other . dwExStyle && self . dwWindowStatus == other . dwWindowStatus && self . cxWindowBorders == other . cxWindowBorders && self . cyWindowBorders == other . cyWindowBorders && self . atomWindowType == other . atomWindowType && self . wCreatorVersion == other . wCreatorVersion } } impl :: std :: cmp :: Eq for WINDOWINFO { } unsafe impl :: windows :: Abi for WINDOWINFO { type Abi = Self ; } pub unsafe fn GetWindowInfo < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , pwi : * mut WINDOWINFO , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct WINDOW_LONG_PTR_INDEX ( pub i32 ) ; impl WINDOW_LONG_PTR_INDEX { pub const GWL_EXSTYLE : Self = Self ( -20i32 ) ; pub const GWLP_HINSTANCE : Self = Self ( -6i32 ) ; pub const GWLP_HWNDPARENT : Self = Self ( -8i32 ) ; pub const GWLP_ID : Self = Self ( -12i32 ) ; pub const GWL_STYLE : Self = Self ( -16i32 ) ; pub const GWLP_USERDATA : Self = Self ( -21i32 ) ; pub const GWLP_WNDPROC : Self = Self ( -4i32 ) ; pub const GWL_HINSTANCE : Self = Self ( -6i32 ) ; pub const GWL_ID : Self = Self ( -12i32 ) ; pub const GWL_USERDATA : Self = Self ( -21i32 ) ; pub const GWL_WNDPROC : Self = Self ( -4i32 ) ; pub const GWL_HWNDPARENT : Self = Self ( -8i32 ) ; } impl :: std :: convert :: From < i32 > for WINDOW_LONG_PTR_INDEX { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for WINDOW_LONG_PTR_INDEX { type Abi = Self ; } pub unsafe fn GetWindowLongA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : WINDOW_LONG_PTR_INDEX , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowLongPtrA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : WINDOW_LONG_PTR_INDEX , ) -> isize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowLongPtrW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : WINDOW_LONG_PTR_INDEX , ) -> isize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowLongW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : WINDOW_LONG_PTR_INDEX , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowModuleFileNameA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , pszfilename : super :: SystemServices :: PSTR , cchfilenamemax : u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowModuleFileNameW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , pszfilename : super :: SystemServices :: PWSTR , cchfilenamemax : u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct WINDOWPLACEMENT_flags ( pub u32 ) ; impl WINDOWPLACEMENT_flags { pub const WPF_ASYNCWINDOWPLACEMENT : Self = Self ( 4u32 ) ; pub const WPF_RESTORETOMAXIMIZED : Self = Self ( 2u32 ) ; pub const WPF_SETMINPOSITION : Self = Self ( 1u32 ) ; } impl :: std :: convert :: From < u32 > for WINDOWPLACEMENT_flags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for WINDOWPLACEMENT_flags { type Abi = Self ; } impl :: std :: ops :: BitOr for WINDOWPLACEMENT_flags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for WINDOWPLACEMENT_flags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for WINDOWPLACEMENT_flags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for WINDOWPLACEMENT_flags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SHOW_WINDOW_CMD ( pub u32 ) ; impl SHOW_WINDOW_CMD { pub const SW_HIDE : Self = Self ( 0u32 ) ; pub const SW_FORCEMINIMIZE : Self = Self ( 11u32 ) ; pub const SW_MAXIMIZE : Self = Self ( 3u32 ) ; pub const SW_MINIMIZE : Self = Self ( 6u32 ) ; pub const SW_RESTORE : Self = Self ( 9u32 ) ; pub const SW_SHOW : Self = Self ( 5u32 ) ; pub const SW_SHOWDEFAULT : Self = Self ( 10u32 ) ; pub const SW_SHOWMAXIMIZED : Self = Self ( 3u32 ) ; pub const SW_SHOWMINIMIZED : Self = Self ( 2u32 ) ; pub const SW_SHOWMINNOACTIVE : Self = Self ( 7u32 ) ; pub const SW_SHOWNA : Self = Self ( 8u32 ) ; pub const SW_SHOWNOACTIVATE : Self = Self ( 4u32 ) ; pub const SW_SHOWNORMAL : Self = Self ( 1u32 ) ; pub const SW_NORMAL : Self = Self ( 1u32 ) ; pub const SW_MAX : Self = Self ( 11u32 ) ; pub const SW_PARENTCLOSING : Self = Self ( 1u32 ) ; pub const SW_OTHERZOOM : Self = Self ( 2u32 ) ; pub const SW_PARENTOPENING : Self = Self ( 3u32 ) ; pub const SW_OTHERUNZOOM : Self = Self ( 4u32 ) ; pub const SW_SCROLLCHILDREN : Self = Self ( 1u32 ) ; pub const SW_ERASE : Self = Self ( 4u32 ) ; pub const SW_INVALIDATE : Self = Self ( 2u32 ) ; pub const SW_SMOOTHSCROLL : Self = Self ( 16u32 ) ; } impl :: std :: convert :: From < u32 > for SHOW_WINDOW_CMD { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SHOW_WINDOW_CMD { type Abi = Self ; } impl :: std :: ops :: BitOr for SHOW_WINDOW_CMD { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for SHOW_WINDOW_CMD { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for SHOW_WINDOW_CMD { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for SHOW_WINDOW_CMD { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct WINDOWPLACEMENT { pub length : u32 , pub flags : WINDOWPLACEMENT_flags , pub showCmd : SHOW_WINDOW_CMD , pub ptMinPosition : super :: DisplayDevices :: POINT , pub ptMaxPosition : super :: DisplayDevices :: POINT , pub rcNormalPosition : super :: DisplayDevices :: RECT } impl WINDOWPLACEMENT { } impl :: std :: default :: Default for WINDOWPLACEMENT { fn default ( ) -> Self { Self { length : 0 , flags : :: std :: default :: Default :: default ( ) , showCmd : :: std :: default :: Default :: default ( ) , ptMinPosition : :: std :: default :: Default :: default ( ) , ptMaxPosition : :: std :: default :: Default :: default ( ) , rcNormalPosition : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for WINDOWPLACEMENT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WINDOWPLACEMENT" ) . field ( "length" , & format_args ! ( "{:?}" , self . length ) ) . field ( "flags" , & format_args ! ( "{:?}" , self . flags ) ) . field ( "showCmd" , & format_args ! ( "{:?}" , self . showCmd ) ) . field ( "ptMinPosition" , & format_args ! ( "{:?}" , self . ptMinPosition ) ) . field ( "ptMaxPosition" , & format_args ! ( "{:?}" , self . ptMaxPosition ) ) . field ( "rcNormalPosition" , & format_args ! ( "{:?}" , self . rcNormalPosition ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WINDOWPLACEMENT { fn eq ( & self , other : & Self ) -> bool { self . length == other . length && self . flags == other . flags && self . showCmd == other . showCmd && self . ptMinPosition == other . ptMinPosition && self . ptMaxPosition == other . ptMaxPosition && self . rcNormalPosition == other . rcNormalPosition } } impl :: std :: cmp :: Eq for WINDOWPLACEMENT { } unsafe impl :: windows :: Abi for WINDOWPLACEMENT { type Abi = Self ; } pub unsafe fn GetWindowPlacement < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , lpwndpl : * mut WINDOWPLACEMENT , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowRect < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , lprect : * mut super :: DisplayDevices :: RECT , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowTextA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , lpstring : super :: SystemServices :: PSTR , nmaxcount : i32 , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowTextLengthA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowTextLengthW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowTextW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , lpstring : super :: SystemServices :: PWSTR , nmaxcount : i32 , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowThreadProcessId < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , lpdwprocessid : * mut u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowWord < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : i32 , ) -> u16 { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct HANDEDNESS ( pub i32 ) ; impl HANDEDNESS { pub const HANDEDNESS_LEFT : Self = Self ( 0i32 ) ; pub const HANDEDNESS_RIGHT : Self = Self ( 1i32 ) ; } impl :: std :: convert :: From < i32 > for HANDEDNESS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for HANDEDNESS { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HARDWAREHOOKSTRUCT { pub hwnd : HWND , pub message : u32 , pub wParam : WPARAM , pub lParam : LPARAM } impl HARDWAREHOOKSTRUCT { } impl :: std :: default :: Default for HARDWAREHOOKSTRUCT { fn default ( ) -> Self { Self { hwnd : :: std :: default :: Default :: default ( ) , message : 0 , wParam : :: std :: default :: Default :: default ( ) , lParam : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for HARDWAREHOOKSTRUCT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HARDWAREHOOKSTRUCT" ) . field ( "hwnd" , & format_args ! ( "{:?}" , self . hwnd ) ) . field ( "message" , & format_args ! ( "{:?}" , self . message ) ) . field ( "wParam" , & format_args ! ( "{:?}" , self . wParam ) ) . field ( "lParam" , & format_args ! ( "{:?}" , self . lParam ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HARDWAREHOOKSTRUCT { fn eq ( & self , other : & Self ) -> bool { self . hwnd == other . hwnd && self . message == other . message && self . wParam == other . wParam && self . lParam == other . lParam } } impl :: std :: cmp :: Eq for HARDWAREHOOKSTRUCT { } unsafe impl :: windows :: Abi for HARDWAREHOOKSTRUCT { type Abi = Self ; } pub const HBMMENU_CALLBACK : super :: Gdi :: HBITMAP = super :: Gdi :: HBITMAP ( -1i32 as _ ) ; pub const HBMMENU_MBAR_CLOSE : super :: Gdi :: HBITMAP = super :: Gdi :: HBITMAP ( 5i32 as _ ) ; pub const HBMMENU_MBAR_CLOSE_D : super :: Gdi :: HBITMAP = super :: Gdi :: HBITMAP ( 6i32 as _ ) ; pub const HBMMENU_MBAR_MINIMIZE : super :: Gdi :: HBITMAP = super :: Gdi :: HBITMAP ( 3i32 as _ ) ; pub const HBMMENU_MBAR_MINIMIZE_D : super :: Gdi :: HBITMAP = super :: Gdi :: HBITMAP ( 7i32 as _ ) ; pub const HBMMENU_MBAR_RESTORE : super :: Gdi :: HBITMAP = super :: Gdi :: HBITMAP ( 2i32 as _ ) ; pub const HBMMENU_POPUP_CLOSE : super :: Gdi :: HBITMAP = super :: Gdi :: HBITMAP ( 8i32 as _ ) ; pub const HBMMENU_POPUP_MAXIMIZE : super :: Gdi :: HBITMAP = super :: Gdi :: HBITMAP ( 10i32 as _ ) ; pub const HBMMENU_POPUP_MINIMIZE : super :: Gdi :: HBITMAP = super :: Gdi :: HBITMAP ( 11i32 as _ ) ; pub const HBMMENU_POPUP_RESTORE : super :: Gdi :: HBITMAP = super :: Gdi :: HBITMAP ( 9i32 as _ ) ; pub const HBMMENU_SYSTEM : super :: Gdi :: HBITMAP = super :: Gdi :: HBITMAP ( 1i32 as _ ) ; pub const HCBT_ACTIVATE : u32 = 5u32 ; pub const HCBT_CLICKSKIPPED : u32 = 6u32 ; pub const HCBT_CREATEWND : u32 = 3u32 ; pub const HCBT_DESTROYWND : u32 = 4u32 ; pub const HCBT_KEYSKIPPED : u32 = 7u32 ; pub const HCBT_MINMAX : u32 = 1u32 ; pub const HCBT_MOVESIZE : u32 = 0u32 ; pub const HCBT_QS : u32 = 2u32 ; pub const HCBT_SETFOCUS : u32 = 9u32 ; pub const HCBT_SYSCOMMAND : u32 = 8u32 ; pub const HCF_DEFAULTDESKTOP : u32 = 512u32 ; pub const HCF_LOGONDESKTOP : u32 = 256u32 ; pub const HC_ACTION : u32 = 0u32 ; pub const HC_GETNEXT : u32 = 1u32 ; pub const HC_NOREMOVE : u32 = 3u32 ; pub const HC_SKIP : u32 = 2u32 ; pub const HC_SYSMODALOFF : u32 = 5u32 ; pub const HC_SYSMODALON : u32 = 4u32 ; pub const HELPINFO_MENUITEM : u32 = 2u32 ; pub const HELPINFO_WINDOW : u32 = 1u32 ; pub const HELP_COMMAND : i32 = 258i32 ; pub const HELP_CONTENTS : i32 = 3i32 ; pub const HELP_CONTEXT : i32 = 1i32 ; pub const HELP_CONTEXTMENU : u32 = 10u32 ; pub const HELP_CONTEXTPOPUP : i32 = 8i32 ; pub const HELP_FINDER : u32 = 11u32 ; pub const HELP_FORCEFILE : i32 = 9i32 ; pub const HELP_HELPONHELP : i32 = 4i32 ; pub const HELP_INDEX : i32 = 3i32 ; pub const HELP_KEY : i32 = 257i32 ; pub const HELP_MULTIKEY : i32 = 513i32 ; pub const HELP_PARTIALKEY : i32 = 261i32 ; pub const HELP_QUIT : i32 = 2i32 ; pub const HELP_SETCONTENTS : i32 = 5i32 ; pub const HELP_SETINDEX : i32 = 5i32 ; pub const HELP_SETPOPUP_POS : u32 = 13u32 ; pub const HELP_SETWINPOS : i32 = 515i32 ; pub const HELP_TCARD : u32 = 32768u32 ; pub const HELP_TCARD_DATA : u32 = 16u32 ; pub const HELP_TCARD_OTHER_CALLER : u32 = 17u32 ; pub const HELP_WM_HELP : u32 = 12u32 ; pub const HIDE_WINDOW : u32 = 0u32 ; pub const HKL_NEXT : u32 = 1u32 ; pub const HKL_PREV : u32 = 0u32 ; pub type HOOKPROC = extern "system" fn ( code : i32 , wparam : WPARAM , lparam : LPARAM ) -> super :: SystemServices :: LRESULT ; pub const HSHELL_ACCESSIBILITYSTATE : u32 = 11u32 ; pub const HSHELL_ACTIVATESHELLWINDOW : u32 = 3u32 ; pub const HSHELL_APPCOMMAND : u32 = 12u32 ; pub const HSHELL_ENDTASK : u32 = 10u32 ; pub const HSHELL_GETMINRECT : u32 = 5u32 ; pub const HSHELL_HIGHBIT : u32 = 32768u32 ; pub const HSHELL_LANGUAGE : u32 = 8u32 ; pub const HSHELL_MONITORCHANGED : u32 = 16u32 ; pub const HSHELL_REDRAW : u32 = 6u32 ; pub const HSHELL_SYSMENU : u32 = 9u32 ; pub const HSHELL_TASKMAN : u32 = 7u32 ; pub const HSHELL_WINDOWACTIVATED : u32 = 4u32 ; pub const HSHELL_WINDOWCREATED : u32 = 1u32 ; pub const HSHELL_WINDOWDESTROYED : u32 = 2u32 ; pub const HSHELL_WINDOWREPLACED : u32 = 13u32 ; pub const HSHELL_WINDOWREPLACING : u32 = 14u32 ; pub const HTBORDER : u32 = 18u32 ; pub const HTBOTTOM : u32 = 15u32 ; pub const HTBOTTOMLEFT : u32 = 16u32 ; pub const HTBOTTOMRIGHT : u32 = 17u32 ; pub const HTCAPTION : u32 = 2u32 ; pub const HTCLIENT : u32 = 1u32 ; pub const HTCLOSE : u32 = 20u32 ; pub const HTERROR : i32 = -2i32 ; pub const HTGROWBOX : u32 = 4u32 ; pub const HTHELP : u32 = 21u32 ; pub const HTHSCROLL : u32 = 6u32 ; pub const HTLEFT : u32 = 10u32 ; pub const HTMAXBUTTON : u32 = 9u32 ; pub const HTMENU : u32 = 5u32 ; pub const HTMINBUTTON : u32 = 8u32 ; pub const HTNOWHERE : u32 = 0u32 ; pub const HTOBJECT : u32 = 19u32 ; pub const HTRIGHT : u32 = 11u32 ; pub const HTSYSMENU : u32 = 3u32 ; pub const HTTOP : u32 = 12u32 ; pub const HTTOPLEFT : u32 = 13u32 ; pub const HTTOPRIGHT : u32 = 14u32 ; pub const HTTRANSPARENT : i32 = -1i32 ; pub const HTVSCROLL : u32 = 7u32 ; pub const HWND_BOTTOM : HWND = HWND ( 1i32 as _ ) ; pub const HWND_DESKTOP : HWND = HWND ( 0i32 as _ ) ; pub const HWND_MESSAGE : HWND = HWND ( -3i32 as _ ) ; pub const HWND_NOTOPMOST : HWND = HWND ( -2i32 as _ ) ; pub const HWND_TOP : HWND = HWND ( 0i32 as _ ) ; pub const HWND_TOPMOST : HWND = HWND ( -1i32 as _ ) ; pub unsafe fn HideCaret < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HiliteMenuItem < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hwnd : T0__ , hmenu : T1__ , uidhiliteitem : u32 , uhilite : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct ICONMETRICSA { pub cbSize : u32 , pub iHorzSpacing : i32 , pub iVertSpacing : i32 , pub iTitleWrap : i32 , pub lfFont : super :: Shell :: LOGFONTA } impl ICONMETRICSA { } impl :: std :: default :: Default for ICONMETRICSA { fn default ( ) -> Self { Self { cbSize : 0 , iHorzSpacing : 0 , iVertSpacing : 0 , iTitleWrap : 0 , lfFont : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for ICONMETRICSA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ICONMETRICSA" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "iHorzSpacing" , & format_args ! ( "{:?}" , self . iHorzSpacing ) ) . field ( "iVertSpacing" , & format_args ! ( "{:?}" , self . iVertSpacing ) ) . field ( "iTitleWrap" , & format_args ! ( "{:?}" , self . iTitleWrap ) ) . field ( "lfFont" , & format_args ! ( "{:?}" , self . lfFont ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ICONMETRICSA { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . iHorzSpacing == other . iHorzSpacing && self . iVertSpacing == other . iVertSpacing && self . iTitleWrap == other . iTitleWrap && self . lfFont == other . lfFont } } impl :: std :: cmp :: Eq for ICONMETRICSA { } unsafe impl :: windows :: Abi for ICONMETRICSA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct ICONMETRICSW { pub cbSize : u32 , pub iHorzSpacing : i32 , pub iVertSpacing : i32 , pub iTitleWrap : i32 , pub lfFont : super :: Shell :: LOGFONTW } impl ICONMETRICSW { } impl :: std :: default :: Default for ICONMETRICSW { fn default ( ) -> Self { Self { cbSize : 0 , iHorzSpacing : 0 , iVertSpacing : 0 , iTitleWrap : 0 , lfFont : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for ICONMETRICSW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ICONMETRICSW" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "iHorzSpacing" , & format_args ! ( "{:?}" , self . iHorzSpacing ) ) . field ( "iVertSpacing" , & format_args ! ( "{:?}" , self . iVertSpacing ) ) . field ( "iTitleWrap" , & format_args ! ( "{:?}" , self . iTitleWrap ) ) . field ( "lfFont" , & format_args ! ( "{:?}" , self . lfFont ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ICONMETRICSW { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . iHorzSpacing == other . iHorzSpacing && self . iVertSpacing == other . iVertSpacing && self . iTitleWrap == other . iTitleWrap && self . lfFont == other . lfFont } } impl :: std :: cmp :: Eq for ICONMETRICSW { } unsafe impl :: windows :: Abi for ICONMETRICSW { type Abi = Self ; } pub const ICON_BIG : u32 = 1u32 ; pub const ICON_SMALL : u32 = 0u32 ; pub const ICON_SMALL2 : u32 = 2u32 ; pub const IDANI_CAPTION : u32 = 3u32 ; pub const IDANI_OPEN : u32 = 1u32 ; pub const IDC_APPSTARTING : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32650i32 as _ ) ; pub const IDC_ARROW : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32512i32 as _ ) ; pub const IDC_CROSS : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32515i32 as _ ) ; pub const IDC_HAND : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32649i32 as _ ) ; pub const IDC_HELP : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32651i32 as _ ) ; pub const IDC_IBEAM : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32513i32 as _ ) ; pub const IDC_ICON : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32641i32 as _ ) ; pub const IDC_NO : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32648i32 as _ ) ; pub const IDC_PERSON : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32672i32 as _ ) ; pub const IDC_PIN : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32671i32 as _ ) ; pub const IDC_SIZE : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32640i32 as _ ) ; pub const IDC_SIZEALL : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32646i32 as _ ) ; pub const IDC_SIZENESW : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32643i32 as _ ) ; pub const IDC_SIZENS : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32645i32 as _ ) ; pub const IDC_SIZENWSE : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32642i32 as _ ) ; pub const IDC_SIZEWE : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32644i32 as _ ) ; pub const IDC_UPARROW : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32516i32 as _ ) ; pub const IDC_WAIT : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32514i32 as _ ) ; pub const IDHOT_SNAPDESKTOP : i32 = -2i32 ; pub const IDHOT_SNAPWINDOW : i32 = -1i32 ; pub const IDH_CANCEL : u32 = 28444u32 ; pub const IDH_GENERIC_HELP_BUTTON : u32 = 28442u32 ; pub const IDH_HELP : u32 = 28445u32 ; pub const IDH_MISSING_CONTEXT : u32 = 28441u32 ; pub const IDH_NO_HELP : u32 = 28440u32 ; pub const IDH_OK : u32 = 28443u32 ; pub const IDI_APPLICATION : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32512u32 as _ ) ; pub const IDI_ASTERISK : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32516u32 as _ ) ; pub const IDI_EXCLAMATION : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32515u32 as _ ) ; pub const IDI_HAND : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32513u32 as _ ) ; pub const IDI_QUESTION : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32514u32 as _ ) ; pub const IDI_SHIELD : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32518u32 as _ ) ; pub const IDI_WINLOGO : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32517u32 as _ ) ; pub const IMAGE_ENHMETAFILE : u32 = 3u32 ; pub const INDEXID_CONTAINER : u32 = 0u32 ; pub const INDEXID_OBJECT : u32 = 0u32 ; pub const INPUTLANGCHANGE_BACKWARD : u32 = 4u32 ; pub const INPUTLANGCHANGE_FORWARD : u32 = 2u32 ; pub const INPUTLANGCHANGE_SYSCHARSET : u32 = 1u32 ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPrintDialogCallback ( :: windows :: IUnknown ) ; impl IPrintDialogCallback { } unsafe impl :: windows :: Interface for IPrintDialogCallback { type Vtable = IPrintDialogCallback_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1481810627 ,25904 ,4561 , [ 182 ,163 ,0 ,0 ,248 ,117 ,123 ,249 ] , ) ; } impl IPrintDialogCallback { pub unsafe fn InitDone < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn SelectionChange < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn HandleMessage < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( & self , hdlg : T0__ , umsg : u32 , wparam : T2__ , lparam : T3__ , presult : * mut super :: SystemServices :: LRESULT , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , hdlg . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( umsg ) , wparam . into_param ( ) . abi ( ) , lparam . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( presult ) , ) } } impl :: std :: convert :: From < IPrintDialogCallback > for :: windows :: IUnknown { fn from ( value : IPrintDialogCallback ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IPrintDialogCallback > for :: windows :: IUnknown { fn from ( value : & IPrintDialogCallback ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IPrintDialogCallback { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: IUnknown > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < :: windows :: IUnknown > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for & 'a IPrintDialogCallback { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: IUnknown > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < :: windows :: IUnknown > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IPrintDialogCallback_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hdlg : HWND , umsg : u32 , wparam : WPARAM , lparam : LPARAM , presult : * mut super :: SystemServices :: LRESULT , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPrintDialogServices ( :: windows :: IUnknown ) ; impl IPrintDialogServices { } unsafe impl :: windows :: Interface for IPrintDialogServices { type Vtable = IPrintDialogServices_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1352314586 ,22073 ,4561 , [ 182 ,161 ,0 ,0 ,248 ,117 ,123 ,249 ] , ) ; } impl IPrintDialogServices { pub unsafe fn GetCurrentPrinterName < > ( & self , pprintername : super :: SystemServices :: PWSTR , pcchsize : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pprintername ) , :: std :: mem :: transmute ( pcchsize ) , ) } pub unsafe fn GetCurrentPortName < > ( & self , pportname : super :: SystemServices :: PWSTR , pcchsize : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pportname ) , :: std :: mem :: transmute ( pcchsize ) , ) } } impl :: std :: convert :: From < IPrintDialogServices > for :: windows :: IUnknown { fn from ( value : IPrintDialogServices ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IPrintDialogServices > for :: windows :: IUnknown { fn from ( value : & IPrintDialogServices ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IPrintDialogServices { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: IUnknown > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < :: windows :: IUnknown > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for & 'a IPrintDialogServices { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: IUnknown > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < :: windows :: IUnknown > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IPrintDialogServices_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pprintername : super :: SystemServices :: PWSTR , pcchsize : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pportname : super :: SystemServices :: PWSTR , pcchsize : * mut u32 , ) -> :: windows :: ErrorCode , ) ; pub const ISMEX_CALLBACK : u32 = 4u32 ; pub const ISMEX_NOSEND : u32 = 0u32 ; pub const ISMEX_NOTIFY : u32 = 2u32 ; pub const ISMEX_REPLIED : u32 = 8u32 ; pub const ISMEX_SEND : u32 = 1u32 ; pub const ISOLATIONAWARE_MANIFEST_RESOURCE_ID : u32 = 2u32 ; pub const ISOLATIONAWARE_NOSTATICIMPORT_MANIFEST_RESOURCE_ID : u32 = 3u32 ; pub const ISOLATIONPOLICY_BROWSER_MANIFEST_RESOURCE_ID : u32 = 5u32 ; pub const ISOLATIONPOLICY_MANIFEST_RESOURCE_ID : u32 = 4u32 ; pub unsafe fn InSendMessage < > ( ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn InSendMessageEx < > ( lpreserved : * mut :: std :: ffi :: c_void , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IndexFilePath < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( resourceindexer : * mut :: std :: ffi :: c_void , filepath : T1__ , ppresourceuri : * mut super :: SystemServices :: PWSTR , pqualifiercount : * mut u32 , ppqualifiers : * mut * mut IndexedResourceQualifier , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn InheritWindowMonitor < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , hwndinherit : T1__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn InsertMenuA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T4__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hmenu : T0__ , uposition : u32 , uflags : MENU_ITEM_FLAGS , uidnewitem : usize , lpnewitem : T4__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn InsertMenuItemA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( hmenu : T0__ , item : u32 , fbyposition : T2__ , lpmi : * mut MENUITEMINFOA , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn InsertMenuItemW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( hmenu : T0__ , item : u32 , fbyposition : T2__ , lpmi : * mut MENUITEMINFOW , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn InsertMenuW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T4__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hmenu : T0__ , uposition : u32 , uflags : MENU_ITEM_FLAGS , uidnewitem : usize , lpnewitem : T4__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn InternalGetWindowText < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , pstring : super :: SystemServices :: PWSTR , cchmaxcount : i32 , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsCharAlphaA < > ( ch : i8 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsCharAlphaNumericA < > ( ch : i8 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsCharAlphaNumericW < > ( ch : u16 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsCharAlphaW < > ( ch : u16 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsCharLowerA < > ( ch : i8 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsCharUpperA < > ( ch : i8 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsCharUpperW < > ( ch : u16 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsChild < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , HWND > , > ( hwndparent : T0__ , hwnd : T1__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsDialogMessageA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hdlg : T0__ , lpmsg : * mut MSG , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsDialogMessageW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hdlg : T0__ , lpmsg : * mut MSG , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsGUIThread < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( bconvert : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsHungAppWindow < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsIconic < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsMenu < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hmenu : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsProcessDPIAware < > ( ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsWindow < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsWindowUnicode < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsWindowVisible < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsZoomed < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct KBDLLHOOKSTRUCT { pub vkCode : u32 , pub scanCode : u32 , pub flags : u32 , pub time : u32 , pub dwExtraInfo : usize } impl KBDLLHOOKSTRUCT { } impl :: std :: default :: Default for KBDLLHOOKSTRUCT { fn default ( ) -> Self { Self { vkCode : 0 , scanCode : 0 , flags : 0 , time : 0 , dwExtraInfo : 0 } } } impl :: std :: fmt :: Debug for KBDLLHOOKSTRUCT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KBDLLHOOKSTRUCT" ) . field ( "vkCode" , & format_args ! ( "{:?}" , self . vkCode ) ) . field ( "scanCode" , & format_args ! ( "{:?}" , self . scanCode ) ) . field ( "flags" , & format_args ! ( "{:?}" , self . flags ) ) . field ( "time" , & format_args ! ( "{:?}" , self . time ) ) . field ( "dwExtraInfo" , & format_args ! ( "{:?}" , self . dwExtraInfo ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KBDLLHOOKSTRUCT { fn eq ( & self , other : & Self ) -> bool { self . vkCode == other . vkCode && self . scanCode == other . scanCode && self . flags == other . flags && self . time == other . time && self . dwExtraInfo == other . dwExtraInfo } } impl :: std :: cmp :: Eq for KBDLLHOOKSTRUCT { } unsafe impl :: windows :: Abi for KBDLLHOOKSTRUCT { type Abi = Self ; } pub const KF_ALTDOWN : u32 = 8192u32 ; pub const KF_DLGMODE : u32 = 2048u32 ; pub const KF_EXTENDED : u32 = 256u32 ; pub const KF_MENUMODE : u32 = 4096u32 ; pub const KF_REPEAT : u32 = 16384u32 ; pub const KF_UP : u32 = 32768u32 ; pub const KL_NAMELENGTH : u32 = 9u32 ; pub unsafe fn KillTimer < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , uidevent : usize , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub const LBN_DBLCLK : u32 = 2u32 ; pub const LBN_ERRSPACE : i32 = -2i32 ; pub const LBN_KILLFOCUS : u32 = 5u32 ; pub const LBN_SELCANCEL : u32 = 3u32 ; pub const LBN_SELCHANGE : u32 = 1u32 ; pub const LBN_SETFOCUS : u32 = 4u32 ; pub const LB_ADDFILE : u32 = 406u32 ; pub const LB_ADDSTRING : u32 = 384u32 ; pub const LB_CTLCODE : i32 = 0i32 ; pub const LB_DELETESTRING : u32 = 386u32 ; pub const LB_DIR : u32 = 397u32 ; pub const LB_ERR : i32 = -1i32 ; pub const LB_ERRSPACE : i32 = -2i32 ; pub const LB_FINDSTRING : u32 = 399u32 ; pub const LB_FINDSTRINGEXACT : u32 = 418u32 ; pub const LB_GETANCHORINDEX : u32 = 413u32 ; pub const LB_GETCARETINDEX : u32 = 415u32 ; pub const LB_GETCOUNT : u32 = 395u32 ; pub const LB_GETCURSEL : u32 = 392u32 ; pub const LB_GETHORIZONTALEXTENT : u32 = 403u32 ; pub const LB_GETITEMDATA : u32 = 409u32 ; pub const LB_GETITEMHEIGHT : u32 = 417u32 ; pub const LB_GETITEMRECT : u32 = 408u32 ; pub const LB_GETLISTBOXINFO : u32 = 434u32 ; pub const LB_GETLOCALE : u32 = 422u32 ; pub const LB_GETSEL : u32 = 391u32 ; pub const LB_GETSELCOUNT : u32 = 400u32 ; pub const LB_GETSELITEMS : u32 = 401u32 ; pub const LB_GETTEXT : u32 = 393u32 ; pub const LB_GETTEXTLEN : u32 = 394u32 ; pub const LB_GETTOPINDEX : u32 = 398u32 ; pub const LB_INITSTORAGE : u32 = 424u32 ; pub const LB_INSERTSTRING : u32 = 385u32 ; pub const LB_ITEMFROMPOINT : u32 = 425u32 ; pub const LB_MSGMAX : u32 = 435u32 ; pub const LB_MULTIPLEADDSTRING : u32 = 433u32 ; pub const LB_OKAY : u32 = 0u32 ; pub const LB_RESETCONTENT : u32 = 388u32 ; pub const LB_SELECTSTRING : u32 = 396u32 ; pub const LB_SELITEMRANGE : u32 = 411u32 ; pub const LB_SELITEMRANGEEX : u32 = 387u32 ; pub const LB_SETANCHORINDEX : u32 = 412u32 ; pub const LB_SETCARETINDEX : u32 = 414u32 ; pub const LB_SETCOLUMNWIDTH : u32 = 405u32 ; pub const LB_SETCOUNT : u32 = 423u32 ; pub const LB_SETCURSEL : u32 = 390u32 ; pub const LB_SETHORIZONTALEXTENT : u32 = 404u32 ; pub const LB_SETITEMDATA : u32 = 410u32 ; pub const LB_SETITEMHEIGHT : u32 = 416u32 ; pub const LB_SETLOCALE : u32 = 421u32 ; pub const LB_SETSEL : u32 = 389u32 ; pub const LB_SETTABSTOPS : u32 = 402u32 ; pub const LB_SETTOPINDEX : u32 = 407u32 ; pub const LLKHF_INJECTED : u32 = 16u32 ; pub const LLKHF_LOWER_IL_INJECTED : u32 = 2u32 ; pub const LLMHF_INJECTED : u32 = 1u32 ; pub const LLMHF_LOWER_IL_INJECTED : u32 = 2u32 ; pub type LPPAGEPAINTHOOK = extern "system" fn ( param0 : HWND , param1 : u32 , param2 : WPARAM , param3 : LPARAM ) -> usize ; pub type LPPAGESETUPHOOK = extern "system" fn ( param0 : HWND , param1 : u32 , param2 : WPARAM , param3 : LPARAM ) -> usize ; pub type LPPRINTHOOKPROC = extern "system" fn ( param0 : HWND , param1 : u32 , param2 : WPARAM , param3 : LPARAM ) -> usize ; pub type LPSETUPHOOKPROC = extern "system" fn ( param0 : HWND , param1 : u32 , param2 : WPARAM , param3 : LPARAM ) -> usize ; pub const LR_COLOR : u32 = 2u32 ; pub unsafe fn LoadAcceleratorsA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hinstance : T0__ , lptablename : T1__ , ) -> super :: MenusAndResources :: HACCEL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadAcceleratorsW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hinstance : T0__ , lptablename : T1__ , ) -> super :: MenusAndResources :: HACCEL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadCursorA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hinstance : T0__ , lpcursorname : T1__ , ) -> super :: MenusAndResources :: HCURSOR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadCursorFromFileA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpfilename : T0__ , ) -> super :: MenusAndResources :: HCURSOR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadCursorFromFileW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpfilename : T0__ , ) -> super :: MenusAndResources :: HCURSOR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadCursorW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hinstance : T0__ , lpcursorname : T1__ , ) -> super :: MenusAndResources :: HCURSOR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadIconA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hinstance : T0__ , lpiconname : T1__ , ) -> super :: MenusAndResources :: HICON { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadIconW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hinstance : T0__ , lpiconname : T1__ , ) -> super :: MenusAndResources :: HICON { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadImageA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hinst : T0__ , name : T1__ , r#type : CopyImage_type , cx : i32 , cy : i32 , fuload : super :: Controls :: ImageListLoadImage_uFlags , ) -> super :: SystemServices :: HANDLE { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadImageW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hinst : T0__ , name : T1__ , r#type : CopyImage_type , cx : i32 , cy : i32 , fuload : super :: Controls :: ImageListLoadImage_uFlags , ) -> super :: SystemServices :: HANDLE { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadMenuA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hinstance : T0__ , lpmenuname : T1__ , ) -> super :: MenusAndResources :: HMENU { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadMenuIndirectA < > ( lpmenutemplate : * const :: std :: ffi :: c_void , ) -> super :: MenusAndResources :: HMENU { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadMenuIndirectW < > ( lpmenutemplate : * const :: std :: ffi :: c_void , ) -> super :: MenusAndResources :: HMENU { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadMenuW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hinstance : T0__ , lpmenuname : T1__ , ) -> super :: MenusAndResources :: HMENU { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadResource < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HRSRC > , > ( hmodule : isize , hresinfo : T1__ , ) -> isize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadStringA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , > ( hinstance : T0__ , uid : u32 , lpbuffer : super :: SystemServices :: PSTR , cchbuffermax : i32 , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadStringW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , > ( hinstance : T0__ , uid : u32 , lpbuffer : super :: SystemServices :: PWSTR , cchbuffermax : i32 , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LockResource < > ( hresdata : isize , ) -> * mut :: std :: ffi :: c_void { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct LockSetForegroundWindow_uLockCodeFlags ( pub u32 ) ; impl LockSetForegroundWindow_uLockCodeFlags { pub const LSFW_LOCK : Self = Self ( 1u32 ) ; pub const LSFW_UNLOCK : Self = Self ( 2u32 ) ; } impl :: std :: convert :: From < u32 > for LockSetForegroundWindow_uLockCodeFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for LockSetForegroundWindow_uLockCodeFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for LockSetForegroundWindow_uLockCodeFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for LockSetForegroundWindow_uLockCodeFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for LockSetForegroundWindow_uLockCodeFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for LockSetForegroundWindow_uLockCodeFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn LockSetForegroundWindow < > ( ulockcode : LockSetForegroundWindow_uLockCodeFlags , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LogicalToPhysicalPoint < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , lppoint : * mut super :: DisplayDevices :: POINT , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LookupIconIdFromDirectory < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( presbits : * mut u8 , ficon : T1__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LookupIconIdFromDirectoryEx < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( presbits : * mut u8 , ficon : T1__ , cxdesired : i32 , cydesired : i32 , flags : super :: Controls :: ImageListLoadImage_uFlags , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub const MAPVK_VK_TO_CHAR : u32 = 2u32 ; pub const MAPVK_VK_TO_VSC : u32 = 0u32 ; pub const MAPVK_VK_TO_VSC_EX : u32 = 4u32 ; pub const MAPVK_VSC_TO_VK : u32 = 1u32 ; pub const MAPVK_VSC_TO_VK_EX : u32 = 3u32 ; pub const MAXIMUM_RESERVED_MANIFEST_RESOURCE_ID : u32 = 16u32 ; pub const MAX_LOGICALDPIOVERRIDE : u32 = 2u32 ; pub const MAX_STR_BLOCKREASON : u32 = 256u32 ; pub const MAX_TOUCH_COUNT : u32 = 256u32 ; pub const MAX_TOUCH_PREDICTION_FILTER_TAPS : u32 = 3u32 ; pub const MA_ACTIVATE : u32 = 1u32 ; pub const MA_ACTIVATEANDEAT : u32 = 2u32 ; pub const MA_NOACTIVATE : u32 = 3u32 ; pub const MA_NOACTIVATEANDEAT : u32 = 4u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MDICREATESTRUCTA { pub szClass : super :: SystemServices :: PSTR , pub szTitle : super :: SystemServices :: PSTR , pub hOwner : super :: SystemServices :: HANDLE , pub x : i32 , pub y : i32 , pub cx : i32 , pub cy : i32 , pub style : WINDOW_STYLE , pub lParam : LPARAM } impl MDICREATESTRUCTA { } impl :: std :: default :: Default for MDICREATESTRUCTA { fn default ( ) -> Self { Self { szClass : :: std :: default :: Default :: default ( ) , szTitle : :: std :: default :: Default :: default ( ) , hOwner : :: std :: default :: Default :: default ( ) , x : 0 , y : 0 , cx : 0 , cy : 0 , style : :: std :: default :: Default :: default ( ) , lParam : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for MDICREATESTRUCTA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MDICREATESTRUCTA" ) . field ( "szClass" , & format_args ! ( "{:?}" , self . szClass ) ) . field ( "szTitle" , & format_args ! ( "{:?}" , self . szTitle ) ) . field ( "hOwner" , & format_args ! ( "{:?}" , self . hOwner ) ) . field ( "x" , & format_args ! ( "{:?}" , self . x ) ) . field ( "y" , & format_args ! ( "{:?}" , self . y ) ) . field ( "cx" , & format_args ! ( "{:?}" , self . cx ) ) . field ( "cy" , & format_args ! ( "{:?}" , self . cy ) ) . field ( "style" , & format_args ! ( "{:?}" , self . style ) ) . field ( "lParam" , & format_args ! ( "{:?}" , self . lParam ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MDICREATESTRUCTA { fn eq ( & self , other : & Self ) -> bool { self . szClass == other . szClass && self . szTitle == other . szTitle && self . hOwner == other . hOwner && self . x == other . x && self . y == other . y && self . cx == other . cx && self . cy == other . cy && self . style == other . style && self . lParam == other . lParam } } impl :: std :: cmp :: Eq for MDICREATESTRUCTA { } unsafe impl :: windows :: Abi for MDICREATESTRUCTA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MDICREATESTRUCTW { pub szClass : super :: SystemServices :: PWSTR , pub szTitle : super :: SystemServices :: PWSTR , pub hOwner : super :: SystemServices :: HANDLE , pub x : i32 , pub y : i32 , pub cx : i32 , pub cy : i32 , pub style : WINDOW_STYLE , pub lParam : LPARAM } impl MDICREATESTRUCTW { } impl :: std :: default :: Default for MDICREATESTRUCTW { fn default ( ) -> Self { Self { szClass : :: std :: default :: Default :: default ( ) , szTitle : :: std :: default :: Default :: default ( ) , hOwner : :: std :: default :: Default :: default ( ) , x : 0 , y : 0 , cx : 0 , cy : 0 , style : :: std :: default :: Default :: default ( ) , lParam : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for MDICREATESTRUCTW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MDICREATESTRUCTW" ) . field ( "szClass" , & format_args ! ( "{:?}" , self . szClass ) ) . field ( "szTitle" , & format_args ! ( "{:?}" , self . szTitle ) ) . field ( "hOwner" , & format_args ! ( "{:?}" , self . hOwner ) ) . field ( "x" , & format_args ! ( "{:?}" , self . x ) ) . field ( "y" , & format_args ! ( "{:?}" , self . y ) ) . field ( "cx" , & format_args ! ( "{:?}" , self . cx ) ) . field ( "cy" , & format_args ! ( "{:?}" , self . cy ) ) . field ( "style" , & format_args ! ( "{:?}" , self . style ) ) . field ( "lParam" , & format_args ! ( "{:?}" , self . lParam ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MDICREATESTRUCTW { fn eq ( & self , other : & Self ) -> bool { self . szClass == other . szClass && self . szTitle == other . szTitle && self . hOwner == other . hOwner && self . x == other . x && self . y == other . y && self . cx == other . cx && self . cy == other . cy && self . style == other . style && self . lParam == other . lParam } } impl :: std :: cmp :: Eq for MDICREATESTRUCTW { } unsafe impl :: windows :: Abi for MDICREATESTRUCTW { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MDINEXTMENU { pub hmenuIn : super :: MenusAndResources :: HMENU , pub hmenuNext : super :: MenusAndResources :: HMENU , pub hwndNext : HWND } impl MDINEXTMENU { } impl :: std :: default :: Default for MDINEXTMENU { fn default ( ) -> Self { Self { hmenuIn : :: std :: default :: Default :: default ( ) , hmenuNext : :: std :: default :: Default :: default ( ) , hwndNext : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for MDINEXTMENU { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MDINEXTMENU" ) . field ( "hmenuIn" , & format_args ! ( "{:?}" , self . hmenuIn ) ) . field ( "hmenuNext" , & format_args ! ( "{:?}" , self . hmenuNext ) ) . field ( "hwndNext" , & format_args ! ( "{:?}" , self . hwndNext ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MDINEXTMENU { fn eq ( & self , other : & Self ) -> bool { self . hmenuIn == other . hmenuIn && self . hmenuNext == other . hmenuNext && self . hwndNext == other . hwndNext } } impl :: std :: cmp :: Eq for MDINEXTMENU { } unsafe impl :: windows :: Abi for MDINEXTMENU { type Abi = Self ; } pub const MDIS_ALLCHILDSTYLES : u32 = 1u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MENUGETOBJECTINFO_dwFlags ( pub u32 ) ; impl MENUGETOBJECTINFO_dwFlags { pub const MNGOF_BOTTOMGAP : Self = Self ( 2u32 ) ; pub const MNGOF_TOPGAP : Self = Self ( 1u32 ) ; } impl :: std :: convert :: From < u32 > for MENUGETOBJECTINFO_dwFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MENUGETOBJECTINFO_dwFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for MENUGETOBJECTINFO_dwFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for MENUGETOBJECTINFO_dwFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for MENUGETOBJECTINFO_dwFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for MENUGETOBJECTINFO_dwFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MENUGETOBJECTINFO { pub dwFlags : MENUGETOBJECTINFO_dwFlags , pub uPos : u32 , pub hmenu : super :: MenusAndResources :: HMENU , pub riid : * mut :: std :: ffi :: c_void , pub pvObj : * mut :: std :: ffi :: c_void } impl MENUGETOBJECTINFO { } impl :: std :: default :: Default for MENUGETOBJECTINFO { fn default ( ) -> Self { Self { dwFlags : :: std :: default :: Default :: default ( ) , uPos : 0 , hmenu : :: std :: default :: Default :: default ( ) , riid : :: std :: ptr :: null_mut ( ) , pvObj : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for MENUGETOBJECTINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MENUGETOBJECTINFO" ) . field ( "dwFlags" , & format_args ! ( "{:?}" , self . dwFlags ) ) . field ( "uPos" , & format_args ! ( "{:?}" , self . uPos ) ) . field ( "hmenu" , & format_args ! ( "{:?}" , self . hmenu ) ) . field ( "riid" , & format_args ! ( "{:?}" , self . riid ) ) . field ( "pvObj" , & format_args ! ( "{:?}" , self . pvObj ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MENUGETOBJECTINFO { fn eq ( & self , other : & Self ) -> bool { self . dwFlags == other . dwFlags && self . uPos == other . uPos && self . hmenu == other . hmenu && self . riid == other . riid && self . pvObj == other . pvObj } } impl :: std :: cmp :: Eq for MENUGETOBJECTINFO { } unsafe impl :: windows :: Abi for MENUGETOBJECTINFO { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MENUITEMTEMPLATE { pub mtOption : u16 , pub mtID : u16 , pub mtString : [ u16 ;1 ] } impl MENUITEMTEMPLATE { } impl :: std :: default :: Default for MENUITEMTEMPLATE { fn default ( ) -> Self { Self { mtOption : 0 , mtID : 0 , mtString : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for MENUITEMTEMPLATE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MENUITEMTEMPLATE" ) . field ( "mtOption" , & format_args ! ( "{:?}" , self . mtOption ) ) . field ( "mtID" , & format_args ! ( "{:?}" , self . mtID ) ) . field ( "mtString" , & format_args ! ( "{:?}" , self . mtString ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MENUITEMTEMPLATE { fn eq ( & self , other : & Self ) -> bool { self . mtOption == other . mtOption && self . mtID == other . mtID && self . mtString == other . mtString } } impl :: std :: cmp :: Eq for MENUITEMTEMPLATE { } unsafe impl :: windows :: Abi for MENUITEMTEMPLATE { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MENUITEMTEMPLATEHEADER { pub versionNumber : u16 , pub offset : u16 } impl MENUITEMTEMPLATEHEADER { } impl :: std :: default :: Default for MENUITEMTEMPLATEHEADER { fn default ( ) -> Self { Self { versionNumber : 0 , offset : 0 } } } impl :: std :: fmt :: Debug for MENUITEMTEMPLATEHEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MENUITEMTEMPLATEHEADER" ) . field ( "versionNumber" , & format_args ! ( "{:?}" , self . versionNumber ) ) . field ( "offset" , & format_args ! ( "{:?}" , self . offset ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MENUITEMTEMPLATEHEADER { fn eq ( & self , other : & Self ) -> bool { self . versionNumber == other . versionNumber && self . offset == other . offset } } impl :: std :: cmp :: Eq for MENUITEMTEMPLATEHEADER { } unsafe impl :: windows :: Abi for MENUITEMTEMPLATEHEADER { type Abi = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MESSAGEBOX_RESULT ( pub i32 ) ; impl MESSAGEBOX_RESULT { pub const IDOK : Self = Self ( 1i32 ) ; pub const IDCANCEL : Self = Self ( 2i32 ) ; pub const IDABORT : Self = Self ( 3i32 ) ; pub const IDRETRY : Self = Self ( 4i32 ) ; pub const IDIGNORE : Self = Self ( 5i32 ) ; pub const IDYES : Self = Self ( 6i32 ) ; pub const IDNO : Self = Self ( 7i32 ) ; pub const IDCLOSE : Self = Self ( 8i32 ) ; pub const IDHELP : Self = Self ( 9i32 ) ; pub const IDTRYAGAIN : Self = Self ( 10i32 ) ; pub const IDCONTINUE : Self = Self ( 11i32 ) ; pub const IDASYNC : Self = Self ( 32001i32 ) ; pub const IDTIMEOUT : Self = Self ( 32000i32 ) ; } impl :: std :: convert :: From < i32 > for MESSAGEBOX_RESULT { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MESSAGEBOX_RESULT { type Abi = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MESSAGEBOX_STYLE ( pub u32 ) ; impl MESSAGEBOX_STYLE { pub const MB_OK : Self = Self ( 0u32 ) ; pub const MB_ABORTRETRYIGNORE : Self = Self ( 2u32 ) ; pub const MB_CANCELTRYCONTINUE : Self = Self ( 6u32 ) ; pub const MB_HELP : Self = Self ( 16384u32 ) ; pub const MB_OKCANCEL : Self = Self ( 1u32 ) ; pub const MB_RETRYCANCEL : Self = Self ( 5u32 ) ; pub const MB_YESNO : Self = Self ( 4u32 ) ; pub const MB_YESNOCANCEL : Self = Self ( 3u32 ) ; pub const MB_ICONHAND : Self = Self ( 16u32 ) ; pub const MB_ICONQUESTION : Self = Self ( 32u32 ) ; pub const MB_ICONEXCLAMATION : Self = Self ( 48u32 ) ; pub const MB_ICONASTERISK : Self = Self ( 64u32 ) ; pub const MB_USERICON : Self = Self ( 128u32 ) ; pub const MB_ICONWARNING : Self = Self ( 48u32 ) ; pub const MB_ICONERROR : Self = Self ( 16u32 ) ; pub const MB_ICONINFORMATION : Self = Self ( 64u32 ) ; pub const MB_ICONSTOP : Self = Self ( 16u32 ) ; pub const MB_DEFBUTTON1 : Self = Self ( 0u32 ) ; pub const MB_DEFBUTTON2 : Self = Self ( 256u32 ) ; pub const MB_DEFBUTTON3 : Self = Self ( 512u32 ) ; pub const MB_DEFBUTTON4 : Self = Self ( 768u32 ) ; pub const MB_APPLMODAL : Self = Self ( 0u32 ) ; pub const MB_SYSTEMMODAL : Self = Self ( 4096u32 ) ; pub const MB_TASKMODAL : Self = Self ( 8192u32 ) ; pub const MB_NOFOCUS : Self = Self ( 32768u32 ) ; pub const MB_SETFOREGROUND : Self = Self ( 65536u32 ) ; pub const MB_DEFAULT_DESKTOP_ONLY : Self = Self ( 131072u32 ) ; pub const MB_TOPMOST : Self = Self ( 262144u32 ) ; pub const MB_RIGHT : Self = Self ( 524288u32 ) ; pub const MB_RTLREADING : Self = Self ( 1048576u32 ) ; pub const MB_SERVICE_NOTIFICATION : Self = Self ( 2097152u32 ) ; pub const MB_SERVICE_NOTIFICATION_NT3X : Self = Self ( 262144u32 ) ; pub const MB_TYPEMASK : Self = Self ( 15u32 ) ; pub const MB_ICONMASK : Self = Self ( 240u32 ) ; pub const MB_DEFMASK : Self = Self ( 3840u32 ) ; pub const MB_MODEMASK : Self = Self ( 12288u32 ) ; pub const MB_MISCMASK : Self = Self ( 49152u32 ) ; } impl :: std :: convert :: From < u32 > for MESSAGEBOX_STYLE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MESSAGEBOX_STYLE { type Abi = Self ; } impl :: std :: ops :: BitOr for MESSAGEBOX_STYLE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for MESSAGEBOX_STYLE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for MESSAGEBOX_STYLE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for MESSAGEBOX_STYLE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MESSAGE_RESOURCE_BLOCK { pub LowId : u32 , pub HighId : u32 , pub OffsetToEntries : u32 } impl MESSAGE_RESOURCE_BLOCK { } impl :: std :: default :: Default for MESSAGE_RESOURCE_BLOCK { fn default ( ) -> Self { Self { LowId : 0 , HighId : 0 , OffsetToEntries : 0 } } } impl :: std :: fmt :: Debug for MESSAGE_RESOURCE_BLOCK { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MESSAGE_RESOURCE_BLOCK" ) . field ( "LowId" , & format_args ! ( "{:?}" , self . LowId ) ) . field ( "HighId" , & format_args ! ( "{:?}" , self . HighId ) ) . field ( "OffsetToEntries" , & format_args ! ( "{:?}" , self . OffsetToEntries ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MESSAGE_RESOURCE_BLOCK { fn eq ( & self , other : & Self ) -> bool { self . LowId == other . LowId && self . HighId == other . HighId && self . OffsetToEntries == other . OffsetToEntries } } impl :: std :: cmp :: Eq for MESSAGE_RESOURCE_BLOCK { } unsafe impl :: windows :: Abi for MESSAGE_RESOURCE_BLOCK { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MESSAGE_RESOURCE_DATA { pub NumberOfBlocks : u32 , pub Blocks : [ MESSAGE_RESOURCE_BLOCK ;1 ] } impl MESSAGE_RESOURCE_DATA { } impl :: std :: default :: Default for MESSAGE_RESOURCE_DATA { fn default ( ) -> Self { Self { NumberOfBlocks : 0 , Blocks : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for MESSAGE_RESOURCE_DATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MESSAGE_RESOURCE_DATA" ) . field ( "NumberOfBlocks" , & format_args ! ( "{:?}" , self . NumberOfBlocks ) ) . field ( "Blocks" , & format_args ! ( "{:?}" , self . Blocks ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MESSAGE_RESOURCE_DATA { fn eq ( & self , other : & Self ) -> bool { self . NumberOfBlocks == other . NumberOfBlocks && self . Blocks == other . Blocks } } impl :: std :: cmp :: Eq for MESSAGE_RESOURCE_DATA { } unsafe impl :: windows :: Abi for MESSAGE_RESOURCE_DATA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MESSAGE_RESOURCE_ENTRY { pub Length : u16 , pub Flags : u16 , pub Text : [ u8 ;1 ] } impl MESSAGE_RESOURCE_ENTRY { } impl :: std :: default :: Default for MESSAGE_RESOURCE_ENTRY { fn default ( ) -> Self { Self { Length : 0 , Flags : 0 , Text : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for MESSAGE_RESOURCE_ENTRY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MESSAGE_RESOURCE_ENTRY" ) . field ( "Length" , & format_args ! ( "{:?}" , self . Length ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "Text" , & format_args ! ( "{:?}" , self . Text ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MESSAGE_RESOURCE_ENTRY { fn eq ( & self , other : & Self ) -> bool { self . Length == other . Length && self . Flags == other . Flags && self . Text == other . Text } } impl :: std :: cmp :: Eq for MESSAGE_RESOURCE_ENTRY { } unsafe impl :: windows :: Abi for MESSAGE_RESOURCE_ENTRY { type Abi = Self ; } pub const METRICS_USEDEFAULT : i32 = -1i32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MINIMIZEDMETRICS_iArrangeFlags ( pub i32 ) ; impl MINIMIZEDMETRICS_iArrangeFlags { pub const ARW_BOTTOMLEFT : Self = Self ( 0i32 ) ; pub const ARW_BOTTOMRIGHT : Self = Self ( 1i32 ) ; pub const ARW_TOPLEFT : Self = Self ( 2i32 ) ; pub const ARW_TOPRIGHT : Self = Self ( 3i32 ) ; } impl :: std :: convert :: From < i32 > for MINIMIZEDMETRICS_iArrangeFlags { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MINIMIZEDMETRICS_iArrangeFlags { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MINIMIZEDMETRICS { pub cbSize : u32 , pub iWidth : i32 , pub iHorzGap : i32 , pub iVertGap : i32 , pub iArrange : MINIMIZEDMETRICS_iArrangeFlags } impl MINIMIZEDMETRICS { } impl :: std :: default :: Default for MINIMIZEDMETRICS { fn default ( ) -> Self { Self { cbSize : 0 , iWidth : 0 , iHorzGap : 0 , iVertGap : 0 , iArrange : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for MINIMIZEDMETRICS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MINIMIZEDMETRICS" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "iWidth" , & format_args ! ( "{:?}" , self . iWidth ) ) . field ( "iHorzGap" , & format_args ! ( "{:?}" , self . iHorzGap ) ) . field ( "iVertGap" , & format_args ! ( "{:?}" , self . iVertGap ) ) . field ( "iArrange" , & format_args ! ( "{:?}" , self . iArrange ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MINIMIZEDMETRICS { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . iWidth == other . iWidth && self . iHorzGap == other . iHorzGap && self . iVertGap == other . iVertGap && self . iArrange == other . iArrange } } impl :: std :: cmp :: Eq for MINIMIZEDMETRICS { } unsafe impl :: windows :: Abi for MINIMIZEDMETRICS { type Abi = Self ; } pub const MINIMUM_RESERVED_MANIFEST_RESOURCE_ID : u32 = 1u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MINMAXINFO { pub ptReserved : super :: DisplayDevices :: POINT , pub ptMaxSize : super :: DisplayDevices :: POINT , pub ptMaxPosition : super :: DisplayDevices :: POINT , pub ptMinTrackSize : super :: DisplayDevices :: POINT , pub ptMaxTrackSize : super :: DisplayDevices :: POINT } impl MINMAXINFO { } impl :: std :: default :: Default for MINMAXINFO { fn default ( ) -> Self { Self { ptReserved : :: std :: default :: Default :: default ( ) , ptMaxSize : :: std :: default :: Default :: default ( ) , ptMaxPosition : :: std :: default :: Default :: default ( ) , ptMinTrackSize : :: std :: default :: Default :: default ( ) , ptMaxTrackSize : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for MINMAXINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MINMAXINFO" ) . field ( "ptReserved" , & format_args ! ( "{:?}" , self . ptReserved ) ) . field ( "ptMaxSize" , & format_args ! ( "{:?}" , self . ptMaxSize ) ) . field ( "ptMaxPosition" , & format_args ! ( "{:?}" , self . ptMaxPosition ) ) . field ( "ptMinTrackSize" , & format_args ! ( "{:?}" , self . ptMinTrackSize ) ) . field ( "ptMaxTrackSize" , & format_args ! ( "{:?}" , self . ptMaxTrackSize ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MINMAXINFO { fn eq ( & self , other : & Self ) -> bool { self . ptReserved == other . ptReserved && self . ptMaxSize == other . ptMaxSize && self . ptMaxPosition == other . ptMaxPosition && self . ptMinTrackSize == other . ptMinTrackSize && self . ptMaxTrackSize == other . ptMaxTrackSize } } impl :: std :: cmp :: Eq for MINMAXINFO { } unsafe impl :: windows :: Abi for MINMAXINFO { type Abi = Self ; } pub const MIN_LOGICALDPIOVERRIDE : i32 = -2i32 ; pub const MKF_AVAILABLE : u32 = 2u32 ; pub const MKF_CONFIRMHOTKEY : u32 = 8u32 ; pub const MKF_HOTKEYACTIVE : u32 = 4u32 ; pub const MKF_HOTKEYSOUND : u32 = 16u32 ; pub const MKF_INDICATOR : u32 = 32u32 ; pub const MKF_LEFTBUTTONDOWN : u32 = 16777216u32 ; pub const MKF_LEFTBUTTONSEL : u32 = 268435456u32 ; pub const MKF_MODIFIERS : u32 = 64u32 ; pub const MKF_MOUSEKEYSON : u32 = 1u32 ; pub const MKF_MOUSEMODE : u32 = 2147483648u32 ; pub const MKF_REPLACENUMBERS : u32 = 128u32 ; pub const MKF_RIGHTBUTTONDOWN : u32 = 33554432u32 ; pub const MKF_RIGHTBUTTONSEL : u32 = 536870912u32 ; pub const MK_CONTROL : u32 = 8u32 ; pub const MK_LBUTTON : u32 = 1u32 ; pub const MK_MBUTTON : u32 = 16u32 ; pub const MK_RBUTTON : u32 = 2u32 ; pub const MK_SHIFT : u32 = 4u32 ; pub const MK_XBUTTON1 : u32 = 32u32 ; pub const MK_XBUTTON2 : u32 = 64u32 ; pub const MNC_CLOSE : u32 = 1u32 ; pub const MNC_EXECUTE : u32 = 2u32 ; pub const MNC_IGNORE : u32 = 0u32 ; pub const MNC_SELECT : u32 = 3u32 ; pub const MND_CONTINUE : u32 = 0u32 ; pub const MND_ENDMENU : u32 = 1u32 ; pub const MNGO_NOERROR : u32 = 1u32 ; pub const MNGO_NOINTERFACE : u32 = 0u32 ; pub const MN_GETHMENU : u32 = 481u32 ; pub const MONITORINFOF_PRIMARY : u32 = 1u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MOUSEHOOKSTRUCT { pub pt : super :: DisplayDevices :: POINT , pub hwnd : HWND , pub wHitTestCode : u32 , pub dwExtraInfo : usize } impl MOUSEHOOKSTRUCT { } impl :: std :: default :: Default for MOUSEHOOKSTRUCT { fn default ( ) -> Self { Self { pt : :: std :: default :: Default :: default ( ) , hwnd : :: std :: default :: Default :: default ( ) , wHitTestCode : 0 , dwExtraInfo : 0 } } } impl :: std :: fmt :: Debug for MOUSEHOOKSTRUCT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MOUSEHOOKSTRUCT" ) . field ( "pt" , & format_args ! ( "{:?}" , self . pt ) ) . field ( "hwnd" , & format_args ! ( "{:?}" , self . hwnd ) ) . field ( "wHitTestCode" , & format_args ! ( "{:?}" , self . wHitTestCode ) ) . field ( "dwExtraInfo" , & format_args ! ( "{:?}" , self . dwExtraInfo ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MOUSEHOOKSTRUCT { fn eq ( & self , other : & Self ) -> bool { self . pt == other . pt && self . hwnd == other . hwnd && self . wHitTestCode == other . wHitTestCode && self . dwExtraInfo == other . dwExtraInfo } } impl :: std :: cmp :: Eq for MOUSEHOOKSTRUCT { } unsafe impl :: windows :: Abi for MOUSEHOOKSTRUCT { type Abi = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MOUSEHOOKSTRUCTEX_mouseData ( pub u32 ) ; impl MOUSEHOOKSTRUCTEX_mouseData { pub const XBUTTON1 : Self = Self ( 1u32 ) ; pub const XBUTTON2 : Self = Self ( 2u32 ) ; } impl :: std :: convert :: From < u32 > for MOUSEHOOKSTRUCTEX_mouseData { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MOUSEHOOKSTRUCTEX_mouseData { type Abi = Self ; } impl :: std :: ops :: BitOr for MOUSEHOOKSTRUCTEX_mouseData { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for MOUSEHOOKSTRUCTEX_mouseData { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for MOUSEHOOKSTRUCTEX_mouseData { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for MOUSEHOOKSTRUCTEX_mouseData { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MOUSEHOOKSTRUCTEX { pub __AnonymousBase_winuser_L1173_C46 : MOUSEHOOKSTRUCT , pub mouseData : MOUSEHOOKSTRUCTEX_mouseData } impl MOUSEHOOKSTRUCTEX { } impl :: std :: default :: Default for MOUSEHOOKSTRUCTEX { fn default ( ) -> Self { Self { __AnonymousBase_winuser_L1173_C46 : :: std :: default :: Default :: default ( ) , mouseData : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for MOUSEHOOKSTRUCTEX { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MOUSEHOOKSTRUCTEX" ) . field ( "__AnonymousBase_winuser_L1173_C46" , & format_args ! ( "{:?}" , self . __AnonymousBase_winuser_L1173_C46 ) ) . field ( "mouseData" , & format_args ! ( "{:?}" , self . mouseData ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MOUSEHOOKSTRUCTEX { fn eq ( & self , other : & Self ) -> bool { self . __AnonymousBase_winuser_L1173_C46 == other . __AnonymousBase_winuser_L1173_C46 && self . mouseData == other . mouseData } } impl :: std :: cmp :: Eq for MOUSEHOOKSTRUCTEX { } unsafe impl :: windows :: Abi for MOUSEHOOKSTRUCTEX { type Abi = Self ; } pub const MOUSEWHEEL_ROUTING_FOCUS : u32 = 0u32 ; pub const MOUSEWHEEL_ROUTING_HYBRID : u32 = 1u32 ; pub const MOUSEWHEEL_ROUTING_MOUSE_POS : u32 = 2u32 ; pub type MSGBOXCALLBACK = extern "system" fn ( lphelpinfo : * mut super :: Shell :: HELPINFO ) ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MSGBOXPARAMSA { pub cbSize : u32 , pub hwndOwner : HWND , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpszText : super :: SystemServices :: PSTR , pub lpszCaption : super :: SystemServices :: PSTR , pub dwStyle : MESSAGEBOX_STYLE , pub lpszIcon : super :: SystemServices :: PSTR , pub dwContextHelpId : usize , pub lpfnMsgBoxCallback : :: std :: option :: Option < MSGBOXCALLBACK > , pub dwLanguageId : u32 } impl MSGBOXPARAMSA { } impl :: std :: default :: Default for MSGBOXPARAMSA { fn default ( ) -> Self { Self { cbSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , lpszText : :: std :: default :: Default :: default ( ) , lpszCaption : :: std :: default :: Default :: default ( ) , dwStyle : :: std :: default :: Default :: default ( ) , lpszIcon : :: std :: default :: Default :: default ( ) , dwContextHelpId : 0 , lpfnMsgBoxCallback : :: std :: default :: Default :: default ( ) , dwLanguageId : 0 } } } impl :: std :: fmt :: Debug for MSGBOXPARAMSA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MSGBOXPARAMSA" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lpszText" , & format_args ! ( "{:?}" , self . lpszText ) ) . field ( "lpszCaption" , & format_args ! ( "{:?}" , self . lpszCaption ) ) . field ( "dwStyle" , & format_args ! ( "{:?}" , self . dwStyle ) ) . field ( "lpszIcon" , & format_args ! ( "{:?}" , self . lpszIcon ) ) . field ( "dwContextHelpId" , & format_args ! ( "{:?}" , self . dwContextHelpId ) ) . field ( "dwLanguageId" , & format_args ! ( "{:?}" , self . dwLanguageId ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MSGBOXPARAMSA { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . hwndOwner == other . hwndOwner && self . hInstance == other . hInstance && self . lpszText == other . lpszText && self . lpszCaption == other . lpszCaption && self . dwStyle == other . dwStyle && self . lpszIcon == other . lpszIcon && self . dwContextHelpId == other . dwContextHelpId && self . lpfnMsgBoxCallback . map ( | f | f as usize ) == other . lpfnMsgBoxCallback . map ( | f | f as usize ) && self . dwLanguageId == other . dwLanguageId } } impl :: std :: cmp :: Eq for MSGBOXPARAMSA { } unsafe impl :: windows :: Abi for MSGBOXPARAMSA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MSGBOXPARAMSW { pub cbSize : u32 , pub hwndOwner : HWND , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpszText : super :: SystemServices :: PWSTR , pub lpszCaption : super :: SystemServices :: PWSTR , pub dwStyle : MESSAGEBOX_STYLE , pub lpszIcon : super :: SystemServices :: PWSTR , pub dwContextHelpId : usize , pub lpfnMsgBoxCallback : :: std :: option :: Option < MSGBOXCALLBACK > , pub dwLanguageId : u32 } impl MSGBOXPARAMSW { } impl :: std :: default :: Default for MSGBOXPARAMSW { fn default ( ) -> Self { Self { cbSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , lpszText : :: std :: default :: Default :: default ( ) , lpszCaption : :: std :: default :: Default :: default ( ) , dwStyle : :: std :: default :: Default :: default ( ) , lpszIcon : :: std :: default :: Default :: default ( ) , dwContextHelpId : 0 , lpfnMsgBoxCallback : :: std :: default :: Default :: default ( ) , dwLanguageId : 0 } } } impl :: std :: fmt :: Debug for MSGBOXPARAMSW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MSGBOXPARAMSW" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lpszText" , & format_args ! ( "{:?}" , self . lpszText ) ) . field ( "lpszCaption" , & format_args ! ( "{:?}" , self . lpszCaption ) ) . field ( "dwStyle" , & format_args ! ( "{:?}" , self . dwStyle ) ) . field ( "lpszIcon" , & format_args ! ( "{:?}" , self . lpszIcon ) ) . field ( "dwContextHelpId" , & format_args ! ( "{:?}" , self . dwContextHelpId ) ) . field ( "dwLanguageId" , & format_args ! ( "{:?}" , self . dwLanguageId ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MSGBOXPARAMSW { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . hwndOwner == other . hwndOwner && self . hInstance == other . hInstance && self . lpszText == other . lpszText && self . lpszCaption == other . lpszCaption && self . dwStyle == other . dwStyle && self . lpszIcon == other . lpszIcon && self . dwContextHelpId == other . dwContextHelpId && self . lpfnMsgBoxCallback . map ( | f | f as usize ) == other . lpfnMsgBoxCallback . map ( | f | f as usize ) && self . dwLanguageId == other . dwLanguageId } } impl :: std :: cmp :: Eq for MSGBOXPARAMSW { } unsafe impl :: windows :: Abi for MSGBOXPARAMSW { type Abi = Self ; } pub const MSGF_DIALOGBOX : u32 = 0u32 ; pub const MSGF_MAX : u32 = 8u32 ; pub const MSGF_MENU : u32 = 2u32 ; pub const MSGF_MESSAGEBOX : u32 = 1u32 ; pub const MSGF_NEXTWINDOW : u32 = 6u32 ; pub const MSGF_SCROLLBAR : u32 = 5u32 ; pub const MSGF_USER : u32 = 4096u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MSLLHOOKSTRUCT { pub pt : super :: DisplayDevices :: POINT , pub mouseData : MOUSEHOOKSTRUCTEX_mouseData , pub flags : u32 , pub time : u32 , pub dwExtraInfo : usize } impl MSLLHOOKSTRUCT { } impl :: std :: default :: Default for MSLLHOOKSTRUCT { fn default ( ) -> Self { Self { pt : :: std :: default :: Default :: default ( ) , mouseData : :: std :: default :: Default :: default ( ) , flags : 0 , time : 0 , dwExtraInfo : 0 } } } impl :: std :: fmt :: Debug for MSLLHOOKSTRUCT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MSLLHOOKSTRUCT" ) . field ( "pt" , & format_args ! ( "{:?}" , self . pt ) ) . field ( "mouseData" , & format_args ! ( "{:?}" , self . mouseData ) ) . field ( "flags" , & format_args ! ( "{:?}" , self . flags ) ) . field ( "time" , & format_args ! ( "{:?}" , self . time ) ) . field ( "dwExtraInfo" , & format_args ! ( "{:?}" , self . dwExtraInfo ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MSLLHOOKSTRUCT { fn eq ( & self , other : & Self ) -> bool { self . pt == other . pt && self . mouseData == other . mouseData && self . flags == other . flags && self . time == other . time && self . dwExtraInfo == other . dwExtraInfo } } impl :: std :: cmp :: Eq for MSLLHOOKSTRUCT { } unsafe impl :: windows :: Abi for MSLLHOOKSTRUCT { type Abi = Self ; } pub unsafe fn MapDialogRect < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hdlg : T0__ , lprect : * mut super :: DisplayDevices :: RECT , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MenuItemFromPoint < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T2__ : :: windows :: IntoParam < 'a , super :: DisplayDevices :: POINT > , > ( hwnd : T0__ , hmenu : T1__ , ptscreen : T2__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MessageBoxA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hwnd : T0__ , lptext : T1__ , lpcaption : T2__ , utype : MESSAGEBOX_STYLE , ) -> MESSAGEBOX_RESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MessageBoxExA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hwnd : T0__ , lptext : T1__ , lpcaption : T2__ , utype : MESSAGEBOX_STYLE , wlanguageid : u16 , ) -> MESSAGEBOX_RESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MessageBoxExW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hwnd : T0__ , lptext : T1__ , lpcaption : T2__ , utype : MESSAGEBOX_STYLE , wlanguageid : u16 , ) -> MESSAGEBOX_RESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MessageBoxIndirectA < > ( lpmbp : * const MSGBOXPARAMSA , ) -> MESSAGEBOX_RESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MessageBoxIndirectW < > ( lpmbp : * const MSGBOXPARAMSW , ) -> MESSAGEBOX_RESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MessageBoxW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hwnd : T0__ , lptext : T1__ , lpcaption : T2__ , utype : MESSAGEBOX_STYLE , ) -> MESSAGEBOX_RESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ModifyMenuA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T4__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hmnu : T0__ , uposition : u32 , uflags : MENU_ITEM_FLAGS , uidnewitem : usize , lpnewitem : T4__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ModifyMenuW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T4__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hmnu : T0__ , uposition : u32 , uflags : MENU_ITEM_FLAGS , uidnewitem : usize , lpnewitem : T4__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MoveWindow < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T5__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( hwnd : T0__ , x : i32 , y : i32 , nwidth : i32 , nheight : i32 , brepaint : T5__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MrmPlatformVersion ( pub i32 ) ; impl MrmPlatformVersion { pub const MrmPlatformVersion_Default : Self = Self ( 0i32 ) ; pub const MrmPlatformVersion_Windows10_0_0_0 : Self = Self ( 17432576i32 ) ; pub const MrmPlatformVersion_Windows10_0_0_5 : Self = Self ( 17432581i32 ) ; } impl :: std :: convert :: From < i32 > for MrmPlatformVersion { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MrmPlatformVersion { type Abi = Self ; } pub unsafe fn MrmCreateConfig < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( platformversion : MrmPlatformVersion , defaultqualifiers : T1__ , outputxmlfile : T2__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MrmCreateConfigInMemory < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( platformversion : MrmPlatformVersion , defaultqualifiers : T1__ , outputxmldata : * mut * mut u8 , outputxmlsize : * mut u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MrmResourceIndexerHandle { pub handle : * mut :: std :: ffi :: c_void } impl MrmResourceIndexerHandle { } impl :: std :: default :: Default for MrmResourceIndexerHandle { fn default ( ) -> Self { Self { handle : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for MrmResourceIndexerHandle { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MrmResourceIndexerHandle" ) . field ( "handle" , & format_args ! ( "{:?}" , self . handle ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MrmResourceIndexerHandle { fn eq ( & self , other : & Self ) -> bool { self . handle == other . handle } } impl :: std :: cmp :: Eq for MrmResourceIndexerHandle { } unsafe impl :: windows :: Abi for MrmResourceIndexerHandle { type Abi = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MrmPackagingMode ( pub i32 ) ; impl MrmPackagingMode { pub const MrmPackagingModeStandaloneFile : Self = Self ( 0i32 ) ; pub const MrmPackagingModeAutoSplit : Self = Self ( 1i32 ) ; pub const MrmPackagingModeResourcePack : Self = Self ( 2i32 ) ; } impl :: std :: convert :: From < i32 > for MrmPackagingMode { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MrmPackagingMode { type Abi = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MrmPackagingOptions ( pub i32 ) ; impl MrmPackagingOptions { pub const MrmPackagingOptionsNone : Self = Self ( 0i32 ) ; pub const MrmPackagingOptionsOmitSchemaFromResourcePacks : Self = Self ( 1i32 ) ; pub const MrmPackagingOptionsSplitLanguageVariants : Self = Self ( 2i32 ) ; } impl :: std :: convert :: From < i32 > for MrmPackagingOptions { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MrmPackagingOptions { type Abi = Self ; } pub unsafe fn MrmCreateResourceFile < 'a , T0__ : :: windows :: IntoParam < 'a , MrmResourceIndexerHandle > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( indexer : T0__ , packagingmode : MrmPackagingMode , packagingoptions : MrmPackagingOptions , outputdirectory : T3__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MrmCreateResourceFileInMemory < 'a , T0__ : :: windows :: IntoParam < 'a , MrmResourceIndexerHandle > , > ( indexer : T0__ , packagingmode : MrmPackagingMode , packagingoptions : MrmPackagingOptions , outputpridata : * mut * mut u8 , outputprisize : * mut u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MrmCreateResourceIndexer < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( packagefamilyname : T0__ , projectroot : T1__ , platformversion : MrmPlatformVersion , defaultqualifiers : T3__ , indexer : * mut MrmResourceIndexerHandle , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MrmCreateResourceIndexerFromPreviousPriData < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( projectroot : T0__ , platformversion : MrmPlatformVersion , defaultqualifiers : T2__ , pridata : * mut u8 , prisize : u32 , indexer : * mut MrmResourceIndexerHandle , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MrmCreateResourceIndexerFromPreviousPriFile < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( projectroot : T0__ , platformversion : MrmPlatformVersion , defaultqualifiers : T2__ , prifile : T3__ , indexer : * mut MrmResourceIndexerHandle , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MrmCreateResourceIndexerFromPreviousSchemaData < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( projectroot : T0__ , platformversion : MrmPlatformVersion , defaultqualifiers : T2__ , schemaxmldata : * mut u8 , schemaxmlsize : u32 , indexer : * mut MrmResourceIndexerHandle , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MrmCreateResourceIndexerFromPreviousSchemaFile < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( projectroot : T0__ , platformversion : MrmPlatformVersion , defaultqualifiers : T2__ , schemafile : T3__ , indexer : * mut MrmResourceIndexerHandle , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MrmDestroyIndexerAndMessages < 'a , T0__ : :: windows :: IntoParam < 'a , MrmResourceIndexerHandle > , > ( indexer : T0__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MrmDumpType ( pub i32 ) ; impl MrmDumpType { pub const MrmDumpType_Basic : Self = Self ( 0i32 ) ; pub const MrmDumpType_Detailed : Self = Self ( 1i32 ) ; pub const MrmDumpType_Schema : Self = Self ( 2i32 ) ; } impl :: std :: convert :: From < i32 > for MrmDumpType { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MrmDumpType { type Abi = Self ; } pub unsafe fn MrmDumpPriDataInMemory < > ( inputpridata : * mut u8 , inputprisize : u32 , schemapridata : * mut u8 , schemaprisize : u32 , dumptype : MrmDumpType , outputxmldata : * mut * mut u8 , outputxmlsize : * mut u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MrmDumpPriFile < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( indexfilename : T0__ , schemaprifile : T1__ , dumptype : MrmDumpType , outputxmlfile : T3__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MrmDumpPriFileInMemory < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( indexfilename : T0__ , schemaprifile : T1__ , dumptype : MrmDumpType , outputxmldata : * mut * mut u8 , outputxmlsize : * mut u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MrmFreeMemory < > ( data : * mut u8 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MrmIndexEmbeddedData < 'a , T0__ : :: windows :: IntoParam < 'a , MrmResourceIndexerHandle > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T4__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( indexer : T0__ , resourceuri : T1__ , embeddeddata : * const u8 , embeddeddatasize : u32 , qualifiers : T4__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MrmIndexFile < 'a , T0__ : :: windows :: IntoParam < 'a , MrmResourceIndexerHandle > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( indexer : T0__ , resourceuri : T1__ , filepath : T2__ , qualifiers : T3__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MrmIndexFileAutoQualifiers < 'a , T0__ : :: windows :: IntoParam < 'a , MrmResourceIndexerHandle > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( indexer : T0__ , filepath : T1__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MrmIndexResourceContainerAutoQualifiers < 'a , T0__ : :: windows :: IntoParam < 'a , MrmResourceIndexerHandle > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( indexer : T0__ , containerpath : T1__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MrmIndexString < 'a , T0__ : :: windows :: IntoParam < 'a , MrmResourceIndexerHandle > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( indexer : T0__ , resourceuri : T1__ , resourcestring : T2__ , qualifiers : T3__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MrmResourceIndexerMessageSeverity ( pub i32 ) ; impl MrmResourceIndexerMessageSeverity { pub const MrmResourceIndexerMessageSeverityVerbose : Self = Self ( 0i32 ) ; pub const MrmResourceIndexerMessageSeverityInfo : Self = Self ( 1i32 ) ; pub const MrmResourceIndexerMessageSeverityWarning : Self = Self ( 2i32 ) ; pub const MrmResourceIndexerMessageSeverityError : Self = Self ( 3i32 ) ; } impl :: std :: convert :: From < i32 > for MrmResourceIndexerMessageSeverity { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MrmResourceIndexerMessageSeverity { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MrmResourceIndexerMessage { pub severity : MrmResourceIndexerMessageSeverity , pub id : u32 , pub text : super :: SystemServices :: PWSTR } impl MrmResourceIndexerMessage { } impl :: std :: default :: Default for MrmResourceIndexerMessage { fn default ( ) -> Self { Self { severity : :: std :: default :: Default :: default ( ) , id : 0 , text : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for MrmResourceIndexerMessage { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MrmResourceIndexerMessage" ) . field ( "severity" , & format_args ! ( "{:?}" , self . severity ) ) . field ( "id" , & format_args ! ( "{:?}" , self . id ) ) . field ( "text" , & format_args ! ( "{:?}" , self . text ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MrmResourceIndexerMessage { fn eq ( & self , other : & Self ) -> bool { self . severity == other . severity && self . id == other . id && self . text == other . text } } impl :: std :: cmp :: Eq for MrmResourceIndexerMessage { } unsafe impl :: windows :: Abi for MrmResourceIndexerMessage { type Abi = Self ; } pub unsafe fn MrmPeekResourceIndexerMessages < 'a , T0__ : :: windows :: IntoParam < 'a , MrmResourceIndexerHandle > , > ( handle : T0__ , messages : * mut * mut MrmResourceIndexerMessage , nummsgs : * mut u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub type NAMEENUMPROCA = extern "system" fn ( param0 : super :: SystemServices :: PSTR , param1 : LPARAM ) -> super :: SystemServices :: BOOL ; pub type NAMEENUMPROCW = extern "system" fn ( param0 : super :: SystemServices :: PWSTR , param1 : LPARAM ) -> super :: SystemServices :: BOOL ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct WINDOWPOS { pub hwnd : HWND , pub hwndInsertAfter : HWND , pub x : i32 , pub y : i32 , pub cx : i32 , pub cy : i32 , pub flags : SetWindowPos_uFlags } impl WINDOWPOS { } impl :: std :: default :: Default for WINDOWPOS { fn default ( ) -> Self { Self { hwnd : :: std :: default :: Default :: default ( ) , hwndInsertAfter : :: std :: default :: Default :: default ( ) , x : 0 , y : 0 , cx : 0 , cy : 0 , flags : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for WINDOWPOS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WINDOWPOS" ) . field ( "hwnd" , & format_args ! ( "{:?}" , self . hwnd ) ) . field ( "hwndInsertAfter" , & format_args ! ( "{:?}" , self . hwndInsertAfter ) ) . field ( "x" , & format_args ! ( "{:?}" , self . x ) ) . field ( "y" , & format_args ! ( "{:?}" , self . y ) ) . field ( "cx" , & format_args ! ( "{:?}" , self . cx ) ) . field ( "cy" , & format_args ! ( "{:?}" , self . cy ) ) . field ( "flags" , & format_args ! ( "{:?}" , self . flags ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WINDOWPOS { fn eq ( & self , other : & Self ) -> bool { self . hwnd == other . hwnd && self . hwndInsertAfter == other . hwndInsertAfter && self . x == other . x && self . y == other . y && self . cx == other . cx && self . cy == other . cy && self . flags == other . flags } } impl :: std :: cmp :: Eq for WINDOWPOS { } unsafe impl :: windows :: Abi for WINDOWPOS { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct NCCALCSIZE_PARAMS { pub rgrc : [ super :: DisplayDevices :: RECT ;3 ] , pub lppos : * mut WINDOWPOS } impl NCCALCSIZE_PARAMS { } impl :: std :: default :: Default for NCCALCSIZE_PARAMS { fn default ( ) -> Self { Self { rgrc : [ :: std :: default :: Default :: default ( ) ;3 ] , lppos : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for NCCALCSIZE_PARAMS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NCCALCSIZE_PARAMS" ) . field ( "rgrc" , & format_args ! ( "{:?}" , self . rgrc ) ) . field ( "lppos" , & format_args ! ( "{:?}" , self . lppos ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NCCALCSIZE_PARAMS { fn eq ( & self , other : & Self ) -> bool { self . rgrc == other . rgrc && self . lppos == other . lppos } } impl :: std :: cmp :: Eq for NCCALCSIZE_PARAMS { } unsafe impl :: windows :: Abi for NCCALCSIZE_PARAMS { type Abi = Self ; } pub const NFR_ANSI : u32 = 1u32 ; pub const NFR_UNICODE : u32 = 2u32 ; pub const NF_QUERY : u32 = 3u32 ; pub const NF_REQUERY : u32 = 4u32 ; pub const NID_EXTERNAL_PEN : u32 = 8u32 ; pub const NID_EXTERNAL_TOUCH : u32 = 2u32 ; pub const NID_INTEGRATED_PEN : u32 = 4u32 ; pub const NID_INTEGRATED_TOUCH : u32 = 1u32 ; pub const NID_MULTI_INPUT : u32 = 64u32 ; pub const NID_READY : u32 = 128u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct NONCLIENTMETRICSA { pub cbSize : u32 , pub iBorderWidth : i32 , pub iScrollWidth : i32 , pub iScrollHeight : i32 , pub iCaptionWidth : i32 , pub iCaptionHeight : i32 , pub lfCaptionFont : super :: Shell :: LOGFONTA , pub iSmCaptionWidth : i32 , pub iSmCaptionHeight : i32 , pub lfSmCaptionFont : super :: Shell :: LOGFONTA , pub iMenuWidth : i32 , pub iMenuHeight : i32 , pub lfMenuFont : super :: Shell :: LOGFONTA , pub lfStatusFont : super :: Shell :: LOGFONTA , pub lfMessageFont : super :: Shell :: LOGFONTA , pub iPaddedBorderWidth : i32 } impl NONCLIENTMETRICSA { } impl :: std :: default :: Default for NONCLIENTMETRICSA { fn default ( ) -> Self { Self { cbSize : 0 , iBorderWidth : 0 , iScrollWidth : 0 , iScrollHeight : 0 , iCaptionWidth : 0 , iCaptionHeight : 0 , lfCaptionFont : :: std :: default :: Default :: default ( ) , iSmCaptionWidth : 0 , iSmCaptionHeight : 0 , lfSmCaptionFont : :: std :: default :: Default :: default ( ) , iMenuWidth : 0 , iMenuHeight : 0 , lfMenuFont : :: std :: default :: Default :: default ( ) , lfStatusFont : :: std :: default :: Default :: default ( ) , lfMessageFont : :: std :: default :: Default :: default ( ) , iPaddedBorderWidth : 0 } } } impl :: std :: fmt :: Debug for NONCLIENTMETRICSA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NONCLIENTMETRICSA" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "iBorderWidth" , & format_args ! ( "{:?}" , self . iBorderWidth ) ) . field ( "iScrollWidth" , & format_args ! ( "{:?}" , self . iScrollWidth ) ) . field ( "iScrollHeight" , & format_args ! ( "{:?}" , self . iScrollHeight ) ) . field ( "iCaptionWidth" , & format_args ! ( "{:?}" , self . iCaptionWidth ) ) . field ( "iCaptionHeight" , & format_args ! ( "{:?}" , self . iCaptionHeight ) ) . field ( "lfCaptionFont" , & format_args ! ( "{:?}" , self . lfCaptionFont ) ) . field ( "iSmCaptionWidth" , & format_args ! ( "{:?}" , self . iSmCaptionWidth ) ) . field ( "iSmCaptionHeight" , & format_args ! ( "{:?}" , self . iSmCaptionHeight ) ) . field ( "lfSmCaptionFont" , & format_args ! ( "{:?}" , self . lfSmCaptionFont ) ) . field ( "iMenuWidth" , & format_args ! ( "{:?}" , self . iMenuWidth ) ) . field ( "iMenuHeight" , & format_args ! ( "{:?}" , self . iMenuHeight ) ) . field ( "lfMenuFont" , & format_args ! ( "{:?}" , self . lfMenuFont ) ) . field ( "lfStatusFont" , & format_args ! ( "{:?}" , self . lfStatusFont ) ) . field ( "lfMessageFont" , & format_args ! ( "{:?}" , self . lfMessageFont ) ) . field ( "iPaddedBorderWidth" , & format_args ! ( "{:?}" , self . iPaddedBorderWidth ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NONCLIENTMETRICSA { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . iBorderWidth == other . iBorderWidth && self . iScrollWidth == other . iScrollWidth && self . iScrollHeight == other . iScrollHeight && self . iCaptionWidth == other . iCaptionWidth && self . iCaptionHeight == other . iCaptionHeight && self . lfCaptionFont == other . lfCaptionFont && self . iSmCaptionWidth == other . iSmCaptionWidth && self . iSmCaptionHeight == other . iSmCaptionHeight && self . lfSmCaptionFont == other . lfSmCaptionFont && self . iMenuWidth == other . iMenuWidth && self . iMenuHeight == other . iMenuHeight && self . lfMenuFont == other . lfMenuFont && self . lfStatusFont == other . lfStatusFont && self . lfMessageFont == other . lfMessageFont && self . iPaddedBorderWidth == other . iPaddedBorderWidth } } impl :: std :: cmp :: Eq for NONCLIENTMETRICSA { } unsafe impl :: windows :: Abi for NONCLIENTMETRICSA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct NONCLIENTMETRICSW { pub cbSize : u32 , pub iBorderWidth : i32 , pub iScrollWidth : i32 , pub iScrollHeight : i32 , pub iCaptionWidth : i32 , pub iCaptionHeight : i32 , pub lfCaptionFont : super :: Shell :: LOGFONTW , pub iSmCaptionWidth : i32 , pub iSmCaptionHeight : i32 , pub lfSmCaptionFont : super :: Shell :: LOGFONTW , pub iMenuWidth : i32 , pub iMenuHeight : i32 , pub lfMenuFont : super :: Shell :: LOGFONTW , pub lfStatusFont : super :: Shell :: LOGFONTW , pub lfMessageFont : super :: Shell :: LOGFONTW , pub iPaddedBorderWidth : i32 } impl NONCLIENTMETRICSW { } impl :: std :: default :: Default for NONCLIENTMETRICSW { fn default ( ) -> Self { Self { cbSize : 0 , iBorderWidth : 0 , iScrollWidth : 0 , iScrollHeight : 0 , iCaptionWidth : 0 , iCaptionHeight : 0 , lfCaptionFont : :: std :: default :: Default :: default ( ) , iSmCaptionWidth : 0 , iSmCaptionHeight : 0 , lfSmCaptionFont : :: std :: default :: Default :: default ( ) , iMenuWidth : 0 , iMenuHeight : 0 , lfMenuFont : :: std :: default :: Default :: default ( ) , lfStatusFont : :: std :: default :: Default :: default ( ) , lfMessageFont : :: std :: default :: Default :: default ( ) , iPaddedBorderWidth : 0 } } } impl :: std :: fmt :: Debug for NONCLIENTMETRICSW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NONCLIENTMETRICSW" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "iBorderWidth" , & format_args ! ( "{:?}" , self . iBorderWidth ) ) . field ( "iScrollWidth" , & format_args ! ( "{:?}" , self . iScrollWidth ) ) . field ( "iScrollHeight" , & format_args ! ( "{:?}" , self . iScrollHeight ) ) . field ( "iCaptionWidth" , & format_args ! ( "{:?}" , self . iCaptionWidth ) ) . field ( "iCaptionHeight" , & format_args ! ( "{:?}" , self . iCaptionHeight ) ) . field ( "lfCaptionFont" , & format_args ! ( "{:?}" , self . lfCaptionFont ) ) . field ( "iSmCaptionWidth" , & format_args ! ( "{:?}" , self . iSmCaptionWidth ) ) . field ( "iSmCaptionHeight" , & format_args ! ( "{:?}" , self . iSmCaptionHeight ) ) . field ( "lfSmCaptionFont" , & format_args ! ( "{:?}" , self . lfSmCaptionFont ) ) . field ( "iMenuWidth" , & format_args ! ( "{:?}" , self . iMenuWidth ) ) . field ( "iMenuHeight" , & format_args ! ( "{:?}" , self . iMenuHeight ) ) . field ( "lfMenuFont" , & format_args ! ( "{:?}" , self . lfMenuFont ) ) . field ( "lfStatusFont" , & format_args ! ( "{:?}" , self . lfStatusFont ) ) . field ( "lfMessageFont" , & format_args ! ( "{:?}" , self . lfMessageFont ) ) . field ( "iPaddedBorderWidth" , & format_args ! ( "{:?}" , self . iPaddedBorderWidth ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NONCLIENTMETRICSW { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . iBorderWidth == other . iBorderWidth && self . iScrollWidth == other . iScrollWidth && self . iScrollHeight == other . iScrollHeight && self . iCaptionWidth == other . iCaptionWidth && self . iCaptionHeight == other . iCaptionHeight && self . lfCaptionFont == other . lfCaptionFont && self . iSmCaptionWidth == other . iSmCaptionWidth && self . iSmCaptionHeight == other . iSmCaptionHeight && self . lfSmCaptionFont == other . lfSmCaptionFont && self . iMenuWidth == other . iMenuWidth && self . iMenuHeight == other . iMenuHeight && self . lfMenuFont == other . lfMenuFont && self . lfStatusFont == other . lfStatusFont && self . lfMessageFont == other . lfMessageFont && self . iPaddedBorderWidth == other . iPaddedBorderWidth } } impl :: std :: cmp :: Eq for NONCLIENTMETRICSW { } unsafe impl :: windows :: Abi for NONCLIENTMETRICSW { type Abi = Self ; } pub const OBM_BTNCORNERS : u32 = 32758u32 ; pub const OBM_BTSIZE : u32 = 32761u32 ; pub const OBM_CHECK : u32 = 32760u32 ; pub const OBM_CHECKBOXES : u32 = 32759u32 ; pub const OBM_CLOSE : u32 = 32754u32 ; pub const OBM_COMBO : u32 = 32738u32 ; pub const OBM_DNARROW : u32 = 32752u32 ; pub const OBM_DNARROWD : u32 = 32742u32 ; pub const OBM_DNARROWI : u32 = 32736u32 ; pub const OBM_LFARROW : u32 = 32750u32 ; pub const OBM_LFARROWD : u32 = 32740u32 ; pub const OBM_LFARROWI : u32 = 32734u32 ; pub const OBM_MNARROW : u32 = 32739u32 ; pub const OBM_OLD_CLOSE : u32 = 32767u32 ; pub const OBM_OLD_DNARROW : u32 = 32764u32 ; pub const OBM_OLD_LFARROW : u32 = 32762u32 ; pub const OBM_OLD_REDUCE : u32 = 32757u32 ; pub const OBM_OLD_RESTORE : u32 = 32755u32 ; pub const OBM_OLD_RGARROW : u32 = 32763u32 ; pub const OBM_OLD_UPARROW : u32 = 32765u32 ; pub const OBM_OLD_ZOOM : u32 = 32756u32 ; pub const OBM_REDUCE : u32 = 32749u32 ; pub const OBM_REDUCED : u32 = 32746u32 ; pub const OBM_RESTORE : u32 = 32747u32 ; pub const OBM_RESTORED : u32 = 32744u32 ; pub const OBM_RGARROW : u32 = 32751u32 ; pub const OBM_RGARROWD : u32 = 32741u32 ; pub const OBM_RGARROWI : u32 = 32735u32 ; pub const OBM_SIZE : u32 = 32766u32 ; pub const OBM_UPARROW : u32 = 32753u32 ; pub const OBM_UPARROWD : u32 = 32743u32 ; pub const OBM_UPARROWI : u32 = 32737u32 ; pub const OBM_ZOOM : u32 = 32748u32 ; pub const OBM_ZOOMD : u32 = 32745u32 ; pub const OCR_ICOCUR : u32 = 32647u32 ; pub const OCR_ICON : u32 = 32641u32 ; pub const OCR_SIZE : u32 = 32640u32 ; pub const ODA_DRAWENTIRE : u32 = 1u32 ; pub const ODA_FOCUS : u32 = 4u32 ; pub const ODA_SELECT : u32 = 2u32 ; pub const ODS_CHECKED : u32 = 8u32 ; pub const ODS_COMBOBOXEDIT : u32 = 4096u32 ; pub const ODS_DEFAULT : u32 = 32u32 ; pub const ODS_DISABLED : u32 = 4u32 ; pub const ODS_FOCUS : u32 = 16u32 ; pub const ODS_GRAYED : u32 = 2u32 ; pub const ODS_HOTLIGHT : u32 = 64u32 ; pub const ODS_INACTIVE : u32 = 128u32 ; pub const ODS_NOACCEL : u32 = 256u32 ; pub const ODS_NOFOCUSRECT : u32 = 512u32 ; pub const ODS_SELECTED : u32 = 1u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OFNOTIFYA { pub hdr : super :: Controls :: NMHDR , pub lpOFN : * mut OPENFILENAMEA , pub pszFile : super :: SystemServices :: PSTR } impl OFNOTIFYA { } impl :: std :: default :: Default for OFNOTIFYA { fn default ( ) -> Self { Self { hdr : :: std :: default :: Default :: default ( ) , lpOFN : :: std :: ptr :: null_mut ( ) , pszFile : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for OFNOTIFYA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OFNOTIFYA" ) . field ( "hdr" , & format_args ! ( "{:?}" , self . hdr ) ) . field ( "lpOFN" , & format_args ! ( "{:?}" , self . lpOFN ) ) . field ( "pszFile" , & format_args ! ( "{:?}" , self . pszFile ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OFNOTIFYA { fn eq ( & self , other : & Self ) -> bool { self . hdr == other . hdr && self . lpOFN == other . lpOFN && self . pszFile == other . pszFile } } impl :: std :: cmp :: Eq for OFNOTIFYA { } unsafe impl :: windows :: Abi for OFNOTIFYA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OFNOTIFYEXA { pub hdr : super :: Controls :: NMHDR , pub lpOFN : * mut OPENFILENAMEA , pub psf : * mut :: std :: ffi :: c_void , pub pidl : * mut :: std :: ffi :: c_void } impl OFNOTIFYEXA { } impl :: std :: default :: Default for OFNOTIFYEXA { fn default ( ) -> Self { Self { hdr : :: std :: default :: Default :: default ( ) , lpOFN : :: std :: ptr :: null_mut ( ) , psf : :: std :: ptr :: null_mut ( ) , pidl : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for OFNOTIFYEXA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OFNOTIFYEXA" ) . field ( "hdr" , & format_args ! ( "{:?}" , self . hdr ) ) . field ( "lpOFN" , & format_args ! ( "{:?}" , self . lpOFN ) ) . field ( "psf" , & format_args ! ( "{:?}" , self . psf ) ) . field ( "pidl" , & format_args ! ( "{:?}" , self . pidl ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OFNOTIFYEXA { fn eq ( & self , other : & Self ) -> bool { self . hdr == other . hdr && self . lpOFN == other . lpOFN && self . psf == other . psf && self . pidl == other . pidl } } impl :: std :: cmp :: Eq for OFNOTIFYEXA { } unsafe impl :: windows :: Abi for OFNOTIFYEXA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OFNOTIFYEXW { pub hdr : super :: Controls :: NMHDR , pub lpOFN : * mut OPENFILENAMEW , pub psf : * mut :: std :: ffi :: c_void , pub pidl : * mut :: std :: ffi :: c_void } impl OFNOTIFYEXW { } impl :: std :: default :: Default for OFNOTIFYEXW { fn default ( ) -> Self { Self { hdr : :: std :: default :: Default :: default ( ) , lpOFN : :: std :: ptr :: null_mut ( ) , psf : :: std :: ptr :: null_mut ( ) , pidl : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for OFNOTIFYEXW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OFNOTIFYEXW" ) . field ( "hdr" , & format_args ! ( "{:?}" , self . hdr ) ) . field ( "lpOFN" , & format_args ! ( "{:?}" , self . lpOFN ) ) . field ( "psf" , & format_args ! ( "{:?}" , self . psf ) ) . field ( "pidl" , & format_args ! ( "{:?}" , self . pidl ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OFNOTIFYEXW { fn eq ( & self , other : & Self ) -> bool { self . hdr == other . hdr && self . lpOFN == other . lpOFN && self . psf == other . psf && self . pidl == other . pidl } } impl :: std :: cmp :: Eq for OFNOTIFYEXW { } unsafe impl :: windows :: Abi for OFNOTIFYEXW { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OFNOTIFYW { pub hdr : super :: Controls :: NMHDR , pub lpOFN : * mut OPENFILENAMEW , pub pszFile : super :: SystemServices :: PWSTR } impl OFNOTIFYW { } impl :: std :: default :: Default for OFNOTIFYW { fn default ( ) -> Self { Self { hdr : :: std :: default :: Default :: default ( ) , lpOFN : :: std :: ptr :: null_mut ( ) , pszFile : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for OFNOTIFYW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OFNOTIFYW" ) . field ( "hdr" , & format_args ! ( "{:?}" , self . hdr ) ) . field ( "lpOFN" , & format_args ! ( "{:?}" , self . lpOFN ) ) . field ( "pszFile" , & format_args ! ( "{:?}" , self . pszFile ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OFNOTIFYW { fn eq ( & self , other : & Self ) -> bool { self . hdr == other . hdr && self . lpOFN == other . lpOFN && self . pszFile == other . pszFile } } impl :: std :: cmp :: Eq for OFNOTIFYW { } unsafe impl :: windows :: Abi for OFNOTIFYW { type Abi = Self ; } pub const OFN_SHAREFALLTHROUGH : u32 = 2u32 ; pub const OFN_SHARENOWARN : u32 = 1u32 ; pub const OFN_SHAREWARN : u32 = 0u32 ; pub const OIC_BANG : u32 = 32515u32 ; pub const OIC_HAND : u32 = 32513u32 ; pub const OIC_NOTE : u32 = 32516u32 ; pub const OIC_QUES : u32 = 32514u32 ; pub const OIC_SAMPLE : u32 = 32512u32 ; pub const OIC_SHIELD : u32 = 32518u32 ; pub const OIC_WINLOGO : u32 = 32517u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OPENFILENAME_NT4A { pub lStructSize : u32 , pub hwndOwner : HWND , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpstrFilter : super :: SystemServices :: PSTR , pub lpstrCustomFilter : super :: SystemServices :: PSTR , pub nMaxCustFilter : u32 , pub nFilterIndex : u32 , pub lpstrFile : super :: SystemServices :: PSTR , pub nMaxFile : u32 , pub lpstrFileTitle : super :: SystemServices :: PSTR , pub nMaxFileTitle : u32 , pub lpstrInitialDir : super :: SystemServices :: PSTR , pub lpstrTitle : super :: SystemServices :: PSTR , pub Flags : u32 , pub nFileOffset : u16 , pub nFileExtension : u16 , pub lpstrDefExt : super :: SystemServices :: PSTR , pub lCustData : LPARAM , pub lpfnHook : :: std :: option :: Option < LPOFNHOOKPROC > , pub lpTemplateName : super :: SystemServices :: PSTR } impl OPENFILENAME_NT4A { } impl :: std :: default :: Default for OPENFILENAME_NT4A { fn default ( ) -> Self { Self { lStructSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , lpstrFilter : :: std :: default :: Default :: default ( ) , lpstrCustomFilter : :: std :: default :: Default :: default ( ) , nMaxCustFilter : 0 , nFilterIndex : 0 , lpstrFile : :: std :: default :: Default :: default ( ) , nMaxFile : 0 , lpstrFileTitle : :: std :: default :: Default :: default ( ) , nMaxFileTitle : 0 , lpstrInitialDir : :: std :: default :: Default :: default ( ) , lpstrTitle : :: std :: default :: Default :: default ( ) , Flags : 0 , nFileOffset : 0 , nFileExtension : 0 , lpstrDefExt : :: std :: default :: Default :: default ( ) , lCustData : :: std :: default :: Default :: default ( ) , lpfnHook : :: std :: default :: Default :: default ( ) , lpTemplateName : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for OPENFILENAME_NT4A { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OPENFILENAME_NT4A" ) . field ( "lStructSize" , & format_args ! ( "{:?}" , self . lStructSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lpstrFilter" , & format_args ! ( "{:?}" , self . lpstrFilter ) ) . field ( "lpstrCustomFilter" , & format_args ! ( "{:?}" , self . lpstrCustomFilter ) ) . field ( "nMaxCustFilter" , & format_args ! ( "{:?}" , self . nMaxCustFilter ) ) . field ( "nFilterIndex" , & format_args ! ( "{:?}" , self . nFilterIndex ) ) . field ( "lpstrFile" , & format_args ! ( "{:?}" , self . lpstrFile ) ) . field ( "nMaxFile" , & format_args ! ( "{:?}" , self . nMaxFile ) ) . field ( "lpstrFileTitle" , & format_args ! ( "{:?}" , self . lpstrFileTitle ) ) . field ( "nMaxFileTitle" , & format_args ! ( "{:?}" , self . nMaxFileTitle ) ) . field ( "lpstrInitialDir" , & format_args ! ( "{:?}" , self . lpstrInitialDir ) ) . field ( "lpstrTitle" , & format_args ! ( "{:?}" , self . lpstrTitle ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "nFileOffset" , & format_args ! ( "{:?}" , self . nFileOffset ) ) . field ( "nFileExtension" , & format_args ! ( "{:?}" , self . nFileExtension ) ) . field ( "lpstrDefExt" , & format_args ! ( "{:?}" , self . lpstrDefExt ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "lpTemplateName" , & format_args ! ( "{:?}" , self . lpTemplateName ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OPENFILENAME_NT4A { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . hwndOwner == other . hwndOwner && self . hInstance == other . hInstance && self . lpstrFilter == other . lpstrFilter && self . lpstrCustomFilter == other . lpstrCustomFilter && self . nMaxCustFilter == other . nMaxCustFilter && self . nFilterIndex == other . nFilterIndex && self . lpstrFile == other . lpstrFile && self . nMaxFile == other . nMaxFile && self . lpstrFileTitle == other . lpstrFileTitle && self . nMaxFileTitle == other . nMaxFileTitle && self . lpstrInitialDir == other . lpstrInitialDir && self . lpstrTitle == other . lpstrTitle && self . Flags == other . Flags && self . nFileOffset == other . nFileOffset && self . nFileExtension == other . nFileExtension && self . lpstrDefExt == other . lpstrDefExt && self . lCustData == other . lCustData && self . lpfnHook . map ( | f | f as usize ) == other . lpfnHook . map ( | f | f as usize ) && self . lpTemplateName == other . lpTemplateName } } impl :: std :: cmp :: Eq for OPENFILENAME_NT4A { } unsafe impl :: windows :: Abi for OPENFILENAME_NT4A { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OPENFILENAME_NT4W { pub lStructSize : u32 , pub hwndOwner : HWND , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpstrFilter : super :: SystemServices :: PWSTR , pub lpstrCustomFilter : super :: SystemServices :: PWSTR , pub nMaxCustFilter : u32 , pub nFilterIndex : u32 , pub lpstrFile : super :: SystemServices :: PWSTR , pub nMaxFile : u32 , pub lpstrFileTitle : super :: SystemServices :: PWSTR , pub nMaxFileTitle : u32 , pub lpstrInitialDir : super :: SystemServices :: PWSTR , pub lpstrTitle : super :: SystemServices :: PWSTR , pub Flags : u32 , pub nFileOffset : u16 , pub nFileExtension : u16 , pub lpstrDefExt : super :: SystemServices :: PWSTR , pub lCustData : LPARAM , pub lpfnHook : :: std :: option :: Option < LPOFNHOOKPROC > , pub lpTemplateName : super :: SystemServices :: PWSTR } impl OPENFILENAME_NT4W { } impl :: std :: default :: Default for OPENFILENAME_NT4W { fn default ( ) -> Self { Self { lStructSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , lpstrFilter : :: std :: default :: Default :: default ( ) , lpstrCustomFilter : :: std :: default :: Default :: default ( ) , nMaxCustFilter : 0 , nFilterIndex : 0 , lpstrFile : :: std :: default :: Default :: default ( ) , nMaxFile : 0 , lpstrFileTitle : :: std :: default :: Default :: default ( ) , nMaxFileTitle : 0 , lpstrInitialDir : :: std :: default :: Default :: default ( ) , lpstrTitle : :: std :: default :: Default :: default ( ) , Flags : 0 , nFileOffset : 0 , nFileExtension : 0 , lpstrDefExt : :: std :: default :: Default :: default ( ) , lCustData : :: std :: default :: Default :: default ( ) , lpfnHook : :: std :: default :: Default :: default ( ) , lpTemplateName : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for OPENFILENAME_NT4W { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OPENFILENAME_NT4W" ) . field ( "lStructSize" , & format_args ! ( "{:?}" , self . lStructSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lpstrFilter" , & format_args ! ( "{:?}" , self . lpstrFilter ) ) . field ( "lpstrCustomFilter" , & format_args ! ( "{:?}" , self . lpstrCustomFilter ) ) . field ( "nMaxCustFilter" , & format_args ! ( "{:?}" , self . nMaxCustFilter ) ) . field ( "nFilterIndex" , & format_args ! ( "{:?}" , self . nFilterIndex ) ) . field ( "lpstrFile" , & format_args ! ( "{:?}" , self . lpstrFile ) ) . field ( "nMaxFile" , & format_args ! ( "{:?}" , self . nMaxFile ) ) . field ( "lpstrFileTitle" , & format_args ! ( "{:?}" , self . lpstrFileTitle ) ) . field ( "nMaxFileTitle" , & format_args ! ( "{:?}" , self . nMaxFileTitle ) ) . field ( "lpstrInitialDir" , & format_args ! ( "{:?}" , self . lpstrInitialDir ) ) . field ( "lpstrTitle" , & format_args ! ( "{:?}" , self . lpstrTitle ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "nFileOffset" , & format_args ! ( "{:?}" , self . nFileOffset ) ) . field ( "nFileExtension" , & format_args ! ( "{:?}" , self . nFileExtension ) ) . field ( "lpstrDefExt" , & format_args ! ( "{:?}" , self . lpstrDefExt ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "lpTemplateName" , & format_args ! ( "{:?}" , self . lpTemplateName ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OPENFILENAME_NT4W { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . hwndOwner == other . hwndOwner && self . hInstance == other . hInstance && self . lpstrFilter == other . lpstrFilter && self . lpstrCustomFilter == other . lpstrCustomFilter && self . nMaxCustFilter == other . nMaxCustFilter && self . nFilterIndex == other . nFilterIndex && self . lpstrFile == other . lpstrFile && self . nMaxFile == other . nMaxFile && self . lpstrFileTitle == other . lpstrFileTitle && self . nMaxFileTitle == other . nMaxFileTitle && self . lpstrInitialDir == other . lpstrInitialDir && self . lpstrTitle == other . lpstrTitle && self . Flags == other . Flags && self . nFileOffset == other . nFileOffset && self . nFileExtension == other . nFileExtension && self . lpstrDefExt == other . lpstrDefExt && self . lCustData == other . lCustData && self . lpfnHook . map ( | f | f as usize ) == other . lpfnHook . map ( | f | f as usize ) && self . lpTemplateName == other . lpTemplateName } } impl :: std :: cmp :: Eq for OPENFILENAME_NT4W { } unsafe impl :: windows :: Abi for OPENFILENAME_NT4W { type Abi = Self ; } pub const ORD_LANGDRIVER : u32 = 1u32 ; pub unsafe fn OemToCharA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( psrc : T0__ , pdst : super :: SystemServices :: PSTR , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OemToCharBuffA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpszsrc : T0__ , lpszdst : super :: SystemServices :: PSTR , cchdstlength : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OemToCharBuffW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpszsrc : T0__ , lpszdst : super :: SystemServices :: PWSTR , cchdstlength : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OemToCharW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( psrc : T0__ , pdst : super :: SystemServices :: PWSTR , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OpenIcon < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct PAGESETUPDLGA_Flags ( pub u32 ) ; impl PAGESETUPDLGA_Flags { pub const PSD_DEFAULTMINMARGINS : Self = Self ( 0u32 ) ; pub const PSD_DISABLEMARGINS : Self = Self ( 16u32 ) ; pub const PSD_DISABLEORIENTATION : Self = Self ( 256u32 ) ; pub const PSD_DISABLEPAGEPAINTING : Self = Self ( 524288u32 ) ; pub const PSD_DISABLEPAPER : Self = Self ( 512u32 ) ; pub const PSD_DISABLEPRINTER : Self = Self ( 32u32 ) ; pub const PSD_ENABLEPAGEPAINTHOOK : Self = Self ( 262144u32 ) ; pub const PSD_ENABLEPAGESETUPHOOK : Self = Self ( 8192u32 ) ; pub const PSD_ENABLEPAGESETUPTEMPLATE : Self = Self ( 32768u32 ) ; pub const PSD_ENABLEPAGESETUPTEMPLATEHANDLE : Self = Self ( 131072u32 ) ; pub const PSD_INHUNDREDTHSOFMILLIMETERS : Self = Self ( 8u32 ) ; pub const PSD_INTHOUSANDTHSOFINCHES : Self = Self ( 4u32 ) ; pub const PSD_INWININIINTLMEASURE : Self = Self ( 0u32 ) ; pub const PSD_MARGINS : Self = Self ( 2u32 ) ; pub const PSD_MINMARGINS : Self = Self ( 1u32 ) ; pub const PSD_NONETWORKBUTTON : Self = Self ( 2097152u32 ) ; pub const PSD_NOWARNING : Self = Self ( 128u32 ) ; pub const PSD_RETURNDEFAULT : Self = Self ( 1024u32 ) ; pub const PSD_SHOWHELP : Self = Self ( 2048u32 ) ; } impl :: std :: convert :: From < u32 > for PAGESETUPDLGA_Flags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PAGESETUPDLGA_Flags { type Abi = Self ; } impl :: std :: ops :: BitOr for PAGESETUPDLGA_Flags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for PAGESETUPDLGA_Flags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for PAGESETUPDLGA_Flags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for PAGESETUPDLGA_Flags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct PAGESETUPDLGA { pub lStructSize : u32 , pub hwndOwner : HWND , pub hDevMode : isize , pub hDevNames : isize , pub Flags : PAGESETUPDLGA_Flags , pub ptPaperSize : super :: DisplayDevices :: POINT , pub rtMinMargin : super :: DisplayDevices :: RECT , pub rtMargin : super :: DisplayDevices :: RECT , pub hInstance : super :: SystemServices :: HINSTANCE , pub lCustData : LPARAM , pub lpfnPageSetupHook : :: std :: option :: Option < LPPAGESETUPHOOK > , pub lpfnPagePaintHook : :: std :: option :: Option < LPPAGEPAINTHOOK > , pub lpPageSetupTemplateName : super :: SystemServices :: PSTR , pub hPageSetupTemplate : isize } impl PAGESETUPDLGA { } impl :: std :: default :: Default for PAGESETUPDLGA { fn default ( ) -> Self { Self { lStructSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hDevMode : 0 , hDevNames : 0 , Flags : :: std :: default :: Default :: default ( ) , ptPaperSize : :: std :: default :: Default :: default ( ) , rtMinMargin : :: std :: default :: Default :: default ( ) , rtMargin : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , lCustData : :: std :: default :: Default :: default ( ) , lpfnPageSetupHook : :: std :: default :: Default :: default ( ) , lpfnPagePaintHook : :: std :: default :: Default :: default ( ) , lpPageSetupTemplateName : :: std :: default :: Default :: default ( ) , hPageSetupTemplate : 0 } } } impl :: std :: fmt :: Debug for PAGESETUPDLGA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PAGESETUPDLGA" ) . field ( "lStructSize" , & format_args ! ( "{:?}" , self . lStructSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hDevMode" , & format_args ! ( "{:?}" , self . hDevMode ) ) . field ( "hDevNames" , & format_args ! ( "{:?}" , self . hDevNames ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "ptPaperSize" , & format_args ! ( "{:?}" , self . ptPaperSize ) ) . field ( "rtMinMargin" , & format_args ! ( "{:?}" , self . rtMinMargin ) ) . field ( "rtMargin" , & format_args ! ( "{:?}" , self . rtMargin ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "lpPageSetupTemplateName" , & format_args ! ( "{:?}" , self . lpPageSetupTemplateName ) ) . field ( "hPageSetupTemplate" , & format_args ! ( "{:?}" , self . hPageSetupTemplate ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PAGESETUPDLGA { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . hwndOwner == other . hwndOwner && self . hDevMode == other . hDevMode && self . hDevNames == other . hDevNames && self . Flags == other . Flags && self . ptPaperSize == other . ptPaperSize && self . rtMinMargin == other . rtMinMargin && self . rtMargin == other . rtMargin && self . hInstance == other . hInstance && self . lCustData == other . lCustData && self . lpfnPageSetupHook . map ( | f | f as usize ) == other . lpfnPageSetupHook . map ( | f | f as usize ) && self . lpfnPagePaintHook . map ( | f | f as usize ) == other . lpfnPagePaintHook . map ( | f | f as usize ) && self . lpPageSetupTemplateName == other . lpPageSetupTemplateName && self . hPageSetupTemplate == other . hPageSetupTemplate } } impl :: std :: cmp :: Eq for PAGESETUPDLGA { } unsafe impl :: windows :: Abi for PAGESETUPDLGA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct PAGESETUPDLGW { pub lStructSize : u32 , pub hwndOwner : HWND , pub hDevMode : isize , pub hDevNames : isize , pub Flags : PAGESETUPDLGA_Flags , pub ptPaperSize : super :: DisplayDevices :: POINT , pub rtMinMargin : super :: DisplayDevices :: RECT , pub rtMargin : super :: DisplayDevices :: RECT , pub hInstance : super :: SystemServices :: HINSTANCE , pub lCustData : LPARAM , pub lpfnPageSetupHook : :: std :: option :: Option < LPPAGESETUPHOOK > , pub lpfnPagePaintHook : :: std :: option :: Option < LPPAGEPAINTHOOK > , pub lpPageSetupTemplateName : super :: SystemServices :: PWSTR , pub hPageSetupTemplate : isize } impl PAGESETUPDLGW { } impl :: std :: default :: Default for PAGESETUPDLGW { fn default ( ) -> Self { Self { lStructSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hDevMode : 0 , hDevNames : 0 , Flags : :: std :: default :: Default :: default ( ) , ptPaperSize : :: std :: default :: Default :: default ( ) , rtMinMargin : :: std :: default :: Default :: default ( ) , rtMargin : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , lCustData : :: std :: default :: Default :: default ( ) , lpfnPageSetupHook : :: std :: default :: Default :: default ( ) , lpfnPagePaintHook : :: std :: default :: Default :: default ( ) , lpPageSetupTemplateName : :: std :: default :: Default :: default ( ) , hPageSetupTemplate : 0 } } } impl :: std :: fmt :: Debug for PAGESETUPDLGW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PAGESETUPDLGW" ) . field ( "lStructSize" , & format_args ! ( "{:?}" , self . lStructSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hDevMode" , & format_args ! ( "{:?}" , self . hDevMode ) ) . field ( "hDevNames" , & format_args ! ( "{:?}" , self . hDevNames ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "ptPaperSize" , & format_args ! ( "{:?}" , self . ptPaperSize ) ) . field ( "rtMinMargin" , & format_args ! ( "{:?}" , self . rtMinMargin ) ) . field ( "rtMargin" , & format_args ! ( "{:?}" , self . rtMargin ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "lpPageSetupTemplateName" , & format_args ! ( "{:?}" , self . lpPageSetupTemplateName ) ) . field ( "hPageSetupTemplate" , & format_args ! ( "{:?}" , self . hPageSetupTemplate ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PAGESETUPDLGW { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . hwndOwner == other . hwndOwner && self . hDevMode == other . hDevMode && self . hDevNames == other . hDevNames && self . Flags == other . Flags && self . ptPaperSize == other . ptPaperSize && self . rtMinMargin == other . rtMinMargin && self . rtMargin == other . rtMargin && self . hInstance == other . hInstance && self . lCustData == other . lCustData && self . lpfnPageSetupHook . map ( | f | f as usize ) == other . lpfnPageSetupHook . map ( | f | f as usize ) && self . lpfnPagePaintHook . map ( | f | f as usize ) == other . lpfnPagePaintHook . map ( | f | f as usize ) && self . lpPageSetupTemplateName == other . lpPageSetupTemplateName && self . hPageSetupTemplate == other . hPageSetupTemplate } } impl :: std :: cmp :: Eq for PAGESETUPDLGW { } unsafe impl :: windows :: Abi for PAGESETUPDLGW { type Abi = Self ; } pub const PBTF_APMRESUMEFROMFAILURE : u32 = 1u32 ; pub const PBT_APMBATTERYLOW : u32 = 9u32 ; pub const PBT_APMOEMEVENT : u32 = 11u32 ; pub const PBT_APMPOWERSTATUSCHANGE : u32 = 10u32 ; pub const PBT_APMQUERYSTANDBY : u32 = 1u32 ; pub const PBT_APMQUERYSTANDBYFAILED : u32 = 3u32 ; pub const PBT_APMQUERYSUSPEND : u32 = 0u32 ; pub const PBT_APMQUERYSUSPENDFAILED : u32 = 2u32 ; pub const PBT_APMRESUMEAUTOMATIC : u32 = 18u32 ; pub const PBT_APMRESUMECRITICAL : u32 = 6u32 ; pub const PBT_APMRESUMESTANDBY : u32 = 8u32 ; pub const PBT_APMRESUMESUSPEND : u32 = 7u32 ; pub const PBT_APMSTANDBY : u32 = 5u32 ; pub const PBT_APMSUSPEND : u32 = 4u32 ; pub const PBT_POWERSETTINGCHANGE : u32 = 32787u32 ; pub const PDC_ARRIVAL : u32 = 1u32 ; pub const PDC_MAPPING_CHANGE : u32 = 256u32 ; pub const PDC_MODE_ASPECTRATIOPRESERVED : u32 = 2048u32 ; pub const PDC_MODE_CENTERED : u32 = 128u32 ; pub const PDC_MODE_DEFAULT : u32 = 64u32 ; pub const PDC_ORIENTATION_0 : u32 = 4u32 ; pub const PDC_ORIENTATION_180 : u32 = 16u32 ; pub const PDC_ORIENTATION_270 : u32 = 32u32 ; pub const PDC_ORIENTATION_90 : u32 = 8u32 ; pub const PDC_ORIGIN : u32 = 1024u32 ; pub const PDC_REMOVAL : u32 = 2u32 ; pub const PDC_RESOLUTION : u32 = 512u32 ; pub const PD_RESULT_APPLY : u32 = 2u32 ; pub const PD_RESULT_CANCEL : u32 = 0u32 ; pub const PD_RESULT_PRINT : u32 = 1u32 ; pub const PENARBITRATIONTYPE_FIS : u32 = 2u32 ; pub const PENARBITRATIONTYPE_MAX : u32 = 4u32 ; pub const PENARBITRATIONTYPE_NONE : u32 = 0u32 ; pub const PENARBITRATIONTYPE_SPT : u32 = 3u32 ; pub const PENARBITRATIONTYPE_WIN8 : u32 = 1u32 ; pub const PENVISUALIZATION_CURSOR : u32 = 32u32 ; pub const PENVISUALIZATION_DOUBLETAP : u32 = 2u32 ; pub const PENVISUALIZATION_OFF : u32 = 0u32 ; pub const PENVISUALIZATION_ON : u32 = 35u32 ; pub const PENVISUALIZATION_TAP : u32 = 1u32 ; pub const PEN_FLAG_BARREL : u32 = 1u32 ; pub const PEN_FLAG_ERASER : u32 = 4u32 ; pub const PEN_FLAG_INVERTED : u32 = 2u32 ; pub const PEN_FLAG_NONE : u32 = 0u32 ; pub const PEN_MASK_NONE : u32 = 0u32 ; pub const PEN_MASK_PRESSURE : u32 = 1u32 ; pub const PEN_MASK_ROTATION : u32 = 2u32 ; pub const PEN_MASK_TILT_X : u32 = 4u32 ; pub const PEN_MASK_TILT_Y : u32 = 8u32 ; pub const PMB_ACTIVE : u32 = 1u32 ; pub const POINTER_DEVICE_PRODUCT_STRING_MAX : u32 = 520u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct POINTER_INPUT_TYPE ( pub i32 ) ; impl POINTER_INPUT_TYPE { pub const PT_POINTER : Self = Self ( 1i32 ) ; pub const PT_TOUCH : Self = Self ( 2i32 ) ; pub const PT_PEN : Self = Self ( 3i32 ) ; pub const PT_MOUSE : Self = Self ( 4i32 ) ; pub const PT_TOUCHPAD : Self = Self ( 5i32 ) ; } impl :: std :: convert :: From < i32 > for POINTER_INPUT_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for POINTER_INPUT_TYPE { type Abi = Self ; } pub const POINTER_MESSAGE_FLAG_CANCELED : u32 = 32768u32 ; pub const POINTER_MESSAGE_FLAG_CONFIDENCE : u32 = 16384u32 ; pub const POINTER_MESSAGE_FLAG_FIFTHBUTTON : u32 = 256u32 ; pub const POINTER_MESSAGE_FLAG_FIRSTBUTTON : u32 = 16u32 ; pub const POINTER_MESSAGE_FLAG_FOURTHBUTTON : u32 = 128u32 ; pub const POINTER_MESSAGE_FLAG_INCONTACT : u32 = 4u32 ; pub const POINTER_MESSAGE_FLAG_INRANGE : u32 = 2u32 ; pub const POINTER_MESSAGE_FLAG_NEW : u32 = 1u32 ; pub const POINTER_MESSAGE_FLAG_PRIMARY : u32 = 8192u32 ; pub const POINTER_MESSAGE_FLAG_SECONDBUTTON : u32 = 32u32 ; pub const POINTER_MESSAGE_FLAG_THIRDBUTTON : u32 = 64u32 ; pub const POINTER_MOD_CTRL : u32 = 8u32 ; pub const POINTER_MOD_SHIFT : u32 = 4u32 ; pub type PREGISTERCLASSNAMEW = extern "system" fn ( param0 : super :: SystemServices :: PWSTR ) -> u8 ; pub const PRF_CHECKVISIBLE : i32 = 1i32 ; pub const PRF_CHILDREN : i32 = 16i32 ; pub const PRF_CLIENT : i32 = 4i32 ; pub const PRF_ERASEBKGND : i32 = 8i32 ; pub const PRF_NONCLIENT : i32 = 2i32 ; pub const PRF_OWNED : i32 = 32i32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct PRINTDLGEXA_Flags ( pub u32 ) ; impl PRINTDLGEXA_Flags { pub const PD_ALLPAGES : Self = Self ( 0u32 ) ; pub const PD_COLLATE : Self = Self ( 16u32 ) ; pub const PD_CURRENTPAGE : Self = Self ( 4194304u32 ) ; pub const PD_DISABLEPRINTTOFILE : Self = Self ( 524288u32 ) ; pub const PD_ENABLEPRINTTEMPLATE : Self = Self ( 16384u32 ) ; pub const PD_ENABLEPRINTTEMPLATEHANDLE : Self = Self ( 65536u32 ) ; pub const PD_EXCLUSIONFLAGS : Self = Self ( 16777216u32 ) ; pub const PD_HIDEPRINTTOFILE : Self = Self ( 1048576u32 ) ; pub const PD_NOCURRENTPAGE : Self = Self ( 8388608u32 ) ; pub const PD_NOPAGENUMS : Self = Self ( 8u32 ) ; pub const PD_NOSELECTION : Self = Self ( 4u32 ) ; pub const PD_NOWARNING : Self = Self ( 128u32 ) ; pub const PD_PAGENUMS : Self = Self ( 2u32 ) ; pub const PD_PRINTTOFILE : Self = Self ( 32u32 ) ; pub const PD_RETURNDC : Self = Self ( 256u32 ) ; pub const PD_RETURNDEFAULT : Self = Self ( 1024u32 ) ; pub const PD_RETURNIC : Self = Self ( 512u32 ) ; pub const PD_SELECTION : Self = Self ( 1u32 ) ; pub const PD_USEDEVMODECOPIES : Self = Self ( 262144u32 ) ; pub const PD_USEDEVMODECOPIESANDCOLLATE : Self = Self ( 262144u32 ) ; pub const PD_USELARGETEMPLATE : Self = Self ( 268435456u32 ) ; pub const PD_ENABLEPRINTHOOK : Self = Self ( 4096u32 ) ; pub const PD_ENABLESETUPHOOK : Self = Self ( 8192u32 ) ; pub const PD_ENABLESETUPTEMPLATE : Self = Self ( 32768u32 ) ; pub const PD_ENABLESETUPTEMPLATEHANDLE : Self = Self ( 131072u32 ) ; pub const PD_NONETWORKBUTTON : Self = Self ( 2097152u32 ) ; pub const PD_PRINTSETUP : Self = Self ( 64u32 ) ; pub const PD_SHOWHELP : Self = Self ( 2048u32 ) ; } impl :: std :: convert :: From < u32 > for PRINTDLGEXA_Flags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PRINTDLGEXA_Flags { type Abi = Self ; } impl :: std :: ops :: BitOr for PRINTDLGEXA_Flags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for PRINTDLGEXA_Flags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for PRINTDLGEXA_Flags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for PRINTDLGEXA_Flags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct PRINTDLGA { pub lStructSize : u32 , pub hwndOwner : HWND , pub hDevMode : isize , pub hDevNames : isize , pub hDC : super :: Gdi :: HDC , pub Flags : PRINTDLGEXA_Flags , pub nFromPage : u16 , pub nToPage : u16 , pub nMinPage : u16 , pub nMaxPage : u16 , pub nCopies : u16 , pub hInstance : super :: SystemServices :: HINSTANCE , pub lCustData : LPARAM , pub lpfnPrintHook : :: std :: option :: Option < LPPRINTHOOKPROC > , pub lpfnSetupHook : :: std :: option :: Option < LPSETUPHOOKPROC > , pub lpPrintTemplateName : super :: SystemServices :: PSTR , pub lpSetupTemplateName : super :: SystemServices :: PSTR , pub hPrintTemplate : isize , pub hSetupTemplate : isize } impl PRINTDLGA { } impl :: std :: default :: Default for PRINTDLGA { fn default ( ) -> Self { Self { lStructSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hDevMode : 0 , hDevNames : 0 , hDC : :: std :: default :: Default :: default ( ) , Flags : :: std :: default :: Default :: default ( ) , nFromPage : 0 , nToPage : 0 , nMinPage : 0 , nMaxPage : 0 , nCopies : 0 , hInstance : :: std :: default :: Default :: default ( ) , lCustData : :: std :: default :: Default :: default ( ) , lpfnPrintHook : :: std :: default :: Default :: default ( ) , lpfnSetupHook : :: std :: default :: Default :: default ( ) , lpPrintTemplateName : :: std :: default :: Default :: default ( ) , lpSetupTemplateName : :: std :: default :: Default :: default ( ) , hPrintTemplate : 0 , hSetupTemplate : 0 } } } impl :: std :: fmt :: Debug for PRINTDLGA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PRINTDLGA" ) . field ( "lStructSize" , & format_args ! ( "{:?}" , self . lStructSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hDevMode" , & format_args ! ( "{:?}" , self . hDevMode ) ) . field ( "hDevNames" , & format_args ! ( "{:?}" , self . hDevNames ) ) . field ( "hDC" , & format_args ! ( "{:?}" , self . hDC ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "nFromPage" , & format_args ! ( "{:?}" , self . nFromPage ) ) . field ( "nToPage" , & format_args ! ( "{:?}" , self . nToPage ) ) . field ( "nMinPage" , & format_args ! ( "{:?}" , self . nMinPage ) ) . field ( "nMaxPage" , & format_args ! ( "{:?}" , self . nMaxPage ) ) . field ( "nCopies" , & format_args ! ( "{:?}" , self . nCopies ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "lpPrintTemplateName" , & format_args ! ( "{:?}" , self . lpPrintTemplateName ) ) . field ( "lpSetupTemplateName" , & format_args ! ( "{:?}" , self . lpSetupTemplateName ) ) . field ( "hPrintTemplate" , & format_args ! ( "{:?}" , self . hPrintTemplate ) ) . field ( "hSetupTemplate" , & format_args ! ( "{:?}" , self . hSetupTemplate ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PRINTDLGA { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . hwndOwner == other . hwndOwner && self . hDevMode == other . hDevMode && self . hDevNames == other . hDevNames && self . hDC == other . hDC && self . Flags == other . Flags && self . nFromPage == other . nFromPage && self . nToPage == other . nToPage && self . nMinPage == other . nMinPage && self . nMaxPage == other . nMaxPage && self . nCopies == other . nCopies && self . hInstance == other . hInstance && self . lCustData == other . lCustData && self . lpfnPrintHook . map ( | f | f as usize ) == other . lpfnPrintHook . map ( | f | f as usize ) && self . lpfnSetupHook . map ( | f | f as usize ) == other . lpfnSetupHook . map ( | f | f as usize ) && self . lpPrintTemplateName == other . lpPrintTemplateName && self . lpSetupTemplateName == other . lpSetupTemplateName && self . hPrintTemplate == other . hPrintTemplate && self . hSetupTemplate == other . hSetupTemplate } } impl :: std :: cmp :: Eq for PRINTDLGA { } unsafe impl :: windows :: Abi for PRINTDLGA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct PRINTPAGERANGE { pub nFromPage : u32 , pub nToPage : u32 } impl PRINTPAGERANGE { } impl :: std :: default :: Default for PRINTPAGERANGE { fn default ( ) -> Self { Self { nFromPage : 0 , nToPage : 0 } } } impl :: std :: fmt :: Debug for PRINTPAGERANGE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PRINTPAGERANGE" ) . field ( "nFromPage" , & format_args ! ( "{:?}" , self . nFromPage ) ) . field ( "nToPage" , & format_args ! ( "{:?}" , self . nToPage ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PRINTPAGERANGE { fn eq ( & self , other : & Self ) -> bool { self . nFromPage == other . nFromPage && self . nToPage == other . nToPage } } impl :: std :: cmp :: Eq for PRINTPAGERANGE { } unsafe impl :: windows :: Abi for PRINTPAGERANGE { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone ) ] pub struct PRINTDLGEXA { pub lStructSize : u32 , pub hwndOwner : HWND , pub hDevMode : isize , pub hDevNames : isize , pub hDC : super :: Gdi :: HDC , pub Flags : PRINTDLGEXA_Flags , pub Flags2 : u32 , pub ExclusionFlags : u32 , pub nPageRanges : u32 , pub nMaxPageRanges : u32 , pub lpPageRanges : * mut PRINTPAGERANGE , pub nMinPage : u32 , pub nMaxPage : u32 , pub nCopies : u32 , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpPrintTemplateName : super :: SystemServices :: PSTR , pub lpCallback : :: std :: option :: Option < :: windows :: IUnknown > , pub nPropertyPages : u32 , pub lphPropertyPages : * mut super :: Controls :: HPROPSHEETPAGE , pub nStartPage : u32 , pub dwResultAction : u32 } impl PRINTDLGEXA { } impl :: std :: default :: Default for PRINTDLGEXA { fn default ( ) -> Self { Self { lStructSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hDevMode : 0 , hDevNames : 0 , hDC : :: std :: default :: Default :: default ( ) , Flags : :: std :: default :: Default :: default ( ) , Flags2 : 0 , ExclusionFlags : 0 , nPageRanges : 0 , nMaxPageRanges : 0 , lpPageRanges : :: std :: ptr :: null_mut ( ) , nMinPage : 0 , nMaxPage : 0 , nCopies : 0 , hInstance : :: std :: default :: Default :: default ( ) , lpPrintTemplateName : :: std :: default :: Default :: default ( ) , lpCallback : :: std :: default :: Default :: default ( ) , nPropertyPages : 0 , lphPropertyPages : :: std :: ptr :: null_mut ( ) , nStartPage : 0 , dwResultAction : 0 } } } impl :: std :: fmt :: Debug for PRINTDLGEXA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PRINTDLGEXA" ) . field ( "lStructSize" , & format_args ! ( "{:?}" , self . lStructSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hDevMode" , & format_args ! ( "{:?}" , self . hDevMode ) ) . field ( "hDevNames" , & format_args ! ( "{:?}" , self . hDevNames ) ) . field ( "hDC" , & format_args ! ( "{:?}" , self . hDC ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "Flags2" , & format_args ! ( "{:?}" , self . Flags2 ) ) . field ( "ExclusionFlags" , & format_args ! ( "{:?}" , self . ExclusionFlags ) ) . field ( "nPageRanges" , & format_args ! ( "{:?}" , self . nPageRanges ) ) . field ( "nMaxPageRanges" , & format_args ! ( "{:?}" , self . nMaxPageRanges ) ) . field ( "lpPageRanges" , & format_args ! ( "{:?}" , self . lpPageRanges ) ) . field ( "nMinPage" , & format_args ! ( "{:?}" , self . nMinPage ) ) . field ( "nMaxPage" , & format_args ! ( "{:?}" , self . nMaxPage ) ) . field ( "nCopies" , & format_args ! ( "{:?}" , self . nCopies ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lpPrintTemplateName" , & format_args ! ( "{:?}" , self . lpPrintTemplateName ) ) . field ( "lpCallback" , & format_args ! ( "{:?}" , self . lpCallback ) ) . field ( "nPropertyPages" , & format_args ! ( "{:?}" , self . nPropertyPages ) ) . field ( "lphPropertyPages" , & format_args ! ( "{:?}" , self . lphPropertyPages ) ) . field ( "nStartPage" , & format_args ! ( "{:?}" , self . nStartPage ) ) . field ( "dwResultAction" , & format_args ! ( "{:?}" , self . dwResultAction ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PRINTDLGEXA { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . hwndOwner == other . hwndOwner && self . hDevMode == other . hDevMode && self . hDevNames == other . hDevNames && self . hDC == other . hDC && self . Flags == other . Flags && self . Flags2 == other . Flags2 && self . ExclusionFlags == other . ExclusionFlags && self . nPageRanges == other . nPageRanges && self . nMaxPageRanges == other . nMaxPageRanges && self . lpPageRanges == other . lpPageRanges && self . nMinPage == other . nMinPage && self . nMaxPage == other . nMaxPage && self . nCopies == other . nCopies && self . hInstance == other . hInstance && self . lpPrintTemplateName == other . lpPrintTemplateName && self . lpCallback == other . lpCallback && self . nPropertyPages == other . nPropertyPages && self . lphPropertyPages == other . lphPropertyPages && self . nStartPage == other . nStartPage && self . dwResultAction == other . dwResultAction } } impl :: std :: cmp :: Eq for PRINTDLGEXA { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct PRINTDLGEXA_abi { pub lStructSize : u32 , pub hwndOwner : HWND , pub hDevMode : isize , pub hDevNames : isize , pub hDC : super :: Gdi :: HDC , pub Flags : PRINTDLGEXA_Flags , pub Flags2 : u32 , pub ExclusionFlags : u32 , pub nPageRanges : u32 , pub nMaxPageRanges : u32 , pub lpPageRanges : * mut PRINTPAGERANGE , pub nMinPage : u32 , pub nMaxPage : u32 , pub nCopies : u32 , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpPrintTemplateName : super :: SystemServices :: PSTR , pub lpCallback : :: windows :: RawPtr , pub nPropertyPages : u32 , pub lphPropertyPages : * mut super :: Controls :: HPROPSHEETPAGE , pub nStartPage : u32 , pub dwResultAction : u32 } unsafe impl :: windows :: Abi for PRINTDLGEXA { type Abi = PRINTDLGEXA_abi ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone ) ] pub struct PRINTDLGEXW { pub lStructSize : u32 , pub hwndOwner : HWND , pub hDevMode : isize , pub hDevNames : isize , pub hDC : super :: Gdi :: HDC , pub Flags : PRINTDLGEXA_Flags , pub Flags2 : u32 , pub ExclusionFlags : u32 , pub nPageRanges : u32 , pub nMaxPageRanges : u32 , pub lpPageRanges : * mut PRINTPAGERANGE , pub nMinPage : u32 , pub nMaxPage : u32 , pub nCopies : u32 , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpPrintTemplateName : super :: SystemServices :: PWSTR , pub lpCallback : :: std :: option :: Option < :: windows :: IUnknown > , pub nPropertyPages : u32 , pub lphPropertyPages : * mut super :: Controls :: HPROPSHEETPAGE , pub nStartPage : u32 , pub dwResultAction : u32 } impl PRINTDLGEXW { } impl :: std :: default :: Default for PRINTDLGEXW { fn default ( ) -> Self { Self { lStructSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hDevMode : 0 , hDevNames : 0 , hDC : :: std :: default :: Default :: default ( ) , Flags : :: std :: default :: Default :: default ( ) , Flags2 : 0 , ExclusionFlags : 0 , nPageRanges : 0 , nMaxPageRanges : 0 , lpPageRanges : :: std :: ptr :: null_mut ( ) , nMinPage : 0 , nMaxPage : 0 , nCopies : 0 , hInstance : :: std :: default :: Default :: default ( ) , lpPrintTemplateName : :: std :: default :: Default :: default ( ) , lpCallback : :: std :: default :: Default :: default ( ) , nPropertyPages : 0 , lphPropertyPages : :: std :: ptr :: null_mut ( ) , nStartPage : 0 , dwResultAction : 0 } } } impl :: std :: fmt :: Debug for PRINTDLGEXW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PRINTDLGEXW" ) . field ( "lStructSize" , & format_args ! ( "{:?}" , self . lStructSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hDevMode" , & format_args ! ( "{:?}" , self . hDevMode ) ) . field ( "hDevNames" , & format_args ! ( "{:?}" , self . hDevNames ) ) . field ( "hDC" , & format_args ! ( "{:?}" , self . hDC ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "Flags2" , & format_args ! ( "{:?}" , self . Flags2 ) ) . field ( "ExclusionFlags" , & format_args ! ( "{:?}" , self . ExclusionFlags ) ) . field ( "nPageRanges" , & format_args ! ( "{:?}" , self . nPageRanges ) ) . field ( "nMaxPageRanges" , & format_args ! ( "{:?}" , self . nMaxPageRanges ) ) . field ( "lpPageRanges" , & format_args ! ( "{:?}" , self . lpPageRanges ) ) . field ( "nMinPage" , & format_args ! ( "{:?}" , self . nMinPage ) ) . field ( "nMaxPage" , & format_args ! ( "{:?}" , self . nMaxPage ) ) . field ( "nCopies" , & format_args ! ( "{:?}" , self . nCopies ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lpPrintTemplateName" , & format_args ! ( "{:?}" , self . lpPrintTemplateName ) ) . field ( "lpCallback" , & format_args ! ( "{:?}" , self . lpCallback ) ) . field ( "nPropertyPages" , & format_args ! ( "{:?}" , self . nPropertyPages ) ) . field ( "lphPropertyPages" , & format_args ! ( "{:?}" , self . lphPropertyPages ) ) . field ( "nStartPage" , & format_args ! ( "{:?}" , self . nStartPage ) ) . field ( "dwResultAction" , & format_args ! ( "{:?}" , self . dwResultAction ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PRINTDLGEXW { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . hwndOwner == other . hwndOwner && self . hDevMode == other . hDevMode && self . hDevNames == other . hDevNames && self . hDC == other . hDC && self . Flags == other . Flags && self . Flags2 == other . Flags2 && self . ExclusionFlags == other . ExclusionFlags && self . nPageRanges == other . nPageRanges && self . nMaxPageRanges == other . nMaxPageRanges && self . lpPageRanges == other . lpPageRanges && self . nMinPage == other . nMinPage && self . nMaxPage == other . nMaxPage && self . nCopies == other . nCopies && self . hInstance == other . hInstance && self . lpPrintTemplateName == other . lpPrintTemplateName && self . lpCallback == other . lpCallback && self . nPropertyPages == other . nPropertyPages && self . lphPropertyPages == other . lphPropertyPages && self . nStartPage == other . nStartPage && self . dwResultAction == other . dwResultAction } } impl :: std :: cmp :: Eq for PRINTDLGEXW { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct PRINTDLGEXW_abi { pub lStructSize : u32 , pub hwndOwner : HWND , pub hDevMode : isize , pub hDevNames : isize , pub hDC : super :: Gdi :: HDC , pub Flags : PRINTDLGEXA_Flags , pub Flags2 : u32 , pub ExclusionFlags : u32 , pub nPageRanges : u32 , pub nMaxPageRanges : u32 , pub lpPageRanges : * mut PRINTPAGERANGE , pub nMinPage : u32 , pub nMaxPage : u32 , pub nCopies : u32 , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpPrintTemplateName : super :: SystemServices :: PWSTR , pub lpCallback : :: windows :: RawPtr , pub nPropertyPages : u32 , pub lphPropertyPages : * mut super :: Controls :: HPROPSHEETPAGE , pub nStartPage : u32 , pub dwResultAction : u32 } unsafe impl :: windows :: Abi for PRINTDLGEXW { type Abi = PRINTDLGEXW_abi ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct PRINTDLGW { pub lStructSize : u32 , pub hwndOwner : HWND , pub hDevMode : isize , pub hDevNames : isize , pub hDC : super :: Gdi :: HDC , pub Flags : PRINTDLGEXA_Flags , pub nFromPage : u16 , pub nToPage : u16 , pub nMinPage : u16 , pub nMaxPage : u16 , pub nCopies : u16 , pub hInstance : super :: SystemServices :: HINSTANCE , pub lCustData : LPARAM , pub lpfnPrintHook : :: std :: option :: Option < LPPRINTHOOKPROC > , pub lpfnSetupHook : :: std :: option :: Option < LPSETUPHOOKPROC > , pub lpPrintTemplateName : super :: SystemServices :: PWSTR , pub lpSetupTemplateName : super :: SystemServices :: PWSTR , pub hPrintTemplate : isize , pub hSetupTemplate : isize } impl PRINTDLGW { } impl :: std :: default :: Default for PRINTDLGW { fn default ( ) -> Self { Self { lStructSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hDevMode : 0 , hDevNames : 0 , hDC : :: std :: default :: Default :: default ( ) , Flags : :: std :: default :: Default :: default ( ) , nFromPage : 0 , nToPage : 0 , nMinPage : 0 , nMaxPage : 0 , nCopies : 0 , hInstance : :: std :: default :: Default :: default ( ) , lCustData : :: std :: default :: Default :: default ( ) , lpfnPrintHook : :: std :: default :: Default :: default ( ) , lpfnSetupHook : :: std :: default :: Default :: default ( ) , lpPrintTemplateName : :: std :: default :: Default :: default ( ) , lpSetupTemplateName : :: std :: default :: Default :: default ( ) , hPrintTemplate : 0 , hSetupTemplate : 0 } } } impl :: std :: fmt :: Debug for PRINTDLGW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PRINTDLGW" ) . field ( "lStructSize" , & format_args ! ( "{:?}" , self . lStructSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hDevMode" , & format_args ! ( "{:?}" , self . hDevMode ) ) . field ( "hDevNames" , & format_args ! ( "{:?}" , self . hDevNames ) ) . field ( "hDC" , & format_args ! ( "{:?}" , self . hDC ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "nFromPage" , & format_args ! ( "{:?}" , self . nFromPage ) ) . field ( "nToPage" , & format_args ! ( "{:?}" , self . nToPage ) ) . field ( "nMinPage" , & format_args ! ( "{:?}" , self . nMinPage ) ) . field ( "nMaxPage" , & format_args ! ( "{:?}" , self . nMaxPage ) ) . field ( "nCopies" , & format_args ! ( "{:?}" , self . nCopies ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "lpPrintTemplateName" , & format_args ! ( "{:?}" , self . lpPrintTemplateName ) ) . field ( "lpSetupTemplateName" , & format_args ! ( "{:?}" , self . lpSetupTemplateName ) ) . field ( "hPrintTemplate" , & format_args ! ( "{:?}" , self . hPrintTemplate ) ) . field ( "hSetupTemplate" , & format_args ! ( "{:?}" , self . hSetupTemplate ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PRINTDLGW { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . hwndOwner == other . hwndOwner && self . hDevMode == other . hDevMode && self . hDevNames == other . hDevNames && self . hDC == other . hDC && self . Flags == other . Flags && self . nFromPage == other . nFromPage && self . nToPage == other . nToPage && self . nMinPage == other . nMinPage && self . nMaxPage == other . nMaxPage && self . nCopies == other . nCopies && self . hInstance == other . hInstance && self . lCustData == other . lCustData && self . lpfnPrintHook . map ( | f | f as usize ) == other . lpfnPrintHook . map ( | f | f as usize ) && self . lpfnSetupHook . map ( | f | f as usize ) == other . lpfnSetupHook . map ( | f | f as usize ) && self . lpPrintTemplateName == other . lpPrintTemplateName && self . lpSetupTemplateName == other . lpSetupTemplateName && self . hPrintTemplate == other . hPrintTemplate && self . hSetupTemplate == other . hSetupTemplate } } impl :: std :: cmp :: Eq for PRINTDLGW { } unsafe impl :: windows :: Abi for PRINTDLGW { type Abi = Self ; } pub const PS_OPENTYPE_FONTTYPE : u32 = 65536u32 ; pub const PWR_CRITICALRESUME : u32 = 3u32 ; pub const PWR_FAIL : i32 = -1i32 ; pub const PWR_OK : u32 = 1u32 ; pub const PWR_SUSPENDREQUEST : u32 = 1u32 ; pub const PWR_SUSPENDRESUME : u32 = 2u32 ; pub const PW_RENDERFULLCONTENT : u32 = 2u32 ; pub unsafe fn PageSetupDlgA < > ( param0 : * mut PAGESETUPDLGA , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn PageSetupDlgW < > ( param0 : * mut PAGESETUPDLGW , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct PeekMessage_wRemoveMsg ( pub u32 ) ; impl PeekMessage_wRemoveMsg { pub const PM_NOREMOVE : Self = Self ( 0u32 ) ; pub const PM_REMOVE : Self = Self ( 1u32 ) ; pub const PM_NOYIELD : Self = Self ( 2u32 ) ; } impl :: std :: convert :: From < u32 > for PeekMessage_wRemoveMsg { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PeekMessage_wRemoveMsg { type Abi = Self ; } impl :: std :: ops :: BitOr for PeekMessage_wRemoveMsg { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for PeekMessage_wRemoveMsg { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for PeekMessage_wRemoveMsg { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for PeekMessage_wRemoveMsg { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn PeekMessageA < 'a , T1__ : :: windows :: IntoParam < 'a , HWND > , > ( lpmsg : * mut MSG , hwnd : T1__ , wmsgfiltermin : u32 , wmsgfiltermax : u32 , wremovemsg : PeekMessage_wRemoveMsg , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn PeekMessageW < 'a , T1__ : :: windows :: IntoParam < 'a , HWND > , > ( lpmsg : * mut MSG , hwnd : T1__ , wmsgfiltermin : u32 , wmsgfiltermax : u32 , wremovemsg : PeekMessage_wRemoveMsg , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn PhysicalToLogicalPoint < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , lppoint : * mut super :: DisplayDevices :: POINT , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn PostMessageA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwnd : T0__ , msg : u32 , wparam : T2__ , lparam : T3__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn PostMessageW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwnd : T0__ , msg : u32 , wparam : T2__ , lparam : T3__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn PostQuitMessage < > ( nexitcode : i32 , ) { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn PostThreadMessageA < 'a , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( idthread : u32 , msg : u32 , wparam : T2__ , lparam : T3__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn PostThreadMessageW < 'a , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( idthread : u32 , msg : u32 , wparam : T2__ , lparam : T3__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn PrintDlgA < > ( ppd : * mut PRINTDLGA , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn PrintDlgExA < > ( ppd : * mut PRINTDLGEXA , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn PrintDlgExW < > ( ppd : * mut PRINTDLGEXW , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn PrintDlgW < > ( ppd : * mut PRINTDLGW , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn PrivateExtractIconsA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( szfilename : T0__ , niconindex : i32 , cxicon : i32 , cyicon : i32 , phicon : * mut super :: MenusAndResources :: HICON , piconid : * mut u32 , nicons : u32 , flags : u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn PrivateExtractIconsW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( szfilename : T0__ , niconindex : i32 , cxicon : i32 , cyicon : i32 , phicon : * mut super :: MenusAndResources :: HICON , piconid : * mut u32 , nicons : u32 , flags : u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub const QS_POINTER : u32 = 4096u32 ; pub const QS_TOUCH : u32 = 2048u32 ; pub const RES_CURSOR : u32 = 2u32 ; pub const RES_ICON : u32 = 1u32 ; pub const RIDEV_EXMODEMASK : u32 = 240u32 ; pub const RIM_INPUT : u32 = 0u32 ; pub const RIM_INPUTSINK : u32 = 1u32 ; pub const RIM_TYPEMAX : u32 = 2u32 ; pub const RI_KEY_BREAK : u32 = 1u32 ; pub const RI_KEY_E0 : u32 = 2u32 ; pub const RI_KEY_E1 : u32 = 4u32 ; pub const RI_KEY_MAKE : u32 = 0u32 ; pub const RI_KEY_TERMSRV_SET_LED : u32 = 8u32 ; pub const RI_KEY_TERMSRV_SHADOW : u32 = 16u32 ; pub const RI_MOUSE_BUTTON_4_DOWN : u32 = 64u32 ; pub const RI_MOUSE_BUTTON_4_UP : u32 = 128u32 ; pub const RI_MOUSE_BUTTON_5_DOWN : u32 = 256u32 ; pub const RI_MOUSE_BUTTON_5_UP : u32 = 512u32 ; pub const RI_MOUSE_HWHEEL : u32 = 2048u32 ; pub const RI_MOUSE_LEFT_BUTTON_DOWN : u32 = 1u32 ; pub const RI_MOUSE_LEFT_BUTTON_UP : u32 = 2u32 ; pub const RI_MOUSE_MIDDLE_BUTTON_DOWN : u32 = 16u32 ; pub const RI_MOUSE_MIDDLE_BUTTON_UP : u32 = 32u32 ; pub const RI_MOUSE_RIGHT_BUTTON_DOWN : u32 = 4u32 ; pub const RI_MOUSE_RIGHT_BUTTON_UP : u32 = 8u32 ; pub const RI_MOUSE_WHEEL : u32 = 1024u32 ; pub const RT_ACCELERATOR : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 9i32 as _ ) ; pub const RT_ANICURSOR : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 21i32 as _ ) ; pub const RT_ANIICON : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 22i32 as _ ) ; pub const RT_BITMAP : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 2i32 as _ ) ; pub const RT_CURSOR : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 1i32 as _ ) ; pub const RT_DIALOG : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 5i32 as _ ) ; pub const RT_DLGINCLUDE : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 17i32 as _ ) ; pub const RT_FONT : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 8i32 as _ ) ; pub const RT_FONTDIR : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 7i32 as _ ) ; pub const RT_HTML : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 23i32 as _ ) ; pub const RT_ICON : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 3i32 as _ ) ; pub const RT_MANIFEST : u32 = 24u32 ; pub const RT_MENU : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 4i32 as _ ) ; pub const RT_MESSAGETABLE : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 11i32 as _ ) ; pub const RT_PLUGPLAY : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 19i32 as _ ) ; pub const RT_VERSION : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 16i32 as _ ) ; pub const RT_VXD : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 20i32 as _ ) ; pub unsafe fn RealChildWindowFromPoint < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: DisplayDevices :: POINT > , > ( hwndparent : T0__ , ptparentclientcoords : T1__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn RealGetWindowClassA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ptszclassname : super :: SystemServices :: PSTR , cchclassnamemax : u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn RealGetWindowClassW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ptszclassname : super :: SystemServices :: PWSTR , cchclassnamemax : u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn RegisterClassA < > ( lpwndclass : * const WNDCLASSA , ) -> u16 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn RegisterClassExA < > ( param0 : * const WNDCLASSEXA , ) -> u16 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn RegisterClassExW < > ( param0 : * const WNDCLASSEXW , ) -> u16 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn RegisterClassW < > ( lpwndclass : * const WNDCLASSW , ) -> u16 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn RegisterShellHookWindow < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn RegisterWindowMessageA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpstring : T0__ , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn RegisterWindowMessageW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpstring : T0__ , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn RemoveMenu < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hmenu : T0__ , uposition : u32 , uflags : MENU_ITEM_FLAGS , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn RemovePropA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hwnd : T0__ , lpstring : T1__ , ) -> super :: SystemServices :: HANDLE { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn RemovePropW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hwnd : T0__ , lpstring : T1__ , ) -> super :: SystemServices :: HANDLE { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ReplaceTextA < > ( param0 : * mut FINDREPLACEA , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ReplaceTextW < > ( param0 : * mut FINDREPLACEW , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ReplyMessage < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: LRESULT > , > ( lresult : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub const SBM_ENABLE_ARROWS : u32 = 228u32 ; pub const SBM_GETPOS : u32 = 225u32 ; pub const SBM_GETRANGE : u32 = 227u32 ; pub const SBM_GETSCROLLBARINFO : u32 = 235u32 ; pub const SBM_GETSCROLLINFO : u32 = 234u32 ; pub const SBM_SETPOS : u32 = 224u32 ; pub const SBM_SETRANGE : u32 = 226u32 ; pub const SBM_SETRANGEREDRAW : u32 = 230u32 ; pub const SBM_SETSCROLLINFO : u32 = 233u32 ; pub const SB_BOTTOM : u32 = 7u32 ; pub const SB_ENDSCROLL : u32 = 8u32 ; pub const SB_LEFT : u32 = 6u32 ; pub const SB_LINEDOWN : u32 = 1u32 ; pub const SB_LINELEFT : u32 = 0u32 ; pub const SB_LINERIGHT : u32 = 1u32 ; pub const SB_LINEUP : u32 = 0u32 ; pub const SB_PAGEDOWN : u32 = 3u32 ; pub const SB_PAGELEFT : u32 = 2u32 ; pub const SB_PAGERIGHT : u32 = 3u32 ; pub const SB_PAGEUP : u32 = 2u32 ; pub const SB_RIGHT : u32 = 7u32 ; pub const SB_THUMBPOSITION : u32 = 4u32 ; pub const SB_THUMBTRACK : u32 = 5u32 ; pub const SB_TOP : u32 = 6u32 ; pub const SCF_ISSECURE : u32 = 1u32 ; pub const SC_ARRANGE : u32 = 61712u32 ; pub const SC_CLOSE : u32 = 61536u32 ; pub const SC_CONTEXTHELP : u32 = 61824u32 ; pub const SC_DEFAULT : u32 = 61792u32 ; pub const SC_HOTKEY : u32 = 61776u32 ; pub const SC_HSCROLL : u32 = 61568u32 ; pub const SC_KEYMENU : u32 = 61696u32 ; pub const SC_MAXIMIZE : u32 = 61488u32 ; pub const SC_MINIMIZE : u32 = 61472u32 ; pub const SC_MONITORPOWER : u32 = 61808u32 ; pub const SC_MOUSEMENU : u32 = 61584u32 ; pub const SC_MOVE : u32 = 61456u32 ; pub const SC_NEXTWINDOW : u32 = 61504u32 ; pub const SC_PREVWINDOW : u32 = 61520u32 ; pub const SC_RESTORE : u32 = 61728u32 ; pub const SC_SCREENSAVE : u32 = 61760u32 ; pub const SC_SEPARATOR : u32 = 61455u32 ; pub const SC_SIZE : u32 = 61440u32 ; pub const SC_TASKLIST : u32 = 61744u32 ; pub const SC_VSCROLL : u32 = 61552u32 ; pub type SENDASYNCPROC = extern "system" fn ( param0 : HWND , param1 : u32 , param2 : usize , param3 : super :: SystemServices :: LRESULT ) ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct SHELLHOOKINFO { pub hwnd : HWND , pub rc : super :: DisplayDevices :: RECT } impl SHELLHOOKINFO { } impl :: std :: default :: Default for SHELLHOOKINFO { fn default ( ) -> Self { Self { hwnd : :: std :: default :: Default :: default ( ) , rc : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for SHELLHOOKINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SHELLHOOKINFO" ) . field ( "hwnd" , & format_args ! ( "{:?}" , self . hwnd ) ) . field ( "rc" , & format_args ! ( "{:?}" , self . rc ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SHELLHOOKINFO { fn eq ( & self , other : & Self ) -> bool { self . hwnd == other . hwnd && self . rc == other . rc } } impl :: std :: cmp :: Eq for SHELLHOOKINFO { } unsafe impl :: windows :: Abi for SHELLHOOKINFO { type Abi = Self ; } pub const SHOW_FULLSCREEN : u32 = 3u32 ; pub const SHOW_ICONWINDOW : u32 = 2u32 ; pub const SHOW_OPENNOACTIVATE : u32 = 4u32 ; pub const SHOW_OPENWINDOW : u32 = 1u32 ; pub const SIZE_MAXHIDE : u32 = 4u32 ; pub const SIZE_MAXIMIZED : u32 = 2u32 ; pub const SIZE_MAXSHOW : u32 = 3u32 ; pub const SIZE_MINIMIZED : u32 = 1u32 ; pub const SIZE_RESTORED : u32 = 0u32 ; pub const SM_CARETBLINKINGENABLED : u32 = 8194u32 ; pub const SM_CMETRICS : u32 = 76u32 ; pub const SM_RESERVED1 : u32 = 24u32 ; pub const SM_RESERVED2 : u32 = 25u32 ; pub const SM_RESERVED3 : u32 = 26u32 ; pub const SM_RESERVED4 : u32 = 27u32 ; pub const SM_SYSTEMDOCKED : u32 = 8196u32 ; pub const SOUND_SYSTEM_APPEND : u32 = 14u32 ; pub const SOUND_SYSTEM_APPSTART : u32 = 12u32 ; pub const SOUND_SYSTEM_BEEP : u32 = 3u32 ; pub const SOUND_SYSTEM_ERROR : u32 = 4u32 ; pub const SOUND_SYSTEM_FAULT : u32 = 13u32 ; pub const SOUND_SYSTEM_INFORMATION : u32 = 7u32 ; pub const SOUND_SYSTEM_MAXIMIZE : u32 = 8u32 ; pub const SOUND_SYSTEM_MENUCOMMAND : u32 = 15u32 ; pub const SOUND_SYSTEM_MENUPOPUP : u32 = 16u32 ; pub const SOUND_SYSTEM_MINIMIZE : u32 = 9u32 ; pub const SOUND_SYSTEM_QUESTION : u32 = 5u32 ; pub const SOUND_SYSTEM_RESTOREDOWN : u32 = 11u32 ; pub const SOUND_SYSTEM_RESTOREUP : u32 = 10u32 ; pub const SOUND_SYSTEM_SHUTDOWN : u32 = 2u32 ; pub const SOUND_SYSTEM_STARTUP : u32 = 1u32 ; pub const SOUND_SYSTEM_WARNING : u32 = 6u32 ; pub const START_PAGE_GENERAL : u32 = 4294967295u32 ; pub const STATE_SYSTEM_ALERT_HIGH : u32 = 268435456u32 ; pub const STATE_SYSTEM_ALERT_LOW : u32 = 67108864u32 ; pub const STATE_SYSTEM_ALERT_MEDIUM : u32 = 134217728u32 ; pub const STATE_SYSTEM_ANIMATED : u32 = 16384u32 ; pub const STATE_SYSTEM_BUSY : u32 = 2048u32 ; pub const STATE_SYSTEM_CHECKED : u32 = 16u32 ; pub const STATE_SYSTEM_COLLAPSED : u32 = 1024u32 ; pub const STATE_SYSTEM_DEFAULT : u32 = 256u32 ; pub const STATE_SYSTEM_EXPANDED : u32 = 512u32 ; pub const STATE_SYSTEM_EXTSELECTABLE : u32 = 33554432u32 ; pub const STATE_SYSTEM_FLOATING : u32 = 4096u32 ; pub const STATE_SYSTEM_FOCUSED : u32 = 4u32 ; pub const STATE_SYSTEM_HOTTRACKED : u32 = 128u32 ; pub const STATE_SYSTEM_LINKED : u32 = 4194304u32 ; pub const STATE_SYSTEM_MARQUEED : u32 = 8192u32 ; pub const STATE_SYSTEM_MIXED : u32 = 32u32 ; pub const STATE_SYSTEM_MOVEABLE : u32 = 262144u32 ; pub const STATE_SYSTEM_MULTISELECTABLE : u32 = 16777216u32 ; pub const STATE_SYSTEM_PROTECTED : u32 = 536870912u32 ; pub const STATE_SYSTEM_READONLY : u32 = 64u32 ; pub const STATE_SYSTEM_SELECTABLE : u32 = 2097152u32 ; pub const STATE_SYSTEM_SELECTED : u32 = 2u32 ; pub const STATE_SYSTEM_SELFVOICING : u32 = 524288u32 ; pub const STATE_SYSTEM_SIZEABLE : u32 = 131072u32 ; pub const STATE_SYSTEM_TRAVERSED : u32 = 8388608u32 ; pub const STATE_SYSTEM_VALID : u32 = 1073741823u32 ; pub const STM_GETICON : u32 = 369u32 ; pub const STM_GETIMAGE : u32 = 371u32 ; pub const STM_MSGMAX : u32 = 372u32 ; pub const STM_SETICON : u32 = 368u32 ; pub const STM_SETIMAGE : u32 = 370u32 ; pub const STN_CLICKED : u32 = 0u32 ; pub const STN_DBLCLK : u32 = 1u32 ; pub const STN_DISABLE : u32 = 3u32 ; pub const STN_ENABLE : u32 = 2u32 ; pub const STRSAFE_E_END_OF_FILE : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2147024858i32 as _ ) ; pub const STRSAFE_E_INSUFFICIENT_BUFFER : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2147024774i32 as _ ) ; pub const STRSAFE_E_INVALID_PARAMETER : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2147024809i32 as _ ) ; pub const STRSAFE_FILL_BEHIND_NULL : u32 = 512u32 ; pub const STRSAFE_FILL_ON_FAILURE : u32 = 1024u32 ; pub const STRSAFE_IGNORE_NULLS : u32 = 256u32 ; pub const STRSAFE_MAX_CCH : u32 = 2147483647u32 ; pub const STRSAFE_NO_TRUNCATION : u32 = 4096u32 ; pub const STRSAFE_NULL_ON_FAILURE : u32 = 2048u32 ; pub const STRSAFE_USE_SECURE_CRT : u32 = 0u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct STYLESTRUCT { pub styleOld : u32 , pub styleNew : u32 } impl STYLESTRUCT { } impl :: std :: default :: Default for STYLESTRUCT { fn default ( ) -> Self { Self { styleOld : 0 , styleNew : 0 } } } impl :: std :: fmt :: Debug for STYLESTRUCT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STYLESTRUCT" ) . field ( "styleOld" , & format_args ! ( "{:?}" , self . styleOld ) ) . field ( "styleNew" , & format_args ! ( "{:?}" , self . styleNew ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STYLESTRUCT { fn eq ( & self , other : & Self ) -> bool { self . styleOld == other . styleOld && self . styleNew == other . styleNew } } impl :: std :: cmp :: Eq for STYLESTRUCT { } unsafe impl :: windows :: Abi for STYLESTRUCT { type Abi = Self ; } pub const SYMBOL_FONTTYPE : u32 = 524288u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SYSTEM_PARAMETERS_INFO_ACTION ( pub u32 ) ; impl SYSTEM_PARAMETERS_INFO_ACTION { pub const SPI_GETBEEP : Self = Self ( 1u32 ) ; pub const SPI_SETBEEP : Self = Self ( 2u32 ) ; pub const SPI_GETMOUSE : Self = Self ( 3u32 ) ; pub const SPI_SETMOUSE : Self = Self ( 4u32 ) ; pub const SPI_GETBORDER : Self = Self ( 5u32 ) ; pub const SPI_SETBORDER : Self = Self ( 6u32 ) ; pub const SPI_GETKEYBOARDSPEED : Self = Self ( 10u32 ) ; pub const SPI_SETKEYBOARDSPEED : Self = Self ( 11u32 ) ; pub const SPI_LANGDRIVER : Self = Self ( 12u32 ) ; pub const SPI_ICONHORIZONTALSPACING : Self = Self ( 13u32 ) ; pub const SPI_GETSCREENSAVETIMEOUT : Self = Self ( 14u32 ) ; pub const SPI_SETSCREENSAVETIMEOUT : Self = Self ( 15u32 ) ; pub const SPI_GETSCREENSAVEACTIVE : Self = Self ( 16u32 ) ; pub const SPI_SETSCREENSAVEACTIVE : Self = Self ( 17u32 ) ; pub const SPI_GETGRIDGRANULARITY : Self = Self ( 18u32 ) ; pub const SPI_SETGRIDGRANULARITY : Self = Self ( 19u32 ) ; pub const SPI_SETDESKWALLPAPER : Self = Self ( 20u32 ) ; pub const SPI_SETDESKPATTERN : Self = Self ( 21u32 ) ; pub const SPI_GETKEYBOARDDELAY : Self = Self ( 22u32 ) ; pub const SPI_SETKEYBOARDDELAY : Self = Self ( 23u32 ) ; pub const SPI_ICONVERTICALSPACING : Self = Self ( 24u32 ) ; pub const SPI_GETICONTITLEWRAP : Self = Self ( 25u32 ) ; pub const SPI_SETICONTITLEWRAP : Self = Self ( 26u32 ) ; pub const SPI_GETMENUDROPALIGNMENT : Self = Self ( 27u32 ) ; pub const SPI_SETMENUDROPALIGNMENT : Self = Self ( 28u32 ) ; pub const SPI_SETDOUBLECLKWIDTH : Self = Self ( 29u32 ) ; pub const SPI_SETDOUBLECLKHEIGHT : Self = Self ( 30u32 ) ; pub const SPI_GETICONTITLELOGFONT : Self = Self ( 31u32 ) ; pub const SPI_SETDOUBLECLICKTIME : Self = Self ( 32u32 ) ; pub const SPI_SETMOUSEBUTTONSWAP : Self = Self ( 33u32 ) ; pub const SPI_SETICONTITLELOGFONT : Self = Self ( 34u32 ) ; pub const SPI_GETFASTTASKSWITCH : Self = Self ( 35u32 ) ; pub const SPI_SETFASTTASKSWITCH : Self = Self ( 36u32 ) ; pub const SPI_SETDRAGFULLWINDOWS : Self = Self ( 37u32 ) ; pub const SPI_GETDRAGFULLWINDOWS : Self = Self ( 38u32 ) ; pub const SPI_GETNONCLIENTMETRICS : Self = Self ( 41u32 ) ; pub const SPI_SETNONCLIENTMETRICS : Self = Self ( 42u32 ) ; pub const SPI_GETMINIMIZEDMETRICS : Self = Self ( 43u32 ) ; pub const SPI_SETMINIMIZEDMETRICS : Self = Self ( 44u32 ) ; pub const SPI_GETICONMETRICS : Self = Self ( 45u32 ) ; pub const SPI_SETICONMETRICS : Self = Self ( 46u32 ) ; pub const SPI_SETWORKAREA : Self = Self ( 47u32 ) ; pub const SPI_GETWORKAREA : Self = Self ( 48u32 ) ; pub const SPI_SETPENWINDOWS : Self = Self ( 49u32 ) ; pub const SPI_GETHIGHCONTRAST : Self = Self ( 66u32 ) ; pub const SPI_SETHIGHCONTRAST : Self = Self ( 67u32 ) ; pub const SPI_GETKEYBOARDPREF : Self = Self ( 68u32 ) ; pub const SPI_SETKEYBOARDPREF : Self = Self ( 69u32 ) ; pub const SPI_GETSCREENREADER : Self = Self ( 70u32 ) ; pub const SPI_SETSCREENREADER : Self = Self ( 71u32 ) ; pub const SPI_GETANIMATION : Self = Self ( 72u32 ) ; pub const SPI_SETANIMATION : Self = Self ( 73u32 ) ; pub const SPI_GETFONTSMOOTHING : Self = Self ( 74u32 ) ; pub const SPI_SETFONTSMOOTHING : Self = Self ( 75u32 ) ; pub const SPI_SETDRAGWIDTH : Self = Self ( 76u32 ) ; pub const SPI_SETDRAGHEIGHT : Self = Self ( 77u32 ) ; pub const SPI_SETHANDHELD : Self = Self ( 78u32 ) ; pub const SPI_GETLOWPOWERTIMEOUT : Self = Self ( 79u32 ) ; pub const SPI_GETPOWEROFFTIMEOUT : Self = Self ( 80u32 ) ; pub const SPI_SETLOWPOWERTIMEOUT : Self = Self ( 81u32 ) ; pub const SPI_SETPOWEROFFTIMEOUT : Self = Self ( 82u32 ) ; pub const SPI_GETLOWPOWERACTIVE : Self = Self ( 83u32 ) ; pub const SPI_GETPOWEROFFACTIVE : Self = Self ( 84u32 ) ; pub const SPI_SETLOWPOWERACTIVE : Self = Self ( 85u32 ) ; pub const SPI_SETPOWEROFFACTIVE : Self = Self ( 86u32 ) ; pub const SPI_SETCURSORS : Self = Self ( 87u32 ) ; pub const SPI_SETICONS : Self = Self ( 88u32 ) ; pub const SPI_GETDEFAULTINPUTLANG : Self = Self ( 89u32 ) ; pub const SPI_SETDEFAULTINPUTLANG : Self = Self ( 90u32 ) ; pub const SPI_SETLANGTOGGLE : Self = Self ( 91u32 ) ; pub const SPI_GETWINDOWSEXTENSION : Self = Self ( 92u32 ) ; pub const SPI_SETMOUSETRAILS : Self = Self ( 93u32 ) ; pub const SPI_GETMOUSETRAILS : Self = Self ( 94u32 ) ; pub const SPI_SETSCREENSAVERRUNNING : Self = Self ( 97u32 ) ; pub const SPI_SCREENSAVERRUNNING : Self = Self ( 97u32 ) ; pub const SPI_GETFILTERKEYS : Self = Self ( 50u32 ) ; pub const SPI_SETFILTERKEYS : Self = Self ( 51u32 ) ; pub const SPI_GETTOGGLEKEYS : Self = Self ( 52u32 ) ; pub const SPI_SETTOGGLEKEYS : Self = Self ( 53u32 ) ; pub const SPI_GETMOUSEKEYS : Self = Self ( 54u32 ) ; pub const SPI_SETMOUSEKEYS : Self = Self ( 55u32 ) ; pub const SPI_GETSHOWSOUNDS : Self = Self ( 56u32 ) ; pub const SPI_SETSHOWSOUNDS : Self = Self ( 57u32 ) ; pub const SPI_GETSTICKYKEYS : Self = Self ( 58u32 ) ; pub const SPI_SETSTICKYKEYS : Self = Self ( 59u32 ) ; pub const SPI_GETACCESSTIMEOUT : Self = Self ( 60u32 ) ; pub const SPI_SETACCESSTIMEOUT : Self = Self ( 61u32 ) ; pub const SPI_GETSERIALKEYS : Self = Self ( 62u32 ) ; pub const SPI_SETSERIALKEYS : Self = Self ( 63u32 ) ; pub const SPI_GETSOUNDSENTRY : Self = Self ( 64u32 ) ; pub const SPI_SETSOUNDSENTRY : Self = Self ( 65u32 ) ; pub const SPI_GETSNAPTODEFBUTTON : Self = Self ( 95u32 ) ; pub const SPI_SETSNAPTODEFBUTTON : Self = Self ( 96u32 ) ; pub const SPI_GETMOUSEHOVERWIDTH : Self = Self ( 98u32 ) ; pub const SPI_SETMOUSEHOVERWIDTH : Self = Self ( 99u32 ) ; pub const SPI_GETMOUSEHOVERHEIGHT : Self = Self ( 100u32 ) ; pub const SPI_SETMOUSEHOVERHEIGHT : Self = Self ( 101u32 ) ; pub const SPI_GETMOUSEHOVERTIME : Self = Self ( 102u32 ) ; pub const SPI_SETMOUSEHOVERTIME : Self = Self ( 103u32 ) ; pub const SPI_GETWHEELSCROLLLINES : Self = Self ( 104u32 ) ; pub const SPI_SETWHEELSCROLLLINES : Self = Self ( 105u32 ) ; pub const SPI_GETMENUSHOWDELAY : Self = Self ( 106u32 ) ; pub const SPI_SETMENUSHOWDELAY : Self = Self ( 107u32 ) ; pub const SPI_GETWHEELSCROLLCHARS : Self = Self ( 108u32 ) ; pub const SPI_SETWHEELSCROLLCHARS : Self = Self ( 109u32 ) ; pub const SPI_GETSHOWIMEUI : Self = Self ( 110u32 ) ; pub const SPI_SETSHOWIMEUI : Self = Self ( 111u32 ) ; pub const SPI_GETMOUSESPEED : Self = Self ( 112u32 ) ; pub const SPI_SETMOUSESPEED : Self = Self ( 113u32 ) ; pub const SPI_GETSCREENSAVERRUNNING : Self = Self ( 114u32 ) ; pub const SPI_GETDESKWALLPAPER : Self = Self ( 115u32 ) ; pub const SPI_GETAUDIODESCRIPTION : Self = Self ( 116u32 ) ; pub const SPI_SETAUDIODESCRIPTION : Self = Self ( 117u32 ) ; pub const SPI_GETSCREENSAVESECURE : Self = Self ( 118u32 ) ; pub const SPI_SETSCREENSAVESECURE : Self = Self ( 119u32 ) ; pub const SPI_GETHUNGAPPTIMEOUT : Self = Self ( 120u32 ) ; pub const SPI_SETHUNGAPPTIMEOUT : Self = Self ( 121u32 ) ; pub const SPI_GETWAITTOKILLTIMEOUT : Self = Self ( 122u32 ) ; pub const SPI_SETWAITTOKILLTIMEOUT : Self = Self ( 123u32 ) ; pub const SPI_GETWAITTOKILLSERVICETIMEOUT : Self = Self ( 124u32 ) ; pub const SPI_SETWAITTOKILLSERVICETIMEOUT : Self = Self ( 125u32 ) ; pub const SPI_GETMOUSEDOCKTHRESHOLD : Self = Self ( 126u32 ) ; pub const SPI_SETMOUSEDOCKTHRESHOLD : Self = Self ( 127u32 ) ; pub const SPI_GETPENDOCKTHRESHOLD : Self = Self ( 128u32 ) ; pub const SPI_SETPENDOCKTHRESHOLD : Self = Self ( 129u32 ) ; pub const SPI_GETWINARRANGING : Self = Self ( 130u32 ) ; pub const SPI_SETWINARRANGING : Self = Self ( 131u32 ) ; pub const SPI_GETMOUSEDRAGOUTTHRESHOLD : Self = Self ( 132u32 ) ; pub const SPI_SETMOUSEDRAGOUTTHRESHOLD : Self = Self ( 133u32 ) ; pub const SPI_GETPENDRAGOUTTHRESHOLD : Self = Self ( 134u32 ) ; pub const SPI_SETPENDRAGOUTTHRESHOLD : Self = Self ( 135u32 ) ; pub const SPI_GETMOUSESIDEMOVETHRESHOLD : Self = Self ( 136u32 ) ; pub const SPI_SETMOUSESIDEMOVETHRESHOLD : Self = Self ( 137u32 ) ; pub const SPI_GETPENSIDEMOVETHRESHOLD : Self = Self ( 138u32 ) ; pub const SPI_SETPENSIDEMOVETHRESHOLD : Self = Self ( 139u32 ) ; pub const SPI_GETDRAGFROMMAXIMIZE : Self = Self ( 140u32 ) ; pub const SPI_SETDRAGFROMMAXIMIZE : Self = Self ( 141u32 ) ; pub const SPI_GETSNAPSIZING : Self = Self ( 142u32 ) ; pub const SPI_SETSNAPSIZING : Self = Self ( 143u32 ) ; pub const SPI_GETDOCKMOVING : Self = Self ( 144u32 ) ; pub const SPI_SETDOCKMOVING : Self = Self ( 145u32 ) ; pub const SPI_GETTOUCHPREDICTIONPARAMETERS : Self = Self ( 156u32 ) ; pub const SPI_SETTOUCHPREDICTIONPARAMETERS : Self = Self ( 157u32 ) ; pub const SPI_GETLOGICALDPIOVERRIDE : Self = Self ( 158u32 ) ; pub const SPI_SETLOGICALDPIOVERRIDE : Self = Self ( 159u32 ) ; pub const SPI_GETMENURECT : Self = Self ( 162u32 ) ; pub const SPI_SETMENURECT : Self = Self ( 163u32 ) ; pub const SPI_GETACTIVEWINDOWTRACKING : Self = Self ( 4096u32 ) ; pub const SPI_SETACTIVEWINDOWTRACKING : Self = Self ( 4097u32 ) ; pub const SPI_GETMENUANIMATION : Self = Self ( 4098u32 ) ; pub const SPI_SETMENUANIMATION : Self = Self ( 4099u32 ) ; pub const SPI_GETCOMBOBOXANIMATION : Self = Self ( 4100u32 ) ; pub const SPI_SETCOMBOBOXANIMATION : Self = Self ( 4101u32 ) ; pub const SPI_GETLISTBOXSMOOTHSCROLLING : Self = Self ( 4102u32 ) ; pub const SPI_SETLISTBOXSMOOTHSCROLLING : Self = Self ( 4103u32 ) ; pub const SPI_GETGRADIENTCAPTIONS : Self = Self ( 4104u32 ) ; pub const SPI_SETGRADIENTCAPTIONS : Self = Self ( 4105u32 ) ; pub const SPI_GETKEYBOARDCUES : Self = Self ( 4106u32 ) ; pub const SPI_SETKEYBOARDCUES : Self = Self ( 4107u32 ) ; pub const SPI_GETMENUUNDERLINES : Self = Self ( 4106u32 ) ; pub const SPI_SETMENUUNDERLINES : Self = Self ( 4107u32 ) ; pub const SPI_GETACTIVEWNDTRKZORDER : Self = Self ( 4108u32 ) ; pub const SPI_SETACTIVEWNDTRKZORDER : Self = Self ( 4109u32 ) ; pub const SPI_GETHOTTRACKING : Self = Self ( 4110u32 ) ; pub const SPI_SETHOTTRACKING : Self = Self ( 4111u32 ) ; pub const SPI_GETMENUFADE : Self = Self ( 4114u32 ) ; pub const SPI_SETMENUFADE : Self = Self ( 4115u32 ) ; pub const SPI_GETSELECTIONFADE : Self = Self ( 4116u32 ) ; pub const SPI_SETSELECTIONFADE : Self = Self ( 4117u32 ) ; pub const SPI_GETTOOLTIPANIMATION : Self = Self ( 4118u32 ) ; pub const SPI_SETTOOLTIPANIMATION : Self = Self ( 4119u32 ) ; pub const SPI_GETTOOLTIPFADE : Self = Self ( 4120u32 ) ; pub const SPI_SETTOOLTIPFADE : Self = Self ( 4121u32 ) ; pub const SPI_GETCURSORSHADOW : Self = Self ( 4122u32 ) ; pub const SPI_SETCURSORSHADOW : Self = Self ( 4123u32 ) ; pub const SPI_GETMOUSESONAR : Self = Self ( 4124u32 ) ; pub const SPI_SETMOUSESONAR : Self = Self ( 4125u32 ) ; pub const SPI_GETMOUSECLICKLOCK : Self = Self ( 4126u32 ) ; pub const SPI_SETMOUSECLICKLOCK : Self = Self ( 4127u32 ) ; pub const SPI_GETMOUSEVANISH : Self = Self ( 4128u32 ) ; pub const SPI_SETMOUSEVANISH : Self = Self ( 4129u32 ) ; pub const SPI_GETFLATMENU : Self = Self ( 4130u32 ) ; pub const SPI_SETFLATMENU : Self = Self ( 4131u32 ) ; pub const SPI_GETDROPSHADOW : Self = Self ( 4132u32 ) ; pub const SPI_SETDROPSHADOW : Self = Self ( 4133u32 ) ; pub const SPI_GETBLOCKSENDINPUTRESETS : Self = Self ( 4134u32 ) ; pub const SPI_SETBLOCKSENDINPUTRESETS : Self = Self ( 4135u32 ) ; pub const SPI_GETUIEFFECTS : Self = Self ( 4158u32 ) ; pub const SPI_SETUIEFFECTS : Self = Self ( 4159u32 ) ; pub const SPI_GETDISABLEOVERLAPPEDCONTENT : Self = Self ( 4160u32 ) ; pub const SPI_SETDISABLEOVERLAPPEDCONTENT : Self = Self ( 4161u32 ) ; pub const SPI_GETCLIENTAREAANIMATION : Self = Self ( 4162u32 ) ; pub const SPI_SETCLIENTAREAANIMATION : Self = Self ( 4163u32 ) ; pub const SPI_GETCLEARTYPE : Self = Self ( 4168u32 ) ; pub const SPI_SETCLEARTYPE : Self = Self ( 4169u32 ) ; pub const SPI_GETSPEECHRECOGNITION : Self = Self ( 4170u32 ) ; pub const SPI_SETSPEECHRECOGNITION : Self = Self ( 4171u32 ) ; pub const SPI_GETCARETBROWSING : Self = Self ( 4172u32 ) ; pub const SPI_SETCARETBROWSING : Self = Self ( 4173u32 ) ; pub const SPI_GETTHREADLOCALINPUTSETTINGS : Self = Self ( 4174u32 ) ; pub const SPI_SETTHREADLOCALINPUTSETTINGS : Self = Self ( 4175u32 ) ; pub const SPI_GETSYSTEMLANGUAGEBAR : Self = Self ( 4176u32 ) ; pub const SPI_SETSYSTEMLANGUAGEBAR : Self = Self ( 4177u32 ) ; pub const SPI_GETFOREGROUNDLOCKTIMEOUT : Self = Self ( 8192u32 ) ; pub const SPI_SETFOREGROUNDLOCKTIMEOUT : Self = Self ( 8193u32 ) ; pub const SPI_GETACTIVEWNDTRKTIMEOUT : Self = Self ( 8194u32 ) ; pub const SPI_SETACTIVEWNDTRKTIMEOUT : Self = Self ( 8195u32 ) ; pub const SPI_GETFOREGROUNDFLASHCOUNT : Self = Self ( 8196u32 ) ; pub const SPI_SETFOREGROUNDFLASHCOUNT : Self = Self ( 8197u32 ) ; pub const SPI_GETCARETWIDTH : Self = Self ( 8198u32 ) ; pub const SPI_SETCARETWIDTH : Self = Self ( 8199u32 ) ; pub const SPI_GETMOUSECLICKLOCKTIME : Self = Self ( 8200u32 ) ; pub const SPI_SETMOUSECLICKLOCKTIME : Self = Self ( 8201u32 ) ; pub const SPI_GETFONTSMOOTHINGTYPE : Self = Self ( 8202u32 ) ; pub const SPI_SETFONTSMOOTHINGTYPE : Self = Self ( 8203u32 ) ; pub const SPI_GETFONTSMOOTHINGCONTRAST : Self = Self ( 8204u32 ) ; pub const SPI_SETFONTSMOOTHINGCONTRAST : Self = Self ( 8205u32 ) ; pub const SPI_GETFOCUSBORDERWIDTH : Self = Self ( 8206u32 ) ; pub const SPI_SETFOCUSBORDERWIDTH : Self = Self ( 8207u32 ) ; pub const SPI_GETFOCUSBORDERHEIGHT : Self = Self ( 8208u32 ) ; pub const SPI_SETFOCUSBORDERHEIGHT : Self = Self ( 8209u32 ) ; pub const SPI_GETFONTSMOOTHINGORIENTATION : Self = Self ( 8210u32 ) ; pub const SPI_SETFONTSMOOTHINGORIENTATION : Self = Self ( 8211u32 ) ; pub const SPI_GETMINIMUMHITRADIUS : Self = Self ( 8212u32 ) ; pub const SPI_SETMINIMUMHITRADIUS : Self = Self ( 8213u32 ) ; pub const SPI_GETMESSAGEDURATION : Self = Self ( 8214u32 ) ; pub const SPI_SETMESSAGEDURATION : Self = Self ( 8215u32 ) ; pub const SPI_GETCONTACTVISUALIZATION : Self = Self ( 8216u32 ) ; pub const SPI_SETCONTACTVISUALIZATION : Self = Self ( 8217u32 ) ; pub const SPI_GETGESTUREVISUALIZATION : Self = Self ( 8218u32 ) ; pub const SPI_SETGESTUREVISUALIZATION : Self = Self ( 8219u32 ) ; pub const SPI_GETMOUSEWHEELROUTING : Self = Self ( 8220u32 ) ; pub const SPI_SETMOUSEWHEELROUTING : Self = Self ( 8221u32 ) ; pub const SPI_GETPENVISUALIZATION : Self = Self ( 8222u32 ) ; pub const SPI_SETPENVISUALIZATION : Self = Self ( 8223u32 ) ; pub const SPI_GETPENARBITRATIONTYPE : Self = Self ( 8224u32 ) ; pub const SPI_SETPENARBITRATIONTYPE : Self = Self ( 8225u32 ) ; pub const SPI_GETCARETTIMEOUT : Self = Self ( 8226u32 ) ; pub const SPI_SETCARETTIMEOUT : Self = Self ( 8227u32 ) ; pub const SPI_GETHANDEDNESS : Self = Self ( 8228u32 ) ; pub const SPI_SETHANDEDNESS : Self = Self ( 8229u32 ) ; } impl :: std :: convert :: From < u32 > for SYSTEM_PARAMETERS_INFO_ACTION { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SYSTEM_PARAMETERS_INFO_ACTION { type Abi = Self ; } impl :: std :: ops :: BitOr for SYSTEM_PARAMETERS_INFO_ACTION { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for SYSTEM_PARAMETERS_INFO_ACTION { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for SYSTEM_PARAMETERS_INFO_ACTION { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for SYSTEM_PARAMETERS_INFO_ACTION { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn SendDlgItemMessageA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T3__ : :: windows :: IntoParam < 'a , WPARAM > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hdlg : T0__ , niddlgitem : i32 , msg : u32 , wparam : T3__ , lparam : T4__ , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SendDlgItemMessageW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T3__ : :: windows :: IntoParam < 'a , WPARAM > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hdlg : T0__ , niddlgitem : i32 , msg : u32 , wparam : T3__ , lparam : T4__ , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SendMessageA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , msg : u32 , wparam : WPARAM , lparam : LPARAM , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SendMessageCallbackA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwnd : T0__ , msg : u32 , wparam : T2__ , lparam : T3__ , lpresultcallback : :: std :: option :: Option < SENDASYNCPROC > , dwdata : usize , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SendMessageCallbackW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwnd : T0__ , msg : u32 , wparam : T2__ , lparam : T3__ , lpresultcallback : :: std :: option :: Option < SENDASYNCPROC > , dwdata : usize , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SendMessageTimeout_fuFlags ( pub u32 ) ; impl SendMessageTimeout_fuFlags { pub const SMTO_ABORTIFHUNG : Self = Self ( 2u32 ) ; pub const SMTO_BLOCK : Self = Self ( 1u32 ) ; pub const SMTO_NORMAL : Self = Self ( 0u32 ) ; pub const SMTO_NOTIMEOUTIFNOTHUNG : Self = Self ( 8u32 ) ; pub const SMTO_ERRORONEXIT : Self = Self ( 32u32 ) ; } impl :: std :: convert :: From < u32 > for SendMessageTimeout_fuFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SendMessageTimeout_fuFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for SendMessageTimeout_fuFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for SendMessageTimeout_fuFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for SendMessageTimeout_fuFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for SendMessageTimeout_fuFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn SendMessageTimeoutA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwnd : T0__ , msg : u32 , wparam : T2__ , lparam : T3__ , fuflags : SendMessageTimeout_fuFlags , utimeout : u32 , lpdwresult : * mut usize , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SendMessageTimeoutW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwnd : T0__ , msg : u32 , wparam : T2__ , lparam : T3__ , fuflags : SendMessageTimeout_fuFlags , utimeout : u32 , lpdwresult : * mut usize , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SendMessageW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , msg : u32 , wparam : WPARAM , lparam : LPARAM , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SendNotifyMessageA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwnd : T0__ , msg : u32 , wparam : T2__ , lparam : T3__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SendNotifyMessageW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwnd : T0__ , msg : u32 , wparam : T2__ , lparam : T3__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetCaretBlinkTime < > ( umseconds : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetCaretPos < > ( x : i32 , y : i32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetClassLongA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : GetClassLong_nIndex , dwnewlong : i32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetClassLongPtrA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : GetClassLong_nIndex , dwnewlong : isize , ) -> usize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetClassLongPtrW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : GetClassLong_nIndex , dwnewlong : isize , ) -> usize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetClassLongW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : GetClassLong_nIndex , dwnewlong : i32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetClassWord < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : i32 , wnewword : u16 , ) -> u16 { panic ! ( "Unsupported target OS" ) ; } pub type TIMERPROC = extern "system" fn ( param0 : HWND , param1 : u32 , param2 : usize , param3 : u32 ) ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SetCoalescableTimer_uToleranceDelayFlags ( pub u32 ) ; impl SetCoalescableTimer_uToleranceDelayFlags { pub const TIMERV_DEFAULT_COALESCING : Self = Self ( 0u32 ) ; pub const TIMERV_NO_COALESCING : Self = Self ( 4294967295u32 ) ; } impl :: std :: convert :: From < u32 > for SetCoalescableTimer_uToleranceDelayFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SetCoalescableTimer_uToleranceDelayFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for SetCoalescableTimer_uToleranceDelayFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for SetCoalescableTimer_uToleranceDelayFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for SetCoalescableTimer_uToleranceDelayFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for SetCoalescableTimer_uToleranceDelayFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn SetCoalescableTimer < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nidevent : usize , uelapse : u32 , lptimerfunc : :: std :: option :: Option < TIMERPROC > , utolerancedelay : SetCoalescableTimer_uToleranceDelayFlags , ) -> usize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetCursor < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HCURSOR > , > ( hcursor : T0__ , ) -> super :: MenusAndResources :: HCURSOR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetCursorPos < > ( x : i32 , y : i32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetDebugErrorLevel < > ( dwlevel : u32 , ) { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetDlgItemInt < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( hdlg : T0__ , niddlgitem : i32 , uvalue : u32 , bsigned : T3__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetDlgItemTextA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hdlg : T0__ , niddlgitem : i32 , lpstring : T2__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetDlgItemTextW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hdlg : T0__ , niddlgitem : i32 , lpstring : T2__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetForegroundWindow < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetLayeredWindowAttributes < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , crkey : u32 , balpha : u8 , dwflags : SetLayeredWindowAttributes_dwFlags , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetMenu < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hwnd : T0__ , hmenu : T1__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetMenuDefaultItem < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hmenu : T0__ , uitem : u32 , fbypos : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetMenuInfo < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( param0 : T0__ , param1 : * mut MENUINFO , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetMenuItemBitmaps < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T3__ : :: windows :: IntoParam < 'a , super :: Gdi :: HBITMAP > , T4__ : :: windows :: IntoParam < 'a , super :: Gdi :: HBITMAP > , > ( hmenu : T0__ , uposition : u32 , uflags : MENU_ITEM_FLAGS , hbitmapunchecked : T3__ , hbitmapchecked : T4__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetMenuItemInfoA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( hmenu : T0__ , item : u32 , fbypositon : T2__ , lpmii : * mut MENUITEMINFOA , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetMenuItemInfoW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( hmenu : T0__ , item : u32 , fbypositon : T2__ , lpmii : * mut MENUITEMINFOW , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetMessageExtraInfo < 'a , T0__ : :: windows :: IntoParam < 'a , LPARAM > , > ( lparam : T0__ , ) -> LPARAM { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetMessageQueue < > ( cmessagesmax : i32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetParent < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , HWND > , > ( hwndchild : T0__ , hwndnewparent : T1__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetPhysicalCursorPos < > ( x : i32 , y : i32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetProcessDPIAware < > ( ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetProcessDefaultLayout < > ( dwdefaultlayout : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetPropA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HANDLE > , > ( hwnd : T0__ , lpstring : T1__ , hdata : T2__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetPropW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HANDLE > , > ( hwnd : T0__ , lpstring : T1__ , hdata : T2__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetSysColors < > ( celements : i32 , lpaelements : * const i32 , lpargbvalues : * const u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SetSystemCursor_idFlags ( pub u32 ) ; impl SetSystemCursor_idFlags { pub const OCR_APPSTARTING : Self = Self ( 32650u32 ) ; pub const OCR_NORMAL : Self = Self ( 32512u32 ) ; pub const OCR_CROSS : Self = Self ( 32515u32 ) ; pub const OCR_HAND : Self = Self ( 32649u32 ) ; pub const OCR_HELP : Self = Self ( 32651u32 ) ; pub const OCR_IBEAM : Self = Self ( 32513u32 ) ; pub const OCR_NO : Self = Self ( 32648u32 ) ; pub const OCR_SIZEALL : Self = Self ( 32646u32 ) ; pub const OCR_SIZENESW : Self = Self ( 32643u32 ) ; pub const OCR_SIZENS : Self = Self ( 32645u32 ) ; pub const OCR_SIZENWSE : Self = Self ( 32642u32 ) ; pub const OCR_SIZEWE : Self = Self ( 32644u32 ) ; pub const OCR_UP : Self = Self ( 32516u32 ) ; pub const OCR_WAIT : Self = Self ( 32514u32 ) ; } impl :: std :: convert :: From < u32 > for SetSystemCursor_idFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SetSystemCursor_idFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for SetSystemCursor_idFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for SetSystemCursor_idFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for SetSystemCursor_idFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for SetSystemCursor_idFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn SetSystemCursor < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HCURSOR > , > ( hcur : T0__ , id : SetSystemCursor_idFlags , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetTimer < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nidevent : usize , uelapse : u32 , lptimerfunc : :: std :: option :: Option < TIMERPROC > , ) -> usize { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SetWindowDisplayAffinity_dwAffinityFlags ( pub u32 ) ; impl SetWindowDisplayAffinity_dwAffinityFlags { pub const WDA_NONE : Self = Self ( 0u32 ) ; pub const WDA_MONITOR : Self = Self ( 1u32 ) ; pub const WDA_EXCLUDEFROMCAPTURE : Self = Self ( 17u32 ) ; } impl :: std :: convert :: From < u32 > for SetWindowDisplayAffinity_dwAffinityFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SetWindowDisplayAffinity_dwAffinityFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for SetWindowDisplayAffinity_dwAffinityFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for SetWindowDisplayAffinity_dwAffinityFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for SetWindowDisplayAffinity_dwAffinityFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for SetWindowDisplayAffinity_dwAffinityFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn SetWindowDisplayAffinity < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , dwaffinity : SetWindowDisplayAffinity_dwAffinityFlags , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetWindowLongA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : WINDOW_LONG_PTR_INDEX , dwnewlong : i32 , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetWindowLongPtrA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : WINDOW_LONG_PTR_INDEX , dwnewlong : isize , ) -> isize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetWindowLongPtrW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : WINDOW_LONG_PTR_INDEX , dwnewlong : isize , ) -> isize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetWindowLongW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : WINDOW_LONG_PTR_INDEX , dwnewlong : i32 , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetWindowPlacement < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , lpwndpl : * const WINDOWPLACEMENT , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetWindowPos < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , hwndinsertafter : T1__ , x : i32 , y : i32 , cx : i32 , cy : i32 , uflags : SetWindowPos_uFlags , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetWindowTextA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hwnd : T0__ , lpstring : T1__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetWindowTextW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hwnd : T0__ , lpstring : T1__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetWindowWord < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : i32 , wnewword : u16 , ) -> u16 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetWindowsHookA < > ( nfiltertype : i32 , pfnfilterproc : :: std :: option :: Option < HOOKPROC > , ) -> HHOOK { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SetWindowsHookEx_idHook ( pub i32 ) ; impl SetWindowsHookEx_idHook { pub const WH_CALLWNDPROC : Self = Self ( 4i32 ) ; pub const WH_CALLWNDPROCRET : Self = Self ( 12i32 ) ; pub const WH_CBT : Self = Self ( 5i32 ) ; pub const WH_DEBUG : Self = Self ( 9i32 ) ; pub const WH_FOREGROUNDIDLE : Self = Self ( 11i32 ) ; pub const WH_GETMESSAGE : Self = Self ( 3i32 ) ; pub const WH_JOURNALPLAYBACK : Self = Self ( 1i32 ) ; pub const WH_JOURNALRECORD : Self = Self ( 0i32 ) ; pub const WH_KEYBOARD : Self = Self ( 2i32 ) ; pub const WH_KEYBOARD_LL : Self = Self ( 13i32 ) ; pub const WH_MOUSE : Self = Self ( 7i32 ) ; pub const WH_MOUSE_LL : Self = Self ( 14i32 ) ; pub const WH_MSGFILTER : Self = Self ( -1i32 ) ; pub const WH_SHELL : Self = Self ( 10i32 ) ; pub const WH_SYSMSGFILTER : Self = Self ( 6i32 ) ; } impl :: std :: convert :: From < i32 > for SetWindowsHookEx_idHook { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SetWindowsHookEx_idHook { type Abi = Self ; } pub unsafe fn SetWindowsHookExA < 'a , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , > ( idhook : SetWindowsHookEx_idHook , lpfn : :: std :: option :: Option < HOOKPROC > , hmod : T2__ , dwthreadid : u32 , ) -> HHOOK { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetWindowsHookExW < 'a , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , > ( idhook : SetWindowsHookEx_idHook , lpfn : :: std :: option :: Option < HOOKPROC > , hmod : T2__ , dwthreadid : u32 , ) -> HHOOK { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetWindowsHookW < > ( nfiltertype : i32 , pfnfilterproc : :: std :: option :: Option < HOOKPROC > , ) -> HHOOK { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ShowCaret < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ShowCursor < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( bshow : T0__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ShowOwnedPopups < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( hwnd : T0__ , fshow : T1__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ShowWindow < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ncmdshow : SHOW_WINDOW_CMD , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ShowWindowAsync < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ncmdshow : i32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SizeofResource < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HRSRC > , > ( hmodule : isize , hresinfo : T1__ , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SoundSentry < > ( ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SwitchToThisWindow < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( hwnd : T0__ , funknown : T1__ , ) { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SystemParametersInfo_fWinIni ( pub u32 ) ; impl SystemParametersInfo_fWinIni { pub const SPIF_UPDATEINIFILE : Self = Self ( 1u32 ) ; pub const SPIF_SENDCHANGE : Self = Self ( 2u32 ) ; pub const SPIF_SENDWININICHANGE : Self = Self ( 2u32 ) ; } impl :: std :: convert :: From < u32 > for SystemParametersInfo_fWinIni { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SystemParametersInfo_fWinIni { type Abi = Self ; } impl :: std :: ops :: BitOr for SystemParametersInfo_fWinIni { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for SystemParametersInfo_fWinIni { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for SystemParametersInfo_fWinIni { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for SystemParametersInfo_fWinIni { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn SystemParametersInfoA < > ( uiaction : SYSTEM_PARAMETERS_INFO_ACTION , uiparam : u32 , pvparam : * mut :: std :: ffi :: c_void , fwinini : SystemParametersInfo_fWinIni , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SystemParametersInfoW < > ( uiaction : SYSTEM_PARAMETERS_INFO_ACTION , uiparam : u32 , pvparam : * mut :: std :: ffi :: c_void , fwinini : SystemParametersInfo_fWinIni , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub const TIMERV_COALESCING_MAX : u32 = 2147483637u32 ; pub const TIMERV_COALESCING_MIN : u32 = 1u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct TITLEBARINFOEX { pub cbSize : u32 , pub rcTitleBar : super :: DisplayDevices :: RECT , pub rgstate : [ u32 ;6 ] , pub rgrect : [ super :: DisplayDevices :: RECT ;6 ] } impl TITLEBARINFOEX { } impl :: std :: default :: Default for TITLEBARINFOEX { fn default ( ) -> Self { Self { cbSize : 0 , rcTitleBar : :: std :: default :: Default :: default ( ) , rgstate : [ 0 ;6 ] , rgrect : [ :: std :: default :: Default :: default ( ) ;6 ] } } } impl :: std :: fmt :: Debug for TITLEBARINFOEX { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TITLEBARINFOEX" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "rcTitleBar" , & format_args ! ( "{:?}" , self . rcTitleBar ) ) . field ( "rgstate" , & format_args ! ( "{:?}" , self . rgstate ) ) . field ( "rgrect" , & format_args ! ( "{:?}" , self . rgrect ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TITLEBARINFOEX { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . rcTitleBar == other . rcTitleBar && self . rgstate == other . rgstate && self . rgrect == other . rgrect } } impl :: std :: cmp :: Eq for TITLEBARINFOEX { } unsafe impl :: windows :: Abi for TITLEBARINFOEX { type Abi = Self ; } pub const TKF_AVAILABLE : u32 = 2u32 ; pub const TKF_CONFIRMHOTKEY : u32 = 8u32 ; pub const TKF_HOTKEYACTIVE : u32 = 4u32 ; pub const TKF_HOTKEYSOUND : u32 = 16u32 ; pub const TKF_INDICATOR : u32 = 32u32 ; pub const TKF_TOGGLEKEYSON : u32 = 1u32 ; pub const TOUCHPREDICTIONPARAMETERS_DEFAULT_LATENCY : u32 = 8u32 ; pub const TOUCHPREDICTIONPARAMETERS_DEFAULT_RLS_DELTA : f32 = 0.001f32 ; pub const TOUCHPREDICTIONPARAMETERS_DEFAULT_RLS_EXPO_SMOOTH_ALPHA : f32 = 0.99f32 ; pub const TOUCHPREDICTIONPARAMETERS_DEFAULT_RLS_LAMBDA_LEARNING_RATE : f32 = 0.001f32 ; pub const TOUCHPREDICTIONPARAMETERS_DEFAULT_RLS_LAMBDA_MAX : f32 = 0.999f32 ; pub const TOUCHPREDICTIONPARAMETERS_DEFAULT_RLS_LAMBDA_MIN : f32 = 0.9f32 ; pub const TOUCHPREDICTIONPARAMETERS_DEFAULT_SAMPLETIME : u32 = 8u32 ; pub const TOUCHPREDICTIONPARAMETERS_DEFAULT_USE_HW_TIMESTAMP : u32 = 1u32 ; pub const TOUCH_FLAG_NONE : u32 = 0u32 ; pub const TOUCH_HIT_TESTING_CLIENT : u32 = 1u32 ; pub const TOUCH_HIT_TESTING_DEFAULT : u32 = 0u32 ; pub const TOUCH_HIT_TESTING_NONE : u32 = 2u32 ; pub const TOUCH_HIT_TESTING_PROXIMITY_CLOSEST : u32 = 0u32 ; pub const TOUCH_HIT_TESTING_PROXIMITY_FARTHEST : u32 = 4095u32 ; pub const TOUCH_MASK_CONTACTAREA : u32 = 1u32 ; pub const TOUCH_MASK_NONE : u32 = 0u32 ; pub const TOUCH_MASK_ORIENTATION : u32 = 2u32 ; pub const TOUCH_MASK_PRESSURE : u32 = 4u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct TPMPARAMS { pub cbSize : u32 , pub rcExclude : super :: DisplayDevices :: RECT } impl TPMPARAMS { } impl :: std :: default :: Default for TPMPARAMS { fn default ( ) -> Self { Self { cbSize : 0 , rcExclude : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for TPMPARAMS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TPMPARAMS" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "rcExclude" , & format_args ! ( "{:?}" , self . rcExclude ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TPMPARAMS { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . rcExclude == other . rcExclude } } impl :: std :: cmp :: Eq for TPMPARAMS { } unsafe impl :: windows :: Abi for TPMPARAMS { type Abi = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct TRACK_POPUP_MENU_FLAGS ( pub u32 ) ; impl TRACK_POPUP_MENU_FLAGS { pub const TPM_LEFTBUTTON : Self = Self ( 0u32 ) ; pub const TPM_RIGHTBUTTON : Self = Self ( 2u32 ) ; pub const TPM_LEFTALIGN : Self = Self ( 0u32 ) ; pub const TPM_CENTERALIGN : Self = Self ( 4u32 ) ; pub const TPM_RIGHTALIGN : Self = Self ( 8u32 ) ; pub const TPM_TOPALIGN : Self = Self ( 0u32 ) ; pub const TPM_VCENTERALIGN : Self = Self ( 16u32 ) ; pub const TPM_BOTTOMALIGN : Self = Self ( 32u32 ) ; pub const TPM_HORIZONTAL : Self = Self ( 0u32 ) ; pub const TPM_VERTICAL : Self = Self ( 64u32 ) ; pub const TPM_NONOTIFY : Self = Self ( 128u32 ) ; pub const TPM_RETURNCMD : Self = Self ( 256u32 ) ; pub const TPM_RECURSE : Self = Self ( 1u32 ) ; pub const TPM_HORPOSANIMATION : Self = Self ( 1024u32 ) ; pub const TPM_HORNEGANIMATION : Self = Self ( 2048u32 ) ; pub const TPM_VERPOSANIMATION : Self = Self ( 4096u32 ) ; pub const TPM_VERNEGANIMATION : Self = Self ( 8192u32 ) ; pub const TPM_NOANIMATION : Self = Self ( 16384u32 ) ; pub const TPM_LAYOUTRTL : Self = Self ( 32768u32 ) ; pub const TPM_WORKAREA : Self = Self ( 65536u32 ) ; } impl :: std :: convert :: From < u32 > for TRACK_POPUP_MENU_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for TRACK_POPUP_MENU_FLAGS { type Abi = Self ; } impl :: std :: ops :: BitOr for TRACK_POPUP_MENU_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for TRACK_POPUP_MENU_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for TRACK_POPUP_MENU_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for TRACK_POPUP_MENU_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub const TT_OPENTYPE_FONTTYPE : u32 = 131072u32 ; pub const TYPE1_FONTTYPE : u32 = 262144u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct TileWindows_wHowFlags ( pub u32 ) ; impl TileWindows_wHowFlags { pub const MDITILE_HORIZONTAL : Self = Self ( 1u32 ) ; pub const MDITILE_VERTICAL : Self = Self ( 0u32 ) ; } impl :: std :: convert :: From < u32 > for TileWindows_wHowFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for TileWindows_wHowFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for TileWindows_wHowFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for TileWindows_wHowFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for TileWindows_wHowFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for TileWindows_wHowFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn TileWindows < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwndparent : T0__ , whow : TileWindows_wHowFlags , lprect : * const super :: DisplayDevices :: RECT , ckids : u32 , lpkids : * const HWND , ) -> u16 { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct TouchPredictionParameters { pub cbSize : u32 , pub dwLatency : u32 , pub dwSampleTime : u32 , pub bUseHWTimeStamp : u32 } impl TouchPredictionParameters { } impl :: std :: default :: Default for TouchPredictionParameters { fn default ( ) -> Self { Self { cbSize : 0 , dwLatency : 0 , dwSampleTime : 0 , bUseHWTimeStamp : 0 } } } impl :: std :: fmt :: Debug for TouchPredictionParameters { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TouchPredictionParameters" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "dwLatency" , & format_args ! ( "{:?}" , self . dwLatency ) ) . field ( "dwSampleTime" , & format_args ! ( "{:?}" , self . dwSampleTime ) ) . field ( "bUseHWTimeStamp" , & format_args ! ( "{:?}" , self . bUseHWTimeStamp ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TouchPredictionParameters { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . dwLatency == other . dwLatency && self . dwSampleTime == other . dwSampleTime && self . bUseHWTimeStamp == other . bUseHWTimeStamp } } impl :: std :: cmp :: Eq for TouchPredictionParameters { } unsafe impl :: windows :: Abi for TouchPredictionParameters { type Abi = Self ; } pub unsafe fn TrackPopupMenu < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T5__ : :: windows :: IntoParam < 'a , HWND > , > ( hmenu : T0__ , uflags : TRACK_POPUP_MENU_FLAGS , x : i32 , y : i32 , nreserved : i32 , hwnd : T5__ , prcrect : * const super :: DisplayDevices :: RECT , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn TrackPopupMenuEx < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T4__ : :: windows :: IntoParam < 'a , HWND > , > ( hmenu : T0__ , uflags : u32 , x : i32 , y : i32 , hwnd : T4__ , lptpm : * mut TPMPARAMS , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn TranslateAcceleratorA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HACCEL > , > ( hwnd : T0__ , hacctable : T1__ , lpmsg : * mut MSG , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn TranslateAcceleratorW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HACCEL > , > ( hwnd : T0__ , hacctable : T1__ , lpmsg : * mut MSG , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn TranslateMDISysAccel < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwndclient : T0__ , lpmsg : * mut MSG , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn TranslateMessage < > ( lpmsg : * const MSG , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub const UISF_ACTIVE : u32 = 4u32 ; pub const UISF_HIDEACCEL : u32 = 2u32 ; pub const UISF_HIDEFOCUS : u32 = 1u32 ; pub const UIS_CLEAR : u32 = 2u32 ; pub const UIS_INITIALIZE : u32 = 3u32 ; pub const UIS_SET : u32 = 1u32 ; pub const UNICODE_NOCHAR : u32 = 65535u32 ; pub const UOI_TIMERPROC_EXCEPTION_SUPPRESSION : u32 = 7u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct UpdateLayeredWindow_dwFlags ( pub u32 ) ; impl UpdateLayeredWindow_dwFlags { pub const ULW_ALPHA : Self = Self ( 2u32 ) ; pub const ULW_COLORKEY : Self = Self ( 1u32 ) ; pub const ULW_OPAQUE : Self = Self ( 4u32 ) ; pub const ULW_EX_NORESIZE : Self = Self ( 8u32 ) ; } impl :: std :: convert :: From < u32 > for UpdateLayeredWindow_dwFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for UpdateLayeredWindow_dwFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for UpdateLayeredWindow_dwFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for UpdateLayeredWindow_dwFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for UpdateLayeredWindow_dwFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for UpdateLayeredWindow_dwFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct UPDATELAYEREDWINDOWINFO { pub cbSize : u32 , pub hdcDst : super :: Gdi :: HDC , pub pptDst : * mut super :: DisplayDevices :: POINT , pub psize : * mut super :: DisplayDevices :: SIZE , pub hdcSrc : super :: Gdi :: HDC , pub pptSrc : * mut super :: DisplayDevices :: POINT , pub crKey : u32 , pub pblend : * mut super :: Gdi :: BLENDFUNCTION , pub dwFlags : UpdateLayeredWindow_dwFlags , pub prcDirty : * mut super :: DisplayDevices :: RECT } impl UPDATELAYEREDWINDOWINFO { } impl :: std :: default :: Default for UPDATELAYEREDWINDOWINFO { fn default ( ) -> Self { Self { cbSize : 0 , hdcDst : :: std :: default :: Default :: default ( ) , pptDst : :: std :: ptr :: null_mut ( ) , psize : :: std :: ptr :: null_mut ( ) , hdcSrc : :: std :: default :: Default :: default ( ) , pptSrc : :: std :: ptr :: null_mut ( ) , crKey : 0 , pblend : :: std :: ptr :: null_mut ( ) , dwFlags : :: std :: default :: Default :: default ( ) , prcDirty : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for UPDATELAYEREDWINDOWINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "UPDATELAYEREDWINDOWINFO" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "hdcDst" , & format_args ! ( "{:?}" , self . hdcDst ) ) . field ( "pptDst" , & format_args ! ( "{:?}" , self . pptDst ) ) . field ( "psize" , & format_args ! ( "{:?}" , self . psize ) ) . field ( "hdcSrc" , & format_args ! ( "{:?}" , self . hdcSrc ) ) . field ( "pptSrc" , & format_args ! ( "{:?}" , self . pptSrc ) ) . field ( "crKey" , & format_args ! ( "{:?}" , self . crKey ) ) . field ( "pblend" , & format_args ! ( "{:?}" , self . pblend ) ) . field ( "dwFlags" , & format_args ! ( "{:?}" , self . dwFlags ) ) . field ( "prcDirty" , & format_args ! ( "{:?}" , self . prcDirty ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for UPDATELAYEREDWINDOWINFO { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . hdcDst == other . hdcDst && self . pptDst == other . pptDst && self . psize == other . psize && self . hdcSrc == other . hdcSrc && self . pptSrc == other . pptSrc && self . crKey == other . crKey && self . pblend == other . pblend && self . dwFlags == other . dwFlags && self . prcDirty == other . prcDirty } } impl :: std :: cmp :: Eq for UPDATELAYEREDWINDOWINFO { } unsafe impl :: windows :: Abi for UPDATELAYEREDWINDOWINFO { type Abi = Self ; } pub const USER_DEFAULT_SCREEN_DPI : u32 = 96u32 ; pub const USER_TIMER_MAXIMUM : u32 = 2147483647u32 ; pub const USER_TIMER_MINIMUM : u32 = 10u32 ; pub unsafe fn UnhookWindowsHook < > ( ncode : i32 , pfnfilterproc : :: std :: option :: Option < HOOKPROC > , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn UnhookWindowsHookEx < 'a , T0__ : :: windows :: IntoParam < 'a , HHOOK > , > ( hhk : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn UnregisterClassA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , > ( lpclassname : T0__ , hinstance : T1__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn UnregisterClassW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , > ( lpclassname : T0__ , hinstance : T1__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn UpdateLayeredWindow < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: Gdi :: HDC > , T4__ : :: windows :: IntoParam < 'a , super :: Gdi :: HDC > , > ( hwnd : T0__ , hdcdst : T1__ , pptdst : * mut super :: DisplayDevices :: POINT , psize : * mut super :: DisplayDevices :: SIZE , hdcsrc : T4__ , pptsrc : * mut super :: DisplayDevices :: POINT , crkey : u32 , pblend : * mut super :: Gdi :: BLENDFUNCTION , dwflags : UpdateLayeredWindow_dwFlags , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn UpdateLayeredWindowIndirect < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , pulwinfo : * const UPDATELAYEREDWINDOWINFO , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn UpdateResourceA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HANDLE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hupdate : T0__ , lptype : T1__ , lpname : T2__ , wlanguage : u16 , lpdata : * mut :: std :: ffi :: c_void , cb : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn UpdateResourceW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HANDLE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hupdate : T0__ , lptype : T1__ , lpname : T2__ , wlanguage : u16 , lpdata : * mut :: std :: ffi :: c_void , cb : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub const VK_ACCEPT : u32 = 30u32 ; pub const VK_ADD : u32 = 107u32 ; pub const VK_APPS : u32 = 93u32 ; pub const VK_ATTN : u32 = 246u32 ; pub const VK_BACK : u32 = 8u32 ; pub const VK_BROWSER_BACK : u32 = 166u32 ; pub const VK_BROWSER_FAVORITES : u32 = 171u32 ; pub const VK_BROWSER_FORWARD : u32 = 167u32 ; pub const VK_BROWSER_HOME : u32 = 172u32 ; pub const VK_BROWSER_REFRESH : u32 = 168u32 ; pub const VK_BROWSER_SEARCH : u32 = 170u32 ; pub const VK_BROWSER_STOP : u32 = 169u32 ; pub const VK_CANCEL : u32 = 3u32 ; pub const VK_CAPITAL : u32 = 20u32 ; pub const VK_CLEAR : u32 = 12u32 ; pub const VK_CONTROL : u32 = 17u32 ; pub const VK_CONVERT : u32 = 28u32 ; pub const VK_CRSEL : u32 = 247u32 ; pub const VK_DECIMAL : u32 = 110u32 ; pub const VK_DELETE : u32 = 46u32 ; pub const VK_DIVIDE : u32 = 111u32 ; pub const VK_DOWN : u32 = 40u32 ; pub const VK_END : u32 = 35u32 ; pub const VK_EREOF : u32 = 249u32 ; pub const VK_ESCAPE : u32 = 27u32 ; pub const VK_EXECUTE : u32 = 43u32 ; pub const VK_EXSEL : u32 = 248u32 ; pub const VK_F1 : u32 = 112u32 ; pub const VK_F10 : u32 = 121u32 ; pub const VK_F11 : u32 = 122u32 ; pub const VK_F12 : u32 = 123u32 ; pub const VK_F13 : u32 = 124u32 ; pub const VK_F14 : u32 = 125u32 ; pub const VK_F15 : u32 = 126u32 ; pub const VK_F16 : u32 = 127u32 ; pub const VK_F17 : u32 = 128u32 ; pub const VK_F18 : u32 = 129u32 ; pub const VK_F19 : u32 = 130u32 ; pub const VK_F2 : u32 = 113u32 ; pub const VK_F20 : u32 = 131u32 ; pub const VK_F21 : u32 = 132u32 ; pub const VK_F22 : u32 = 133u32 ; pub const VK_F23 : u32 = 134u32 ; pub const VK_F24 : u32 = 135u32 ; pub const VK_F3 : u32 = 114u32 ; pub const VK_F4 : u32 = 115u32 ; pub const VK_F5 : u32 = 116u32 ; pub const VK_F6 : u32 = 117u32 ; pub const VK_F7 : u32 = 118u32 ; pub const VK_F8 : u32 = 119u32 ; pub const VK_F9 : u32 = 120u32 ; pub const VK_FINAL : u32 = 24u32 ; pub const VK_GAMEPAD_A : u32 = 195u32 ; pub const VK_GAMEPAD_B : u32 = 196u32 ; pub const VK_GAMEPAD_DPAD_DOWN : u32 = 204u32 ; pub const VK_GAMEPAD_DPAD_LEFT : u32 = 205u32 ; pub const VK_GAMEPAD_DPAD_RIGHT : u32 = 206u32 ; pub const VK_GAMEPAD_DPAD_UP : u32 = 203u32 ; pub const VK_GAMEPAD_LEFT_SHOULDER : u32 = 200u32 ; pub const VK_GAMEPAD_LEFT_THUMBSTICK_BUTTON : u32 = 209u32 ; pub const VK_GAMEPAD_LEFT_THUMBSTICK_DOWN : u32 = 212u32 ; pub const VK_GAMEPAD_LEFT_THUMBSTICK_LEFT : u32 = 214u32 ; pub const VK_GAMEPAD_LEFT_THUMBSTICK_RIGHT : u32 = 213u32 ; pub const VK_GAMEPAD_LEFT_THUMBSTICK_UP : u32 = 211u32 ; pub const VK_GAMEPAD_LEFT_TRIGGER : u32 = 201u32 ; pub const VK_GAMEPAD_MENU : u32 = 207u32 ; pub const VK_GAMEPAD_RIGHT_SHOULDER : u32 = 199u32 ; pub const VK_GAMEPAD_RIGHT_THUMBSTICK_BUTTON : u32 = 210u32 ; pub const VK_GAMEPAD_RIGHT_THUMBSTICK_DOWN : u32 = 216u32 ; pub const VK_GAMEPAD_RIGHT_THUMBSTICK_LEFT : u32 = 218u32 ; pub const VK_GAMEPAD_RIGHT_THUMBSTICK_RIGHT : u32 = 217u32 ; pub const VK_GAMEPAD_RIGHT_THUMBSTICK_UP : u32 = 215u32 ; pub const VK_GAMEPAD_RIGHT_TRIGGER : u32 = 202u32 ; pub const VK_GAMEPAD_VIEW : u32 = 208u32 ; pub const VK_GAMEPAD_X : u32 = 197u32 ; pub const VK_GAMEPAD_Y : u32 = 198u32 ; pub const VK_HANGEUL : u32 = 21u32 ; pub const VK_HANGUL : u32 = 21u32 ; pub const VK_HANJA : u32 = 25u32 ; pub const VK_HELP : u32 = 47u32 ; pub const VK_HOME : u32 = 36u32 ; pub const VK_ICO_00 : u32 = 228u32 ; pub const VK_ICO_CLEAR : u32 = 230u32 ; pub const VK_ICO_HELP : u32 = 227u32 ; pub const VK_INSERT : u32 = 45u32 ; pub const VK_JUNJA : u32 = 23u32 ; pub const VK_KANA : u32 = 21u32 ; pub const VK_KANJI : u32 = 25u32 ; pub const VK_LAUNCH_APP1 : u32 = 182u32 ; pub const VK_LAUNCH_APP2 : u32 = 183u32 ; pub const VK_LAUNCH_MAIL : u32 = 180u32 ; pub const VK_LAUNCH_MEDIA_SELECT : u32 = 181u32 ; pub const VK_LBUTTON : u32 = 1u32 ; pub const VK_LCONTROL : u32 = 162u32 ; pub const VK_LEFT : u32 = 37u32 ; pub const VK_LMENU : u32 = 164u32 ; pub const VK_LSHIFT : u32 = 160u32 ; pub const VK_LWIN : u32 = 91u32 ; pub const VK_MBUTTON : u32 = 4u32 ; pub const VK_MEDIA_NEXT_TRACK : u32 = 176u32 ; pub const VK_MEDIA_PLAY_PAUSE : u32 = 179u32 ; pub const VK_MEDIA_PREV_TRACK : u32 = 177u32 ; pub const VK_MEDIA_STOP : u32 = 178u32 ; pub const VK_MENU : u32 = 18u32 ; pub const VK_MODECHANGE : u32 = 31u32 ; pub const VK_MULTIPLY : u32 = 106u32 ; pub const VK_NAVIGATION_ACCEPT : u32 = 142u32 ; pub const VK_NAVIGATION_CANCEL : u32 = 143u32 ; pub const VK_NAVIGATION_DOWN : u32 = 139u32 ; pub const VK_NAVIGATION_LEFT : u32 = 140u32 ; pub const VK_NAVIGATION_MENU : u32 = 137u32 ; pub const VK_NAVIGATION_RIGHT : u32 = 141u32 ; pub const VK_NAVIGATION_UP : u32 = 138u32 ; pub const VK_NAVIGATION_VIEW : u32 = 136u32 ; pub const VK_NEXT : u32 = 34u32 ; pub const VK_NONAME : u32 = 252u32 ; pub const VK_NONCONVERT : u32 = 29u32 ; pub const VK_NUMLOCK : u32 = 144u32 ; pub const VK_NUMPAD0 : u32 = 96u32 ; pub const VK_NUMPAD1 : u32 = 97u32 ; pub const VK_NUMPAD2 : u32 = 98u32 ; pub const VK_NUMPAD3 : u32 = 99u32 ; pub const VK_NUMPAD4 : u32 = 100u32 ; pub const VK_NUMPAD5 : u32 = 101u32 ; pub const VK_NUMPAD6 : u32 = 102u32 ; pub const VK_NUMPAD7 : u32 = 103u32 ; pub const VK_NUMPAD8 : u32 = 104u32 ; pub const VK_NUMPAD9 : u32 = 105u32 ; pub const VK_OEM_1 : u32 = 186u32 ; pub const VK_OEM_102 : u32 = 226u32 ; pub const VK_OEM_2 : u32 = 191u32 ; pub const VK_OEM_3 : u32 = 192u32 ; pub const VK_OEM_4 : u32 = 219u32 ; pub const VK_OEM_5 : u32 = 220u32 ; pub const VK_OEM_6 : u32 = 221u32 ; pub const VK_OEM_7 : u32 = 222u32 ; pub const VK_OEM_8 : u32 = 223u32 ; pub const VK_OEM_ATTN : u32 = 240u32 ; pub const VK_OEM_AUTO : u32 = 243u32 ; pub const VK_OEM_AX : u32 = 225u32 ; pub const VK_OEM_BACKTAB : u32 = 245u32 ; pub const VK_OEM_CLEAR : u32 = 254u32 ; pub const VK_OEM_COMMA : u32 = 188u32 ; pub const VK_OEM_COPY : u32 = 242u32 ; pub const VK_OEM_CUSEL : u32 = 239u32 ; pub const VK_OEM_ENLW : u32 = 244u32 ; pub const VK_OEM_FINISH : u32 = 241u32 ; pub const VK_OEM_FJ_JISHO : u32 = 146u32 ; pub const VK_OEM_FJ_LOYA : u32 = 149u32 ; pub const VK_OEM_FJ_MASSHOU : u32 = 147u32 ; pub const VK_OEM_FJ_ROYA : u32 = 150u32 ; pub const VK_OEM_FJ_TOUROKU : u32 = 148u32 ; pub const VK_OEM_JUMP : u32 = 234u32 ; pub const VK_OEM_MINUS : u32 = 189u32 ; pub const VK_OEM_NEC_EQUAL : u32 = 146u32 ; pub const VK_OEM_PA1 : u32 = 235u32 ; pub const VK_OEM_PA2 : u32 = 236u32 ; pub const VK_OEM_PA3 : u32 = 237u32 ; pub const VK_OEM_PERIOD : u32 = 190u32 ; pub const VK_OEM_PLUS : u32 = 187u32 ; pub const VK_OEM_RESET : u32 = 233u32 ; pub const VK_OEM_WSCTRL : u32 = 238u32 ; pub const VK_PA1 : u32 = 253u32 ; pub const VK_PACKET : u32 = 231u32 ; pub const VK_PAUSE : u32 = 19u32 ; pub const VK_PLAY : u32 = 250u32 ; pub const VK_PRINT : u32 = 42u32 ; pub const VK_PRIOR : u32 = 33u32 ; pub const VK_PROCESSKEY : u32 = 229u32 ; pub const VK_RBUTTON : u32 = 2u32 ; pub const VK_RCONTROL : u32 = 163u32 ; pub const VK_RETURN : u32 = 13u32 ; pub const VK_RIGHT : u32 = 39u32 ; pub const VK_RMENU : u32 = 165u32 ; pub const VK_RSHIFT : u32 = 161u32 ; pub const VK_RWIN : u32 = 92u32 ; pub const VK_SCROLL : u32 = 145u32 ; pub const VK_SELECT : u32 = 41u32 ; pub const VK_SEPARATOR : u32 = 108u32 ; pub const VK_SHIFT : u32 = 16u32 ; pub const VK_SLEEP : u32 = 95u32 ; pub const VK_SNAPSHOT : u32 = 44u32 ; pub const VK_SPACE : u32 = 32u32 ; pub const VK_SUBTRACT : u32 = 109u32 ; pub const VK_TAB : u32 = 9u32 ; pub const VK_UP : u32 = 38u32 ; pub const VK_VOLUME_DOWN : u32 = 174u32 ; pub const VK_VOLUME_MUTE : u32 = 173u32 ; pub const VK_VOLUME_UP : u32 = 175u32 ; pub const VK_XBUTTON1 : u32 = 5u32 ; pub const VK_XBUTTON2 : u32 = 6u32 ; pub const VK_ZOOM : u32 = 251u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct VS_FIXEDFILEINFOFlags ( pub u32 ) ; impl VS_FIXEDFILEINFOFlags { pub const VS_FF_DEBUG : Self = Self ( 1u32 ) ; pub const VS_FF_INFOINFERRED : Self = Self ( 16u32 ) ; pub const VS_FF_PATCHED : Self = Self ( 4u32 ) ; pub const VS_FF_PRERELEASE : Self = Self ( 2u32 ) ; pub const VS_FF_PRIVATEBUILD : Self = Self ( 8u32 ) ; pub const VS_FF_SPECIALBUILD : Self = Self ( 32u32 ) ; } impl :: std :: convert :: From < u32 > for VS_FIXEDFILEINFOFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for VS_FIXEDFILEINFOFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for VS_FIXEDFILEINFOFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for VS_FIXEDFILEINFOFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for VS_FIXEDFILEINFOFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for VS_FIXEDFILEINFOFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct VS_FIXEDFILEINFO_dwFileOSFlags ( pub i32 ) ; impl VS_FIXEDFILEINFO_dwFileOSFlags { pub const VOS_DOS : Self = Self ( 65536i32 ) ; pub const VOS_NT : Self = Self ( 262144i32 ) ; pub const VOS__WINDOWS16 : Self = Self ( 1i32 ) ; pub const VOS__WINDOWS32 : Self = Self ( 4i32 ) ; pub const VOS_OS216 : Self = Self ( 131072i32 ) ; pub const VOS_OS232 : Self = Self ( 196608i32 ) ; pub const VOS__PM16 : Self = Self ( 2i32 ) ; pub const VOS__PM32 : Self = Self ( 3i32 ) ; pub const VOS_UNKNOWN : Self = Self ( 0i32 ) ; } impl :: std :: convert :: From < i32 > for VS_FIXEDFILEINFO_dwFileOSFlags { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for VS_FIXEDFILEINFO_dwFileOSFlags { type Abi = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct VS_FIXEDFILEINFO_dwFileTypeFlags ( pub i32 ) ; impl VS_FIXEDFILEINFO_dwFileTypeFlags { pub const VFT_APP : Self = Self ( 1i32 ) ; pub const VFT_DLL : Self = Self ( 2i32 ) ; pub const VFT_DRV : Self = Self ( 3i32 ) ; pub const VFT_FONT : Self = Self ( 4i32 ) ; pub const VFT_STATIC_LIB : Self = Self ( 7i32 ) ; pub const VFT_UNKNOWN : Self = Self ( 0i32 ) ; pub const VFT_VXD : Self = Self ( 5i32 ) ; } impl :: std :: convert :: From < i32 > for VS_FIXEDFILEINFO_dwFileTypeFlags { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for VS_FIXEDFILEINFO_dwFileTypeFlags { type Abi = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct VS_FIXEDFILEINFO_dwFileSubtypeFlags ( pub i32 ) ; impl VS_FIXEDFILEINFO_dwFileSubtypeFlags { pub const VFT2_DRV_COMM : Self = Self ( 10i32 ) ; pub const VFT2_DRV_DISPLAY : Self = Self ( 4i32 ) ; pub const VFT2_DRV_INSTALLABLE : Self = Self ( 8i32 ) ; pub const VFT2_DRV_KEYBOARD : Self = Self ( 2i32 ) ; pub const VFT2_DRV_LANGUAGE : Self = Self ( 3i32 ) ; pub const VFT2_DRV_MOUSE : Self = Self ( 5i32 ) ; pub const VFT2_DRV_NETWORK : Self = Self ( 6i32 ) ; pub const VFT2_DRV_PRINTER : Self = Self ( 1i32 ) ; pub const VFT2_DRV_SOUND : Self = Self ( 9i32 ) ; pub const VFT2_DRV_SYSTEM : Self = Self ( 7i32 ) ; pub const VFT2_DRV_VERSIONED_PRINTER : Self = Self ( 12i32 ) ; pub const VFT2_UNKNOWN : Self = Self ( 0i32 ) ; } impl :: std :: convert :: From < i32 > for VS_FIXEDFILEINFO_dwFileSubtypeFlags { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for VS_FIXEDFILEINFO_dwFileSubtypeFlags { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct VS_FIXEDFILEINFO { pub dwSignature : u32 , pub dwStrucVersion : u32 , pub dwFileVersionMS : u32 , pub dwFileVersionLS : u32 , pub dwProductVersionMS : u32 , pub dwProductVersionLS : u32 , pub dwFileFlagsMask : u32 , pub dwFileFlags : VS_FIXEDFILEINFOFlags , pub dwFileOS : VS_FIXEDFILEINFO_dwFileOSFlags , pub dwFileType : VS_FIXEDFILEINFO_dwFileTypeFlags , pub dwFileSubtype : VS_FIXEDFILEINFO_dwFileSubtypeFlags , pub dwFileDateMS : u32 , pub dwFileDateLS : u32 } impl VS_FIXEDFILEINFO { } impl :: std :: default :: Default for VS_FIXEDFILEINFO { fn default ( ) -> Self { Self { dwSignature : 0 , dwStrucVersion : 0 , dwFileVersionMS : 0 , dwFileVersionLS : 0 , dwProductVersionMS : 0 , dwProductVersionLS : 0 , dwFileFlagsMask : 0 , dwFileFlags : :: std :: default :: Default :: default ( ) , dwFileOS : :: std :: default :: Default :: default ( ) , dwFileType : :: std :: default :: Default :: default ( ) , dwFileSubtype : :: std :: default :: Default :: default ( ) , dwFileDateMS : 0 , dwFileDateLS : 0 } } } impl :: std :: fmt :: Debug for VS_FIXEDFILEINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "VS_FIXEDFILEINFO" ) . field ( "dwSignature" , & format_args ! ( "{:?}" , self . dwSignature ) ) . field ( "dwStrucVersion" , & format_args ! ( "{:?}" , self . dwStrucVersion ) ) . field ( "dwFileVersionMS" , & format_args ! ( "{:?}" , self . dwFileVersionMS ) ) . field ( "dwFileVersionLS" , & format_args ! ( "{:?}" , self . dwFileVersionLS ) ) . field ( "dwProductVersionMS" , & format_args ! ( "{:?}" , self . dwProductVersionMS ) ) . field ( "dwProductVersionLS" , & format_args ! ( "{:?}" , self . dwProductVersionLS ) ) . field ( "dwFileFlagsMask" , & format_args ! ( "{:?}" , self . dwFileFlagsMask ) ) . field ( "dwFileFlags" , & format_args ! ( "{:?}" , self . dwFileFlags ) ) . field ( "dwFileOS" , & format_args ! ( "{:?}" , self . dwFileOS ) ) . field ( "dwFileType" , & format_args ! ( "{:?}" , self . dwFileType ) ) . field ( "dwFileSubtype" , & format_args ! ( "{:?}" , self . dwFileSubtype ) ) . field ( "dwFileDateMS" , & format_args ! ( "{:?}" , self . dwFileDateMS ) ) . field ( "dwFileDateLS" , & format_args ! ( "{:?}" , self . dwFileDateLS ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for VS_FIXEDFILEINFO { fn eq ( & self , other : & Self ) -> bool { self . dwSignature == other . dwSignature && self . dwStrucVersion == other . dwStrucVersion && self . dwFileVersionMS == other . dwFileVersionMS && self . dwFileVersionLS == other . dwFileVersionLS && self . dwProductVersionMS == other . dwProductVersionMS && self . dwProductVersionLS == other . dwProductVersionLS && self . dwFileFlagsMask == other . dwFileFlagsMask && self . dwFileFlags == other . dwFileFlags && self . dwFileOS == other . dwFileOS && self . dwFileType == other . dwFileType && self . dwFileSubtype == other . dwFileSubtype && self . dwFileDateMS == other . dwFileDateMS && self . dwFileDateLS == other . dwFileDateLS } } impl :: std :: cmp :: Eq for VS_FIXEDFILEINFO { } unsafe impl :: windows :: Abi for VS_FIXEDFILEINFO { type Abi = Self ; } pub unsafe fn VerFindFileA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( uflags : u32 , szfilename : T1__ , szwindir : T2__ , szappdir : T3__ , szcurdir : super :: SystemServices :: PSTR , pucurdirlen : * mut u32 , szdestdir : super :: SystemServices :: PSTR , pudestdirlen : * mut u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn VerFindFileW < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( uflags : u32 , szfilename : T1__ , szwindir : T2__ , szappdir : T3__ , szcurdir : super :: SystemServices :: PWSTR , pucurdirlen : * mut u32 , szdestdir : super :: SystemServices :: PWSTR , pudestdirlen : * mut u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct VerInstallFile_uFlags ( pub u32 ) ; impl VerInstallFile_uFlags { pub const VIFF_FORCEINSTALL : Self = Self ( 1u32 ) ; pub const VIFF_DONTDELETEOLD : Self = Self ( 2u32 ) ; } impl :: std :: convert :: From < u32 > for VerInstallFile_uFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for VerInstallFile_uFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for VerInstallFile_uFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for VerInstallFile_uFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for VerInstallFile_uFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for VerInstallFile_uFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn VerInstallFileA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T4__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T5__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( uflags : VerInstallFile_uFlags , szsrcfilename : T1__ , szdestfilename : T2__ , szsrcdir : T3__ , szdestdir : T4__ , szcurdir : T5__ , sztmpfile : super :: SystemServices :: PSTR , putmpfilelen : * mut u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn VerInstallFileW < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T4__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T5__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( uflags : VerInstallFile_uFlags , szsrcfilename : T1__ , szdestfilename : T2__ , szsrcdir : T3__ , szdestdir : T4__ , szcurdir : T5__ , sztmpfile : super :: SystemServices :: PWSTR , putmpfilelen : * mut u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn VerLanguageNameA < > ( wlang : u32 , szlang : super :: SystemServices :: PSTR , cchlang : u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn VerLanguageNameW < > ( wlang : u32 , szlang : super :: SystemServices :: PWSTR , cchlang : u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn VerQueryValueA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( pblock : * const :: std :: ffi :: c_void , lpsubblock : T1__ , lplpbuffer : * mut * mut :: std :: ffi :: c_void , pulen : * mut u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn VerQueryValueW < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( pblock : * const :: std :: ffi :: c_void , lpsubblock : T1__ , lplpbuffer : * mut * mut :: std :: ffi :: c_void , pulen : * mut u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub const WA_ACTIVE : u32 = 1u32 ; pub const WA_CLICKACTIVE : u32 = 2u32 ; pub const WA_INACTIVE : u32 = 0u32 ; pub const WHEEL_DELTA : u32 = 120u32 ; pub const WH_HARDWARE : u32 = 8u32 ; pub const WH_MAX : u32 = 14u32 ; pub const WH_MIN : i32 = -1i32 ; pub const WINEVENT_INCONTEXT : u32 = 4u32 ; pub const WINEVENT_OUTOFCONTEXT : u32 = 0u32 ; pub const WINEVENT_SKIPOWNPROCESS : u32 = 2u32 ; pub const WINEVENT_SKIPOWNTHREAD : u32 = 1u32 ; pub type WINSTAENUMPROCA = extern "system" fn ( param0 : super :: SystemServices :: PSTR , param1 : LPARAM ) -> super :: SystemServices :: BOOL ; pub type WINSTAENUMPROCW = extern "system" fn ( param0 : super :: SystemServices :: PWSTR , param1 : LPARAM ) -> super :: SystemServices :: BOOL ; pub const WINSTA_ACCESSCLIPBOARD : i32 = 4i32 ; pub const WINSTA_ACCESSGLOBALATOMS : i32 = 32i32 ; pub const WINSTA_CREATEDESKTOP : i32 = 8i32 ; pub const WINSTA_ENUMDESKTOPS : i32 = 1i32 ; pub const WINSTA_ENUMERATE : i32 = 256i32 ; pub const WINSTA_EXITWINDOWS : i32 = 64i32 ; pub const WINSTA_READATTRIBUTES : i32 = 2i32 ; pub const WINSTA_READSCREEN : i32 = 512i32 ; pub const WINSTA_WRITEATTRIBUTES : i32 = 16i32 ; pub const WMSZ_BOTTOM : u32 = 6u32 ; pub const WMSZ_BOTTOMLEFT : u32 = 7u32 ; pub const WMSZ_BOTTOMRIGHT : u32 = 8u32 ; pub const WMSZ_LEFT : u32 = 1u32 ; pub const WMSZ_RIGHT : u32 = 2u32 ; pub const WMSZ_TOP : u32 = 3u32 ; pub const WMSZ_TOPLEFT : u32 = 4u32 ; pub const WMSZ_TOPRIGHT : u32 = 5u32 ; pub const WM_ACTIVATE : u32 = 6u32 ; pub const WM_ACTIVATEAPP : u32 = 28u32 ; pub const WM_AFXFIRST : u32 = 864u32 ; pub const WM_AFXLAST : u32 = 895u32 ; pub const WM_APP : u32 = 32768u32 ; pub const WM_APPCOMMAND : u32 = 793u32 ; pub const WM_ASKCBFORMATNAME : u32 = 780u32 ; pub const WM_CANCELJOURNAL : u32 = 75u32 ; pub const WM_CANCELMODE : u32 = 31u32 ; pub const WM_CAPTURECHANGED : u32 = 533u32 ; pub const WM_CHANGECBCHAIN : u32 = 781u32 ; pub const WM_CHANGEUISTATE : u32 = 295u32 ; pub const WM_CHAR : u32 = 258u32 ; pub const WM_CHARTOITEM : u32 = 47u32 ; pub const WM_CHILDACTIVATE : u32 = 34u32 ; pub const WM_CHOOSEFONT_GETLOGFONT : u32 = 1025u32 ; pub const WM_CHOOSEFONT_SETFLAGS : u32 = 1126u32 ; pub const WM_CHOOSEFONT_SETLOGFONT : u32 = 1125u32 ; pub const WM_CLEAR : u32 = 771u32 ; pub const WM_CLIPBOARDUPDATE : u32 = 797u32 ; pub const WM_CLOSE : u32 = 16u32 ; pub const WM_COMMAND : u32 = 273u32 ; pub const WM_COMMNOTIFY : u32 = 68u32 ; pub const WM_COMPACTING : u32 = 65u32 ; pub const WM_COMPAREITEM : u32 = 57u32 ; pub const WM_COPY : u32 = 769u32 ; pub const WM_COPYDATA : u32 = 74u32 ; pub const WM_CREATE : u32 = 1u32 ; pub const WM_CTLCOLORBTN : u32 = 309u32 ; pub const WM_CTLCOLORDLG : u32 = 310u32 ; pub const WM_CTLCOLOREDIT : u32 = 307u32 ; pub const WM_CTLCOLORLISTBOX : u32 = 308u32 ; pub const WM_CTLCOLORMSGBOX : u32 = 306u32 ; pub const WM_CTLCOLORSCROLLBAR : u32 = 311u32 ; pub const WM_CTLCOLORSTATIC : u32 = 312u32 ; pub const WM_CUT : u32 = 768u32 ; pub const WM_DEADCHAR : u32 = 259u32 ; pub const WM_DELETEITEM : u32 = 45u32 ; pub const WM_DESTROY : u32 = 2u32 ; pub const WM_DESTROYCLIPBOARD : u32 = 775u32 ; pub const WM_DEVICECHANGE : u32 = 537u32 ; pub const WM_DEVMODECHANGE : u32 = 27u32 ; pub const WM_DISPLAYCHANGE : u32 = 126u32 ; pub const WM_DPICHANGED : u32 = 736u32 ; pub const WM_DPICHANGED_AFTERPARENT : u32 = 739u32 ; pub const WM_DPICHANGED_BEFOREPARENT : u32 = 738u32 ; pub const WM_DRAWCLIPBOARD : u32 = 776u32 ; pub const WM_DRAWITEM : u32 = 43u32 ; pub const WM_DROPFILES : u32 = 563u32 ; pub const WM_DWMCOLORIZATIONCOLORCHANGED : u32 = 800u32 ; pub const WM_DWMCOMPOSITIONCHANGED : u32 = 798u32 ; pub const WM_DWMNCRENDERINGCHANGED : u32 = 799u32 ; pub const WM_DWMSENDICONICLIVEPREVIEWBITMAP : u32 = 806u32 ; pub const WM_DWMSENDICONICTHUMBNAIL : u32 = 803u32 ; pub const WM_DWMWINDOWMAXIMIZEDCHANGE : u32 = 801u32 ; pub const WM_ENABLE : u32 = 10u32 ; pub const WM_ENDSESSION : u32 = 22u32 ; pub const WM_ENTERIDLE : u32 = 289u32 ; pub const WM_ENTERMENULOOP : u32 = 529u32 ; pub const WM_ENTERSIZEMOVE : u32 = 561u32 ; pub const WM_ERASEBKGND : u32 = 20u32 ; pub const WM_EXITMENULOOP : u32 = 530u32 ; pub const WM_EXITSIZEMOVE : u32 = 562u32 ; pub const WM_FONTCHANGE : u32 = 29u32 ; pub const WM_GESTURE : u32 = 281u32 ; pub const WM_GESTURENOTIFY : u32 = 282u32 ; pub const WM_GETDLGCODE : u32 = 135u32 ; pub const WM_GETDPISCALEDSIZE : u32 = 740u32 ; pub const WM_GETFONT : u32 = 49u32 ; pub const WM_GETHOTKEY : u32 = 51u32 ; pub const WM_GETICON : u32 = 127u32 ; pub const WM_GETMINMAXINFO : u32 = 36u32 ; pub const WM_GETOBJECT : u32 = 61u32 ; pub const WM_GETTEXT : u32 = 13u32 ; pub const WM_GETTEXTLENGTH : u32 = 14u32 ; pub const WM_GETTITLEBARINFOEX : u32 = 831u32 ; pub const WM_HANDHELDFIRST : u32 = 856u32 ; pub const WM_HANDHELDLAST : u32 = 863u32 ; pub const WM_HELP : u32 = 83u32 ; pub const WM_HOTKEY : u32 = 786u32 ; pub const WM_HSCROLL : u32 = 276u32 ; pub const WM_HSCROLLCLIPBOARD : u32 = 782u32 ; pub const WM_ICONERASEBKGND : u32 = 39u32 ; pub const WM_IME_CHAR : u32 = 646u32 ; pub const WM_IME_COMPOSITION : u32 = 271u32 ; pub const WM_IME_COMPOSITIONFULL : u32 = 644u32 ; pub const WM_IME_CONTROL : u32 = 643u32 ; pub const WM_IME_ENDCOMPOSITION : u32 = 270u32 ; pub const WM_IME_KEYDOWN : u32 = 656u32 ; pub const WM_IME_KEYLAST : u32 = 271u32 ; pub const WM_IME_KEYUP : u32 = 657u32 ; pub const WM_IME_NOTIFY : u32 = 642u32 ; pub const WM_IME_REQUEST : u32 = 648u32 ; pub const WM_IME_SELECT : u32 = 645u32 ; pub const WM_IME_SETCONTEXT : u32 = 641u32 ; pub const WM_IME_STARTCOMPOSITION : u32 = 269u32 ; pub const WM_INITDIALOG : u32 = 272u32 ; pub const WM_INITMENU : u32 = 278u32 ; pub const WM_INITMENUPOPUP : u32 = 279u32 ; pub const WM_INPUT : u32 = 255u32 ; pub const WM_INPUTLANGCHANGE : u32 = 81u32 ; pub const WM_INPUTLANGCHANGEREQUEST : u32 = 80u32 ; pub const WM_INPUT_DEVICE_CHANGE : u32 = 254u32 ; pub const WM_KEYDOWN : u32 = 256u32 ; pub const WM_KEYFIRST : u32 = 256u32 ; pub const WM_KEYLAST : u32 = 265u32 ; pub const WM_KEYUP : u32 = 257u32 ; pub const WM_KILLFOCUS : u32 = 8u32 ; pub const WM_LBUTTONDBLCLK : u32 = 515u32 ; pub const WM_LBUTTONDOWN : u32 = 513u32 ; pub const WM_LBUTTONUP : u32 = 514u32 ; pub const WM_MBUTTONDBLCLK : u32 = 521u32 ; pub const WM_MBUTTONDOWN : u32 = 519u32 ; pub const WM_MBUTTONUP : u32 = 520u32 ; pub const WM_MDIACTIVATE : u32 = 546u32 ; pub const WM_MDICASCADE : u32 = 551u32 ; pub const WM_MDICREATE : u32 = 544u32 ; pub const WM_MDIDESTROY : u32 = 545u32 ; pub const WM_MDIGETACTIVE : u32 = 553u32 ; pub const WM_MDIICONARRANGE : u32 = 552u32 ; pub const WM_MDIMAXIMIZE : u32 = 549u32 ; pub const WM_MDINEXT : u32 = 548u32 ; pub const WM_MDIREFRESHMENU : u32 = 564u32 ; pub const WM_MDIRESTORE : u32 = 547u32 ; pub const WM_MDISETMENU : u32 = 560u32 ; pub const WM_MDITILE : u32 = 550u32 ; pub const WM_MEASUREITEM : u32 = 44u32 ; pub const WM_MENUCHAR : u32 = 288u32 ; pub const WM_MENUCOMMAND : u32 = 294u32 ; pub const WM_MENUDRAG : u32 = 291u32 ; pub const WM_MENUGETOBJECT : u32 = 292u32 ; pub const WM_MENURBUTTONUP : u32 = 290u32 ; pub const WM_MENUSELECT : u32 = 287u32 ; pub const WM_MOUSEACTIVATE : u32 = 33u32 ; pub const WM_MOUSEFIRST : u32 = 512u32 ; pub const WM_MOUSEHWHEEL : u32 = 526u32 ; pub const WM_MOUSELAST : u32 = 526u32 ; pub const WM_MOUSEMOVE : u32 = 512u32 ; pub const WM_MOUSEWHEEL : u32 = 522u32 ; pub const WM_MOVE : u32 = 3u32 ; pub const WM_MOVING : u32 = 534u32 ; pub const WM_NCACTIVATE : u32 = 134u32 ; pub const WM_NCCALCSIZE : u32 = 131u32 ; pub const WM_NCCREATE : u32 = 129u32 ; pub const WM_NCDESTROY : u32 = 130u32 ; pub const WM_NCHITTEST : u32 = 132u32 ; pub const WM_NCLBUTTONDBLCLK : u32 = 163u32 ; pub const WM_NCLBUTTONDOWN : u32 = 161u32 ; pub const WM_NCLBUTTONUP : u32 = 162u32 ; pub const WM_NCMBUTTONDBLCLK : u32 = 169u32 ; pub const WM_NCMBUTTONDOWN : u32 = 167u32 ; pub const WM_NCMBUTTONUP : u32 = 168u32 ; pub const WM_NCMOUSEHOVER : u32 = 672u32 ; pub const WM_NCMOUSELEAVE : u32 = 674u32 ; pub const WM_NCMOUSEMOVE : u32 = 160u32 ; pub const WM_NCPAINT : u32 = 133u32 ; pub const WM_NCPOINTERDOWN : u32 = 578u32 ; pub const WM_NCPOINTERUP : u32 = 579u32 ; pub const WM_NCPOINTERUPDATE : u32 = 577u32 ; pub const WM_NCRBUTTONDBLCLK : u32 = 166u32 ; pub const WM_NCRBUTTONDOWN : u32 = 164u32 ; pub const WM_NCRBUTTONUP : u32 = 165u32 ; pub const WM_NCXBUTTONDBLCLK : u32 = 173u32 ; pub const WM_NCXBUTTONDOWN : u32 = 171u32 ; pub const WM_NCXBUTTONUP : u32 = 172u32 ; pub const WM_NEXTDLGCTL : u32 = 40u32 ; pub const WM_NEXTMENU : u32 = 531u32 ; pub const WM_NOTIFYFORMAT : u32 = 85u32 ; pub const WM_NULL : u32 = 0u32 ; pub const WM_PAINT : u32 = 15u32 ; pub const WM_PAINTCLIPBOARD : u32 = 777u32 ; pub const WM_PAINTICON : u32 = 38u32 ; pub const WM_PALETTECHANGED : u32 = 785u32 ; pub const WM_PALETTEISCHANGING : u32 = 784u32 ; pub const WM_PARENTNOTIFY : u32 = 528u32 ; pub const WM_PASTE : u32 = 770u32 ; pub const WM_PENWINFIRST : u32 = 896u32 ; pub const WM_PENWINLAST : u32 = 911u32 ; pub const WM_POINTERACTIVATE : u32 = 587u32 ; pub const WM_POINTERCAPTURECHANGED : u32 = 588u32 ; pub const WM_POINTERDEVICECHANGE : u32 = 568u32 ; pub const WM_POINTERDEVICEINRANGE : u32 = 569u32 ; pub const WM_POINTERDEVICEOUTOFRANGE : u32 = 570u32 ; pub const WM_POINTERDOWN : u32 = 582u32 ; pub const WM_POINTERENTER : u32 = 585u32 ; pub const WM_POINTERHWHEEL : u32 = 591u32 ; pub const WM_POINTERLEAVE : u32 = 586u32 ; pub const WM_POINTERROUTEDAWAY : u32 = 594u32 ; pub const WM_POINTERROUTEDRELEASED : u32 = 595u32 ; pub const WM_POINTERROUTEDTO : u32 = 593u32 ; pub const WM_POINTERUP : u32 = 583u32 ; pub const WM_POINTERUPDATE : u32 = 581u32 ; pub const WM_POINTERWHEEL : u32 = 590u32 ; pub const WM_POWER : u32 = 72u32 ; pub const WM_POWERBROADCAST : u32 = 536u32 ; pub const WM_PRINT : u32 = 791u32 ; pub const WM_PSD_ENVSTAMPRECT : u32 = 1029u32 ; pub const WM_PSD_FULLPAGERECT : u32 = 1025u32 ; pub const WM_PSD_GREEKTEXTRECT : u32 = 1028u32 ; pub const WM_PSD_MARGINRECT : u32 = 1027u32 ; pub const WM_PSD_MINMARGINRECT : u32 = 1026u32 ; pub const WM_PSD_YAFULLPAGERECT : u32 = 1030u32 ; pub const WM_QUERYDRAGICON : u32 = 55u32 ; pub const WM_QUERYENDSESSION : u32 = 17u32 ; pub const WM_QUERYNEWPALETTE : u32 = 783u32 ; pub const WM_QUERYOPEN : u32 = 19u32 ; pub const WM_QUERYUISTATE : u32 = 297u32 ; pub const WM_QUEUESYNC : u32 = 35u32 ; pub const WM_QUIT : u32 = 18u32 ; pub const WM_RBUTTONDBLCLK : u32 = 518u32 ; pub const WM_RBUTTONDOWN : u32 = 516u32 ; pub const WM_RBUTTONUP : u32 = 517u32 ; pub const WM_RENDERALLFORMATS : u32 = 774u32 ; pub const WM_RENDERFORMAT : u32 = 773u32 ; pub const WM_SETCURSOR : u32 = 32u32 ; pub const WM_SETFOCUS : u32 = 7u32 ; pub const WM_SETFONT : u32 = 48u32 ; pub const WM_SETHOTKEY : u32 = 50u32 ; pub const WM_SETICON : u32 = 128u32 ; pub const WM_SETREDRAW : u32 = 11u32 ; pub const WM_SETTEXT : u32 = 12u32 ; pub const WM_SHOWWINDOW : u32 = 24u32 ; pub const WM_SIZE : u32 = 5u32 ; pub const WM_SIZECLIPBOARD : u32 = 779u32 ; pub const WM_SIZING : u32 = 532u32 ; pub const WM_SPOOLERSTATUS : u32 = 42u32 ; pub const WM_STYLECHANGED : u32 = 125u32 ; pub const WM_STYLECHANGING : u32 = 124u32 ; pub const WM_SYNCPAINT : u32 = 136u32 ; pub const WM_SYSCHAR : u32 = 262u32 ; pub const WM_SYSCOLORCHANGE : u32 = 21u32 ; pub const WM_SYSCOMMAND : u32 = 274u32 ; pub const WM_SYSDEADCHAR : u32 = 263u32 ; pub const WM_SYSKEYDOWN : u32 = 260u32 ; pub const WM_SYSKEYUP : u32 = 261u32 ; pub const WM_TABLET_FIRST : u32 = 704u32 ; pub const WM_TABLET_LAST : u32 = 735u32 ; pub const WM_TCARD : u32 = 82u32 ; pub const WM_THEMECHANGED : u32 = 794u32 ; pub const WM_TIMECHANGE : u32 = 30u32 ; pub const WM_TIMER : u32 = 275u32 ; pub const WM_TOUCH : u32 = 576u32 ; pub const WM_TOUCHHITTESTING : u32 = 589u32 ; pub const WM_UNDO : u32 = 772u32 ; pub const WM_UNINITMENUPOPUP : u32 = 293u32 ; pub const WM_UPDATEUISTATE : u32 = 296u32 ; pub const WM_USER : u32 = 1024u32 ; pub const WM_USERCHANGED : u32 = 84u32 ; pub const WM_VKEYTOITEM : u32 = 46u32 ; pub const WM_VSCROLL : u32 = 277u32 ; pub const WM_VSCROLLCLIPBOARD : u32 = 778u32 ; pub const WM_WINDOWPOSCHANGED : u32 = 71u32 ; pub const WM_WINDOWPOSCHANGING : u32 = 70u32 ; pub const WM_WININICHANGE : u32 = 26u32 ; pub const WM_WTSSESSION_CHANGE : u32 = 689u32 ; pub const WM_XBUTTONDBLCLK : u32 = 525u32 ; pub const WM_XBUTTONDOWN : u32 = 523u32 ; pub const WM_XBUTTONUP : u32 = 524u32 ; pub const WSF_VISIBLE : i32 = 1i32 ; pub const WTS_CONSOLE_CONNECT : u32 = 1u32 ; pub const WTS_CONSOLE_DISCONNECT : u32 = 2u32 ; pub const WTS_REMOTE_CONNECT : u32 = 3u32 ; pub const WTS_REMOTE_DISCONNECT : u32 = 4u32 ; pub const WTS_SESSION_CREATE : u32 = 10u32 ; pub const WTS_SESSION_LOCK : u32 = 7u32 ; pub const WTS_SESSION_LOGOFF : u32 = 6u32 ; pub const WTS_SESSION_LOGON : u32 = 5u32 ; pub const WTS_SESSION_REMOTE_CONTROL : u32 = 9u32 ; pub const WTS_SESSION_TERMINATE : u32 = 11u32 ; pub const WTS_SESSION_UNLOCK : u32 = 8u32 ; pub const WVR_ALIGNBOTTOM : u32 = 64u32 ; pub const WVR_ALIGNLEFT : u32 = 32u32 ; pub const WVR_ALIGNRIGHT : u32 = 128u32 ; pub const WVR_ALIGNTOP : u32 = 16u32 ; pub const WVR_HREDRAW : u32 = 256u32 ; pub const WVR_VALIDRECTS : u32 = 1024u32 ; pub const WVR_VREDRAW : u32 = 512u32 ; pub unsafe fn WaitMessage < > ( ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn WindowFromPhysicalPoint < 'a , T0__ : :: windows :: IntoParam < 'a , super :: DisplayDevices :: POINT > , > ( point : T0__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn WindowFromPoint < 'a , T0__ : :: windows :: IntoParam < 'a , super :: DisplayDevices :: POINT > , > ( point : T0__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn lstrcatA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpstring1 : T0__ , lpstring2 : T1__ , ) -> super :: SystemServices :: PSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn lstrcatW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpstring1 : T0__ , lpstring2 : T1__ , ) -> super :: SystemServices :: PWSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn lstrcmpA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpstring1 : T0__ , lpstring2 : T1__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn lstrcmpW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpstring1 : T0__ , lpstring2 : T1__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn lstrcmpiA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpstring1 : T0__ , lpstring2 : T1__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn lstrcmpiW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpstring1 : T0__ , lpstring2 : T1__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn lstrcpyA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpstring1 : super :: SystemServices :: PSTR , lpstring2 : T1__ , ) -> super :: SystemServices :: PSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn lstrcpyW < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpstring1 : super :: SystemServices :: PWSTR , lpstring2 : T1__ , ) -> super :: SystemServices :: PWSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn lstrcpynA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpstring1 : super :: SystemServices :: PSTR , lpstring2 : T1__ , imaxlength : i32 , ) -> super :: SystemServices :: PSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn lstrcpynW < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpstring1 : super :: SystemServices :: PWSTR , lpstring2 : T1__ , imaxlength : i32 , ) -> super :: SystemServices :: PWSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn lstrlenA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpstring : T0__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn lstrlenW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpstring : T0__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn wsprintfA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( param0 : super :: SystemServices :: PSTR , param1 : T1__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn wsprintfW < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( param0 : super :: SystemServices :: PWSTR , param1 : T1__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn wvsprintfA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( param0 : super :: SystemServices :: PSTR , param1 : T1__ , arglist : * mut i8 , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn wvsprintfW < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( param0 : super :: SystemServices :: PWSTR , param1 : T1__ , arglist : * mut i8 , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod WindowsStationsAndDesktops { # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HDESK ( pub isize ) ; impl HDESK { } impl :: std :: default :: Default for HDESK { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HDESK { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HDESK" ) . field ( "Value" , & format_args ! ( "{:?}" , self .0 ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HDESK { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HDESK { } unsafe impl :: windows :: Abi for HDESK { type Abi = Self ; } } } } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking umaximize v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.32s [INFO] running `Command { std: "docker" "inspect" "860446c7cb51b96cb5d221bed72ed4df3dfd1ca8c7dc3425ce687134fbfea923", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "860446c7cb51b96cb5d221bed72ed4df3dfd1ca8c7dc3425ce687134fbfea923", kill_on_drop: false }` [INFO] [stdout] 860446c7cb51b96cb5d221bed72ed4df3dfd1ca8c7dc3425ce687134fbfea923