| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_UI_TextServices\"`*"] |
| #[cfg(feature = "Win32_UI_TextServices")] |
| #[inline] |
| pub unsafe fn ActivateKeyboardLayout<P0>(hkl: P0, flags: ACTIVATE_KEYBOARD_LAYOUT_FLAGS) -> ::windows::core::Result<super::super::TextServices::HKL> |
| where |
| P0: ::windows::core::IntoParam<super::super::TextServices::HKL>, |
| { |
| ::windows::imp::link ! ( "user32.dll""system" fn ActivateKeyboardLayout ( hkl : super::super::TextServices:: HKL , flags : ACTIVATE_KEYBOARD_LAYOUT_FLAGS ) -> super::super::TextServices:: HKL ); |
| let result__ = ActivateKeyboardLayout(hkl.into_param().abi(), flags); |
| ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn BlockInput<P0>(fblockit: P0) -> super::super::super::Foundation::BOOL |
| where |
| P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, |
| { |
| ::windows::imp::link ! ( "user32.dll""system" fn BlockInput ( fblockit : super::super::super::Foundation:: BOOL ) -> super::super::super::Foundation:: BOOL ); |
| BlockInput(fblockit.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn DragDetect<P0>(hwnd: P0, pt: super::super::super::Foundation::POINT) -> super::super::super::Foundation::BOOL |
| where |
| P0: ::windows::core::IntoParam<super::super::super::Foundation::HWND>, |
| { |
| ::windows::imp::link ! ( "user32.dll""system" fn DragDetect ( hwnd : super::super::super::Foundation:: HWND , pt : super::super::super::Foundation:: POINT ) -> super::super::super::Foundation:: BOOL ); |
| DragDetect(hwnd.into_param().abi(), ::core::mem::transmute(pt)) |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn EnableWindow<P0, P1>(hwnd: P0, benable: P1) -> super::super::super::Foundation::BOOL |
| where |
| P0: ::windows::core::IntoParam<super::super::super::Foundation::HWND>, |
| P1: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, |
| { |
| ::windows::imp::link ! ( "user32.dll""system" fn EnableWindow ( hwnd : super::super::super::Foundation:: HWND , benable : super::super::super::Foundation:: BOOL ) -> super::super::super::Foundation:: BOOL ); |
| EnableWindow(hwnd.into_param().abi(), benable.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetActiveWindow() -> super::super::super::Foundation::HWND { |
| ::windows::imp::link ! ( "user32.dll""system" fn GetActiveWindow ( ) -> super::super::super::Foundation:: HWND ); |
| GetActiveWindow() |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| #[inline] |
| pub unsafe fn GetAsyncKeyState(vkey: i32) -> i16 { |
| ::windows::imp::link ! ( "user32.dll""system" fn GetAsyncKeyState ( vkey : i32 ) -> i16 ); |
| GetAsyncKeyState(vkey) |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetCapture() -> super::super::super::Foundation::HWND { |
| ::windows::imp::link ! ( "user32.dll""system" fn GetCapture ( ) -> super::super::super::Foundation:: HWND ); |
| GetCapture() |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| #[inline] |
| pub unsafe fn GetDoubleClickTime() -> u32 { |
| ::windows::imp::link ! ( "user32.dll""system" fn GetDoubleClickTime ( ) -> u32 ); |
| GetDoubleClickTime() |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetFocus() -> super::super::super::Foundation::HWND { |
| ::windows::imp::link ! ( "user32.dll""system" fn GetFocus ( ) -> super::super::super::Foundation:: HWND ); |
| GetFocus() |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| #[inline] |
| pub unsafe fn GetKBCodePage() -> u32 { |
| ::windows::imp::link ! ( "user32.dll""system" fn GetKBCodePage ( ) -> u32 ); |
| GetKBCodePage() |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| #[inline] |
| pub unsafe fn GetKeyNameTextA(lparam: i32, lpstring: &mut [u8]) -> i32 { |
| ::windows::imp::link ! ( "user32.dll""system" fn GetKeyNameTextA ( lparam : i32 , lpstring : :: windows::core::PSTR , cchsize : i32 ) -> i32 ); |
| GetKeyNameTextA(lparam, ::core::mem::transmute(lpstring.as_ptr()), lpstring.len() as _) |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| #[inline] |
| pub unsafe fn GetKeyNameTextW(lparam: i32, lpstring: &mut [u16]) -> i32 { |
| ::windows::imp::link ! ( "user32.dll""system" fn GetKeyNameTextW ( lparam : i32 , lpstring : :: windows::core::PWSTR , cchsize : i32 ) -> i32 ); |
| GetKeyNameTextW(lparam, ::core::mem::transmute(lpstring.as_ptr()), lpstring.len() as _) |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| #[inline] |
| pub unsafe fn GetKeyState(nvirtkey: i32) -> i16 { |
| ::windows::imp::link ! ( "user32.dll""system" fn GetKeyState ( nvirtkey : i32 ) -> i16 ); |
| GetKeyState(nvirtkey) |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_UI_TextServices\"`*"] |
| #[cfg(feature = "Win32_UI_TextServices")] |
| #[inline] |
| pub unsafe fn GetKeyboardLayout(idthread: u32) -> super::super::TextServices::HKL { |
| ::windows::imp::link ! ( "user32.dll""system" fn GetKeyboardLayout ( idthread : u32 ) -> super::super::TextServices:: HKL ); |
| GetKeyboardLayout(idthread) |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_UI_TextServices\"`*"] |
| #[cfg(feature = "Win32_UI_TextServices")] |
| #[inline] |
| pub unsafe fn GetKeyboardLayoutList(lplist: ::core::option::Option<&mut [super::super::TextServices::HKL]>) -> i32 { |
| ::windows::imp::link ! ( "user32.dll""system" fn GetKeyboardLayoutList ( nbuff : i32 , lplist : *mut super::super::TextServices:: HKL ) -> i32 ); |
| GetKeyboardLayoutList(lplist.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lplist.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetKeyboardLayoutNameA(pwszklid: &mut [u8; 9]) -> super::super::super::Foundation::BOOL { |
| ::windows::imp::link ! ( "user32.dll""system" fn GetKeyboardLayoutNameA ( pwszklid : :: windows::core::PSTR ) -> super::super::super::Foundation:: BOOL ); |
| GetKeyboardLayoutNameA(::core::mem::transmute(pwszklid.as_ptr())) |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetKeyboardLayoutNameW(pwszklid: &mut [u16; 9]) -> super::super::super::Foundation::BOOL { |
| ::windows::imp::link ! ( "user32.dll""system" fn GetKeyboardLayoutNameW ( pwszklid : :: windows::core::PWSTR ) -> super::super::super::Foundation:: BOOL ); |
| GetKeyboardLayoutNameW(::core::mem::transmute(pwszklid.as_ptr())) |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetKeyboardState(lpkeystate: &mut [u8; 256]) -> super::super::super::Foundation::BOOL { |
| ::windows::imp::link ! ( "user32.dll""system" fn GetKeyboardState ( lpkeystate : *mut u8 ) -> super::super::super::Foundation:: BOOL ); |
| GetKeyboardState(::core::mem::transmute(lpkeystate.as_ptr())) |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| #[inline] |
| pub unsafe fn GetKeyboardType(ntypeflag: i32) -> i32 { |
| ::windows::imp::link ! ( "user32.dll""system" fn GetKeyboardType ( ntypeflag : i32 ) -> i32 ); |
| GetKeyboardType(ntypeflag) |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetLastInputInfo(plii: *mut LASTINPUTINFO) -> super::super::super::Foundation::BOOL { |
| ::windows::imp::link ! ( "user32.dll""system" fn GetLastInputInfo ( plii : *mut LASTINPUTINFO ) -> super::super::super::Foundation:: BOOL ); |
| GetLastInputInfo(plii) |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| #[inline] |
| pub unsafe fn GetMouseMovePointsEx(cbsize: u32, lppt: *const MOUSEMOVEPOINT, lpptbuf: &mut [MOUSEMOVEPOINT], resolution: GET_MOUSE_MOVE_POINTS_EX_RESOLUTION) -> i32 { |
| ::windows::imp::link ! ( "user32.dll""system" fn GetMouseMovePointsEx ( cbsize : u32 , lppt : *const MOUSEMOVEPOINT , lpptbuf : *mut MOUSEMOVEPOINT , nbufpoints : i32 , resolution : GET_MOUSE_MOVE_POINTS_EX_RESOLUTION ) -> i32 ); |
| GetMouseMovePointsEx(cbsize, lppt, ::core::mem::transmute(lpptbuf.as_ptr()), lpptbuf.len() as _, resolution) |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn IsWindowEnabled<P0>(hwnd: P0) -> super::super::super::Foundation::BOOL |
| where |
| P0: ::windows::core::IntoParam<super::super::super::Foundation::HWND>, |
| { |
| ::windows::imp::link ! ( "user32.dll""system" fn IsWindowEnabled ( hwnd : super::super::super::Foundation:: HWND ) -> super::super::super::Foundation:: BOOL ); |
| IsWindowEnabled(hwnd.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_UI_TextServices\"`*"] |
| #[cfg(feature = "Win32_UI_TextServices")] |
| #[inline] |
| pub unsafe fn LoadKeyboardLayoutA<P0>(pwszklid: P0, flags: ACTIVATE_KEYBOARD_LAYOUT_FLAGS) -> ::windows::core::Result<super::super::TextServices::HKL> |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCSTR>, |
| { |
| ::windows::imp::link ! ( "user32.dll""system" fn LoadKeyboardLayoutA ( pwszklid : :: windows::core::PCSTR , flags : ACTIVATE_KEYBOARD_LAYOUT_FLAGS ) -> super::super::TextServices:: HKL ); |
| let result__ = LoadKeyboardLayoutA(pwszklid.into_param().abi(), flags); |
| ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_UI_TextServices\"`*"] |
| #[cfg(feature = "Win32_UI_TextServices")] |
| #[inline] |
| pub unsafe fn LoadKeyboardLayoutW<P0>(pwszklid: P0, flags: ACTIVATE_KEYBOARD_LAYOUT_FLAGS) -> ::windows::core::Result<super::super::TextServices::HKL> |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, |
| { |
| ::windows::imp::link ! ( "user32.dll""system" fn LoadKeyboardLayoutW ( pwszklid : :: windows::core::PCWSTR , flags : ACTIVATE_KEYBOARD_LAYOUT_FLAGS ) -> super::super::TextServices:: HKL ); |
| let result__ = LoadKeyboardLayoutW(pwszklid.into_param().abi(), flags); |
| ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| #[inline] |
| pub unsafe fn MapVirtualKeyA(ucode: u32, umaptype: MAP_VIRTUAL_KEY_TYPE) -> u32 { |
| ::windows::imp::link ! ( "user32.dll""system" fn MapVirtualKeyA ( ucode : u32 , umaptype : MAP_VIRTUAL_KEY_TYPE ) -> u32 ); |
| MapVirtualKeyA(ucode, umaptype) |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_UI_TextServices\"`*"] |
| #[cfg(feature = "Win32_UI_TextServices")] |
| #[inline] |
| pub unsafe fn MapVirtualKeyExA<P0>(ucode: u32, umaptype: MAP_VIRTUAL_KEY_TYPE, dwhkl: P0) -> u32 |
| where |
| P0: ::windows::core::IntoParam<super::super::TextServices::HKL>, |
| { |
| ::windows::imp::link ! ( "user32.dll""system" fn MapVirtualKeyExA ( ucode : u32 , umaptype : MAP_VIRTUAL_KEY_TYPE , dwhkl : super::super::TextServices:: HKL ) -> u32 ); |
| MapVirtualKeyExA(ucode, umaptype, dwhkl.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_UI_TextServices\"`*"] |
| #[cfg(feature = "Win32_UI_TextServices")] |
| #[inline] |
| pub unsafe fn MapVirtualKeyExW<P0>(ucode: u32, umaptype: MAP_VIRTUAL_KEY_TYPE, dwhkl: P0) -> u32 |
| where |
| P0: ::windows::core::IntoParam<super::super::TextServices::HKL>, |
| { |
| ::windows::imp::link ! ( "user32.dll""system" fn MapVirtualKeyExW ( ucode : u32 , umaptype : MAP_VIRTUAL_KEY_TYPE , dwhkl : super::super::TextServices:: HKL ) -> u32 ); |
| MapVirtualKeyExW(ucode, umaptype, dwhkl.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| #[inline] |
| pub unsafe fn MapVirtualKeyW(ucode: u32, umaptype: MAP_VIRTUAL_KEY_TYPE) -> u32 { |
| ::windows::imp::link ! ( "user32.dll""system" fn MapVirtualKeyW ( ucode : u32 , umaptype : MAP_VIRTUAL_KEY_TYPE ) -> u32 ); |
| MapVirtualKeyW(ucode, umaptype) |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| #[inline] |
| pub unsafe fn OemKeyScan(woemchar: u16) -> u32 { |
| ::windows::imp::link ! ( "user32.dll""system" fn OemKeyScan ( woemchar : u16 ) -> u32 ); |
| OemKeyScan(woemchar) |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn RegisterHotKey<P0>(hwnd: P0, id: i32, fsmodifiers: HOT_KEY_MODIFIERS, vk: u32) -> super::super::super::Foundation::BOOL |
| where |
| P0: ::windows::core::IntoParam<super::super::super::Foundation::HWND>, |
| { |
| ::windows::imp::link ! ( "user32.dll""system" fn RegisterHotKey ( hwnd : super::super::super::Foundation:: HWND , id : i32 , fsmodifiers : HOT_KEY_MODIFIERS , vk : u32 ) -> super::super::super::Foundation:: BOOL ); |
| RegisterHotKey(hwnd.into_param().abi(), id, fsmodifiers, vk) |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn ReleaseCapture() -> super::super::super::Foundation::BOOL { |
| ::windows::imp::link ! ( "user32.dll""system" fn ReleaseCapture ( ) -> super::super::super::Foundation:: BOOL ); |
| ReleaseCapture() |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| #[inline] |
| pub unsafe fn SendInput(pinputs: &[INPUT], cbsize: i32) -> u32 { |
| ::windows::imp::link ! ( "user32.dll""system" fn SendInput ( cinputs : u32 , pinputs : *const INPUT , cbsize : i32 ) -> u32 ); |
| SendInput(pinputs.len() as _, ::core::mem::transmute(pinputs.as_ptr()), cbsize) |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetActiveWindow<P0>(hwnd: P0) -> super::super::super::Foundation::HWND |
| where |
| P0: ::windows::core::IntoParam<super::super::super::Foundation::HWND>, |
| { |
| ::windows::imp::link ! ( "user32.dll""system" fn SetActiveWindow ( hwnd : super::super::super::Foundation:: HWND ) -> super::super::super::Foundation:: HWND ); |
| SetActiveWindow(hwnd.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetCapture<P0>(hwnd: P0) -> super::super::super::Foundation::HWND |
| where |
| P0: ::windows::core::IntoParam<super::super::super::Foundation::HWND>, |
| { |
| ::windows::imp::link ! ( "user32.dll""system" fn SetCapture ( hwnd : super::super::super::Foundation:: HWND ) -> super::super::super::Foundation:: HWND ); |
| SetCapture(hwnd.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetDoubleClickTime(param0: u32) -> super::super::super::Foundation::BOOL { |
| ::windows::imp::link ! ( "user32.dll""system" fn SetDoubleClickTime ( param0 : u32 ) -> super::super::super::Foundation:: BOOL ); |
| SetDoubleClickTime(param0) |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetFocus<P0>(hwnd: P0) -> super::super::super::Foundation::HWND |
| where |
| P0: ::windows::core::IntoParam<super::super::super::Foundation::HWND>, |
| { |
| ::windows::imp::link ! ( "user32.dll""system" fn SetFocus ( hwnd : super::super::super::Foundation:: HWND ) -> super::super::super::Foundation:: HWND ); |
| SetFocus(hwnd.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetKeyboardState(lpkeystate: &[u8; 256]) -> super::super::super::Foundation::BOOL { |
| ::windows::imp::link ! ( "user32.dll""system" fn SetKeyboardState ( lpkeystate : *const u8 ) -> super::super::super::Foundation:: BOOL ); |
| SetKeyboardState(::core::mem::transmute(lpkeystate.as_ptr())) |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SwapMouseButton<P0>(fswap: P0) -> super::super::super::Foundation::BOOL |
| where |
| P0: ::windows::core::IntoParam<super::super::super::Foundation::BOOL>, |
| { |
| ::windows::imp::link ! ( "user32.dll""system" fn SwapMouseButton ( fswap : super::super::super::Foundation:: BOOL ) -> super::super::super::Foundation:: BOOL ); |
| SwapMouseButton(fswap.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| #[inline] |
| pub unsafe fn ToAscii(uvirtkey: u32, uscancode: u32, lpkeystate: ::core::option::Option<&[u8; 256]>, lpchar: *mut u16, uflags: u32) -> i32 { |
| ::windows::imp::link ! ( "user32.dll""system" fn ToAscii ( uvirtkey : u32 , uscancode : u32 , lpkeystate : *const u8 , lpchar : *mut u16 , uflags : u32 ) -> i32 ); |
| ToAscii(uvirtkey, uscancode, ::core::mem::transmute(lpkeystate.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpchar, uflags) |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_UI_TextServices\"`*"] |
| #[cfg(feature = "Win32_UI_TextServices")] |
| #[inline] |
| pub unsafe fn ToAsciiEx<P0>(uvirtkey: u32, uscancode: u32, lpkeystate: ::core::option::Option<&[u8; 256]>, lpchar: *mut u16, uflags: u32, dwhkl: P0) -> i32 |
| where |
| P0: ::windows::core::IntoParam<super::super::TextServices::HKL>, |
| { |
| ::windows::imp::link ! ( "user32.dll""system" fn ToAsciiEx ( uvirtkey : u32 , uscancode : u32 , lpkeystate : *const u8 , lpchar : *mut u16 , uflags : u32 , dwhkl : super::super::TextServices:: HKL ) -> i32 ); |
| ToAsciiEx(uvirtkey, uscancode, ::core::mem::transmute(lpkeystate.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpchar, uflags, dwhkl.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| #[inline] |
| pub unsafe fn ToUnicode(wvirtkey: u32, wscancode: u32, lpkeystate: ::core::option::Option<&[u8; 256]>, pwszbuff: &mut [u16], wflags: u32) -> i32 { |
| ::windows::imp::link ! ( "user32.dll""system" fn ToUnicode ( wvirtkey : u32 , wscancode : u32 , lpkeystate : *const u8 , pwszbuff : :: windows::core::PWSTR , cchbuff : i32 , wflags : u32 ) -> i32 ); |
| ToUnicode(wvirtkey, wscancode, ::core::mem::transmute(lpkeystate.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ::core::mem::transmute(pwszbuff.as_ptr()), pwszbuff.len() as _, wflags) |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_UI_TextServices\"`*"] |
| #[cfg(feature = "Win32_UI_TextServices")] |
| #[inline] |
| pub unsafe fn ToUnicodeEx<P0>(wvirtkey: u32, wscancode: u32, lpkeystate: &[u8; 256], pwszbuff: &mut [u16], wflags: u32, dwhkl: P0) -> i32 |
| where |
| P0: ::windows::core::IntoParam<super::super::TextServices::HKL>, |
| { |
| ::windows::imp::link ! ( "user32.dll""system" fn ToUnicodeEx ( wvirtkey : u32 , wscancode : u32 , lpkeystate : *const u8 , pwszbuff : :: windows::core::PWSTR , cchbuff : i32 , wflags : u32 , dwhkl : super::super::TextServices:: HKL ) -> i32 ); |
| ToUnicodeEx(wvirtkey, wscancode, ::core::mem::transmute(lpkeystate.as_ptr()), ::core::mem::transmute(pwszbuff.as_ptr()), pwszbuff.len() as _, wflags, dwhkl.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn TrackMouseEvent(lpeventtrack: *mut TRACKMOUSEEVENT) -> super::super::super::Foundation::BOOL { |
| ::windows::imp::link ! ( "user32.dll""system" fn TrackMouseEvent ( lpeventtrack : *mut TRACKMOUSEEVENT ) -> super::super::super::Foundation:: BOOL ); |
| TrackMouseEvent(lpeventtrack) |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`, `\"Win32_UI_TextServices\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))] |
| #[inline] |
| pub unsafe fn UnloadKeyboardLayout<P0>(hkl: P0) -> super::super::super::Foundation::BOOL |
| where |
| P0: ::windows::core::IntoParam<super::super::TextServices::HKL>, |
| { |
| ::windows::imp::link ! ( "user32.dll""system" fn UnloadKeyboardLayout ( hkl : super::super::TextServices:: HKL ) -> super::super::super::Foundation:: BOOL ); |
| UnloadKeyboardLayout(hkl.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn UnregisterHotKey<P0>(hwnd: P0, id: i32) -> super::super::super::Foundation::BOOL |
| where |
| P0: ::windows::core::IntoParam<super::super::super::Foundation::HWND>, |
| { |
| ::windows::imp::link ! ( "user32.dll""system" fn UnregisterHotKey ( hwnd : super::super::super::Foundation:: HWND , id : i32 ) -> super::super::super::Foundation:: BOOL ); |
| UnregisterHotKey(hwnd.into_param().abi(), id) |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| #[inline] |
| pub unsafe fn VkKeyScanA(ch: u8) -> i16 { |
| ::windows::imp::link ! ( "user32.dll""system" fn VkKeyScanA ( ch : u8 ) -> i16 ); |
| VkKeyScanA(ch) |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_UI_TextServices\"`*"] |
| #[cfg(feature = "Win32_UI_TextServices")] |
| #[inline] |
| pub unsafe fn VkKeyScanExA<P0>(ch: u8, dwhkl: P0) -> i16 |
| where |
| P0: ::windows::core::IntoParam<super::super::TextServices::HKL>, |
| { |
| ::windows::imp::link ! ( "user32.dll""system" fn VkKeyScanExA ( ch : u8 , dwhkl : super::super::TextServices:: HKL ) -> i16 ); |
| VkKeyScanExA(ch, dwhkl.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_UI_TextServices\"`*"] |
| #[cfg(feature = "Win32_UI_TextServices")] |
| #[inline] |
| pub unsafe fn VkKeyScanExW<P0>(ch: u16, dwhkl: P0) -> i16 |
| where |
| P0: ::windows::core::IntoParam<super::super::TextServices::HKL>, |
| { |
| ::windows::imp::link ! ( "user32.dll""system" fn VkKeyScanExW ( ch : u16 , dwhkl : super::super::TextServices:: HKL ) -> i16 ); |
| VkKeyScanExW(ch, dwhkl.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| #[inline] |
| pub unsafe fn VkKeyScanW(ch: u16) -> i16 { |
| ::windows::imp::link ! ( "user32.dll""system" fn VkKeyScanW ( ch : u16 ) -> i16 ); |
| VkKeyScanW(ch) |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn _TrackMouseEvent(lpeventtrack: *mut TRACKMOUSEEVENT) -> super::super::super::Foundation::BOOL { |
| ::windows::imp::link ! ( "comctl32.dll""system" fn _TrackMouseEvent ( lpeventtrack : *mut TRACKMOUSEEVENT ) -> super::super::super::Foundation:: BOOL ); |
| _TrackMouseEvent(lpeventtrack) |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| #[inline] |
| pub unsafe fn keybd_event(bvk: u8, bscan: u8, dwflags: KEYBD_EVENT_FLAGS, dwextrainfo: usize) { |
| ::windows::imp::link ! ( "user32.dll""system" fn keybd_event ( bvk : u8 , bscan : u8 , dwflags : KEYBD_EVENT_FLAGS , dwextrainfo : usize ) -> ( ) ); |
| keybd_event(bvk, bscan, dwflags, dwextrainfo) |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| #[inline] |
| pub unsafe fn mouse_event(dwflags: MOUSE_EVENT_FLAGS, dx: i32, dy: i32, dwdata: i32, dwextrainfo: usize) { |
| ::windows::imp::link ! ( "user32.dll""system" fn mouse_event ( dwflags : MOUSE_EVENT_FLAGS , dx : i32 , dy : i32 , dwdata : i32 , dwextrainfo : usize ) -> ( ) ); |
| mouse_event(dwflags, dx, dy, dwdata, dwextrainfo) |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const ACUTE: u32 = 769u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const AX_KBD_DESKTOP_TYPE: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const BREVE: u32 = 774u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const CAPLOK: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const CAPLOKALTGR: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const CEDILLA: u32 = 807u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const CIRCUMFLEX: u32 = 770u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const DEC_KBD_ANSI_LAYOUT_TYPE: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const DEC_KBD_JIS_LAYOUT_TYPE: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const DIARESIS: u32 = 776u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const DIARESIS_TONOS: u32 = 901u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const DKF_DEAD: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const DONTCARE_BIT: u32 = 33554432u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const DOT_ABOVE: u32 = 775u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const DOUBLE_ACUTE: u32 = 779u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const EXTENDED_BIT: u32 = 16777216u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const FAKE_KEYSTROKE: u32 = 33554432u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const FMR_KBD_JIS_TYPE: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const FMR_KBD_OASYS_TYPE: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const FMV_KBD_OASYS_TYPE: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const GRAVE: u32 = 768u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const GRPSELTAP: u32 = 128u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const HACEK: u32 = 780u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const HOOK_ABOVE: u32 = 777u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KANALOK: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KBDALT: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KBDBASE: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KBDCTRL: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KBDGRPSELTAP: u32 = 128u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KBDKANA: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KBDLOYA: u32 = 32u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KBDNLS_ALPHANUM: u32 = 5u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KBDNLS_CODEINPUT: u32 = 10u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KBDNLS_CONV_OR_NONCONV: u32 = 15u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KBDNLS_HELP_OR_END: u32 = 11u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KBDNLS_HIRAGANA: u32 = 6u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KBDNLS_HOME_OR_CLEAR: u32 = 12u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KBDNLS_INDEX_ALT: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KBDNLS_INDEX_NORMAL: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KBDNLS_KANAEVENT: u32 = 14u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KBDNLS_KANALOCK: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KBDNLS_KATAKANA: u32 = 7u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KBDNLS_NOEVENT: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KBDNLS_NULL: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KBDNLS_NUMPAD: u32 = 13u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KBDNLS_ROMAN: u32 = 9u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KBDNLS_SBCSDBCS: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KBDNLS_SEND_BASE_VK: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KBDNLS_SEND_PARAM_VK: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KBDNLS_TYPE_NORMAL: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KBDNLS_TYPE_NULL: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KBDNLS_TYPE_TOGGLE: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KBDROYA: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KBDSHIFT: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KBDTABLE_MULTI_MAX: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KBD_TYPE: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KBD_VERSION: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KEYBOARD_TYPE_GENERIC_101: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KEYBOARD_TYPE_JAPAN: u32 = 7u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KEYBOARD_TYPE_KOREA: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KEYBOARD_TYPE_UNKNOWN: u32 = 81u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KLLF_ALTGR: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KLLF_GLOBAL_ATTRS: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KLLF_LRM_RLM: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KLLF_SHIFTLOCK: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const MACRON: u32 = 772u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const MICROSOFT_KBD_001_TYPE: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const MICROSOFT_KBD_002_TYPE: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const MICROSOFT_KBD_101A_TYPE: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const MICROSOFT_KBD_101B_TYPE: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const MICROSOFT_KBD_101C_TYPE: u32 = 5u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const MICROSOFT_KBD_101_TYPE: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const MICROSOFT_KBD_103_TYPE: u32 = 6u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const MICROSOFT_KBD_106_TYPE: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const MICROSOFT_KBD_AX_TYPE: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const MICROSOFT_KBD_FUNC: u32 = 12u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const NEC_KBD_106_TYPE: u32 = 5u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const NEC_KBD_H_MODE_TYPE: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const NEC_KBD_LAPTOP_TYPE: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const NEC_KBD_NORMAL_TYPE: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const NEC_KBD_N_MODE_TYPE: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const NLSKBD_INFO_ACCESSIBILITY_KEYMAP: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const NLSKBD_INFO_EMURATE_101_KEYBOARD: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const NLSKBD_INFO_EMURATE_106_KEYBOARD: u32 = 32u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const NLSKBD_INFO_SEND_IME_NOTIFICATION: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const NLSKBD_OEM_AX: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const NLSKBD_OEM_DEC: u32 = 24u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const NLSKBD_OEM_EPSON: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const NLSKBD_OEM_FUJITSU: u32 = 5u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const NLSKBD_OEM_IBM: u32 = 7u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const NLSKBD_OEM_MATSUSHITA: u32 = 10u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const NLSKBD_OEM_MICROSOFT: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const NLSKBD_OEM_NEC: u32 = 13u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const NLSKBD_OEM_TOSHIBA: u32 = 18u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const OGONEK: u32 = 808u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const OVERSCORE: u32 = 773u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const RING: u32 = 778u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const SCANCODE_ALT: u32 = 56u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const SCANCODE_CTRL: u32 = 29u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const SCANCODE_LSHIFT: u32 = 42u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const SCANCODE_LWIN: u32 = 91u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const SCANCODE_NUMPAD_FIRST: u32 = 71u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const SCANCODE_NUMPAD_LAST: u32 = 82u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const SCANCODE_RSHIFT: u32 = 54u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const SCANCODE_RWIN: u32 = 92u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const SCANCODE_THAI_LAYOUT_TOGGLE: u32 = 41u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const SGCAPS: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const SHFT_INVALID: u32 = 15u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const TILDE: u32 = 771u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const TONOS: u32 = 900u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const TOSHIBA_KBD_DESKTOP_TYPE: u32 = 13u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const TOSHIBA_KBD_LAPTOP_TYPE: u32 = 15u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const UMLAUT: u32 = 776u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const WCH_DEAD: u32 = 61441u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const WCH_LGTR: u32 = 61442u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const WCH_NONE: u32 = 61440u32; |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const wszACUTE: ::windows::core::PCWSTR = ::windows::w!("\u{301}"); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const wszBREVE: ::windows::core::PCWSTR = ::windows::w!("\u{306}"); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const wszCEDILLA: ::windows::core::PCWSTR = ::windows::w!("\u{327}"); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const wszCIRCUMFLEX: ::windows::core::PCWSTR = ::windows::w!("\u{302}"); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const wszDIARESIS_TONOS: ::windows::core::PCWSTR = ::windows::w!("\u{385}"); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const wszDOT_ABOVE: ::windows::core::PCWSTR = ::windows::w!("\u{307}"); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const wszDOUBLE_ACUTE: ::windows::core::PCWSTR = ::windows::w!("\u{30b}"); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const wszGRAVE: ::windows::core::PCWSTR = ::windows::w!("\u{300}"); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const wszHACEK: ::windows::core::PCWSTR = ::windows::w!("\u{30c}"); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const wszHOOK_ABOVE: ::windows::core::PCWSTR = ::windows::w!("\u{309}"); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const wszMACRON: ::windows::core::PCWSTR = ::windows::w!("\u{304}"); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const wszOGONEK: ::windows::core::PCWSTR = ::windows::w!("\u{328}"); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const wszOVERSCORE: ::windows::core::PCWSTR = ::windows::w!("\u{305}"); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const wszRING: ::windows::core::PCWSTR = ::windows::w!("\u{30a}"); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const wszTILDE: ::windows::core::PCWSTR = ::windows::w!("\u{303}"); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const wszTONOS: ::windows::core::PCWSTR = ::windows::w!("\u{384}"); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const wszUMLAUT: ::windows::core::PCWSTR = ::windows::w!("\u{308}"); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct ACTIVATE_KEYBOARD_LAYOUT_FLAGS(pub u32); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KLF_REORDER: ACTIVATE_KEYBOARD_LAYOUT_FLAGS = ACTIVATE_KEYBOARD_LAYOUT_FLAGS(8u32); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KLF_RESET: ACTIVATE_KEYBOARD_LAYOUT_FLAGS = ACTIVATE_KEYBOARD_LAYOUT_FLAGS(1073741824u32); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KLF_SETFORPROCESS: ACTIVATE_KEYBOARD_LAYOUT_FLAGS = ACTIVATE_KEYBOARD_LAYOUT_FLAGS(256u32); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KLF_SHIFTLOCK: ACTIVATE_KEYBOARD_LAYOUT_FLAGS = ACTIVATE_KEYBOARD_LAYOUT_FLAGS(65536u32); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KLF_ACTIVATE: ACTIVATE_KEYBOARD_LAYOUT_FLAGS = ACTIVATE_KEYBOARD_LAYOUT_FLAGS(1u32); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KLF_NOTELLSHELL: ACTIVATE_KEYBOARD_LAYOUT_FLAGS = ACTIVATE_KEYBOARD_LAYOUT_FLAGS(128u32); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KLF_REPLACELANG: ACTIVATE_KEYBOARD_LAYOUT_FLAGS = ACTIVATE_KEYBOARD_LAYOUT_FLAGS(16u32); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KLF_SUBSTITUTE_OK: ACTIVATE_KEYBOARD_LAYOUT_FLAGS = ACTIVATE_KEYBOARD_LAYOUT_FLAGS(2u32); |
| impl ::core::marker::Copy for ACTIVATE_KEYBOARD_LAYOUT_FLAGS {} |
| impl ::core::clone::Clone for ACTIVATE_KEYBOARD_LAYOUT_FLAGS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for ACTIVATE_KEYBOARD_LAYOUT_FLAGS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for ACTIVATE_KEYBOARD_LAYOUT_FLAGS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for ACTIVATE_KEYBOARD_LAYOUT_FLAGS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("ACTIVATE_KEYBOARD_LAYOUT_FLAGS").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct GET_MOUSE_MOVE_POINTS_EX_RESOLUTION(pub u32); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const GMMP_USE_DISPLAY_POINTS: GET_MOUSE_MOVE_POINTS_EX_RESOLUTION = GET_MOUSE_MOVE_POINTS_EX_RESOLUTION(1u32); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const GMMP_USE_HIGH_RESOLUTION_POINTS: GET_MOUSE_MOVE_POINTS_EX_RESOLUTION = GET_MOUSE_MOVE_POINTS_EX_RESOLUTION(2u32); |
| impl ::core::marker::Copy for GET_MOUSE_MOVE_POINTS_EX_RESOLUTION {} |
| impl ::core::clone::Clone for GET_MOUSE_MOVE_POINTS_EX_RESOLUTION { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for GET_MOUSE_MOVE_POINTS_EX_RESOLUTION { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for GET_MOUSE_MOVE_POINTS_EX_RESOLUTION { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for GET_MOUSE_MOVE_POINTS_EX_RESOLUTION { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("GET_MOUSE_MOVE_POINTS_EX_RESOLUTION").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct HOT_KEY_MODIFIERS(pub u32); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const MOD_ALT: HOT_KEY_MODIFIERS = HOT_KEY_MODIFIERS(1u32); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const MOD_CONTROL: HOT_KEY_MODIFIERS = HOT_KEY_MODIFIERS(2u32); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const MOD_NOREPEAT: HOT_KEY_MODIFIERS = HOT_KEY_MODIFIERS(16384u32); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const MOD_SHIFT: HOT_KEY_MODIFIERS = HOT_KEY_MODIFIERS(4u32); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const MOD_WIN: HOT_KEY_MODIFIERS = HOT_KEY_MODIFIERS(8u32); |
| impl ::core::marker::Copy for HOT_KEY_MODIFIERS {} |
| impl ::core::clone::Clone for HOT_KEY_MODIFIERS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for HOT_KEY_MODIFIERS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for HOT_KEY_MODIFIERS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for HOT_KEY_MODIFIERS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("HOT_KEY_MODIFIERS").field(&self.0).finish() |
| } |
| } |
| impl HOT_KEY_MODIFIERS { |
| pub const fn contains(&self, other: Self) -> bool { |
| self.0 & other.0 == other.0 |
| } |
| } |
| impl ::core::ops::BitOr for HOT_KEY_MODIFIERS { |
| type Output = Self; |
| fn bitor(self, other: Self) -> Self { |
| Self(self.0 | other.0) |
| } |
| } |
| impl ::core::ops::BitAnd for HOT_KEY_MODIFIERS { |
| type Output = Self; |
| fn bitand(self, other: Self) -> Self { |
| Self(self.0 & other.0) |
| } |
| } |
| impl ::core::ops::BitOrAssign for HOT_KEY_MODIFIERS { |
| fn bitor_assign(&mut self, other: Self) { |
| self.0.bitor_assign(other.0) |
| } |
| } |
| impl ::core::ops::BitAndAssign for HOT_KEY_MODIFIERS { |
| fn bitand_assign(&mut self, other: Self) { |
| self.0.bitand_assign(other.0) |
| } |
| } |
| impl ::core::ops::Not for HOT_KEY_MODIFIERS { |
| type Output = Self; |
| fn not(self) -> Self { |
| Self(self.0.not()) |
| } |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct INPUT_TYPE(pub u32); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const INPUT_MOUSE: INPUT_TYPE = INPUT_TYPE(0u32); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const INPUT_KEYBOARD: INPUT_TYPE = INPUT_TYPE(1u32); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const INPUT_HARDWARE: INPUT_TYPE = INPUT_TYPE(2u32); |
| impl ::core::marker::Copy for INPUT_TYPE {} |
| impl ::core::clone::Clone for INPUT_TYPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for INPUT_TYPE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for INPUT_TYPE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for INPUT_TYPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("INPUT_TYPE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct KEYBD_EVENT_FLAGS(pub u32); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KEYEVENTF_EXTENDEDKEY: KEYBD_EVENT_FLAGS = KEYBD_EVENT_FLAGS(1u32); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KEYEVENTF_KEYUP: KEYBD_EVENT_FLAGS = KEYBD_EVENT_FLAGS(2u32); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KEYEVENTF_SCANCODE: KEYBD_EVENT_FLAGS = KEYBD_EVENT_FLAGS(8u32); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const KEYEVENTF_UNICODE: KEYBD_EVENT_FLAGS = KEYBD_EVENT_FLAGS(4u32); |
| impl ::core::marker::Copy for KEYBD_EVENT_FLAGS {} |
| impl ::core::clone::Clone for KEYBD_EVENT_FLAGS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for KEYBD_EVENT_FLAGS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for KEYBD_EVENT_FLAGS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for KEYBD_EVENT_FLAGS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("KEYBD_EVENT_FLAGS").field(&self.0).finish() |
| } |
| } |
| impl KEYBD_EVENT_FLAGS { |
| pub const fn contains(&self, other: Self) -> bool { |
| self.0 & other.0 == other.0 |
| } |
| } |
| impl ::core::ops::BitOr for KEYBD_EVENT_FLAGS { |
| type Output = Self; |
| fn bitor(self, other: Self) -> Self { |
| Self(self.0 | other.0) |
| } |
| } |
| impl ::core::ops::BitAnd for KEYBD_EVENT_FLAGS { |
| type Output = Self; |
| fn bitand(self, other: Self) -> Self { |
| Self(self.0 & other.0) |
| } |
| } |
| impl ::core::ops::BitOrAssign for KEYBD_EVENT_FLAGS { |
| fn bitor_assign(&mut self, other: Self) { |
| self.0.bitor_assign(other.0) |
| } |
| } |
| impl ::core::ops::BitAndAssign for KEYBD_EVENT_FLAGS { |
| fn bitand_assign(&mut self, other: Self) { |
| self.0.bitand_assign(other.0) |
| } |
| } |
| impl ::core::ops::Not for KEYBD_EVENT_FLAGS { |
| type Output = Self; |
| fn not(self) -> Self { |
| Self(self.0.not()) |
| } |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct MAP_VIRTUAL_KEY_TYPE(pub u32); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const MAPVK_VK_TO_VSC: MAP_VIRTUAL_KEY_TYPE = MAP_VIRTUAL_KEY_TYPE(0u32); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const MAPVK_VSC_TO_VK: MAP_VIRTUAL_KEY_TYPE = MAP_VIRTUAL_KEY_TYPE(1u32); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const MAPVK_VK_TO_CHAR: MAP_VIRTUAL_KEY_TYPE = MAP_VIRTUAL_KEY_TYPE(2u32); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const MAPVK_VSC_TO_VK_EX: MAP_VIRTUAL_KEY_TYPE = MAP_VIRTUAL_KEY_TYPE(3u32); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const MAPVK_VK_TO_VSC_EX: MAP_VIRTUAL_KEY_TYPE = MAP_VIRTUAL_KEY_TYPE(4u32); |
| impl ::core::marker::Copy for MAP_VIRTUAL_KEY_TYPE {} |
| impl ::core::clone::Clone for MAP_VIRTUAL_KEY_TYPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for MAP_VIRTUAL_KEY_TYPE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for MAP_VIRTUAL_KEY_TYPE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for MAP_VIRTUAL_KEY_TYPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("MAP_VIRTUAL_KEY_TYPE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct MOUSE_EVENT_FLAGS(pub u32); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const MOUSEEVENTF_ABSOLUTE: MOUSE_EVENT_FLAGS = MOUSE_EVENT_FLAGS(32768u32); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const MOUSEEVENTF_LEFTDOWN: MOUSE_EVENT_FLAGS = MOUSE_EVENT_FLAGS(2u32); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const MOUSEEVENTF_LEFTUP: MOUSE_EVENT_FLAGS = MOUSE_EVENT_FLAGS(4u32); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const MOUSEEVENTF_MIDDLEDOWN: MOUSE_EVENT_FLAGS = MOUSE_EVENT_FLAGS(32u32); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const MOUSEEVENTF_MIDDLEUP: MOUSE_EVENT_FLAGS = MOUSE_EVENT_FLAGS(64u32); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const MOUSEEVENTF_MOVE: MOUSE_EVENT_FLAGS = MOUSE_EVENT_FLAGS(1u32); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const MOUSEEVENTF_RIGHTDOWN: MOUSE_EVENT_FLAGS = MOUSE_EVENT_FLAGS(8u32); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const MOUSEEVENTF_RIGHTUP: MOUSE_EVENT_FLAGS = MOUSE_EVENT_FLAGS(16u32); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const MOUSEEVENTF_WHEEL: MOUSE_EVENT_FLAGS = MOUSE_EVENT_FLAGS(2048u32); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const MOUSEEVENTF_XDOWN: MOUSE_EVENT_FLAGS = MOUSE_EVENT_FLAGS(128u32); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const MOUSEEVENTF_XUP: MOUSE_EVENT_FLAGS = MOUSE_EVENT_FLAGS(256u32); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const MOUSEEVENTF_HWHEEL: MOUSE_EVENT_FLAGS = MOUSE_EVENT_FLAGS(4096u32); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const MOUSEEVENTF_MOVE_NOCOALESCE: MOUSE_EVENT_FLAGS = MOUSE_EVENT_FLAGS(8192u32); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const MOUSEEVENTF_VIRTUALDESK: MOUSE_EVENT_FLAGS = MOUSE_EVENT_FLAGS(16384u32); |
| impl ::core::marker::Copy for MOUSE_EVENT_FLAGS {} |
| impl ::core::clone::Clone for MOUSE_EVENT_FLAGS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for MOUSE_EVENT_FLAGS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for MOUSE_EVENT_FLAGS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for MOUSE_EVENT_FLAGS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("MOUSE_EVENT_FLAGS").field(&self.0).finish() |
| } |
| } |
| impl MOUSE_EVENT_FLAGS { |
| pub const fn contains(&self, other: Self) -> bool { |
| self.0 & other.0 == other.0 |
| } |
| } |
| impl ::core::ops::BitOr for MOUSE_EVENT_FLAGS { |
| type Output = Self; |
| fn bitor(self, other: Self) -> Self { |
| Self(self.0 | other.0) |
| } |
| } |
| impl ::core::ops::BitAnd for MOUSE_EVENT_FLAGS { |
| type Output = Self; |
| fn bitand(self, other: Self) -> Self { |
| Self(self.0 & other.0) |
| } |
| } |
| impl ::core::ops::BitOrAssign for MOUSE_EVENT_FLAGS { |
| fn bitor_assign(&mut self, other: Self) { |
| self.0.bitor_assign(other.0) |
| } |
| } |
| impl ::core::ops::BitAndAssign for MOUSE_EVENT_FLAGS { |
| fn bitand_assign(&mut self, other: Self) { |
| self.0.bitand_assign(other.0) |
| } |
| } |
| impl ::core::ops::Not for MOUSE_EVENT_FLAGS { |
| type Output = Self; |
| fn not(self) -> Self { |
| Self(self.0.not()) |
| } |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct TRACKMOUSEEVENT_FLAGS(pub u32); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const TME_CANCEL: TRACKMOUSEEVENT_FLAGS = TRACKMOUSEEVENT_FLAGS(2147483648u32); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const TME_HOVER: TRACKMOUSEEVENT_FLAGS = TRACKMOUSEEVENT_FLAGS(1u32); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const TME_LEAVE: TRACKMOUSEEVENT_FLAGS = TRACKMOUSEEVENT_FLAGS(2u32); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const TME_NONCLIENT: TRACKMOUSEEVENT_FLAGS = TRACKMOUSEEVENT_FLAGS(16u32); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const TME_QUERY: TRACKMOUSEEVENT_FLAGS = TRACKMOUSEEVENT_FLAGS(1073741824u32); |
| impl ::core::marker::Copy for TRACKMOUSEEVENT_FLAGS {} |
| impl ::core::clone::Clone for TRACKMOUSEEVENT_FLAGS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for TRACKMOUSEEVENT_FLAGS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for TRACKMOUSEEVENT_FLAGS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for TRACKMOUSEEVENT_FLAGS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("TRACKMOUSEEVENT_FLAGS").field(&self.0).finish() |
| } |
| } |
| impl TRACKMOUSEEVENT_FLAGS { |
| pub const fn contains(&self, other: Self) -> bool { |
| self.0 & other.0 == other.0 |
| } |
| } |
| impl ::core::ops::BitOr for TRACKMOUSEEVENT_FLAGS { |
| type Output = Self; |
| fn bitor(self, other: Self) -> Self { |
| Self(self.0 | other.0) |
| } |
| } |
| impl ::core::ops::BitAnd for TRACKMOUSEEVENT_FLAGS { |
| type Output = Self; |
| fn bitand(self, other: Self) -> Self { |
| Self(self.0 & other.0) |
| } |
| } |
| impl ::core::ops::BitOrAssign for TRACKMOUSEEVENT_FLAGS { |
| fn bitor_assign(&mut self, other: Self) { |
| self.0.bitor_assign(other.0) |
| } |
| } |
| impl ::core::ops::BitAndAssign for TRACKMOUSEEVENT_FLAGS { |
| fn bitand_assign(&mut self, other: Self) { |
| self.0.bitand_assign(other.0) |
| } |
| } |
| impl ::core::ops::Not for TRACKMOUSEEVENT_FLAGS { |
| type Output = Self; |
| fn not(self) -> Self { |
| Self(self.0.not()) |
| } |
| } |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct VIRTUAL_KEY(pub u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_0: VIRTUAL_KEY = VIRTUAL_KEY(48u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_1: VIRTUAL_KEY = VIRTUAL_KEY(49u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_2: VIRTUAL_KEY = VIRTUAL_KEY(50u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_3: VIRTUAL_KEY = VIRTUAL_KEY(51u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_4: VIRTUAL_KEY = VIRTUAL_KEY(52u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_5: VIRTUAL_KEY = VIRTUAL_KEY(53u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_6: VIRTUAL_KEY = VIRTUAL_KEY(54u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_7: VIRTUAL_KEY = VIRTUAL_KEY(55u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_8: VIRTUAL_KEY = VIRTUAL_KEY(56u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_9: VIRTUAL_KEY = VIRTUAL_KEY(57u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_A: VIRTUAL_KEY = VIRTUAL_KEY(65u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_B: VIRTUAL_KEY = VIRTUAL_KEY(66u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_C: VIRTUAL_KEY = VIRTUAL_KEY(67u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_D: VIRTUAL_KEY = VIRTUAL_KEY(68u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_E: VIRTUAL_KEY = VIRTUAL_KEY(69u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_F: VIRTUAL_KEY = VIRTUAL_KEY(70u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_G: VIRTUAL_KEY = VIRTUAL_KEY(71u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_H: VIRTUAL_KEY = VIRTUAL_KEY(72u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_I: VIRTUAL_KEY = VIRTUAL_KEY(73u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_J: VIRTUAL_KEY = VIRTUAL_KEY(74u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_K: VIRTUAL_KEY = VIRTUAL_KEY(75u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_L: VIRTUAL_KEY = VIRTUAL_KEY(76u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_M: VIRTUAL_KEY = VIRTUAL_KEY(77u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_N: VIRTUAL_KEY = VIRTUAL_KEY(78u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_O: VIRTUAL_KEY = VIRTUAL_KEY(79u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_P: VIRTUAL_KEY = VIRTUAL_KEY(80u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_Q: VIRTUAL_KEY = VIRTUAL_KEY(81u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_R: VIRTUAL_KEY = VIRTUAL_KEY(82u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_S: VIRTUAL_KEY = VIRTUAL_KEY(83u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_T: VIRTUAL_KEY = VIRTUAL_KEY(84u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_U: VIRTUAL_KEY = VIRTUAL_KEY(85u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_V: VIRTUAL_KEY = VIRTUAL_KEY(86u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_W: VIRTUAL_KEY = VIRTUAL_KEY(87u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_X: VIRTUAL_KEY = VIRTUAL_KEY(88u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_Y: VIRTUAL_KEY = VIRTUAL_KEY(89u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_Z: VIRTUAL_KEY = VIRTUAL_KEY(90u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_ABNT_C1: VIRTUAL_KEY = VIRTUAL_KEY(193u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_ABNT_C2: VIRTUAL_KEY = VIRTUAL_KEY(194u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_DBE_ALPHANUMERIC: VIRTUAL_KEY = VIRTUAL_KEY(240u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_DBE_CODEINPUT: VIRTUAL_KEY = VIRTUAL_KEY(250u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_DBE_DBCSCHAR: VIRTUAL_KEY = VIRTUAL_KEY(244u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_DBE_DETERMINESTRING: VIRTUAL_KEY = VIRTUAL_KEY(252u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_DBE_ENTERDLGCONVERSIONMODE: VIRTUAL_KEY = VIRTUAL_KEY(253u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_DBE_ENTERIMECONFIGMODE: VIRTUAL_KEY = VIRTUAL_KEY(248u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_DBE_ENTERWORDREGISTERMODE: VIRTUAL_KEY = VIRTUAL_KEY(247u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_DBE_FLUSHSTRING: VIRTUAL_KEY = VIRTUAL_KEY(249u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_DBE_HIRAGANA: VIRTUAL_KEY = VIRTUAL_KEY(242u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_DBE_KATAKANA: VIRTUAL_KEY = VIRTUAL_KEY(241u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_DBE_NOCODEINPUT: VIRTUAL_KEY = VIRTUAL_KEY(251u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_DBE_NOROMAN: VIRTUAL_KEY = VIRTUAL_KEY(246u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_DBE_ROMAN: VIRTUAL_KEY = VIRTUAL_KEY(245u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_DBE_SBCSCHAR: VIRTUAL_KEY = VIRTUAL_KEY(243u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK__none_: VIRTUAL_KEY = VIRTUAL_KEY(255u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_LBUTTON: VIRTUAL_KEY = VIRTUAL_KEY(1u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_RBUTTON: VIRTUAL_KEY = VIRTUAL_KEY(2u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_CANCEL: VIRTUAL_KEY = VIRTUAL_KEY(3u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_MBUTTON: VIRTUAL_KEY = VIRTUAL_KEY(4u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_XBUTTON1: VIRTUAL_KEY = VIRTUAL_KEY(5u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_XBUTTON2: VIRTUAL_KEY = VIRTUAL_KEY(6u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_BACK: VIRTUAL_KEY = VIRTUAL_KEY(8u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_TAB: VIRTUAL_KEY = VIRTUAL_KEY(9u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_CLEAR: VIRTUAL_KEY = VIRTUAL_KEY(12u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_RETURN: VIRTUAL_KEY = VIRTUAL_KEY(13u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_SHIFT: VIRTUAL_KEY = VIRTUAL_KEY(16u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_CONTROL: VIRTUAL_KEY = VIRTUAL_KEY(17u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_MENU: VIRTUAL_KEY = VIRTUAL_KEY(18u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_PAUSE: VIRTUAL_KEY = VIRTUAL_KEY(19u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_CAPITAL: VIRTUAL_KEY = VIRTUAL_KEY(20u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_KANA: VIRTUAL_KEY = VIRTUAL_KEY(21u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_HANGEUL: VIRTUAL_KEY = VIRTUAL_KEY(21u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_HANGUL: VIRTUAL_KEY = VIRTUAL_KEY(21u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_IME_ON: VIRTUAL_KEY = VIRTUAL_KEY(22u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_JUNJA: VIRTUAL_KEY = VIRTUAL_KEY(23u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_FINAL: VIRTUAL_KEY = VIRTUAL_KEY(24u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_HANJA: VIRTUAL_KEY = VIRTUAL_KEY(25u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_KANJI: VIRTUAL_KEY = VIRTUAL_KEY(25u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_IME_OFF: VIRTUAL_KEY = VIRTUAL_KEY(26u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_ESCAPE: VIRTUAL_KEY = VIRTUAL_KEY(27u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_CONVERT: VIRTUAL_KEY = VIRTUAL_KEY(28u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_NONCONVERT: VIRTUAL_KEY = VIRTUAL_KEY(29u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_ACCEPT: VIRTUAL_KEY = VIRTUAL_KEY(30u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_MODECHANGE: VIRTUAL_KEY = VIRTUAL_KEY(31u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_SPACE: VIRTUAL_KEY = VIRTUAL_KEY(32u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_PRIOR: VIRTUAL_KEY = VIRTUAL_KEY(33u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_NEXT: VIRTUAL_KEY = VIRTUAL_KEY(34u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_END: VIRTUAL_KEY = VIRTUAL_KEY(35u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_HOME: VIRTUAL_KEY = VIRTUAL_KEY(36u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_LEFT: VIRTUAL_KEY = VIRTUAL_KEY(37u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_UP: VIRTUAL_KEY = VIRTUAL_KEY(38u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_RIGHT: VIRTUAL_KEY = VIRTUAL_KEY(39u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_DOWN: VIRTUAL_KEY = VIRTUAL_KEY(40u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_SELECT: VIRTUAL_KEY = VIRTUAL_KEY(41u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_PRINT: VIRTUAL_KEY = VIRTUAL_KEY(42u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_EXECUTE: VIRTUAL_KEY = VIRTUAL_KEY(43u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_SNAPSHOT: VIRTUAL_KEY = VIRTUAL_KEY(44u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_INSERT: VIRTUAL_KEY = VIRTUAL_KEY(45u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_DELETE: VIRTUAL_KEY = VIRTUAL_KEY(46u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_HELP: VIRTUAL_KEY = VIRTUAL_KEY(47u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_LWIN: VIRTUAL_KEY = VIRTUAL_KEY(91u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_RWIN: VIRTUAL_KEY = VIRTUAL_KEY(92u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_APPS: VIRTUAL_KEY = VIRTUAL_KEY(93u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_SLEEP: VIRTUAL_KEY = VIRTUAL_KEY(95u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_NUMPAD0: VIRTUAL_KEY = VIRTUAL_KEY(96u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_NUMPAD1: VIRTUAL_KEY = VIRTUAL_KEY(97u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_NUMPAD2: VIRTUAL_KEY = VIRTUAL_KEY(98u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_NUMPAD3: VIRTUAL_KEY = VIRTUAL_KEY(99u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_NUMPAD4: VIRTUAL_KEY = VIRTUAL_KEY(100u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_NUMPAD5: VIRTUAL_KEY = VIRTUAL_KEY(101u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_NUMPAD6: VIRTUAL_KEY = VIRTUAL_KEY(102u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_NUMPAD7: VIRTUAL_KEY = VIRTUAL_KEY(103u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_NUMPAD8: VIRTUAL_KEY = VIRTUAL_KEY(104u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_NUMPAD9: VIRTUAL_KEY = VIRTUAL_KEY(105u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_MULTIPLY: VIRTUAL_KEY = VIRTUAL_KEY(106u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_ADD: VIRTUAL_KEY = VIRTUAL_KEY(107u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_SEPARATOR: VIRTUAL_KEY = VIRTUAL_KEY(108u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_SUBTRACT: VIRTUAL_KEY = VIRTUAL_KEY(109u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_DECIMAL: VIRTUAL_KEY = VIRTUAL_KEY(110u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_DIVIDE: VIRTUAL_KEY = VIRTUAL_KEY(111u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_F1: VIRTUAL_KEY = VIRTUAL_KEY(112u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_F2: VIRTUAL_KEY = VIRTUAL_KEY(113u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_F3: VIRTUAL_KEY = VIRTUAL_KEY(114u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_F4: VIRTUAL_KEY = VIRTUAL_KEY(115u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_F5: VIRTUAL_KEY = VIRTUAL_KEY(116u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_F6: VIRTUAL_KEY = VIRTUAL_KEY(117u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_F7: VIRTUAL_KEY = VIRTUAL_KEY(118u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_F8: VIRTUAL_KEY = VIRTUAL_KEY(119u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_F9: VIRTUAL_KEY = VIRTUAL_KEY(120u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_F10: VIRTUAL_KEY = VIRTUAL_KEY(121u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_F11: VIRTUAL_KEY = VIRTUAL_KEY(122u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_F12: VIRTUAL_KEY = VIRTUAL_KEY(123u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_F13: VIRTUAL_KEY = VIRTUAL_KEY(124u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_F14: VIRTUAL_KEY = VIRTUAL_KEY(125u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_F15: VIRTUAL_KEY = VIRTUAL_KEY(126u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_F16: VIRTUAL_KEY = VIRTUAL_KEY(127u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_F17: VIRTUAL_KEY = VIRTUAL_KEY(128u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_F18: VIRTUAL_KEY = VIRTUAL_KEY(129u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_F19: VIRTUAL_KEY = VIRTUAL_KEY(130u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_F20: VIRTUAL_KEY = VIRTUAL_KEY(131u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_F21: VIRTUAL_KEY = VIRTUAL_KEY(132u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_F22: VIRTUAL_KEY = VIRTUAL_KEY(133u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_F23: VIRTUAL_KEY = VIRTUAL_KEY(134u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_F24: VIRTUAL_KEY = VIRTUAL_KEY(135u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_NAVIGATION_VIEW: VIRTUAL_KEY = VIRTUAL_KEY(136u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_NAVIGATION_MENU: VIRTUAL_KEY = VIRTUAL_KEY(137u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_NAVIGATION_UP: VIRTUAL_KEY = VIRTUAL_KEY(138u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_NAVIGATION_DOWN: VIRTUAL_KEY = VIRTUAL_KEY(139u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_NAVIGATION_LEFT: VIRTUAL_KEY = VIRTUAL_KEY(140u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_NAVIGATION_RIGHT: VIRTUAL_KEY = VIRTUAL_KEY(141u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_NAVIGATION_ACCEPT: VIRTUAL_KEY = VIRTUAL_KEY(142u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_NAVIGATION_CANCEL: VIRTUAL_KEY = VIRTUAL_KEY(143u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_NUMLOCK: VIRTUAL_KEY = VIRTUAL_KEY(144u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_SCROLL: VIRTUAL_KEY = VIRTUAL_KEY(145u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_OEM_NEC_EQUAL: VIRTUAL_KEY = VIRTUAL_KEY(146u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_OEM_FJ_JISHO: VIRTUAL_KEY = VIRTUAL_KEY(146u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_OEM_FJ_MASSHOU: VIRTUAL_KEY = VIRTUAL_KEY(147u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_OEM_FJ_TOUROKU: VIRTUAL_KEY = VIRTUAL_KEY(148u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_OEM_FJ_LOYA: VIRTUAL_KEY = VIRTUAL_KEY(149u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_OEM_FJ_ROYA: VIRTUAL_KEY = VIRTUAL_KEY(150u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_LSHIFT: VIRTUAL_KEY = VIRTUAL_KEY(160u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_RSHIFT: VIRTUAL_KEY = VIRTUAL_KEY(161u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_LCONTROL: VIRTUAL_KEY = VIRTUAL_KEY(162u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_RCONTROL: VIRTUAL_KEY = VIRTUAL_KEY(163u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_LMENU: VIRTUAL_KEY = VIRTUAL_KEY(164u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_RMENU: VIRTUAL_KEY = VIRTUAL_KEY(165u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_BROWSER_BACK: VIRTUAL_KEY = VIRTUAL_KEY(166u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_BROWSER_FORWARD: VIRTUAL_KEY = VIRTUAL_KEY(167u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_BROWSER_REFRESH: VIRTUAL_KEY = VIRTUAL_KEY(168u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_BROWSER_STOP: VIRTUAL_KEY = VIRTUAL_KEY(169u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_BROWSER_SEARCH: VIRTUAL_KEY = VIRTUAL_KEY(170u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_BROWSER_FAVORITES: VIRTUAL_KEY = VIRTUAL_KEY(171u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_BROWSER_HOME: VIRTUAL_KEY = VIRTUAL_KEY(172u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_VOLUME_MUTE: VIRTUAL_KEY = VIRTUAL_KEY(173u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_VOLUME_DOWN: VIRTUAL_KEY = VIRTUAL_KEY(174u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_VOLUME_UP: VIRTUAL_KEY = VIRTUAL_KEY(175u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_MEDIA_NEXT_TRACK: VIRTUAL_KEY = VIRTUAL_KEY(176u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_MEDIA_PREV_TRACK: VIRTUAL_KEY = VIRTUAL_KEY(177u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_MEDIA_STOP: VIRTUAL_KEY = VIRTUAL_KEY(178u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_MEDIA_PLAY_PAUSE: VIRTUAL_KEY = VIRTUAL_KEY(179u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_LAUNCH_MAIL: VIRTUAL_KEY = VIRTUAL_KEY(180u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_LAUNCH_MEDIA_SELECT: VIRTUAL_KEY = VIRTUAL_KEY(181u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_LAUNCH_APP1: VIRTUAL_KEY = VIRTUAL_KEY(182u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_LAUNCH_APP2: VIRTUAL_KEY = VIRTUAL_KEY(183u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_OEM_1: VIRTUAL_KEY = VIRTUAL_KEY(186u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_OEM_PLUS: VIRTUAL_KEY = VIRTUAL_KEY(187u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_OEM_COMMA: VIRTUAL_KEY = VIRTUAL_KEY(188u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_OEM_MINUS: VIRTUAL_KEY = VIRTUAL_KEY(189u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_OEM_PERIOD: VIRTUAL_KEY = VIRTUAL_KEY(190u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_OEM_2: VIRTUAL_KEY = VIRTUAL_KEY(191u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_OEM_3: VIRTUAL_KEY = VIRTUAL_KEY(192u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_GAMEPAD_A: VIRTUAL_KEY = VIRTUAL_KEY(195u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_GAMEPAD_B: VIRTUAL_KEY = VIRTUAL_KEY(196u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_GAMEPAD_X: VIRTUAL_KEY = VIRTUAL_KEY(197u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_GAMEPAD_Y: VIRTUAL_KEY = VIRTUAL_KEY(198u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_GAMEPAD_RIGHT_SHOULDER: VIRTUAL_KEY = VIRTUAL_KEY(199u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_GAMEPAD_LEFT_SHOULDER: VIRTUAL_KEY = VIRTUAL_KEY(200u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_GAMEPAD_LEFT_TRIGGER: VIRTUAL_KEY = VIRTUAL_KEY(201u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_GAMEPAD_RIGHT_TRIGGER: VIRTUAL_KEY = VIRTUAL_KEY(202u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_GAMEPAD_DPAD_UP: VIRTUAL_KEY = VIRTUAL_KEY(203u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_GAMEPAD_DPAD_DOWN: VIRTUAL_KEY = VIRTUAL_KEY(204u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_GAMEPAD_DPAD_LEFT: VIRTUAL_KEY = VIRTUAL_KEY(205u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_GAMEPAD_DPAD_RIGHT: VIRTUAL_KEY = VIRTUAL_KEY(206u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_GAMEPAD_MENU: VIRTUAL_KEY = VIRTUAL_KEY(207u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_GAMEPAD_VIEW: VIRTUAL_KEY = VIRTUAL_KEY(208u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_GAMEPAD_LEFT_THUMBSTICK_BUTTON: VIRTUAL_KEY = VIRTUAL_KEY(209u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_GAMEPAD_RIGHT_THUMBSTICK_BUTTON: VIRTUAL_KEY = VIRTUAL_KEY(210u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_GAMEPAD_LEFT_THUMBSTICK_UP: VIRTUAL_KEY = VIRTUAL_KEY(211u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_GAMEPAD_LEFT_THUMBSTICK_DOWN: VIRTUAL_KEY = VIRTUAL_KEY(212u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_GAMEPAD_LEFT_THUMBSTICK_RIGHT: VIRTUAL_KEY = VIRTUAL_KEY(213u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_GAMEPAD_LEFT_THUMBSTICK_LEFT: VIRTUAL_KEY = VIRTUAL_KEY(214u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_GAMEPAD_RIGHT_THUMBSTICK_UP: VIRTUAL_KEY = VIRTUAL_KEY(215u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_GAMEPAD_RIGHT_THUMBSTICK_DOWN: VIRTUAL_KEY = VIRTUAL_KEY(216u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_GAMEPAD_RIGHT_THUMBSTICK_RIGHT: VIRTUAL_KEY = VIRTUAL_KEY(217u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_GAMEPAD_RIGHT_THUMBSTICK_LEFT: VIRTUAL_KEY = VIRTUAL_KEY(218u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_OEM_4: VIRTUAL_KEY = VIRTUAL_KEY(219u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_OEM_5: VIRTUAL_KEY = VIRTUAL_KEY(220u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_OEM_6: VIRTUAL_KEY = VIRTUAL_KEY(221u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_OEM_7: VIRTUAL_KEY = VIRTUAL_KEY(222u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_OEM_8: VIRTUAL_KEY = VIRTUAL_KEY(223u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_OEM_AX: VIRTUAL_KEY = VIRTUAL_KEY(225u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_OEM_102: VIRTUAL_KEY = VIRTUAL_KEY(226u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_ICO_HELP: VIRTUAL_KEY = VIRTUAL_KEY(227u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_ICO_00: VIRTUAL_KEY = VIRTUAL_KEY(228u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_PROCESSKEY: VIRTUAL_KEY = VIRTUAL_KEY(229u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_ICO_CLEAR: VIRTUAL_KEY = VIRTUAL_KEY(230u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_PACKET: VIRTUAL_KEY = VIRTUAL_KEY(231u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_OEM_RESET: VIRTUAL_KEY = VIRTUAL_KEY(233u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_OEM_JUMP: VIRTUAL_KEY = VIRTUAL_KEY(234u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_OEM_PA1: VIRTUAL_KEY = VIRTUAL_KEY(235u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_OEM_PA2: VIRTUAL_KEY = VIRTUAL_KEY(236u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_OEM_PA3: VIRTUAL_KEY = VIRTUAL_KEY(237u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_OEM_WSCTRL: VIRTUAL_KEY = VIRTUAL_KEY(238u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_OEM_CUSEL: VIRTUAL_KEY = VIRTUAL_KEY(239u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_OEM_ATTN: VIRTUAL_KEY = VIRTUAL_KEY(240u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_OEM_FINISH: VIRTUAL_KEY = VIRTUAL_KEY(241u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_OEM_COPY: VIRTUAL_KEY = VIRTUAL_KEY(242u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_OEM_AUTO: VIRTUAL_KEY = VIRTUAL_KEY(243u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_OEM_ENLW: VIRTUAL_KEY = VIRTUAL_KEY(244u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_OEM_BACKTAB: VIRTUAL_KEY = VIRTUAL_KEY(245u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_ATTN: VIRTUAL_KEY = VIRTUAL_KEY(246u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_CRSEL: VIRTUAL_KEY = VIRTUAL_KEY(247u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_EXSEL: VIRTUAL_KEY = VIRTUAL_KEY(248u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_EREOF: VIRTUAL_KEY = VIRTUAL_KEY(249u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_PLAY: VIRTUAL_KEY = VIRTUAL_KEY(250u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_ZOOM: VIRTUAL_KEY = VIRTUAL_KEY(251u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_NONAME: VIRTUAL_KEY = VIRTUAL_KEY(252u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_PA1: VIRTUAL_KEY = VIRTUAL_KEY(253u16); |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub const VK_OEM_CLEAR: VIRTUAL_KEY = VIRTUAL_KEY(254u16); |
| impl ::core::marker::Copy for VIRTUAL_KEY {} |
| impl ::core::clone::Clone for VIRTUAL_KEY { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for VIRTUAL_KEY { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for VIRTUAL_KEY { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for VIRTUAL_KEY { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("VIRTUAL_KEY").field(&self.0).finish() |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub struct DEADKEY { |
| pub dwBoth: u32, |
| pub wchComposed: u16, |
| pub uFlags: u16, |
| } |
| impl ::core::marker::Copy for DEADKEY {} |
| impl ::core::clone::Clone for DEADKEY { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for DEADKEY { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("DEADKEY").field("dwBoth", &self.dwBoth).field("wchComposed", &self.wchComposed).field("uFlags", &self.uFlags).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for DEADKEY { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for DEADKEY { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwBoth == other.dwBoth && self.wchComposed == other.wchComposed && self.uFlags == other.uFlags |
| } |
| } |
| impl ::core::cmp::Eq for DEADKEY {} |
| impl ::core::default::Default for DEADKEY { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub struct HARDWAREINPUT { |
| pub uMsg: u32, |
| pub wParamL: u16, |
| pub wParamH: u16, |
| } |
| impl ::core::marker::Copy for HARDWAREINPUT {} |
| impl ::core::clone::Clone for HARDWAREINPUT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for HARDWAREINPUT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("HARDWAREINPUT").field("uMsg", &self.uMsg).field("wParamL", &self.wParamL).field("wParamH", &self.wParamH).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for HARDWAREINPUT { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for HARDWAREINPUT { |
| fn eq(&self, other: &Self) -> bool { |
| self.uMsg == other.uMsg && self.wParamL == other.wParamL && self.wParamH == other.wParamH |
| } |
| } |
| impl ::core::cmp::Eq for HARDWAREINPUT {} |
| impl ::core::default::Default for HARDWAREINPUT { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub struct INPUT { |
| pub r#type: INPUT_TYPE, |
| pub Anonymous: INPUT_0, |
| } |
| impl ::core::marker::Copy for INPUT {} |
| impl ::core::clone::Clone for INPUT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for INPUT { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for INPUT { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub union INPUT_0 { |
| pub mi: MOUSEINPUT, |
| pub ki: KEYBDINPUT, |
| pub hi: HARDWAREINPUT, |
| } |
| impl ::core::marker::Copy for INPUT_0 {} |
| impl ::core::clone::Clone for INPUT_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for INPUT_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for INPUT_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub struct KBDNLSTABLES { |
| pub OEMIdentifier: u16, |
| pub LayoutInformation: u16, |
| pub NumOfVkToF: u32, |
| pub pVkToF: *mut VK_F, |
| pub NumOfMouseVKey: i32, |
| pub pusMouseVKey: *mut u16, |
| } |
| impl ::core::marker::Copy for KBDNLSTABLES {} |
| impl ::core::clone::Clone for KBDNLSTABLES { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for KBDNLSTABLES { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("KBDNLSTABLES").field("OEMIdentifier", &self.OEMIdentifier).field("LayoutInformation", &self.LayoutInformation).field("NumOfVkToF", &self.NumOfVkToF).field("pVkToF", &self.pVkToF).field("NumOfMouseVKey", &self.NumOfMouseVKey).field("pusMouseVKey", &self.pusMouseVKey).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for KBDNLSTABLES { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for KBDNLSTABLES { |
| fn eq(&self, other: &Self) -> bool { |
| self.OEMIdentifier == other.OEMIdentifier && self.LayoutInformation == other.LayoutInformation && self.NumOfVkToF == other.NumOfVkToF && self.pVkToF == other.pVkToF && self.NumOfMouseVKey == other.NumOfMouseVKey && self.pusMouseVKey == other.pusMouseVKey |
| } |
| } |
| impl ::core::cmp::Eq for KBDNLSTABLES {} |
| impl ::core::default::Default for KBDNLSTABLES { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub struct KBDTABLES { |
| pub pCharModifiers: *mut MODIFIERS, |
| pub pVkToWcharTable: *mut VK_TO_WCHAR_TABLE, |
| pub pDeadKey: *mut DEADKEY, |
| pub pKeyNames: *mut VSC_LPWSTR, |
| pub pKeyNamesExt: *mut VSC_LPWSTR, |
| pub pKeyNamesDead: *mut *mut u16, |
| pub pusVSCtoVK: *mut u16, |
| pub bMaxVSCtoVK: u8, |
| pub pVSCtoVK_E0: *mut VSC_VK, |
| pub pVSCtoVK_E1: *mut VSC_VK, |
| pub fLocaleFlags: u32, |
| pub nLgMax: u8, |
| pub cbLgEntry: u8, |
| pub pLigature: *mut LIGATURE1, |
| pub dwType: u32, |
| pub dwSubType: u32, |
| } |
| impl ::core::marker::Copy for KBDTABLES {} |
| impl ::core::clone::Clone for KBDTABLES { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for KBDTABLES { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("KBDTABLES") |
| .field("pCharModifiers", &self.pCharModifiers) |
| .field("pVkToWcharTable", &self.pVkToWcharTable) |
| .field("pDeadKey", &self.pDeadKey) |
| .field("pKeyNames", &self.pKeyNames) |
| .field("pKeyNamesExt", &self.pKeyNamesExt) |
| .field("pKeyNamesDead", &self.pKeyNamesDead) |
| .field("pusVSCtoVK", &self.pusVSCtoVK) |
| .field("bMaxVSCtoVK", &self.bMaxVSCtoVK) |
| .field("pVSCtoVK_E0", &self.pVSCtoVK_E0) |
| .field("pVSCtoVK_E1", &self.pVSCtoVK_E1) |
| .field("fLocaleFlags", &self.fLocaleFlags) |
| .field("nLgMax", &self.nLgMax) |
| .field("cbLgEntry", &self.cbLgEntry) |
| .field("pLigature", &self.pLigature) |
| .field("dwType", &self.dwType) |
| .field("dwSubType", &self.dwSubType) |
| .finish() |
| } |
| } |
| impl ::windows::core::TypeKind for KBDTABLES { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for KBDTABLES { |
| fn eq(&self, other: &Self) -> bool { |
| self.pCharModifiers == other.pCharModifiers && self.pVkToWcharTable == other.pVkToWcharTable && self.pDeadKey == other.pDeadKey && self.pKeyNames == other.pKeyNames && self.pKeyNamesExt == other.pKeyNamesExt && self.pKeyNamesDead == other.pKeyNamesDead && self.pusVSCtoVK == other.pusVSCtoVK && self.bMaxVSCtoVK == other.bMaxVSCtoVK && self.pVSCtoVK_E0 == other.pVSCtoVK_E0 && self.pVSCtoVK_E1 == other.pVSCtoVK_E1 && self.fLocaleFlags == other.fLocaleFlags && self.nLgMax == other.nLgMax && self.cbLgEntry == other.cbLgEntry && self.pLigature == other.pLigature && self.dwType == other.dwType && self.dwSubType == other.dwSubType |
| } |
| } |
| impl ::core::cmp::Eq for KBDTABLES {} |
| impl ::core::default::Default for KBDTABLES { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub struct KBDTABLE_DESC { |
| pub wszDllName: [u16; 32], |
| pub dwType: u32, |
| pub dwSubType: u32, |
| } |
| impl ::core::marker::Copy for KBDTABLE_DESC {} |
| impl ::core::clone::Clone for KBDTABLE_DESC { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for KBDTABLE_DESC { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("KBDTABLE_DESC").field("wszDllName", &self.wszDllName).field("dwType", &self.dwType).field("dwSubType", &self.dwSubType).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for KBDTABLE_DESC { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for KBDTABLE_DESC { |
| fn eq(&self, other: &Self) -> bool { |
| self.wszDllName == other.wszDllName && self.dwType == other.dwType && self.dwSubType == other.dwSubType |
| } |
| } |
| impl ::core::cmp::Eq for KBDTABLE_DESC {} |
| impl ::core::default::Default for KBDTABLE_DESC { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub struct KBDTABLE_MULTI { |
| pub nTables: u32, |
| pub aKbdTables: [KBDTABLE_DESC; 8], |
| } |
| impl ::core::marker::Copy for KBDTABLE_MULTI {} |
| impl ::core::clone::Clone for KBDTABLE_MULTI { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for KBDTABLE_MULTI { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("KBDTABLE_MULTI").field("nTables", &self.nTables).field("aKbdTables", &self.aKbdTables).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for KBDTABLE_MULTI { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for KBDTABLE_MULTI { |
| fn eq(&self, other: &Self) -> bool { |
| self.nTables == other.nTables && self.aKbdTables == other.aKbdTables |
| } |
| } |
| impl ::core::cmp::Eq for KBDTABLE_MULTI {} |
| impl ::core::default::Default for KBDTABLE_MULTI { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub struct KBD_TYPE_INFO { |
| pub dwVersion: u32, |
| pub dwType: u32, |
| pub dwSubType: u32, |
| } |
| impl ::core::marker::Copy for KBD_TYPE_INFO {} |
| impl ::core::clone::Clone for KBD_TYPE_INFO { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for KBD_TYPE_INFO { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("KBD_TYPE_INFO").field("dwVersion", &self.dwVersion).field("dwType", &self.dwType).field("dwSubType", &self.dwSubType).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for KBD_TYPE_INFO { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for KBD_TYPE_INFO { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwVersion == other.dwVersion && self.dwType == other.dwType && self.dwSubType == other.dwSubType |
| } |
| } |
| impl ::core::cmp::Eq for KBD_TYPE_INFO {} |
| impl ::core::default::Default for KBD_TYPE_INFO { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub struct KEYBDINPUT { |
| pub wVk: VIRTUAL_KEY, |
| pub wScan: u16, |
| pub dwFlags: KEYBD_EVENT_FLAGS, |
| pub time: u32, |
| pub dwExtraInfo: usize, |
| } |
| impl ::core::marker::Copy for KEYBDINPUT {} |
| impl ::core::clone::Clone for KEYBDINPUT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for KEYBDINPUT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("KEYBDINPUT").field("wVk", &self.wVk).field("wScan", &self.wScan).field("dwFlags", &self.dwFlags).field("time", &self.time).field("dwExtraInfo", &self.dwExtraInfo).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for KEYBDINPUT { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for KEYBDINPUT { |
| fn eq(&self, other: &Self) -> bool { |
| self.wVk == other.wVk && self.wScan == other.wScan && self.dwFlags == other.dwFlags && self.time == other.time && self.dwExtraInfo == other.dwExtraInfo |
| } |
| } |
| impl ::core::cmp::Eq for KEYBDINPUT {} |
| impl ::core::default::Default for KEYBDINPUT { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub struct LASTINPUTINFO { |
| pub cbSize: u32, |
| pub dwTime: u32, |
| } |
| impl ::core::marker::Copy for LASTINPUTINFO {} |
| impl ::core::clone::Clone for LASTINPUTINFO { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for LASTINPUTINFO { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("LASTINPUTINFO").field("cbSize", &self.cbSize).field("dwTime", &self.dwTime).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for LASTINPUTINFO { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for LASTINPUTINFO { |
| fn eq(&self, other: &Self) -> bool { |
| self.cbSize == other.cbSize && self.dwTime == other.dwTime |
| } |
| } |
| impl ::core::cmp::Eq for LASTINPUTINFO {} |
| impl ::core::default::Default for LASTINPUTINFO { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub struct LIGATURE1 { |
| pub VirtualKey: u8, |
| pub ModificationNumber: u16, |
| pub wch: [u16; 1], |
| } |
| impl ::core::marker::Copy for LIGATURE1 {} |
| impl ::core::clone::Clone for LIGATURE1 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for LIGATURE1 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("LIGATURE1").field("VirtualKey", &self.VirtualKey).field("ModificationNumber", &self.ModificationNumber).field("wch", &self.wch).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for LIGATURE1 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for LIGATURE1 { |
| fn eq(&self, other: &Self) -> bool { |
| self.VirtualKey == other.VirtualKey && self.ModificationNumber == other.ModificationNumber && self.wch == other.wch |
| } |
| } |
| impl ::core::cmp::Eq for LIGATURE1 {} |
| impl ::core::default::Default for LIGATURE1 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub struct LIGATURE2 { |
| pub VirtualKey: u8, |
| pub ModificationNumber: u16, |
| pub wch: [u16; 2], |
| } |
| impl ::core::marker::Copy for LIGATURE2 {} |
| impl ::core::clone::Clone for LIGATURE2 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for LIGATURE2 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("LIGATURE2").field("VirtualKey", &self.VirtualKey).field("ModificationNumber", &self.ModificationNumber).field("wch", &self.wch).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for LIGATURE2 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for LIGATURE2 { |
| fn eq(&self, other: &Self) -> bool { |
| self.VirtualKey == other.VirtualKey && self.ModificationNumber == other.ModificationNumber && self.wch == other.wch |
| } |
| } |
| impl ::core::cmp::Eq for LIGATURE2 {} |
| impl ::core::default::Default for LIGATURE2 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub struct LIGATURE3 { |
| pub VirtualKey: u8, |
| pub ModificationNumber: u16, |
| pub wch: [u16; 3], |
| } |
| impl ::core::marker::Copy for LIGATURE3 {} |
| impl ::core::clone::Clone for LIGATURE3 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for LIGATURE3 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("LIGATURE3").field("VirtualKey", &self.VirtualKey).field("ModificationNumber", &self.ModificationNumber).field("wch", &self.wch).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for LIGATURE3 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for LIGATURE3 { |
| fn eq(&self, other: &Self) -> bool { |
| self.VirtualKey == other.VirtualKey && self.ModificationNumber == other.ModificationNumber && self.wch == other.wch |
| } |
| } |
| impl ::core::cmp::Eq for LIGATURE3 {} |
| impl ::core::default::Default for LIGATURE3 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub struct LIGATURE4 { |
| pub VirtualKey: u8, |
| pub ModificationNumber: u16, |
| pub wch: [u16; 4], |
| } |
| impl ::core::marker::Copy for LIGATURE4 {} |
| impl ::core::clone::Clone for LIGATURE4 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for LIGATURE4 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("LIGATURE4").field("VirtualKey", &self.VirtualKey).field("ModificationNumber", &self.ModificationNumber).field("wch", &self.wch).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for LIGATURE4 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for LIGATURE4 { |
| fn eq(&self, other: &Self) -> bool { |
| self.VirtualKey == other.VirtualKey && self.ModificationNumber == other.ModificationNumber && self.wch == other.wch |
| } |
| } |
| impl ::core::cmp::Eq for LIGATURE4 {} |
| impl ::core::default::Default for LIGATURE4 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub struct LIGATURE5 { |
| pub VirtualKey: u8, |
| pub ModificationNumber: u16, |
| pub wch: [u16; 5], |
| } |
| impl ::core::marker::Copy for LIGATURE5 {} |
| impl ::core::clone::Clone for LIGATURE5 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for LIGATURE5 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("LIGATURE5").field("VirtualKey", &self.VirtualKey).field("ModificationNumber", &self.ModificationNumber).field("wch", &self.wch).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for LIGATURE5 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for LIGATURE5 { |
| fn eq(&self, other: &Self) -> bool { |
| self.VirtualKey == other.VirtualKey && self.ModificationNumber == other.ModificationNumber && self.wch == other.wch |
| } |
| } |
| impl ::core::cmp::Eq for LIGATURE5 {} |
| impl ::core::default::Default for LIGATURE5 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub struct MODIFIERS { |
| pub pVkToBit: *mut VK_TO_BIT, |
| pub wMaxModBits: u16, |
| pub ModNumber: [u8; 1], |
| } |
| impl ::core::marker::Copy for MODIFIERS {} |
| impl ::core::clone::Clone for MODIFIERS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MODIFIERS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MODIFIERS").field("pVkToBit", &self.pVkToBit).field("wMaxModBits", &self.wMaxModBits).field("ModNumber", &self.ModNumber).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MODIFIERS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MODIFIERS { |
| fn eq(&self, other: &Self) -> bool { |
| self.pVkToBit == other.pVkToBit && self.wMaxModBits == other.wMaxModBits && self.ModNumber == other.ModNumber |
| } |
| } |
| impl ::core::cmp::Eq for MODIFIERS {} |
| impl ::core::default::Default for MODIFIERS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub struct MOUSEINPUT { |
| pub dx: i32, |
| pub dy: i32, |
| pub mouseData: i32, |
| pub dwFlags: MOUSE_EVENT_FLAGS, |
| pub time: u32, |
| pub dwExtraInfo: usize, |
| } |
| impl ::core::marker::Copy for MOUSEINPUT {} |
| impl ::core::clone::Clone for MOUSEINPUT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MOUSEINPUT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MOUSEINPUT").field("dx", &self.dx).field("dy", &self.dy).field("mouseData", &self.mouseData).field("dwFlags", &self.dwFlags).field("time", &self.time).field("dwExtraInfo", &self.dwExtraInfo).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MOUSEINPUT { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MOUSEINPUT { |
| fn eq(&self, other: &Self) -> bool { |
| self.dx == other.dx && self.dy == other.dy && self.mouseData == other.mouseData && self.dwFlags == other.dwFlags && self.time == other.time && self.dwExtraInfo == other.dwExtraInfo |
| } |
| } |
| impl ::core::cmp::Eq for MOUSEINPUT {} |
| impl ::core::default::Default for MOUSEINPUT { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub struct MOUSEMOVEPOINT { |
| pub x: i32, |
| pub y: i32, |
| pub time: u32, |
| pub dwExtraInfo: usize, |
| } |
| impl ::core::marker::Copy for MOUSEMOVEPOINT {} |
| impl ::core::clone::Clone for MOUSEMOVEPOINT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MOUSEMOVEPOINT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MOUSEMOVEPOINT").field("x", &self.x).field("y", &self.y).field("time", &self.time).field("dwExtraInfo", &self.dwExtraInfo).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MOUSEMOVEPOINT { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MOUSEMOVEPOINT { |
| fn eq(&self, other: &Self) -> bool { |
| self.x == other.x && self.y == other.y && self.time == other.time && self.dwExtraInfo == other.dwExtraInfo |
| } |
| } |
| impl ::core::cmp::Eq for MOUSEMOVEPOINT {} |
| impl ::core::default::Default for MOUSEMOVEPOINT { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct TRACKMOUSEEVENT { |
| pub cbSize: u32, |
| pub dwFlags: TRACKMOUSEEVENT_FLAGS, |
| pub hwndTrack: super::super::super::Foundation::HWND, |
| pub dwHoverTime: u32, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for TRACKMOUSEEVENT {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for TRACKMOUSEEVENT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for TRACKMOUSEEVENT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("TRACKMOUSEEVENT").field("cbSize", &self.cbSize).field("dwFlags", &self.dwFlags).field("hwndTrack", &self.hwndTrack).field("dwHoverTime", &self.dwHoverTime).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows::core::TypeKind for TRACKMOUSEEVENT { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for TRACKMOUSEEVENT { |
| fn eq(&self, other: &Self) -> bool { |
| self.cbSize == other.cbSize && self.dwFlags == other.dwFlags && self.hwndTrack == other.hwndTrack && self.dwHoverTime == other.dwHoverTime |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for TRACKMOUSEEVENT {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for TRACKMOUSEEVENT { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub struct VK_F { |
| pub Vk: u8, |
| pub NLSFEProcType: u8, |
| pub NLSFEProcCurrent: u8, |
| pub NLSFEProcSwitch: u8, |
| pub NLSFEProc: [VK_FPARAM; 8], |
| pub NLSFEProcAlt: [VK_FPARAM; 8], |
| } |
| impl ::core::marker::Copy for VK_F {} |
| impl ::core::clone::Clone for VK_F { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for VK_F { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("VK_F").field("Vk", &self.Vk).field("NLSFEProcType", &self.NLSFEProcType).field("NLSFEProcCurrent", &self.NLSFEProcCurrent).field("NLSFEProcSwitch", &self.NLSFEProcSwitch).field("NLSFEProc", &self.NLSFEProc).field("NLSFEProcAlt", &self.NLSFEProcAlt).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for VK_F { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for VK_F { |
| fn eq(&self, other: &Self) -> bool { |
| self.Vk == other.Vk && self.NLSFEProcType == other.NLSFEProcType && self.NLSFEProcCurrent == other.NLSFEProcCurrent && self.NLSFEProcSwitch == other.NLSFEProcSwitch && self.NLSFEProc == other.NLSFEProc && self.NLSFEProcAlt == other.NLSFEProcAlt |
| } |
| } |
| impl ::core::cmp::Eq for VK_F {} |
| impl ::core::default::Default for VK_F { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub struct VK_FPARAM { |
| pub NLSFEProcIndex: u8, |
| pub NLSFEProcParam: u32, |
| } |
| impl ::core::marker::Copy for VK_FPARAM {} |
| impl ::core::clone::Clone for VK_FPARAM { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for VK_FPARAM { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("VK_FPARAM").field("NLSFEProcIndex", &self.NLSFEProcIndex).field("NLSFEProcParam", &self.NLSFEProcParam).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for VK_FPARAM { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for VK_FPARAM { |
| fn eq(&self, other: &Self) -> bool { |
| self.NLSFEProcIndex == other.NLSFEProcIndex && self.NLSFEProcParam == other.NLSFEProcParam |
| } |
| } |
| impl ::core::cmp::Eq for VK_FPARAM {} |
| impl ::core::default::Default for VK_FPARAM { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub struct VK_TO_BIT { |
| pub Vk: u8, |
| pub ModBits: u8, |
| } |
| impl ::core::marker::Copy for VK_TO_BIT {} |
| impl ::core::clone::Clone for VK_TO_BIT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for VK_TO_BIT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("VK_TO_BIT").field("Vk", &self.Vk).field("ModBits", &self.ModBits).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for VK_TO_BIT { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for VK_TO_BIT { |
| fn eq(&self, other: &Self) -> bool { |
| self.Vk == other.Vk && self.ModBits == other.ModBits |
| } |
| } |
| impl ::core::cmp::Eq for VK_TO_BIT {} |
| impl ::core::default::Default for VK_TO_BIT { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub struct VK_TO_WCHARS1 { |
| pub VirtualKey: u8, |
| pub Attributes: u8, |
| pub wch: [u16; 1], |
| } |
| impl ::core::marker::Copy for VK_TO_WCHARS1 {} |
| impl ::core::clone::Clone for VK_TO_WCHARS1 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for VK_TO_WCHARS1 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("VK_TO_WCHARS1").field("VirtualKey", &self.VirtualKey).field("Attributes", &self.Attributes).field("wch", &self.wch).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for VK_TO_WCHARS1 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for VK_TO_WCHARS1 { |
| fn eq(&self, other: &Self) -> bool { |
| self.VirtualKey == other.VirtualKey && self.Attributes == other.Attributes && self.wch == other.wch |
| } |
| } |
| impl ::core::cmp::Eq for VK_TO_WCHARS1 {} |
| impl ::core::default::Default for VK_TO_WCHARS1 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub struct VK_TO_WCHARS10 { |
| pub VirtualKey: u8, |
| pub Attributes: u8, |
| pub wch: [u16; 10], |
| } |
| impl ::core::marker::Copy for VK_TO_WCHARS10 {} |
| impl ::core::clone::Clone for VK_TO_WCHARS10 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for VK_TO_WCHARS10 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("VK_TO_WCHARS10").field("VirtualKey", &self.VirtualKey).field("Attributes", &self.Attributes).field("wch", &self.wch).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for VK_TO_WCHARS10 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for VK_TO_WCHARS10 { |
| fn eq(&self, other: &Self) -> bool { |
| self.VirtualKey == other.VirtualKey && self.Attributes == other.Attributes && self.wch == other.wch |
| } |
| } |
| impl ::core::cmp::Eq for VK_TO_WCHARS10 {} |
| impl ::core::default::Default for VK_TO_WCHARS10 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub struct VK_TO_WCHARS2 { |
| pub VirtualKey: u8, |
| pub Attributes: u8, |
| pub wch: [u16; 2], |
| } |
| impl ::core::marker::Copy for VK_TO_WCHARS2 {} |
| impl ::core::clone::Clone for VK_TO_WCHARS2 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for VK_TO_WCHARS2 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("VK_TO_WCHARS2").field("VirtualKey", &self.VirtualKey).field("Attributes", &self.Attributes).field("wch", &self.wch).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for VK_TO_WCHARS2 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for VK_TO_WCHARS2 { |
| fn eq(&self, other: &Self) -> bool { |
| self.VirtualKey == other.VirtualKey && self.Attributes == other.Attributes && self.wch == other.wch |
| } |
| } |
| impl ::core::cmp::Eq for VK_TO_WCHARS2 {} |
| impl ::core::default::Default for VK_TO_WCHARS2 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub struct VK_TO_WCHARS3 { |
| pub VirtualKey: u8, |
| pub Attributes: u8, |
| pub wch: [u16; 3], |
| } |
| impl ::core::marker::Copy for VK_TO_WCHARS3 {} |
| impl ::core::clone::Clone for VK_TO_WCHARS3 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for VK_TO_WCHARS3 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("VK_TO_WCHARS3").field("VirtualKey", &self.VirtualKey).field("Attributes", &self.Attributes).field("wch", &self.wch).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for VK_TO_WCHARS3 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for VK_TO_WCHARS3 { |
| fn eq(&self, other: &Self) -> bool { |
| self.VirtualKey == other.VirtualKey && self.Attributes == other.Attributes && self.wch == other.wch |
| } |
| } |
| impl ::core::cmp::Eq for VK_TO_WCHARS3 {} |
| impl ::core::default::Default for VK_TO_WCHARS3 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub struct VK_TO_WCHARS4 { |
| pub VirtualKey: u8, |
| pub Attributes: u8, |
| pub wch: [u16; 4], |
| } |
| impl ::core::marker::Copy for VK_TO_WCHARS4 {} |
| impl ::core::clone::Clone for VK_TO_WCHARS4 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for VK_TO_WCHARS4 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("VK_TO_WCHARS4").field("VirtualKey", &self.VirtualKey).field("Attributes", &self.Attributes).field("wch", &self.wch).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for VK_TO_WCHARS4 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for VK_TO_WCHARS4 { |
| fn eq(&self, other: &Self) -> bool { |
| self.VirtualKey == other.VirtualKey && self.Attributes == other.Attributes && self.wch == other.wch |
| } |
| } |
| impl ::core::cmp::Eq for VK_TO_WCHARS4 {} |
| impl ::core::default::Default for VK_TO_WCHARS4 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub struct VK_TO_WCHARS5 { |
| pub VirtualKey: u8, |
| pub Attributes: u8, |
| pub wch: [u16; 5], |
| } |
| impl ::core::marker::Copy for VK_TO_WCHARS5 {} |
| impl ::core::clone::Clone for VK_TO_WCHARS5 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for VK_TO_WCHARS5 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("VK_TO_WCHARS5").field("VirtualKey", &self.VirtualKey).field("Attributes", &self.Attributes).field("wch", &self.wch).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for VK_TO_WCHARS5 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for VK_TO_WCHARS5 { |
| fn eq(&self, other: &Self) -> bool { |
| self.VirtualKey == other.VirtualKey && self.Attributes == other.Attributes && self.wch == other.wch |
| } |
| } |
| impl ::core::cmp::Eq for VK_TO_WCHARS5 {} |
| impl ::core::default::Default for VK_TO_WCHARS5 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub struct VK_TO_WCHARS6 { |
| pub VirtualKey: u8, |
| pub Attributes: u8, |
| pub wch: [u16; 6], |
| } |
| impl ::core::marker::Copy for VK_TO_WCHARS6 {} |
| impl ::core::clone::Clone for VK_TO_WCHARS6 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for VK_TO_WCHARS6 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("VK_TO_WCHARS6").field("VirtualKey", &self.VirtualKey).field("Attributes", &self.Attributes).field("wch", &self.wch).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for VK_TO_WCHARS6 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for VK_TO_WCHARS6 { |
| fn eq(&self, other: &Self) -> bool { |
| self.VirtualKey == other.VirtualKey && self.Attributes == other.Attributes && self.wch == other.wch |
| } |
| } |
| impl ::core::cmp::Eq for VK_TO_WCHARS6 {} |
| impl ::core::default::Default for VK_TO_WCHARS6 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub struct VK_TO_WCHARS7 { |
| pub VirtualKey: u8, |
| pub Attributes: u8, |
| pub wch: [u16; 7], |
| } |
| impl ::core::marker::Copy for VK_TO_WCHARS7 {} |
| impl ::core::clone::Clone for VK_TO_WCHARS7 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for VK_TO_WCHARS7 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("VK_TO_WCHARS7").field("VirtualKey", &self.VirtualKey).field("Attributes", &self.Attributes).field("wch", &self.wch).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for VK_TO_WCHARS7 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for VK_TO_WCHARS7 { |
| fn eq(&self, other: &Self) -> bool { |
| self.VirtualKey == other.VirtualKey && self.Attributes == other.Attributes && self.wch == other.wch |
| } |
| } |
| impl ::core::cmp::Eq for VK_TO_WCHARS7 {} |
| impl ::core::default::Default for VK_TO_WCHARS7 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub struct VK_TO_WCHARS8 { |
| pub VirtualKey: u8, |
| pub Attributes: u8, |
| pub wch: [u16; 8], |
| } |
| impl ::core::marker::Copy for VK_TO_WCHARS8 {} |
| impl ::core::clone::Clone for VK_TO_WCHARS8 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for VK_TO_WCHARS8 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("VK_TO_WCHARS8").field("VirtualKey", &self.VirtualKey).field("Attributes", &self.Attributes).field("wch", &self.wch).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for VK_TO_WCHARS8 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for VK_TO_WCHARS8 { |
| fn eq(&self, other: &Self) -> bool { |
| self.VirtualKey == other.VirtualKey && self.Attributes == other.Attributes && self.wch == other.wch |
| } |
| } |
| impl ::core::cmp::Eq for VK_TO_WCHARS8 {} |
| impl ::core::default::Default for VK_TO_WCHARS8 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub struct VK_TO_WCHARS9 { |
| pub VirtualKey: u8, |
| pub Attributes: u8, |
| pub wch: [u16; 9], |
| } |
| impl ::core::marker::Copy for VK_TO_WCHARS9 {} |
| impl ::core::clone::Clone for VK_TO_WCHARS9 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for VK_TO_WCHARS9 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("VK_TO_WCHARS9").field("VirtualKey", &self.VirtualKey).field("Attributes", &self.Attributes).field("wch", &self.wch).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for VK_TO_WCHARS9 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for VK_TO_WCHARS9 { |
| fn eq(&self, other: &Self) -> bool { |
| self.VirtualKey == other.VirtualKey && self.Attributes == other.Attributes && self.wch == other.wch |
| } |
| } |
| impl ::core::cmp::Eq for VK_TO_WCHARS9 {} |
| impl ::core::default::Default for VK_TO_WCHARS9 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub struct VK_TO_WCHAR_TABLE { |
| pub pVkToWchars: *mut VK_TO_WCHARS1, |
| pub nModifications: u8, |
| pub cbSize: u8, |
| } |
| impl ::core::marker::Copy for VK_TO_WCHAR_TABLE {} |
| impl ::core::clone::Clone for VK_TO_WCHAR_TABLE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for VK_TO_WCHAR_TABLE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("VK_TO_WCHAR_TABLE").field("pVkToWchars", &self.pVkToWchars).field("nModifications", &self.nModifications).field("cbSize", &self.cbSize).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for VK_TO_WCHAR_TABLE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for VK_TO_WCHAR_TABLE { |
| fn eq(&self, other: &Self) -> bool { |
| self.pVkToWchars == other.pVkToWchars && self.nModifications == other.nModifications && self.cbSize == other.cbSize |
| } |
| } |
| impl ::core::cmp::Eq for VK_TO_WCHAR_TABLE {} |
| impl ::core::default::Default for VK_TO_WCHAR_TABLE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub struct VK_VSC { |
| pub Vk: u8, |
| pub Vsc: u8, |
| } |
| impl ::core::marker::Copy for VK_VSC {} |
| impl ::core::clone::Clone for VK_VSC { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for VK_VSC { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("VK_VSC").field("Vk", &self.Vk).field("Vsc", &self.Vsc).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for VK_VSC { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for VK_VSC { |
| fn eq(&self, other: &Self) -> bool { |
| self.Vk == other.Vk && self.Vsc == other.Vsc |
| } |
| } |
| impl ::core::cmp::Eq for VK_VSC {} |
| impl ::core::default::Default for VK_VSC { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub struct VSC_LPWSTR { |
| pub vsc: u8, |
| pub pwsz: ::windows::core::PWSTR, |
| } |
| impl ::core::marker::Copy for VSC_LPWSTR {} |
| impl ::core::clone::Clone for VSC_LPWSTR { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for VSC_LPWSTR { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("VSC_LPWSTR").field("vsc", &self.vsc).field("pwsz", &self.pwsz).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for VSC_LPWSTR { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for VSC_LPWSTR { |
| fn eq(&self, other: &Self) -> bool { |
| self.vsc == other.vsc && self.pwsz == other.pwsz |
| } |
| } |
| impl ::core::cmp::Eq for VSC_LPWSTR {} |
| impl ::core::default::Default for VSC_LPWSTR { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] |
| pub struct VSC_VK { |
| pub Vsc: u8, |
| pub Vk: u16, |
| } |
| impl ::core::marker::Copy for VSC_VK {} |
| impl ::core::clone::Clone for VSC_VK { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for VSC_VK { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("VSC_VK").field("Vsc", &self.Vsc).field("Vk", &self.Vk).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for VSC_VK { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for VSC_VK { |
| fn eq(&self, other: &Self) -> bool { |
| self.Vsc == other.Vsc && self.Vk == other.Vk |
| } |
| } |
| impl ::core::cmp::Eq for VSC_VK {} |
| impl ::core::default::Default for VSC_VK { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[cfg(feature = "implement")] |
| ::core::include!("impl.rs"); |