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:
parent
76ee089aad
commit
280bfb58b5
|
@ -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)))
|
||||||
|
|
Loading…
Reference in New Issue