Click to return to the Networking, Protocols     
Microsoft Win32 Internet ...     InternetAttemptConnect Fu...     Microsoft Win32 Internet ...    
Web Workshop  |  Networking, Protocols & Data Formats

General Win32 Internet Functions


The general Microsoft® Win32® Internet functions described in this section perform basic Internet file manipulations.

InternetAttemptConnect Attempts to make a connection to the Internet.
InternetCheckConnection Allows an application to check if a connection to the Internet can be established.
InternetCloseHandle Closes a single Internet handle.
InternetConfirmZoneCrossing Checks for changes between secure and nonsecure URLs. When a change occurs in security between two URLs, an application should allow the user to acknowledge this change, typically by displaying a dialog box.
InternetConnect Opens an FTP, Gopher, or HTTP session for a given site.
InternetErrorDlg Displays a dialog box for the error that is passed to InternetErrorDlg, if an appropriate dialog box exists. If the FLAGS_ERROR_UI_FILTER_FOR_ERRORS flag is used, the function also checks the headers for any hidden errors and displays a dialog box if needed.
InternetFindNextFile Continues a file search started as a result of a previous call to FtpFindFirstFile or GopherFindFirstFile.
InternetGetLastResponseInfo Retrieves the last Win32® Internet function error description or server response on the thread calling this function.
InternetInitializeAutoProxyDll Not currently supported.
InternetLockRequestFile Allows the user to place a lock on the file that is being used.
InternetOpen Initializes an application's use of the Win32® Internet functions.
InternetQueryDataAvailable Queries the server to determine the amount of data available.
InternetQueryOption Queries an Internet option on the specified handle.
InternetReadFile Reads data from a handle opened by the InternetOpenUrl, FtpOpenFile, GopherOpenFile, or HttpOpenRequest function.
InternetReadFileEx Reads data from a handle opened by the InternetOpenUrl, FtpOpenFile, GopherOpenFile, or HttpOpenRequest function.
InternetSetFilePointer Sets a file position for InternetReadFile. This is a synchronous call; however, subsequent calls to InternetReadFile might block or return pending if the data is not available from the cache and the server does not support random access.
InternetSetOption Sets an Internet option.
InternetSetOptionEx Not currently implemented.
InternetSetStatusCallback Sets up a callback function that Win32® Internet functions can call as progress is made during an operation.
InternetTimeFromSystemTime Formats a date and time according to the HTTP version 1.0 specification.
InternetTimeToSystemTime Takes an HTTP time/date string and converts it to a SYSTEMTIME structure.
InternetUnlockRequestFile Unlocks a file that was locked using InternetLockRequestFile.
InternetWriteFile Writes data to an open Internet file.


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.