mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 03:08:19 +00:00
wininet: Implement support for INTERNET_OPTION_VERSION in InternetQueryOptionW.
This commit is contained in:
parent
cea66e5859
commit
7e18416e80
|
@ -2330,6 +2330,20 @@ static BOOL INET_QueryOptionHelper(BOOL bIsUnicode, HINTERNET hInternet, DWORD d
|
|||
}
|
||||
}
|
||||
break;
|
||||
case INTERNET_OPTION_VERSION:
|
||||
{
|
||||
TRACE("INTERNET_OPTION_VERSION\n");
|
||||
if (*lpdwBufferLength < sizeof(INTERNET_VERSION_INFO))
|
||||
INTERNET_SetLastError(ERROR_INSUFFICIENT_BUFFER);
|
||||
else
|
||||
{
|
||||
static const INTERNET_VERSION_INFO info = { 6, 0 };
|
||||
memcpy(lpBuffer, &info, sizeof(info));
|
||||
*lpdwBufferLength = sizeof(info);
|
||||
bSuccess = TRUE;
|
||||
}
|
||||
break;
|
||||
}
|
||||
default:
|
||||
FIXME("Stub! %d\n", dwOption);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue