From 7e22fc09434a6773caac6ab86199677ad71a72d0 Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Wed, 26 Sep 2012 09:37:55 +0200 Subject: [PATCH] httpapi: Add a stub implementation of HttpAddUrl. --- dlls/httpapi/httpapi.spec | 2 +- dlls/httpapi/httpapi_main.c | 9 +++++++++ include/http.h | 1 + 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/dlls/httpapi/httpapi.spec b/dlls/httpapi/httpapi.spec index 7e5eede49a8..4d35c843238 100644 --- a/dlls/httpapi/httpapi.spec +++ b/dlls/httpapi/httpapi.spec @@ -1,5 +1,5 @@ @ stub HttpAddFragmentToCache -@ stub HttpAddUrl +@ stdcall HttpAddUrl(ptr wstr ptr) @ stub HttpAddUrlToConfigGroup @ stub HttpCancelHttpRequest @ stub HttpCreateAppPool diff --git a/dlls/httpapi/httpapi_main.c b/dlls/httpapi/httpapi_main.c index 3375cb6fdc4..e71048f182c 100644 --- a/dlls/httpapi/httpapi_main.c +++ b/dlls/httpapi/httpapi_main.c @@ -176,3 +176,12 @@ ULONG WINAPI HttpCreateHttpHandle( PHANDLE handle, ULONG reserved ) FIXME( "(%p, %d): stub!\n", handle, reserved); return ERROR_CALL_NOT_IMPLEMENTED; } + +/*********************************************************************** + * HttpAddUrl (HTTPAPI.@) + */ +ULONG WINAPI HttpAddUrl( HANDLE handle, PCWSTR url, PVOID reserved ) +{ + FIXME( "(%p, %s, %p): stub!\n", handle, debugstr_w(url), reserved ); + return ERROR_CALL_NOT_IMPLEMENTED; +} diff --git a/include/http.h b/include/http.h index b42cbca2399..8c2f21e323a 100644 --- a/include/http.h +++ b/include/http.h @@ -53,6 +53,7 @@ typedef enum _HTTP_SERVICE_CONFIG_ID ULONG WINAPI HttpInitialize(HTTPAPI_VERSION,ULONG,PVOID); ULONG WINAPI HttpTerminate(ULONG,PVOID); +ULONG WINAPI HttpAddUrl(HANDLE,PCWSTR,PVOID); ULONG WINAPI HttpCreateHttpHandle(PHANDLE,ULONG); ULONG WINAPI HttpDeleteServiceConfiguration(HANDLE,HTTP_SERVICE_CONFIG_ID,PVOID,ULONG,LPOVERLAPPED); ULONG WINAPI HttpQueryServiceConfiguration(HANDLE,HTTP_SERVICE_CONFIG_ID,PVOID,ULONG,PVOID,ULONG,PULONG,LPOVERLAPPED);