Sync wsprintf.c with Wine: very minor changes(STDCALL->WINAPI, CDECL->WINAPIV), no changes in code logic.

svn path=/trunk/; revision=22610
This commit is contained in:
Aleksey Bragin 2006-06-25 10:54:32 +00:00
parent 1263dd0ee5
commit 8a4d747fe3
2 changed files with 7 additions and 5 deletions

View file

@ -32,6 +32,8 @@
*/ */
#include <user32.h> #include <user32.h>
WINE_DEFAULT_DEBUG_CHANNEL(string);
#define WPRINTF_LEFTALIGN 0x0001 /* Align output on the left ('-' prefix) */ #define WPRINTF_LEFTALIGN 0x0001 /* Align output on the left ('-' prefix) */
#define WPRINTF_PREFIX_HEX 0x0002 /* Prefix hex with 0x ('#' prefix) */ #define WPRINTF_PREFIX_HEX 0x0002 /* Prefix hex with 0x ('#' prefix) */
@ -482,7 +484,7 @@ static INT wvsnprintfW( LPWSTR buffer, UINT maxlen, LPCWSTR spec, va_list args )
* wvsprintfA (USER32.@) * wvsprintfA (USER32.@)
* @implemented * @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 ); INT res = wvsnprintfA( buffer, 1024, spec, args );
return ( res == -1 ) ? 1024 : res; return ( res == -1 ) ? 1024 : res;
@ -493,7 +495,7 @@ INT STDCALL wvsprintfA( LPSTR buffer, LPCSTR spec, va_list args )
* wvsprintfW (USER32.@) * wvsprintfW (USER32.@)
* @implemented * @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 ); INT res = wvsnprintfW( buffer, 1024, spec, args );
return ( res == -1 ) ? 1024 : res; return ( res == -1 ) ? 1024 : res;
@ -503,7 +505,7 @@ INT STDCALL wvsprintfW( LPWSTR buffer, LPCWSTR spec, va_list args )
* wsprintfA (USER32.@) * wsprintfA (USER32.@)
* @implemented * @implemented
*/ */
INT CDECL wsprintfA( LPSTR buffer, LPCSTR spec, ... ) INT WINAPIV wsprintfA( LPSTR buffer, LPCSTR spec, ... )
{ {
va_list valist; va_list valist;
INT res; INT res;
@ -518,7 +520,7 @@ INT CDECL wsprintfA( LPSTR buffer, LPCSTR spec, ... )
* wsprintfW (USER32.@) * wsprintfW (USER32.@)
* @implemented * @implemented
*/ */
INT CDECL wsprintfW( LPWSTR buffer, LPCWSTR spec, ... ) INT WINAPIV wsprintfW( LPWSTR buffer, LPCWSTR spec, ... )
{ {
va_list valist; va_list valist;
INT res; INT res;

View file

@ -128,7 +128,7 @@ User32 -
reactos/dll/win32/user32/misc/exticon.c # Last sync date unknown reactos/dll/win32/user32/misc/exticon.c # Last sync date unknown
reactos/dll/win32/user32/misc/resources.c # Forked? reactos/dll/win32/user32/misc/resources.c # Forked?
reactos/dll/win32/user32/misc/winhelp.c # Last sync date unknown 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/defwnd.c # Forked
reactos/dll/win32/user32/windows/draw.c # Forked at Wine-20020904 (uitools.c) reactos/dll/win32/user32/windows/draw.c # Forked at Wine-20020904 (uitools.c)