Skip to content

Latest commit

 

History

History
62 lines (43 loc) · 1.39 KB

InternetQueryOption.md

File metadata and controls

62 lines (43 loc) · 1.39 KB

Home

Function name : InternetQueryOption

Group: Internet Functions (WinInet) - Library: wininet


Queries an Internet option on the specified handle


Code examples:

Reading Internet Query options

Declaration:

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

FoxPro declaration:

DECLARE INTEGER InternetQueryOption IN wininet;
	INTEGER   hInternet,;
	INTEGER   lOption,;
	STRING  @ sBuffer,;
	INTEGER @ lBufferLength  

Parameters:

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


Return value:

Returns TRUE if successful, or FALSE otherwise


Comments:

You can reach the full list of Internet Option Flags Constants at Internet Option Flags Constants at MSDN site.