Zac Brown : winhttp: Add stub implementation for WinHttpTimeFromSystemTime.
Alexandre Julliard
julliard at winehq.org
Tue Aug 19 08:46:53 CDT 2008
Module: wine
Branch: master
Commit: 6858aa4a0fb1c326c1eb439fc07ccda140ea44d3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6858aa4a0fb1c326c1eb439fc07ccda140ea44d3
Author: Zac Brown <zac at zacbrown.org>
Date: Thu Aug 14 14:54:01 2008 -0700
winhttp: Add stub implementation for WinHttpTimeFromSystemTime.
---
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 18059ba..2915d3b 100644
--- a/dlls/winhttp/main.c
+++ b/dlls/winhttp/main.c
@@ -259,3 +259,14 @@ BOOL WINAPI WinHttpWriteData (HINTERNET hRequest, LPCVOID lpBuffer,
SetLastError(ERROR_NOT_SUPPORTED);
return FALSE;
}
+
+/***********************************************************************
+ * WinHttpTimeFromSystemTime (winhttp.@)
+ */
+BOOL WINAPI WinHttpTimeFromSystemTime (CONST SYSTEMTIME* pst, LPWSTR pwszTime)
+{
+ FIXME("(%p, %p): stub\n", pst, pwszTime);
+
+ SetLastError(ERROR_NOT_SUPPORTED);
+ return FALSE;
+}
diff --git a/dlls/winhttp/winhttp.spec b/dlls/winhttp/winhttp.spec
index c6ada03..24af2e0 100644
--- a/dlls/winhttp/winhttp.spec
+++ b/dlls/winhttp/winhttp.spec
@@ -26,6 +26,6 @@
@ stdcall WinHttpSetOption(ptr long ptr long)
@ stub WinHttpSetStatusCallback
@ stub WinHttpSetTimeouts
-@ stub WinHttpTimeFromSystemTime
+@ stdcall WinHttpTimeFromSystemTime(ptr ptr)
@ stub WinHttpTimeToSystemTime
@ stdcall WinHttpWriteData(ptr ptr long ptr)
More information about the wine-cvs
mailing list