winhttp: Add a stub for WinHttpQueryOption(WINHTTP_OPTION_HTTP_PROTOCOL_USED).

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Hans Leidekker 2021-09-17 14:41:13 +02:00 committed by Alexandre Julliard
parent 94c46bf533
commit 1a07093238
1 changed files with 6 additions and 0 deletions

View File

@ -822,6 +822,12 @@ static BOOL request_query_option( struct object_header *hdr, DWORD option, void
*buflen = sizeof(DWORD);
return TRUE;
case WINHTTP_OPTION_HTTP_PROTOCOL_USED:
FIXME("WINHTTP_OPTION_HTTP_PROTOCOL_USED\n");
*(DWORD *)buffer = 0;
*buflen = sizeof(DWORD);
return TRUE;
default:
FIXME("unimplemented option %u\n", option);
SetLastError( ERROR_INVALID_PARAMETER );