Commit Graph

43 Commits (cc6685f089a7ecbc6b92eed74f8fdffd2da3e061)

Author SHA1 Message Date
Ge van Geldorp 1a1583a364 Match PSDK STATUS_* definitions. 2005-11-28 17:32:54 +01:00
Mike McCormack f58e9f9e4b gcc 4.0 warning fixes. 2005-08-17 10:28:35 +00:00
Mike McCormack 405ac7a80c - don't include winreg.h
- include kernel_private.h to get declaration for convert_old_config()
2005-06-20 10:40:37 +00:00
Jakob Eriksson 9ed61de9a2 Get rid of HeapAlloc casts. 2005-03-24 21:01:35 +00:00
Jon Griffiths dbf222f3aa Use LMEM_ flags for LocalAlloc(), not GMEM_ (GlobalAlloc). 2005-03-17 20:53:37 +00:00
Michael Stefaniuc 5ad7d858e0 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2004-12-23 17:06:43 +00:00
Alexandre Julliard 2c90b52bbc Rewrote load_messageA/W to deal properly with multibyte characters. 2004-07-20 22:12:21 +00:00
Eric Pouech 62a860988c Const correctness, pointer cast correctness, removed extraneous ';'. 2004-06-14 17:04:34 +00:00
Francois Gouget 6a6c85c6d8 Make Unicode const strings static so they are not copied to the stack
each time we enter the function.
2004-04-19 20:12:14 +00:00
Ulrich Czekalla eebc3ef949 Fix typo in FormatMessageW. 2004-03-19 19:15:54 +00:00
Ulrich Czekalla cf5775fd09 Convert FormatMessageW to use unicode functions. 2004-03-19 01:52:10 +00:00
Alexandre Julliard e92b7eed7e Store the kernel32 module handle globally to avoid some
GetModuleHandle calls that can cause deadlocks with the loader
section.
Moved some 16-bit definitions out of kernel_private.h.
2004-02-12 00:00:55 +00:00
Uwe Bonnes 143f075335 FormatMessageW: Allocate anough space. 2003-10-28 21:09:32 +00:00
Alexandre Julliard cf52644a1c Removed the A/W constants for builtin cursors, icons and resource
types since they don't exist on Windows, and added typecasts
everywhere instead.
2003-09-10 03:56:47 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Juan Lang c435c29339 Fix FormatMessage when FORMAT_MESSAGE_FROM_HMODULE is specified and
lpSource is NULL.  Make indenting consistent too.
2003-09-02 00:53:46 +00:00
Francois Gouget 14a5d168e9 Fixed some common spelling errors. 2003-07-02 04:37:26 +00:00
Alexandre Julliard cbd9eca2c3 Use RtlFindMessage to load message resources. 2003-05-07 03:19:17 +00:00
Ryan Cumming 937d0b2411 Handle FORMAT_MESSAGE_FROM_HMODULE and FORMAT_MESSAGE_FROM_SYSTEM both
being set at once.
2002-11-04 23:49:53 +00:00
Mike McCormack 7018230a3f Added regression test for FormatMessage.
Fixed cr/lf handling.
Prevent an infinite loop when an invalid format (%S) is passed as a
format string to vsnprintf.
Fixed a memory leak in the W version.
2002-08-20 00:32:48 +00:00
Gregg Mattinson 78c4dd349c Implemented FormatMessage for sparc. Since the va_list is stored in
memory like __i386__, the same implementation should work.
2002-07-05 21:17:43 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Michael Stefaniuc 1b3c04d2c1 Check the return value of *snprintf for C99 style overflow reporting. 2001-12-26 19:48:15 +00:00
Francois Gouget 141039a54c Move the RT_XXX macros to winuser.h.
winuser.h: Add support for NOGDI.
winuser.h: Modify to allow compilation without wingdi.h.
2001-10-10 02:51:24 +00:00
Stefan Leichter 32aee1ae11 Added defines for resource types RT_MESSAGETABLE, RT_VERSION. 2001-10-05 19:44:33 +00:00
Alexandre Julliard 5f728cae70 Removed HEAP_strdupA. 2001-07-24 21:45:22 +00:00
Patrik Stridvall dae8de69e2 Documentation ordinal fixes (using winapi_fixup). 2001-06-13 20:13:18 +00:00
Duane Clark 8a3f6285c7 Add tests for the flag FORMAT_MESSAGE_IGNORE_INSERTS, and act
accordingly.
2001-05-09 19:43:51 +00:00
Patrik Stridvall 0c61028734 Documentation ordinal fixes. 2001-01-25 22:22:21 +00:00
Eric Pouech 31acbb4b9c FormatMessageA wasn't properly handling the %ls modifier. 2000-12-13 01:50:19 +00:00
Alexandre Julliard 24a62ab9b0 Got rid of the Wine internal lstrcpy* functions and of winestring.h. 2000-11-28 22:40:56 +00:00
Marcus Meissner e93807c0cb Handle %ls same as %s. 2000-11-25 01:19:58 +00:00
Alexandre Julliard 50e8ea387b Do not truncate high word of message id. 2000-11-01 01:51:12 +00:00
Francois Gouget eb6500fba9 Fixed the signature of the FormatMessage APIs. 2000-10-13 23:41:12 +00:00
Alexandre Julliard 072dfb57e3 Removed inclusion of wine/winestring.h from winbase.h and added it to
the C files that need it.
2000-09-25 23:30:56 +00:00
James Abbatiello dbdd94ba4b Allow FormatMessage to load Unicode string resources. 2000-08-22 20:37:44 +00:00
Alexandre Julliard c7e7df8b17 Replaced all lstr* calls from inside Wine code by their str* equivalent. 2000-08-14 14:41:19 +00:00
Andreas Mohr eb38129297 Prevent endless looping in linebreak handling. 2000-08-07 17:09:58 +00:00
Marcus Meissner 80d62c7888 PE_MESSAGE_HEADER.Length contains the header itself too. 2000-08-02 00:56:28 +00:00
Marcus Meissner 5c18f69c80 Added { } around stuff in ADD_TO_T macros. 2000-07-31 20:56:52 +00:00
Marcus Meissner 62f059f6fe Get rid of USER32 functions in KERNEL32. 2000-07-29 14:35:32 +00:00
Dave Pickles a64603d3d6 Improved FormatMessage:
- Added full support for FORMAT_MESSAGE_FROM_SYSTEM
- Implemented language search as documented
- Illegal combinations of options trapped.
- Message table for system messages added.
2000-07-25 17:53:58 +00:00