Eric Pouech
0bf6066b2b
kernel32/tests: Remove temporary defines for long types migration.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-10 18:27:43 +01:00
Eric Pouech
d3735faacf
kernel32/tests/format_msg: Enable compilation with long types.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-03 10:51:30 +01:00
Alexandre Julliard
b1d5649b5c
kernel32/tests: Use the standard va_list instead of __ms_va_list.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-22 11:11:48 +02:00
Francois Gouget
463850baa6
kernel32/tests: Fix ASCII / ANSI mixups in comments.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-27 20:25:05 +02:00
Paul Gofman
e4df6f87ca
kernel32: Add string for E_FAIL error.
...
Fixes a crash in Horizon Zero Dawn.
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-03 11:24:16 +01:00
Paul Gofman
5db533d39d
kernel32: Add string for DXGI_ERROR_NOT_CURRENTLY_AVAILABLE error.
...
Fixes a crash in Horizon Zero Dawn on switching to fullscreen mode.
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-21 21:42:13 +02:00
Paul Gofman
9dcdd89a92
kernel32: Add string for DXGI_INVALID_CALL error.
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-21 21:42:13 +02:00
Paul Gofman
53c1914e42
kernel32: Add string for E_NOTIMPL error.
...
Fixes a crash in Horizon Zero Dawn.
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-25 19:31:43 +02:00
Alexandre Julliard
8a1656bdf0
kernel32/tests: Add some tests for FormatMessageA/W buffer sizes.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-13 22:05:31 +02:00
Alexandre Julliard
7b01281745
kernelbase: Reimplement FormatMessageA/W using RtlFormatMessage().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-13 22:05:31 +02:00
Alexandre Julliard
f00b88eabd
kernel32/tests: Fix some incorrect FormatMessage() tests.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-07 19:59:25 +02:00
Alexandre Julliard
a946e7fbbe
kernel32/tests: Use wide character string literals in FormatMessage() tests.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-07 12:46:48 +02:00
Nikolay Sivov
dbd765e2bd
kernel32/tests: Fix some test failures on Win10.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-23 10:26:17 +02:00
Detlef Riekenberg
c26a3a0116
kernel32/tests: Fix FormatMessage test failures on recent win10 (ERROR_NO_WORK_DONE).
...
FormatMessageA/W sets last error to ERROR_NO_WORK_DONE when nothing
was done, after Sep 2015, but before or with Win10 v1709.
Signed-off-by: Detlef Riekenberg <wine.dev@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-05 22:16:31 +02:00
Michael Stefaniuc
868fb05e77
kernel32/tests: Use the available ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-06 21:18:45 +02:00
Michael Stefaniuc
f770ea1370
kernel32/tests: Correct the buffer size passed to FormatMessageW().
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-06 21:18:43 +02:00
Louis Lenders
1ae2036f24
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>
2018-02-26 11:40:32 +01:00
Alexandre Julliard
e488a246a5
kernel32/tests: Use WINAPIV calling convention for variadic functions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-02 10:17:04 +01:00
Marcus Meissner
0cf2adb36d
kernel32/tests: Fixed incorrect buffer sizes.
...
Signed-off-by: Marcus Meissner <marcus@jet.franken.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-21 20:52:04 +01:00
Bruno Jesus
c7fb64dbc7
kernel32/tests: Add 64bit number tests for FormatMessage[A|W].
...
Signed-off-by: Bruno Jesus <bjesus@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-08 21:31:22 +01:00
Catalin Patulea
a5005ed84a
kernel32: Handle win32 hresult in FormatMessage.
2014-10-21 20:00:15 +09:00
Catalin Patulea
af59823567
kernel32/tests: Add test for FormatMessage with HRESULT.
2014-10-21 20:00:11 +09:00
Dmitry Timoshkov
d44cc84381
kernel32/tests: Fix FormatMessage tests compilation with __WINESRC__ defined.
2013-10-21 20:23:54 +02:00
Francois Gouget
49cf27ab2a
kernel32: Add line wrapping support to FormatMessage().
2012-09-24 16:38:15 +02:00
Francois Gouget
a273cac747
kernel32/tests: Add more FormatMessage() line wrapping tests.
2012-09-19 23:55:51 +02:00
Francois Gouget
58d7011133
kernel32/tests: Add line-wrapping tests for FormatMessage().
2012-06-20 10:27:33 +02:00
Daniel Lehman
b1f04e23bf
kernel32: If string arg to FormatMessage is NULL, use "(null)" instead of crashing.
2012-01-09 15:32:50 +01:00
Frédéric Delanoy
760faf01a9
tests: Assorted spelling fixes.
2011-08-04 18:27:37 +02:00
Austin English
187f50aad3
kernel32/tests: Remove win9x hacks.
2011-07-29 18:21:24 +02:00
Austin English
ab4dba3e75
kernel32/tests: Don't check return values inside of if(0) (LLVM/Clang).
2011-02-10 09:57:19 -06:00
Andrew Nguyen
f2c91f0d3c
kernel32: Reject a format string with insertions if no variadic arguments are passed to FormatMessageA/W.
2010-05-03 13:56:53 +02:00
Andrew Nguyen
cff134daf4
kernel32/tests: Document a few FormatMessage tests which are broken on older Windows.
2010-04-28 07:39:10 -05:00
Andrew Nguyen
57636255ef
kernel32: Merge the insertion and non-insertion codepaths in the format_message helper together to share common functionality.
2010-04-28 07:39:03 -05:00
Andrew Nguyen
722fd58446
kernel32: Process CRLF escape sequences in normal insert sequence processing path in FormatMessageA/W.
2010-04-28 07:38:53 -05:00
Andrew Nguyen
e724f6aa28
kernel32/tests: Centralize the FormatMessageW skip detection.
2010-04-28 07:38:05 -05:00
Andrew Nguyen
5505ae978b
kernel32: Handle some escape sequences with FORMAT_MESSAGE_IGNORE_INSERTS in FormatMessageA/W.
2010-04-28 07:37:58 -05:00
Andrew Nguyen
2193b9e887
kernel32: Correct output buffer behavior with empty input strings for FormatMessageA/W.
2010-04-28 07:37:49 -05:00
Andrew Nguyen
f50198f662
kernel32: Improve flag error handling in FormatMessageA/W.
2010-04-28 07:37:39 -05:00
Andrew Nguyen
3cb43a081b
kernel32: Fail if a format placeholder is present without a format specifier in FormatMessageA/W.
2010-04-28 07:36:35 -05:00
Andrew Nguyen
8e20322578
kernel32/tests: Add tests for buffer allocation in FormatMessage.
2010-04-19 15:43:31 +02:00
Andrew Nguyen
ce61b254d0
kernel32: Only check the buffer pointer in FormatMessageA if buffer allocation is requested.
2010-04-19 15:43:25 +02:00
Andrew Nguyen
8b28efaed7
kernel32: Reject an insufficiently sized buffer in FormatMessageA/W.
2010-04-19 15:43:07 +02:00
Andrew Nguyen
f35ca2a77c
kernel32/tests: Remove a superfluous comment in the FormatMessage tests.
2010-04-19 15:42:39 +02:00
Alexandre Julliard
25718e1af3
kernel32/tests: Add a couple of last error codes for Win7.
2010-02-23 11:24:08 +01:00
Francois Gouget
5fb3985fa5
Assorted spelling fixes.
2009-11-09 19:42:31 +01:00
Alexandre Julliard
36e56ad1aa
kernel32/tests: Fix FormatMessage test failures on various Windows versions.
2009-10-30 11:03:39 +01:00
Alexandre Julliard
0e26e741f7
kernel32: Replicate the MS bug with va_list argument counting in FormatMessage.
2009-10-30 11:03:39 +01:00
Alexandre Julliard
24a8e33fb6
kernel32/tests: Use __ms_va_list in the FormatMessage test.
2009-10-30 11:03:39 +01:00
Alexandre Julliard
b353401513
kernel32: Fix handling of width and precision arguments and remove assumptions about va_list implementation in FormatMessage.
2009-10-30 11:03:39 +01:00
Alexandre Julliard
100131d4ca
kernel32: Propagate the error result from RtlFindMessage in FormatMessage.
2009-10-30 11:03:39 +01:00