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: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Austin English 2019-12-08 23:11:27 -06:00 committed by Alexandre Julliard
parent 76ee089aad
commit 280bfb58b5
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ ULONG WINAPI HttpInitialize(HTTPAPI_VERSION version, ULONG flags, void *reserved
if (flags & ~HTTP_INITIALIZE_SERVER) if (flags & ~HTTP_INITIALIZE_SERVER)
{ {
FIXME("Unhandled flags %#x.\n", flags); FIXME("Unhandled flags %#x.\n", flags);
return ERROR_CALL_NOT_IMPLEMENTED; return ERROR_SUCCESS;
} }
if (!(manager = OpenSCManagerW(NULL, NULL, SC_MANAGER_CONNECT))) if (!(manager = OpenSCManagerW(NULL, NULL, SC_MANAGER_CONNECT)))