From: Nikolay Sivov <nsivov@codeweavers.com> Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=59449 --- dlls/kernel32/tests/format_msg.c | 1 + dlls/kernelbase/winerror.mc | 11 ++++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/dlls/kernel32/tests/format_msg.c b/dlls/kernel32/tests/format_msg.c index e2a4f05ffdb..594da975b81 100644 --- a/dlls/kernel32/tests/format_msg.c +++ b/dlls/kernel32/tests/format_msg.c @@ -1778,6 +1778,7 @@ static void test_message_system_errors(void) {E_FAIL}, {DXGI_ERROR_INVALID_CALL, TRUE /* Available since Win8 */}, {DXGI_ERROR_NOT_CURRENTLY_AVAILABLE, TRUE /* Available since Win8 */}, + {CRYPT_E_NO_MATCH}, }; char buffer[256]; diff --git a/dlls/kernelbase/winerror.mc b/dlls/kernelbase/winerror.mc index 45ad7153463..4e3a3cf4372 100644 --- a/dlls/kernelbase/winerror.mc +++ b/dlls/kernelbase/winerror.mc @@ -18,7 +18,9 @@ LanguageNames=(ENU=0x409:winerr) SeverityNames=(CoError=0x2:STATUS_SEVERITY_COERROR) -FacilityNames=(Trust=0xb:FACILITY_CERT) +FacilityNames=(Trust=0xb:FACILITY_CERT + Security=0x9:FACILITY_SECURITY +) MessageId=0 SymbolicName=ERROR_SUCCESS @@ -3805,6 +3807,13 @@ SymbolicName=WSANO_DATA Language=ENU Name valid, no data record. . +MessageId=0x2009 +Severity=CoError +Facility=Security +SymbolicName=CRYPT_E_NO_MATCH +Language=ENU +Unable to find matching object. +. MessageId=0x100 Severity=CoError Facility=Trust -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/10170