This function sets an internet option on the specified handle.
At a Glance
Header file: | Wininet.h |
Windows CE versions: | 2.0 and later |
Syntax
BOOL WINAPI InternetSetOption(HINTERNET hInternet, DWORD dwOption, LPVOID lpBuffer, DWORD dwBufferLength);
Parameters
hInternet
Internet handle on which to set information.
dwOption
Specifies the Internet option to set. Can be one of the Option Flags values.
lpBuffer
Long pointer to a buffer that contains the option setting.
dwBufferLength
Specifies the length of the lpBuffer buffer.
Return Values
TRUE indicates success. FALSE indicates failure. To get extended error information, call GetLastError.
Windows CE Remarks
The following options can be set for dwOption:
See Also
FtpGetFile, FtpPutFile, InternetConnect, InternetOpen, InternetQueryOption