[User32]
[reactos.git] / reactos / win32ss / user / user32 / windows / input.c
index b9c1d88..78bfb67 100644 (file)
@@ -29,6 +29,8 @@
 
 #include <user32.h>
 
+#include <strsafe.h>
+
 #include <wine/debug.h>
 WINE_DEFAULT_DEBUG_CHANNEL(user32);
 
@@ -112,7 +114,9 @@ EnableWindow(HWND hWnd, BOOL bEnable)
 /*
  * @implemented
  */
-SHORT WINAPI
+SHORT
+WINAPI
+DECLSPEC_HOTPATCH
 GetAsyncKeyState(int vKey)
 {
     if (vKey < 0 || vKey > 256)
@@ -183,7 +187,9 @@ GetKeyNameTextW(LONG lParam,
 /*
  * @implemented
  */
-SHORT WINAPI
+SHORT
+WINAPI
+DECLSPEC_HOTPATCH
 GetKeyState(int nVirtKey)
 {
     return (SHORT)NtUserGetKeyState((DWORD)nVirtKey);