InternetQueryOptionInternetQueryOption*
*



Contents  *



Index  *Topic Contents
*Previous Topic: InternetQueryDataAvailable
*Next Topic: InternetReadFile

InternetQueryOption

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

Queries an Internet option on the specified handle.

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

See also FtpGetFile, FtpPutFile, InternetConnect, InternetOpen, InternetSetOption


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.