Zac Brown : winhttp: Add stub implementation for WinHttpTimeToSystemTime.

Alexandre Julliard julliard at winehq.org
Tue Aug 19 08:46:53 CDT 2008


Module: wine
Branch: master
Commit: 59397fab0265efbb12b44f6e1d66faf1e4342efc
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=59397fab0265efbb12b44f6e1d66faf1e4342efc

Author: Zac Brown <zac at zacbrown.org>
Date:   Thu Aug 14 14:55:16 2008 -0700

winhttp: Add stub implementation for WinHttpTimeToSystemTime.

---

 dlls/winhttp/main.c       |   11 +++++++++++
 dlls/winhttp/winhttp.spec |    2 +-
 2 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/dlls/winhttp/main.c b/dlls/winhttp/main.c
index 2915d3b..10a02b7 100644
--- a/dlls/winhttp/main.c
+++ b/dlls/winhttp/main.c
@@ -270,3 +270,14 @@ BOOL WINAPI WinHttpTimeFromSystemTime (CONST SYSTEMTIME* pst, LPWSTR pwszTime)
     SetLastError(ERROR_NOT_SUPPORTED);
     return FALSE;
 }
+
+/***********************************************************************
+ *          WinHttpTimeToSystemTime (winhttp.@)
+ */
+BOOL WINAPI WinHttpTimeToSystemTime (LPCWSTR pwszTime, SYSTEMTIME* pst)
+{
+    FIXME("(%s, %p): stub\n", debugstr_w(pwszTime), pst);
+
+    SetLastError(ERROR_NOT_SUPPORTED);
+    return FALSE;
+}
diff --git a/dlls/winhttp/winhttp.spec b/dlls/winhttp/winhttp.spec
index 24af2e0..c093898 100644
--- a/dlls/winhttp/winhttp.spec
+++ b/dlls/winhttp/winhttp.spec
@@ -27,5 +27,5 @@
 @ stub WinHttpSetStatusCallback
 @ stub WinHttpSetTimeouts
 @ stdcall WinHttpTimeFromSystemTime(ptr ptr)
-@ stub WinHttpTimeToSystemTime
+@ stdcall WinHttpTimeToSystemTime(wstr ptr)
 @ stdcall WinHttpWriteData(ptr ptr long ptr)




More information about the wine-cvs mailing list