Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft Edge More info about Internet Explorer and Microsoft Edge
Read in English
Read in English Edit
Twitter LinkedIn Facebook Email

Keyboard Input Functions

  • Article
  • 04/27/2021

In this article

In This Section

  • ActivateKeyboardLayout
  • BlockInput
  • EnableWindow
  • GetActiveWindow
  • GetAsyncKeyState
  • GetFocus
  • GetKBCodePage
  • GetKeyboardLayout
  • GetKeyboardLayoutList
  • GetKeyboardLayoutName
  • GetKeyboardState
  • GetKeyboardType
  • GetKeyNameText
  • GetKeyState
  • GetLastInputInfo
  • IsWindowEnabled
  • keybd_event
  • LoadKeyboardLayout
  • MapVirtualKey
  • MapVirtualKeyEx
  • OemKeyScan
  • RegisterHotKey
  • SendInput
  • SetActiveWindow
  • SetFocus
  • SetKeyboardState
  • ToAscii
  • ToAsciiEx
  • ToUnicode
  • ToUnicodeEx
  • UnloadKeyboardLayout
  • UnregisterHotKey
  • VkKeyScan
  • VkKeyScanEx

 

 


Feedback

Was this page helpful?

Feedback

Submit and view feedback for

This page
View all page feedback

Additional resources

  • Previous Versions
  • Blog
  • Contribute
  • Privacy
  • Terms of Use
  • Trademarks
  • © Microsoft 2023

Additional resources

In this article

  • Previous Versions
  • Blog
  • Contribute
  • Privacy
  • Terms of Use
  • Trademarks
  • © Microsoft 2023