Commit 8bba7591 authored by Vova Mshanetskiy's avatar Vova Mshanetskiy Committed by Alexandre Julliard

winhttp: Support WINHTTP_OPTION_PARENT_HANDLE in request_query_option().

parent 8d9c1272
......@@ -737,6 +737,14 @@ static BOOL request_query_option( struct object_header *hdr, DWORD option, void
switch (option)
{
case WINHTTP_OPTION_PARENT_HANDLE:
{
if (!validate_buffer( buffer, buflen, sizeof(HINTERNET) )) return FALSE;
*(HINTERNET *)buffer = request->connect->hdr.handle;
*buflen = sizeof(HINTERNET);
return TRUE;
}
case WINHTTP_OPTION_SECURITY_FLAGS:
{
DWORD flags;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment