Microsoft Windows CE 3.0  

InternetSetOption

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

This function sets an internet option on the specified handle.

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 lpBufferbuffer.

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: