httpapi: added method stub for HttpPrepareUrl in dlls/httpapi/httpapi_main.c (resend)

Arash Cordi arash.cordi at gmail.com
Sun Nov 20 04:43:34 CST 2011


-------------- next part --------------
From ae21cd9fccf80724fad514846e294d17b5c8648e Mon Sep 17 00:00:00 2001
From: arash cordi <arash.cordi at gmail.com>
Date: Sat, 19 Nov 2011 14:48:28 +0330
Subject: added moethod stub for HttpPrepareUrl in dlls/httpapi/httpapi_main.c
To: wine-patches <wine-patches at winehq.org>
Reply-To: wine-devel <wine-devel at winehq.org>

---
 dlls/httpapi/httpapi_main.c |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/dlls/httpapi/httpapi_main.c b/dlls/httpapi/httpapi_main.c
index 3375cb6..c5c8cda 100644
--- a/dlls/httpapi/httpapi_main.c
+++ b/dlls/httpapi/httpapi_main.c
@@ -85,6 +85,27 @@ ULONG WINAPI HttpTerminate( ULONG flags, PVOID reserved )
 }
 
 /***********************************************************************
+ *        HttpPrepareUrl      (HTTPAPI.@)
+ * parses, analyzes, and normalizes a non-normalized Unicode or punycode URL
+ * so it is safe and valid to use in other HTTP functions.
+ *
+ *  PARAMS
+ *    reserved     [IO] reserved, must be NULL
+ *    flags        [ I] reserved. must be zero
+ *    url          [ I] a pointer to a string that represents the non-normalized URL
+ *    prepared_url [ O] on success, a pointer to a string representing the normalized URL.
+ *
+ * RETURNS
+ *   ERROR_SUCCESS if function succeeds, or error code if function fails
+ *
+ */
+ULONG WINAPI HttpPrepareUrl( PVOID reserved, ULONG flags, PCWSTR url, PWSTR *prepared_url)
+{
+    FIXME( "(%p, 0x%x, %p): stub!\n", reserved, flags, url );
+    return ERROR_SUCCESS;
+}
+
+/***********************************************************************
  *        HttpDeleteServiceConfiguration     (HTTPAPI.@)
  *
  * Remove configuration record from HTTP Server API configuration store
-- 
1.6.2.2


More information about the wine-patches mailing list