Group: Internet Functions (WinInet) - Library: wininet
Reading Internet Query options
BOOL InternetQueryOption(
HINTERNET hInternet,
DWORD dwOption,
LPVOID lpBuffer,
LPDWORD lpdwBufferLength
);
DECLARE INTEGER InternetQueryOption IN wininet;
INTEGER hInternet,;
INTEGER lOption,;
STRING @ sBuffer,;
INTEGER @ lBufferLength
hInternet [in] HINTERNET handle on which to query information
dwOption [in] Unsigned long integer value that contains the Internet option to query
lpBuffer [out] Pointer to a buffer that receives the option setting
lpdwBufferLength [in, out] Pointer to an unsigned long integer variable that contains the length of lpBuffer
Returns TRUE if successful, or FALSE otherwise
You can reach the full list of Internet Option Flags Constants at Internet Option Flags Constants at MSDN site.