Fixes a crash in Horizon Zero Dawn on switching to fullscreen mode.
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 143530a74ac..52b7b6925e4 100644 --- a/dlls/kernel32/tests/format_msg.c +++ b/dlls/kernel32/tests/format_msg.c @@ -1754,6 +1754,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 */}, };
char buffer[256]; diff --git a/dlls/kernel32/winerror.mc b/dlls/kernel32/winerror.mc index b777389571c..341c9572710 100644 --- a/dlls/kernel32/winerror.mc +++ b/dlls/kernel32/winerror.mc @@ -3771,3 +3771,10 @@ SymbolicName=DXGI_ERROR_INVALID_CALL Language=ENU Invalid call. . +MessageId=0x22 +Severity=CoError +Facility=Dxgi +SymbolicName=DXGI_ERROR_NOT_CURRENTLY_AVAILABLE +Language=ENU +Resource is not currently available. +.