kernel32: Add message resource for TRUST_E_NOSIGNATURE.
Based on a patch by Austin English. Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com> Signed-off-by: Michael Müller <michael@fds-team.de> Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ff4a81b47a
commit
1ae2036f24
|
@ -1559,6 +1559,10 @@ static void test_message_from_hmodule(void)
|
||||||
MAKELANGID(LANG_NEUTRAL, SUBLANG_NEUTRAL), out, sizeof(out)/sizeof(CHAR), NULL);
|
MAKELANGID(LANG_NEUTRAL, SUBLANG_NEUTRAL), out, sizeof(out)/sizeof(CHAR), NULL);
|
||||||
ok(ret != 0, "FormatMessageA returned 0\n");
|
ok(ret != 0, "FormatMessageA returned 0\n");
|
||||||
|
|
||||||
|
ret = FormatMessageA(FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_FROM_HMODULE, h, TRUST_E_NOSIGNATURE,
|
||||||
|
MAKELANGID(LANG_NEUTRAL, SUBLANG_NEUTRAL), out, sizeof(out)/sizeof(CHAR), NULL);
|
||||||
|
ok(ret != 0, "FormatMessageA returned 0\n");
|
||||||
|
|
||||||
/* Test a message string with an insertion without passing any variadic arguments. */
|
/* Test a message string with an insertion without passing any variadic arguments. */
|
||||||
ret = FormatMessageA(FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_FROM_HMODULE, h, 193 /* ERROR_BAD_EXE_FORMAT */,
|
ret = FormatMessageA(FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_FROM_HMODULE, h, 193 /* ERROR_BAD_EXE_FORMAT */,
|
||||||
MAKELANGID(LANG_NEUTRAL, SUBLANG_NEUTRAL), out, sizeof(out)/sizeof(CHAR), NULL);
|
MAKELANGID(LANG_NEUTRAL, SUBLANG_NEUTRAL), out, sizeof(out)/sizeof(CHAR), NULL);
|
||||||
|
|
|
@ -17,6 +17,8 @@
|
||||||
;
|
;
|
||||||
|
|
||||||
LanguageNames=(ENU=0x409:winerr)
|
LanguageNames=(ENU=0x409:winerr)
|
||||||
|
SeverityNames=(CoError=0x2:STATUS_SEVERITY_COERROR)
|
||||||
|
FacilityNames=(Trust=0xb:FACILITY_CERT)
|
||||||
|
|
||||||
MessageId=0
|
MessageId=0
|
||||||
SymbolicName=ERROR_SUCCESS
|
SymbolicName=ERROR_SUCCESS
|
||||||
|
@ -3748,3 +3750,10 @@ SymbolicName=WSAECONNREFUSED
|
||||||
Language=ENU
|
Language=ENU
|
||||||
Connection refused.
|
Connection refused.
|
||||||
.
|
.
|
||||||
|
MessageId=0x100
|
||||||
|
Severity=CoError
|
||||||
|
Facility=Trust
|
||||||
|
SymbolicName=TRUST_E_NOSIGNATURE
|
||||||
|
Language=ENU
|
||||||
|
No Signature found in file.
|
||||||
|
.
|
||||||
|
|
1484
po/en_US.po
1484
po/en_US.po
File diff suppressed because it is too large
Load Diff
1486
po/nb_NO.po
1486
po/nb_NO.po
File diff suppressed because it is too large
Load Diff
1486
po/pt_BR.po
1486
po/pt_BR.po
File diff suppressed because it is too large
Load Diff
1486
po/pt_PT.po
1486
po/pt_PT.po
File diff suppressed because it is too large
Load Diff
1484
po/sr_RS@cyrillic.po
1484
po/sr_RS@cyrillic.po
File diff suppressed because it is too large
Load Diff
1484
po/sr_RS@latin.po
1484
po/sr_RS@latin.po
File diff suppressed because it is too large
Load Diff
1484
po/wine.pot
1484
po/wine.pot
File diff suppressed because it is too large
Load Diff
1486
po/zh_CN.po
1486
po/zh_CN.po
File diff suppressed because it is too large
Load Diff
1486
po/zh_TW.po
1486
po/zh_TW.po
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue