ucrtbase: Add __stdio_common_vfwscanf.

Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Daniel Lehman 2016-08-08 14:02:16 -07:00 committed by Alexandre Julliard
parent c40001cdc4
commit 48340bd1fe
3 changed files with 19 additions and 2 deletions

View File

@ -8,7 +8,7 @@
@ cdecl __stdio_common_vfwprintf(int64 ptr wstr ptr ptr) ucrtbase.__stdio_common_vfwprintf
@ stub __stdio_common_vfwprintf_p
@ stub __stdio_common_vfwprintf_s
@ stub __stdio_common_vfwscanf
@ cdecl __stdio_common_vfwscanf(int64 ptr wstr ptr ptr) ucrtbase.__stdio_common_vfwscanf
@ cdecl __stdio_common_vsnprintf_s(int64 ptr long long str ptr ptr) ucrtbase.__stdio_common_vsnprintf_s
@ cdecl __stdio_common_vsnwprintf_s(int64 ptr long long wstr ptr ptr) ucrtbase.__stdio_common_vsnwprintf_s
@ cdecl __stdio_common_vsprintf(int64 ptr long str ptr ptr) ucrtbase.__stdio_common_vsprintf

View File

@ -682,6 +682,23 @@ int CDECL MSVCRT__stdio_common_vsscanf(unsigned __int64 options,
return MSVCRT_vsnscanf_l(input, length, format, locale, valist);
}
/*********************************************************************
* __stdio_common_vfwscanf (MSVCRT.@)
*/
int CDECL MSVCRT__stdio_common_vfwscanf(unsigned __int64 options,
MSVCRT_FILE *file,
const MSVCRT_wchar_t *format,
MSVCRT__locale_t locale,
__ms_va_list valist)
{
if (options & ~UCRTBASE_SCANF_SECURECRT)
FIXME("options %s not handled\n", wine_dbgstr_longlong(options));
if (options & UCRTBASE_SCANF_SECURECRT)
return MSVCRT_vfwscanf_s_l(file, format, locale, valist);
else
return MSVCRT_vfwscanf_l(file, format, locale, valist);
}
/*********************************************************************
* _snwscanf (MSVCRT.@)
*/

View File

@ -153,7 +153,7 @@
@ cdecl __stdio_common_vfwprintf(int64 ptr wstr ptr ptr) MSVCRT__stdio_common_vfwprintf
@ stub __stdio_common_vfwprintf_p
@ stub __stdio_common_vfwprintf_s
@ stub __stdio_common_vfwscanf
@ cdecl __stdio_common_vfwscanf(int64 ptr wstr ptr ptr) MSVCRT__stdio_common_vfwscanf
@ cdecl __stdio_common_vsnprintf_s(int64 ptr long long str ptr ptr) MSVCRT__stdio_common_vsnprintf_s
@ cdecl __stdio_common_vsnwprintf_s(int64 ptr long long wstr ptr ptr) MSVCRT__stdio_common_vsnwprintf_s
@ cdecl __stdio_common_vsprintf(int64 ptr long str ptr ptr) MSVCRT__stdio_common_vsprintf