Author: fireball Date: Sun Jun 25 14:54:32 2006 New Revision: 22610
URL: http://svn.reactos.org/svn/reactos?rev=22610&view=rev Log: Sync wsprintf.c with Wine: very minor changes(STDCALL->WINAPI, CDECL->WINAPIV), no changes in code logic.
Modified: trunk/reactos/dll/win32/user32/misc/wsprintf.c trunk/reactos/media/doc/README.WINE
Modified: trunk/reactos/dll/win32/user32/misc/wsprintf.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/misc/wspri... ============================================================================== --- trunk/reactos/dll/win32/user32/misc/wsprintf.c (original) +++ trunk/reactos/dll/win32/user32/misc/wsprintf.c Sun Jun 25 14:54:32 2006 @@ -32,6 +32,8 @@ */
#include <user32.h> +WINE_DEFAULT_DEBUG_CHANNEL(string); +
#define WPRINTF_LEFTALIGN 0x0001 /* Align output on the left ('-' prefix) */ #define WPRINTF_PREFIX_HEX 0x0002 /* Prefix hex with 0x ('#' prefix) */ @@ -482,7 +484,7 @@ * wvsprintfA (USER32.@) * @implemented */ -INT STDCALL wvsprintfA( LPSTR buffer, LPCSTR spec, va_list args ) +INT WINAPI wvsprintfA( LPSTR buffer, LPCSTR spec, va_list args ) { INT res = wvsnprintfA( buffer, 1024, spec, args ); return ( res == -1 ) ? 1024 : res; @@ -493,7 +495,7 @@ * wvsprintfW (USER32.@) * @implemented */ -INT STDCALL wvsprintfW( LPWSTR buffer, LPCWSTR spec, va_list args ) +INT WINAPI wvsprintfW( LPWSTR buffer, LPCWSTR spec, va_list args ) { INT res = wvsnprintfW( buffer, 1024, spec, args ); return ( res == -1 ) ? 1024 : res; @@ -503,7 +505,7 @@ * wsprintfA (USER32.@) * @implemented */ -INT CDECL wsprintfA( LPSTR buffer, LPCSTR spec, ... ) +INT WINAPIV wsprintfA( LPSTR buffer, LPCSTR spec, ... ) { va_list valist; INT res; @@ -518,7 +520,7 @@ * wsprintfW (USER32.@) * @implemented */ -INT CDECL wsprintfW( LPWSTR buffer, LPCWSTR spec, ... ) +INT WINAPIV wsprintfW( LPWSTR buffer, LPCWSTR spec, ... ) { va_list valist; INT res;
Modified: trunk/reactos/media/doc/README.WINE URL: http://svn.reactos.org/svn/reactos/trunk/reactos/media/doc/README.WINE?rev=2... ============================================================================== --- trunk/reactos/media/doc/README.WINE (original) +++ trunk/reactos/media/doc/README.WINE Sun Jun 25 14:54:32 2006 @@ -128,7 +128,7 @@ reactos/dll/win32/user32/misc/exticon.c # Last sync date unknown reactos/dll/win32/user32/misc/resources.c # Forked? reactos/dll/win32/user32/misc/winhelp.c # Last sync date unknown - reactos/dll/win32/user32/misc/wsprintf.c # Out of sync + reactos/dll/win32/user32/misc/wsprintf.c # Synced at 20060623
reactos/dll/win32/user32/windows/defwnd.c # Forked reactos/dll/win32/user32/windows/draw.c # Forked at Wine-20020904 (uitools.c)