Hans Leidekker : msvcrt: Stub implementation for wcsftime.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jan 23 14:48:06 CST 2006


Module: wine
Branch: refs/heads/master
Commit: 1b69f035e121e9512da1ea538b171f83e7a90d16
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=1b69f035e121e9512da1ea538b171f83e7a90d16

Author: Hans Leidekker <hans at it.vu.nl>
Date:   Mon Jan 23 19:29:15 2006 +0100

msvcrt: Stub implementation for wcsftime.

---

 dlls/msvcrt/msvcrt.spec |    2 +-
 dlls/msvcrt/time.c      |   12 ++++++++++++
 2 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/dlls/msvcrt/msvcrt.spec b/dlls/msvcrt/msvcrt.spec
index e582e1a..6169e82 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 3c1b0ba..b2b67f1 100644
--- a/dlls/msvcrt/time.c
+++ b/dlls/msvcrt/time.c
@@ -438,6 +438,18 @@ MSVCRT_size_t MSVCRT_strftime( char *str
 }
 
 /*********************************************************************
+ *		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.@)
  */
 char *MSVCRT_asctime(const struct MSVCRT_tm *mstm)




More information about the wine-cvs mailing list