USER32: Stub implementation of BlockInput

Jason Green jave27 at gmail.com
Fri Sep 29 11:59:11 CDT 2006


Sorry, here it is.

On 9/29/06, Juan Lang <juan_lang at yahoo.com> wrote:
> You forgot the patch..
>
> --Juan
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
-------------- next part --------------
diff --git a/dlls/user/input.c b/dlls/user/input.c
index 24ffed7..54ab246 100644
--- a/dlls/user/input.c
+++ b/dlls/user/input.c
@@ -669,6 +669,16 @@ HKL WINAPI ActivateKeyboardLayout(HKL hL
     return USER_Driver->pActivateKeyboardLayout(hLayout, flags);
 }
 
+/**********************************************************************
+ *		BlockInput (USER32.@)
+ */
+BOOL WINAPI BlockInput(BOOL fBlockIt)
+{
+    FIXME_(keyboard)("(%d): stub\n", fBlockIt);
+    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+
+    return FALSE;
+}
 
 /***********************************************************************
  *		GetKeyboardLayoutList (USER32.@)
diff --git a/dlls/user/user32.spec b/dlls/user/user32.spec
index 817858d..508b6d1 100644
--- a/dlls/user/user32.spec
+++ b/dlls/user/user32.spec
@@ -12,7 +12,7 @@ # @ stub AllowForegroundActivation
 @ stdcall AttachThreadInput(long long long)
 @ stdcall BeginDeferWindowPos(long)
 @ stdcall BeginPaint(long ptr)
-# @ stub BlockInput
+@ stdcall BlockInput(long)
 @ stdcall BringWindowToTop(long)
 @ stdcall BroadcastSystemMessage(long ptr long long long) BroadcastSystemMessageA
 @ stdcall BroadcastSystemMessageA(long ptr long long long)


More information about the wine-patches mailing list