Hans Leidekker : winhttp: Add a stub for WinHttpQueryOption(WINHTTP_OPTION_HTTP_PROTOCOL_USED).
Alexandre Julliard
julliard at winehq.org
Fri Sep 17 16:03:09 CDT 2021
Module: wine
Branch: master
Commit: 1a07093238421855580ad8e417fa7ee740225196
URL: https://source.winehq.org/git/wine.git/?a=commit;h=1a07093238421855580ad8e417fa7ee740225196
Author: Hans Leidekker <hans at codeweavers.com>
Date: Fri Sep 17 14:41:13 2021 +0200
winhttp: Add a stub for WinHttpQueryOption(WINHTTP_OPTION_HTTP_PROTOCOL_USED).
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/winhttp/session.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/dlls/winhttp/session.c b/dlls/winhttp/session.c
index b9635b8933f..88e305da864 100644
--- a/dlls/winhttp/session.c
+++ b/dlls/winhttp/session.c
@@ -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 );
More information about the wine-cvs
mailing list