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. +.