kernel32: Implement SetFileCompletionNotificationModes as a stub

Olivier Dierick o.dierick at
Sun Jun 7 22:07:17 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.

 .../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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-bug38493_Implement-SetFileCompletionNotificationModes-as-a-stub.txt
Type: application/mbox
Size: 3932 bytes
Desc: not available
URL: <>

More information about the wine-patches mailing list