wininet: Implement InternetSetOption(INTERNET_OPTION_CONTEXT_VALUE).

This commit is contained in:
Hans Leidekker 2010-05-25 12:19:17 +02:00 committed by Alexandre Julliard
parent c35856dd09
commit ae1f553d2b
1 changed files with 10 additions and 2 deletions

View File

@ -2561,8 +2561,16 @@ BOOL WINAPI InternetSetOptionW(HINTERNET hInternet, DWORD dwOption,
break;
}
case INTERNET_OPTION_CONTEXT_VALUE:
FIXME("Option INTERNET_OPTION_CONTEXT_VALUE; STUB\n");
break;
{
if (!lpBuffer || dwBufferLength != sizeof(DWORD_PTR))
{
SetLastError(ERROR_INVALID_PARAMETER);
ret = FALSE;
}
else
lpwhh->dwContext = *(DWORD_PTR *)lpBuffer;
break;
}
case INTERNET_OPTION_SECURITY_FLAGS:
FIXME("Option INTERNET_OPTION_SECURITY_FLAGS; STUB\n");
break;