1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-08 03:45:57 +00:00

msvcrt: Add _scwprintf_p implementation.

This commit is contained in:
Bartosz Kosiorek 2022-11-06 00:11:54 +01:00 committed by Alexandre Julliard
parent 78e5efd037
commit 69ce7894fb
6 changed files with 21 additions and 5 deletions

View File

@ -1622,7 +1622,7 @@
@ varargs _scprintf_p_l(str ptr)
@ varargs _scwprintf(wstr)
@ varargs _scwprintf_l(wstr ptr)
@ stub _scwprintf_p
@ varargs _scwprintf_p(wstr)
@ varargs _scwprintf_p_l(wstr ptr)
@ cdecl _searchenv(str str ptr)
@ cdecl _searchenv_s(str str ptr long)

View File

@ -1633,7 +1633,7 @@
@ varargs _scprintf_p_l(str ptr)
@ varargs _scwprintf(wstr)
@ varargs _scwprintf_l(wstr ptr)
@ stub _scwprintf_p
@ varargs _scwprintf_p(wstr)
@ varargs _scwprintf_p_l(wstr ptr)
@ cdecl _searchenv(str str ptr)
@ cdecl _searchenv_s(str str ptr long)

View File

@ -1359,7 +1359,7 @@
@ varargs _scprintf_p_l(str ptr) msvcr120._scprintf_p_l
@ varargs _scwprintf(wstr) msvcr120._scwprintf
@ 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
@ stdcall -arch=i386 _seh_longjmp_unwind4(ptr) msvcr120._seh_longjmp_unwind4
@ stdcall -arch=i386 _seh_longjmp_unwind(ptr) msvcr120._seh_longjmp_unwind

View File

@ -943,7 +943,7 @@
@ varargs _scprintf_p_l(str ptr)
@ varargs _scwprintf(wstr)
@ varargs _scwprintf_l(wstr ptr)
@ stub _scwprintf_p
@ varargs _scwprintf_p(wstr)
@ varargs _scwprintf_p_l(wstr ptr)
@ cdecl _searchenv(str str ptr)
@ cdecl _searchenv_s(str str ptr long)

View File

@ -919,7 +919,7 @@
@ varargs _scprintf_p_l(str ptr)
@ varargs _scwprintf(wstr)
@ varargs _scwprintf_l(wstr ptr)
@ stub _scwprintf_p
@ varargs _scwprintf_p(wstr)
@ varargs _scwprintf_p_l(wstr ptr)
@ cdecl _searchenv(str str ptr)
@ cdecl _searchenv_s(str str ptr long)

View File

@ -1647,6 +1647,22 @@ int WINAPIV _scwprintf_p_l( const wchar_t *format, _locale_t locale, ... )
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.@)
*/