kernel32: Implement SetFileCompletionNotificationModes as a stub (try 2)

Olivier F. R. Dierick o.dierick at piezo-forte.be
Thu Jun 11 19:32:51 CDT 2015


This patch addresses Bug 38493:
Chromium Embedded Framework (CEF), included in Steam since May and in
other game launchers, doesn't check the value returned by
GetProcAddress() for SetFileCompletionNotificationModes(). It happens
when setting the Windows version to Vista or above, where this function
appears to always be available. The patch stubs that function to avoid
the call to address 0x00000000 that throws an exception. I tested the
patch on Debian Wheezy; Other people have reported success using the
patch on their systems.

Try 2: Resolved merge conflicts on latest git.

---
 .../api-ms-win-core-kernel32-legacy-l1-1-0.spec    |    2 +-
 dlls/kernel32/file.c                               |   20
++++++++++++++++++++
 dlls/kernel32/kernel32.spec                        |    2 +-
 include/winbase.h                                  |    1 +
 4 files changed, 23 insertions(+), 2 deletions(-)

-- 
        Olivier F. R. Dierick
        o.dierick at piezo-forte.be
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-bug-38493-Implement-SetFileCompletionNotificationModes-as-a-stub.patch.txt
Type: application/mbox
Size: 3907 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20150612/0023e316/attachment.mbox>


More information about the wine-patches mailing list