winhttp: Add a stub for WinHttpSetOption(WINHTTP_OPTION_ENABLE_HTTP_PROTOCOL).
Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
536d48b4be
commit
94c46bf533
|
@ -1049,6 +1049,15 @@ static BOOL request_set_option( struct object_header *hdr, DWORD option, void *b
|
|||
FIXME("WINHTTP_OPTION_MAX_RESPONSE_DRAIN_SIZE\n");
|
||||
return TRUE;
|
||||
|
||||
case WINHTTP_OPTION_ENABLE_HTTP_PROTOCOL:
|
||||
if (buflen == sizeof(DWORD))
|
||||
{
|
||||
FIXME("WINHTTP_OPTION_ENABLE_HTTP_PROTOCOL %08x\n", *(DWORD *)buffer);
|
||||
return TRUE;
|
||||
}
|
||||
SetLastError(ERROR_INVALID_PARAMETER);
|
||||
return FALSE;
|
||||
|
||||
default:
|
||||
FIXME("unimplemented option %u\n", option);
|
||||
SetLastError( ERROR_WINHTTP_INVALID_OPTION );
|
||||
|
|
Loading…
Reference in New Issue