[Bug 5575] user32:Pro Evolution Soccer 3 doesn't launch (RegisterDeviceNotificationA is a stub)

Wine Bugs wine-bugs at winehq.org
Sun Jul 30 18:10:10 CDT 2006


http://bugs.winehq.org/show_bug.cgi?id=5575


xerox_xerox2000 at yahoo.co.uk changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|wine-x11driver              |wine-user
     Ever Confirmed|                            |1
            Summary|Pro Evolution Soccer 3 does |user32:Pro Evolution Soccer
                   |not want to launch          |3 doesn't launch
                   |                            |(RegisterDeviceNotificationA
                   |                            |is a stub)




------- Additional Comments From xerox_xerox2000 at yahoo.co.uk  2006-30-07 18:10 -------
Confirming. This is likely caused by RegisterDeviceNotificationA being a stub.
Someone should implement this. By hacking the return value to anything else then
"0" the game starts. It has lot of issues though: a bunch of white blocks
through the menu's where text ought to be, in game it only shows white blocks in
a black screen. I guess all shader related.

Hack:
diff --git a/dlls/user/misc.c b/dlls/user/misc.c
index fdcaafa..00dbf15 100644
--- a/dlls/user/misc.c
+++ b/dlls/user/misc.c
@@ -542,7 +542,7 @@ DWORD WINAPI RegisterTasklist (DWORD x)
 HDEVNOTIFY WINAPI RegisterDeviceNotificationA(HANDLE hnd, LPVOID notifyfilter,
DWORD flags)
 {
     FIXME("(hwnd=%p, filter=%p,flags=0x%08lx), STUB!\n", hnd,notifyfilter,flags );
-    return 0;
+    return 0x00000001;
 }

 /***********************************************************************


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list