diff --git a/dlls/msvcrt/msvcrt.spec b/dlls/msvcrt/msvcrt.spec index e582e1af5bd..6169e82837a 100644 --- a/dlls/msvcrt/msvcrt.spec +++ b/dlls/msvcrt/msvcrt.spec @@ -744,7 +744,7 @@ @ cdecl wcscoll(wstr wstr) MSVCRT_wcscoll @ cdecl wcscpy(ptr wstr) ntdll.wcscpy @ cdecl wcscspn(wstr wstr) ntdll.wcscspn -@ stub wcsftime #(ptr long wstr ptr) MSVCRT_wcsftime +@ cdecl wcsftime(ptr long wstr ptr) MSVCRT_wcsftime @ cdecl wcslen(wstr) ntdll.wcslen @ cdecl wcsncat(wstr wstr long) ntdll.wcsncat @ cdecl wcsncmp(wstr wstr long) ntdll.wcsncmp diff --git a/dlls/msvcrt/time.c b/dlls/msvcrt/time.c index 3c1b0ba1789..b2b67f1ecea 100644 --- a/dlls/msvcrt/time.c +++ b/dlls/msvcrt/time.c @@ -437,6 +437,18 @@ MSVCRT_size_t MSVCRT_strftime( char *str, MSVCRT_size_t max, const char *format, return strftime( str, max, format, &tm ); } +/********************************************************************* + * wcsftime (MSVCRT.@) + */ +MSVCRT_size_t MSVCRT_wcsftime( MSVCRT_wchar_t *str, MSVCRT_size_t max, + const MSVCRT_wchar_t *format, const struct MSVCRT_tm *mstm ) +{ + FIXME( "%p, %d, %s, %p - stub\n", str, max, debugstr_w(format), mstm ); + + *str = '\0'; + return 0; +} + /********************************************************************* * asctime (MSVCRT.@) */