Microsoft Windows CE 3.0  

InternetQueryOption

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 queries an Internet option on the specified handle.

BOOL WINAPI InternetQueryOption(
HINTERNET
hInternet
,
DWORD
dwOption
,  
LPVOID
lpBuffer  
OPTIONAL,
LPDWORD
lpdwBufferLength
);

Parameters

hInternet
Internet handle on which to query information.
dwOption
Specifies the Internet option to query. Can be one of the Option Flagsvalues.
lpBuffer
Long pointer to a buffer that receives the option setting.
lpdwBufferLength
Long pointer to a variable that contains the length of lpBuffer. When the function returns, the variable receives the length of the data placed into lpBuffer. If GetLastErrorreturns ERROR_INSUFFICIENT_BUFFER, this parameter receives the number of bytes required to hold the created URL.

Return Values

TRUE indicates success. FALSE indicates failure. To get extended error information, call GetLastError.

Windows CE Remarks

The following options may be queried through dwOption: