Docs.rs
windows-sys-0.59.0
windows-sys 0.59.0
Docs.rs crate page
MIT OR Apache-2.0
Links
Repository
crates.io
Source
Owners
kennykerr
Dependencies
windows-targets ^0.52.6
normal
Versions
100%
of the crate is documented
Platform
x86_64-pc-windows-msvc
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
windows_sys
0.59.0
Module KeyboardAndMouse
Structs
Constants
Functions
Type Aliases
Unions
In windows_sys::Win32::UI::Input
Module
windows_sys
::
Win32
::
UI
::
Input
::
KeyboardAndMouse
Copy item path
[
−
]
Structs
§
DEADKEY
HARDWAREINPUT
INPUT
KBDNLSTABLES
KBDTABLES
KBDTABLE_DESC
KBDTABLE_MULTI
KBD_TYPE_INFO
KEYBDINPUT
LASTINPUTINFO
LIGATURE1
LIGATURE2
LIGATURE3
LIGATURE4
LIGATURE5
MODIFIERS
MOUSEINPUT
MOUSEMOVEPOINT
TRACKMOUSEEVENT
VK_F
VK_FPARAM
VK_TO_BIT
VK_TO_WCHARS1
VK_TO_WCHARS2
VK_TO_WCHARS3
VK_TO_WCHARS4
VK_TO_WCHARS5
VK_TO_WCHARS6
VK_TO_WCHARS7
VK_TO_WCHARS8
VK_TO_WCHARS9
VK_TO_WCHARS10
VK_TO_WCHAR_TABLE
VK_VSC
VSC_LPWSTR
VSC_VK
Constants
§
ACUTE
AX_KBD_DESKTOP_TYPE
BREVE
CAPLOK
CAPLOKALTGR
CEDILLA
CIRCUMFLEX
DEC_KBD_ANSI_LAYOUT_TYPE
DEC_KBD_JIS_LAYOUT_TYPE
DIARESIS
DIARESIS_TONOS
DKF_DEAD
DONTCARE_BIT
DOT_ABOVE
DOUBLE_ACUTE
EXTENDED_BIT
FAKE_KEYSTROKE
FMR_KBD_JIS_TYPE
FMR_KBD_OASYS_TYPE
FMV_KBD_OASYS_TYPE
GMMP_USE_DISPLAY_POINTS
GMMP_USE_HIGH_RESOLUTION_POINTS
GRAVE
GRPSELTAP
HACEK
HOOK_ABOVE
INPUT_HARDWARE
INPUT_KEYBOARD
INPUT_MOUSE
KANALOK
KBDALT
KBDBASE
KBDCTRL
KBDGRPSELTAP
KBDKANA
KBDLOYA
KBDNLS_ALPHANUM
KBDNLS_CODEINPUT
KBDNLS_CONV_OR_NONCONV
KBDNLS_HELP_OR_END
KBDNLS_HIRAGANA
KBDNLS_HOME_OR_CLEAR
KBDNLS_INDEX_ALT
KBDNLS_INDEX_NORMAL
KBDNLS_KANAEVENT
KBDNLS_KANALOCK
KBDNLS_KATAKANA
KBDNLS_NOEVENT
KBDNLS_NULL
KBDNLS_NUMPAD
KBDNLS_ROMAN
KBDNLS_SBCSDBCS
KBDNLS_SEND_BASE_VK
KBDNLS_SEND_PARAM_VK
KBDNLS_TYPE_NORMAL
KBDNLS_TYPE_NULL
KBDNLS_TYPE_TOGGLE
KBDROYA
KBDSHIFT
KBDTABLE_MULTI_MAX
KBD_TYPE
KBD_VERSION
KEYBOARD_TYPE_GENERIC_101
KEYBOARD_TYPE_JAPAN
KEYBOARD_TYPE_KOREA
KEYBOARD_TYPE_UNKNOWN
KEYEVENTF_EXTENDEDKEY
KEYEVENTF_KEYUP
KEYEVENTF_SCANCODE
KEYEVENTF_UNICODE
KLF_ACTIVATE
KLF_NOTELLSHELL
KLF_REORDER
KLF_REPLACELANG
KLF_RESET
KLF_SETFORPROCESS
KLF_SHIFTLOCK
KLF_SUBSTITUTE_OK
KLLF_ALTGR
KLLF_GLOBAL_ATTRS
KLLF_LRM_RLM
KLLF_SHIFTLOCK
MACRON
MAPVK_VK_TO_CHAR
MAPVK_VK_TO_VSC
MAPVK_VK_TO_VSC_EX
MAPVK_VSC_TO_VK
MAPVK_VSC_TO_VK_EX
MICROSOFT_KBD_001_TYPE
MICROSOFT_KBD_002_TYPE
MICROSOFT_KBD_101A_TYPE
MICROSOFT_KBD_101B_TYPE
MICROSOFT_KBD_101C_TYPE
MICROSOFT_KBD_101_TYPE
MICROSOFT_KBD_103_TYPE
MICROSOFT_KBD_106_TYPE
MICROSOFT_KBD_AX_TYPE
MICROSOFT_KBD_FUNC
MOD_ALT
MOD_CONTROL
MOD_NOREPEAT
MOD_SHIFT
MOD_WIN
MOUSEEVENTF_ABSOLUTE
MOUSEEVENTF_HWHEEL
MOUSEEVENTF_LEFTDOWN
MOUSEEVENTF_LEFTUP
MOUSEEVENTF_MIDDLEDOWN
MOUSEEVENTF_MIDDLEUP
MOUSEEVENTF_MOVE
MOUSEEVENTF_MOVE_NOCOALESCE
MOUSEEVENTF_RIGHTDOWN
MOUSEEVENTF_RIGHTUP
MOUSEEVENTF_VIRTUALDESK
MOUSEEVENTF_WHEEL
MOUSEEVENTF_XDOWN
MOUSEEVENTF_XUP
NEC_KBD_106_TYPE
NEC_KBD_H_MODE_TYPE
NEC_KBD_LAPTOP_TYPE
NEC_KBD_NORMAL_TYPE
NEC_KBD_N_MODE_TYPE
NLSKBD_INFO_ACCESSIBILITY_KEYMAP
NLSKBD_INFO_EMURATE_101_KEYBOARD
NLSKBD_INFO_EMURATE_106_KEYBOARD
NLSKBD_INFO_SEND_IME_NOTIFICATION
NLSKBD_OEM_AX
NLSKBD_OEM_DEC
NLSKBD_OEM_EPSON
NLSKBD_OEM_FUJITSU
NLSKBD_OEM_IBM
NLSKBD_OEM_MATSUSHITA
NLSKBD_OEM_MICROSOFT
NLSKBD_OEM_NEC
NLSKBD_OEM_TOSHIBA
OGONEK
OVERSCORE
RING
SCANCODE_ALT
SCANCODE_CTRL
SCANCODE_LSHIFT
SCANCODE_LWIN
SCANCODE_NUMPAD_FIRST
SCANCODE_NUMPAD_LAST
SCANCODE_RSHIFT
SCANCODE_RWIN
SCANCODE_THAI_LAYOUT_TOGGLE
SGCAPS
SHFT_INVALID
TILDE
TME_CANCEL
TME_HOVER
TME_LEAVE
TME_NONCLIENT
TME_QUERY
TONOS
TOSHIBA_KBD_DESKTOP_TYPE
TOSHIBA_KBD_LAPTOP_TYPE
UMLAUT
VK_0
VK_1
VK_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
VK_OEM_7
VK_OEM_8
VK_OEM_102
VK_OEM_ATTN
VK_OEM_AUTO
VK_OEM_AX
VK_OEM_BACKTAB
VK_OEM_CLEAR
VK_OEM_COMMA
VK_OEM_COPY
VK_OEM_CUSEL
VK_OEM_ENLW
VK_OEM_FINISH
VK_OEM_FJ_JISHO
VK_OEM_FJ_LOYA
VK_OEM_FJ_MASSHOU
VK_OEM_FJ_ROYA
VK_OEM_FJ_TOUROKU
VK_OEM_JUMP
VK_OEM_MINUS
VK_OEM_NEC_EQUAL
VK_OEM_PA1
VK_OEM_PA2
VK_OEM_PA3
VK_OEM_PERIOD
VK_OEM_PLUS
VK_OEM_RESET
VK_OEM_WSCTRL
VK_P
VK_PA1
VK_PACKET
VK_PAUSE
VK_PLAY
VK_PRINT
VK_PRIOR
VK_PROCESSKEY
VK_Q
VK_R
VK_RBUTTON
VK_RCONTROL
VK_RETURN
VK_RIGHT
VK_RMENU
VK_RSHIFT
VK_RWIN
VK_S
VK_SCROLL
VK_SELECT
VK_SEPARATOR
VK_SHIFT
VK_SLEEP
VK_SNAPSHOT
VK_SPACE
VK_SUBTRACT
VK_T
VK_TAB
VK_U
VK_UP
VK_V
VK_VOLUME_DOWN
VK_VOLUME_MUTE
VK_VOLUME_UP
VK_W
VK_X
VK_XBUTTON1
VK_XBUTTON2
VK_Y
VK_Z
VK_ZOOM
VK__none_
WCH_DEAD
WCH_LGTR
WCH_NONE
wszACUTE
wszBREVE
wszCEDILLA
wszCIRCUMFLEX
wszDIARESIS_TONOS
wszDOT_ABOVE
wszDOUBLE_ACUTE
wszGRAVE
wszHACEK
wszHOOK_ABOVE
wszMACRON
wszOGONEK
wszOVERSCORE
wszRING
wszTILDE
wszTONOS
wszUMLAUT
Functions
§
ActivateKeyboardLayout
⚠
BlockInput
⚠
DragDetect
⚠
EnableWindow
⚠
GetActiveWindow
⚠
GetAsyncKeyState
⚠
GetCapture
⚠
GetDoubleClickTime
⚠
GetFocus
⚠
GetKBCodePage
⚠
GetKeyNameTextA
⚠
GetKeyNameTextW
⚠
GetKeyState
⚠
GetKeyboardLayout
⚠
GetKeyboardLayoutList
⚠
GetKeyboardLayoutNameA
⚠
GetKeyboardLayoutNameW
⚠
GetKeyboardState
⚠
GetKeyboardType
⚠
GetLastInputInfo
⚠
GetMouseMovePointsEx
⚠
IsWindowEnabled
⚠
LoadKeyboardLayoutA
⚠
LoadKeyboardLayoutW
⚠
MapVirtualKeyA
⚠
MapVirtualKeyExA
⚠
MapVirtualKeyExW
⚠
MapVirtualKeyW
⚠
OemKeyScan
⚠
RegisterHotKey
⚠
ReleaseCapture
⚠
SendInput
⚠
SetActiveWindow
⚠
SetCapture
⚠
SetDoubleClickTime
⚠
SetFocus
⚠
SetKeyboardState
⚠
SwapMouseButton
⚠
ToAscii
⚠
ToAsciiEx
⚠
ToUnicode
⚠
ToUnicodeEx
⚠
TrackMouseEvent
⚠
UnloadKeyboardLayout
⚠
UnregisterHotKey
⚠
VkKeyScanA
⚠
VkKeyScanExA
⚠
VkKeyScanExW
⚠
VkKeyScanW
⚠
_TrackMouseEvent
⚠
keybd_event
⚠
mouse_event
⚠
Type Aliases
§
ACTIVATE_KEYBOARD_LAYOUT_FLAGS
GET_MOUSE_MOVE_POINTS_EX_RESOLUTION
HKL
HOT_KEY_MODIFIERS
INPUT_TYPE
KEYBD_EVENT_FLAGS
MAP_VIRTUAL_KEY_TYPE
MOUSE_EVENT_FLAGS
TRACKMOUSEEVENT_FLAGS
VIRTUAL_KEY
Unions
§
INPUT_0