Commit 69ce7894 authored by Bartosz Kosiorek's avatar Bartosz Kosiorek Committed by Alexandre Julliard

msvcrt: Add _scwprintf_p implementation.

parent 78e5efd0
...@@ -1622,7 +1622,7 @@ ...@@ -1622,7 +1622,7 @@
@ varargs _scprintf_p_l(str ptr) @ varargs _scprintf_p_l(str ptr)
@ varargs _scwprintf(wstr) @ varargs _scwprintf(wstr)
@ varargs _scwprintf_l(wstr ptr) @ varargs _scwprintf_l(wstr ptr)
@ stub _scwprintf_p @ varargs _scwprintf_p(wstr)
@ varargs _scwprintf_p_l(wstr ptr) @ varargs _scwprintf_p_l(wstr ptr)
@ cdecl _searchenv(str str ptr) @ cdecl _searchenv(str str ptr)
@ cdecl _searchenv_s(str str ptr long) @ cdecl _searchenv_s(str str ptr long)
......
...@@ -1633,7 +1633,7 @@ ...@@ -1633,7 +1633,7 @@
@ varargs _scprintf_p_l(str ptr) @ varargs _scprintf_p_l(str ptr)
@ varargs _scwprintf(wstr) @ varargs _scwprintf(wstr)
@ varargs _scwprintf_l(wstr ptr) @ varargs _scwprintf_l(wstr ptr)
@ stub _scwprintf_p @ varargs _scwprintf_p(wstr)
@ varargs _scwprintf_p_l(wstr ptr) @ varargs _scwprintf_p_l(wstr ptr)
@ cdecl _searchenv(str str ptr) @ cdecl _searchenv(str str ptr)
@ cdecl _searchenv_s(str str ptr long) @ cdecl _searchenv_s(str str ptr long)
......
...@@ -1359,7 +1359,7 @@ ...@@ -1359,7 +1359,7 @@
@ varargs _scprintf_p_l(str ptr) msvcr120._scprintf_p_l @ varargs _scprintf_p_l(str ptr) msvcr120._scprintf_p_l
@ varargs _scwprintf(wstr) msvcr120._scwprintf @ varargs _scwprintf(wstr) msvcr120._scwprintf
@ varargs _scwprintf_l(wstr ptr) msvcr120._scwprintf_l @ varargs _scwprintf_l(wstr ptr) msvcr120._scwprintf_l
@ stub _scwprintf_p @ varargs _scwprintf_p(wstr) msvcr120._scwprintf_p
@ varargs _scwprintf_p_l(wstr ptr) msvcr120._scwprintf_p_l @ varargs _scwprintf_p_l(wstr ptr) msvcr120._scwprintf_p_l
@ stdcall -arch=i386 _seh_longjmp_unwind4(ptr) msvcr120._seh_longjmp_unwind4 @ stdcall -arch=i386 _seh_longjmp_unwind4(ptr) msvcr120._seh_longjmp_unwind4
@ stdcall -arch=i386 _seh_longjmp_unwind(ptr) msvcr120._seh_longjmp_unwind @ stdcall -arch=i386 _seh_longjmp_unwind(ptr) msvcr120._seh_longjmp_unwind
......
...@@ -943,7 +943,7 @@ ...@@ -943,7 +943,7 @@
@ varargs _scprintf_p_l(str ptr) @ varargs _scprintf_p_l(str ptr)
@ varargs _scwprintf(wstr) @ varargs _scwprintf(wstr)
@ varargs _scwprintf_l(wstr ptr) @ varargs _scwprintf_l(wstr ptr)
@ stub _scwprintf_p @ varargs _scwprintf_p(wstr)
@ varargs _scwprintf_p_l(wstr ptr) @ varargs _scwprintf_p_l(wstr ptr)
@ cdecl _searchenv(str str ptr) @ cdecl _searchenv(str str ptr)
@ cdecl _searchenv_s(str str ptr long) @ cdecl _searchenv_s(str str ptr long)
......
...@@ -919,7 +919,7 @@ ...@@ -919,7 +919,7 @@
@ varargs _scprintf_p_l(str ptr) @ varargs _scprintf_p_l(str ptr)
@ varargs _scwprintf(wstr) @ varargs _scwprintf(wstr)
@ varargs _scwprintf_l(wstr ptr) @ varargs _scwprintf_l(wstr ptr)
@ stub _scwprintf_p @ varargs _scwprintf_p(wstr)
@ varargs _scwprintf_p_l(wstr ptr) @ varargs _scwprintf_p_l(wstr ptr)
@ cdecl _searchenv(str str ptr) @ cdecl _searchenv(str str ptr)
@ cdecl _searchenv_s(str str ptr long) @ cdecl _searchenv_s(str str ptr long)
......
...@@ -1647,6 +1647,22 @@ int WINAPIV _scwprintf_p_l( const wchar_t *format, _locale_t locale, ... ) ...@@ -1647,6 +1647,22 @@ int WINAPIV _scwprintf_p_l( const wchar_t *format, _locale_t locale, ... )
return r; return r;
} }
#if _MSVCR_VER>=80
/*********************************************************************
* _scwprintf_p (MSVCRT.@)
*/
int WINAPIV _scwprintf_p( const wchar_t *format, ... )
{
va_list ap;
int r;
va_start( ap, format );
r = vswprintf_p_l_opt( NULL, INT_MAX, format, 0, NULL, ap );
va_end( ap );
return r;
}
#endif
/********************************************************************* /*********************************************************************
* _scwprintf (MSVCRT.@) * _scwprintf (MSVCRT.@)
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment