Maarten Lankhorst : winhttp: Add stub for WinHttpCheckPlatform.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Aug 27 06:07:43 CDT 2007


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

Author: Maarten Lankhorst <m.b.lankhorst at gmail.com>
Date:   Sun Aug 26 20:38:18 2007 +0200

winhttp: Add stub for WinHttpCheckPlatform.

---

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

diff --git a/dlls/winhttp/main.c b/dlls/winhttp/main.c
index e90352d..3386463 100644
--- a/dlls/winhttp/main.c
+++ b/dlls/winhttp/main.c
@@ -82,3 +82,10 @@ HRESULT WINAPI DllUnregisterServer(void)
     FIXME("()\n");
     return S_OK;
 }
+
+BOOL WINAPI WinHttpCheckPlatform(void)
+{
+    FIXME("stub\n");
+    SetLastError(ERROR_NOT_SUPPORTED);
+    return FALSE;
+}
diff --git a/dlls/winhttp/winhttp.spec b/dlls/winhttp/winhttp.spec
index 73eae07..ac3f7dc 100644
--- a/dlls/winhttp/winhttp.spec
+++ b/dlls/winhttp/winhttp.spec
@@ -3,7 +3,7 @@
 @ stdcall -private DllRegisterServer()
 @ stdcall -private DllUnregisterServer()
 @ stub WinHttpAddRequestHeaders
-@ stub WinHttpCheckPlatform
+@ stdcall WinHttpCheckPlatform()
 @ stub WinHttpCloseHandle
 @ stub WinHttpConnect
 @ stub WinHttpCrackUrl




More information about the wine-cvs mailing list