Commit Graph

26 Commits

Author SHA1 Message Date
Andrew Nguyen 43436f64d8 kernel32: Unify the format_message ANSI and Unicode helpers. 2010-04-19 15:46:11 +02:00
Andrew Nguyen 4c657b870f kernel32: Unify the format_insert ANSI and Unicode helpers. 2010-04-19 15:46:08 +02:00
Andrew Nguyen 053d4385c9 kernel32: Transition FormatMessageA to the internal use of Unicode strings. 2010-04-19 15:46:05 +02:00
Andrew Nguyen f199a83d47 kernel32: Separate format string parsing in FormatMessageA into a new function. 2010-04-19 15:44:34 +02:00
Andrew Nguyen df83469258 kernel32: Separate format string parsing in FormatMessageW into a new function. 2010-04-19 15:44:27 +02:00
Andrew Nguyen fcdd0d3040 kernel32: Consistify allocation behavior with FormatMessageA/W. 2010-04-19 15:44:05 +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 c0e7931954 kernel32: Remove superfluous heap reallocation calls in FormatMessageA/W.
The buffer in question is temporary and will be freed on function 
return, so resizing and leaving the enlarged space unused is pointless.
2010-04-19 15:42:42 +02:00
Dan Kegel 1cd395153d kernel32: Fix write buffer overrun in format_insertW. 2009-12-02 13:06:07 +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 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
Alexandre Julliard b381958f78 kernel32: Reimplement the formatting of inserts in FormatMessageW. 2009-10-30 11:03:21 +01:00
Alexandre Julliard 3307563a6c kernel32: Reimplement the formatting of inserts in FormatMessageA. 2009-10-30 11:01:51 +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 b4a9c99abc kernel32: Fix handling of %ws format for Unicode. 2009-06-08 18:13:13 +02:00
Alexandre Julliard 8e6e015eb5 kernel32: Add missing terminator on %wc format conversion. 2009-05-21 16:17:52 +02:00
Hans Leidekker 0f1ecf2819 kernel32: Add support for %ws and %wc format specifiers to FormatMessageA/W. 2009-05-19 11:58:53 +02:00
Michael Stefaniuc 9b2730eb88 kernel32: Remove superfluous pointer casts. 2009-03-11 13:03:31 +01:00
Alexandre Julliard 5f36d0239f kernel32: Convert FormatMessageA/W to use an MS ABI vararg list for x86_64. 2008-12-31 20:59:51 +01:00
Francois Gouget b3bf746ff9 Straighten out some ellipses. 2008-11-26 12:33:34 +01:00
Andrew Talbot a9b05bea3f kernel32: Remove unneeded casts. 2007-12-14 12:25:06 +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 8c38b88068 kernel32: Win64 printf format warning fixes. 2006-10-13 12:08:25 +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