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
Louis Lenders
1be99033b1
kernel32/tests: Add more tests for FormatMessageA.
2009-10-29 17:07:53 +01:00
Alexandre Julliard
549116bd68
kernel32/tests: Add some tests for width and precision formatting in FormatMessage.
2009-10-29 13:06:12 +01:00
Alexandre Julliard
f3d87838ff
kernel32/tests: Use the global wine_dbgstr_w instead of a local variant.
2009-08-19 13:36:36 +02:00
Hans Leidekker
0eb5893ea6
kernel32: Add tests for FormatMessageA/W.
2009-05-19 11:58:53 +02:00
Francois Gouget
5989534540
kernel32/tests: Use win_skip() to skip over unimplemented functionality.
2009-02-24 16:57:26 +01:00
James Hawkins
3361f0c4fd
kernel32: Fix a test failure in win9x.
2008-06-30 15:05:13 +02:00
Austin English
d5de9977df
kernel32: Spelling fixes.
2008-03-18 11:44:09 +01:00
Paul Vriens
7b7838289f
kernel32/tests: Skip not implemented functions.
2008-01-10 12:15:30 +01:00
Hans Leidekker
2c061dbae6
kernel32: Check for NULL output buffer in FormatMessage{A, W}.
2007-09-27 12:47:07 +02:00
Michael Stefaniuc
8218440c20
kernel32/tests: Win64 printf format warning fixes.
2006-10-10 16:11:27 +02:00
Alexandre Julliard
489d87d1e5
kernel32: Renamed the kernel directory to kernel32.
...
Also get rid of the kernel/messages subdirectory.
2006-09-12 13:34:06 +02:00