From 59397fab0265efbb12b44f6e1d66faf1e4342efc Mon Sep 17 00:00:00 2001 From: Zac Brown Date: Thu, 14 Aug 2008 14:55:16 -0700 Subject: [PATCH] winhttp: Add stub implementation for WinHttpTimeToSystemTime. --- dlls/winhttp/main.c | 11 +++++++++++ dlls/winhttp/winhttp.spec | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/dlls/winhttp/main.c b/dlls/winhttp/main.c index 2915d3b1b1..10a02b7854 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 24af2e0155..c093898288 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) -- 2.32.0.93.g670b81a890