Commit 280bfb58 authored by Austin English's avatar Austin English Committed by Alexandre Julliard

httpapi: Return ERROR_SUCCESS for unimplemented flags in HttpInitialize.

Returning ERROR_CALL_NOT_IMPLEMENTED breaks .Net installers. MSDN suggests that ERROR_INVALID_PARAMETER may be more appropriate, but that too breaks .Net. Signed-off-by: 's avatarAustin English <austinenglish@gmail.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 76ee089a
......@@ -62,7 +62,7 @@ ULONG WINAPI HttpInitialize(HTTPAPI_VERSION version, ULONG flags, void *reserved
if (flags & ~HTTP_INITIALIZE_SERVER)
{
FIXME("Unhandled flags %#x.\n", flags);
return ERROR_CALL_NOT_IMPLEMENTED;
return ERROR_SUCCESS;
}
if (!(manager = OpenSCManagerW(NULL, NULL, SC_MANAGER_CONNECT)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment