Growtopia shows a popup when this function call fails, faking success gets rid of it. Unreal Editor also prints a warning message that is silenced through this change.
From: Etaash Mathamsetty etaash.mathamsetty@gmail.com
--- dlls/user32/input.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/dlls/user32/input.c b/dlls/user32/input.c index 00337aa72b7..c1c20ad8a84 100644 --- a/dlls/user32/input.c +++ b/dlls/user32/input.c @@ -723,8 +723,7 @@ BOOL WINAPI IsTouchWindow( HWND hwnd, ULONG *flags ) BOOL WINAPI RegisterTouchWindow( HWND hwnd, ULONG flags ) { FIXME( "hwnd %p, flags %#lx stub!\n", hwnd, flags ); - SetLastError( ERROR_CALL_NOT_IMPLEMENTED ); - return FALSE; + return TRUE; }
/*****************************************************************************
From: Etaash Mathamsetty etaash.mathamsetty@gmail.com
--- dlls/user32/input.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/dlls/user32/input.c b/dlls/user32/input.c index c1c20ad8a84..108592f018f 100644 --- a/dlls/user32/input.c +++ b/dlls/user32/input.c @@ -732,8 +732,7 @@ BOOL WINAPI RegisterTouchWindow( HWND hwnd, ULONG flags ) BOOL WINAPI UnregisterTouchWindow( HWND hwnd ) { FIXME( "hwnd %p stub!\n", hwnd ); - SetLastError( ERROR_CALL_NOT_IMPLEMENTED ); - return FALSE; + return TRUE; }
/*****************************************************************************
Hi,
It looks like your patch introduced the new failures shown below. Please investigate and fix them before resubmitting your patch. If they are not new, fixing them anyway would help a lot. Otherwise please ask for the known failures list to be updated.
The tests also ran into some preexisting test failures. If you know how to fix them that would be helpful. See the TestBot job for the details:
The full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=145175
Your paranoid android.
=== debian11 (32 bit report) ===
user32: msg.c:12587: Test failed: Got expected 0. msg.c:12602: Test failed: Got expected 0.
This merge request was approved by Rémi Bernon.