Fixes a crash in Horizon Zero Dawn.
Signed-off-by: Paul Gofman pgofman@codeweavers.com --- dlls/kernel32/tests/format_msg.c | 1 + dlls/kernel32/winerror.mc | 7 +++++++ 2 files changed, 8 insertions(+)
diff --git a/dlls/kernel32/tests/format_msg.c b/dlls/kernel32/tests/format_msg.c index 52b7b6925e4..359d036a22a 100644 --- a/dlls/kernel32/tests/format_msg.c +++ b/dlls/kernel32/tests/format_msg.c @@ -1755,6 +1755,7 @@ static void test_message_system_errors(void) {E_NOTIMPL}, {DXGI_ERROR_INVALID_CALL, TRUE /* Available since Win8 */}, {DXGI_ERROR_NOT_CURRENTLY_AVAILABLE, TRUE /* Available since Win8 */}, + {E_FAIL}, };
char buffer[256]; diff --git a/dlls/kernel32/winerror.mc b/dlls/kernel32/winerror.mc index 341c9572710..5359e07173c 100644 --- a/dlls/kernel32/winerror.mc +++ b/dlls/kernel32/winerror.mc @@ -3778,3 +3778,10 @@ SymbolicName=DXGI_ERROR_NOT_CURRENTLY_AVAILABLE Language=ENU Resource is not currently available. . +MessageId=0x4005 +Severity=CoError +Facility=Null +SymbolicName=E_FAIL +Language=ENU +Call failed. +.
Hi,
While running your changed tests, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check?
Full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=81403
Your paranoid android.
=== debiant (32 bit report) ===
kernel32: loader.c:3969: Test failed: kernel32.dll:2: wrong OptionalHeader.DataDirectory[i].Size 1b9b18 / 1b956c loader.c:3974: Test failed: kernel32.dll: wrong section 7
=== debiant (32 bit Chinese:China report) ===
kernel32: loader.c:3969: Test failed: kernel32.dll:2: wrong OptionalHeader.DataDirectory[i].Size 1b9b18 / 1b956c loader.c:3974: Test failed: kernel32.dll: wrong section 7
=== debiant (32 bit WoW report) ===
kernel32: loader.c:3969: Test failed: kernel32.dll:2: wrong OptionalHeader.DataDirectory[i].Size 1b9b18 / 1b956c loader.c:3974: Test failed: kernel32.dll: wrong section 7
=== debiant (64 bit WoW report) ===
kernel32: loader.c:3969: Test failed: kernel32.dll:2: wrong OptionalHeader.DataDirectory[i].Size 1b9b18 / 1b956c loader.c:3974: Test failed: kernel32.dll: wrong section 7