The Win32 Internet API functions have been organized in the following categories.
The following table contains an alphabetical list of the functions provided by the Microsoft® Win32® Internet API.
CommitUrlCacheEntry | Stores data in the specified file in the Internet cache and associates it with the given URL. |
CreateUrlCacheEntry | Creates a local file name for saving the cache entry based on the specified URL and the file extension. |
CreateUrlCacheGroup | Generates cache group identifications. |
DeleteUrlCacheEntry | Removes the file associated with the source name from the cache, if the file exists. |
DeleteUrlCacheGroup | Releases the specified GROUPID and any associated state in the cache index file. |
FindCloseUrlCache | Closes the specified cache enumeration handle. |
FindFirstUrlCacheEntry | Begins the enumeration of the Internet cache. |
FindFirstUrlCacheEntryEx | Starts a filtered enumeration of the Internet cache. |
FindFirstUrlCacheGroup | Initiates the enumeration of the cache groups in the Internet cache. |
FindNextUrlCacheEntry | Retrieves the next entry in the Internet cache. |
FindNextUrlCacheEntryEx | Finds the next cache entry in a cache enumeration started by the FindFirstUrlCacheEntryEx function. |
FindNextUrlCacheGroup | Retrieves the next cache group in a cache group enumeration started by FindFirstUrlCacheGroup. |
FtpCommand | Allows an application to send commands directly to an FTP server. |
FtpCreateDirectory | Creates a new directory on the FTP server. |
FtpDeleteFile | Deletes a file stored on the FTP server. |
FtpFindFirstFile | Searches the specified directory of the given FTP session. File and directory entries are returned to the application in the WIN32_FIND_DATA structure. |
FtpGetCurrentDirectory | Retrieves the current directory for the specified FTP session. |
FtpGetFile | Retrieves a file from the FTP server and stores it under the specified file name, creating a new local file in the process. |
FtpGetFileSize | Retrieves the file size of the requested FTP resource. |
FtpOpenFile | Initiates access to a remote file on an FTP server for reading or writing. |
FtpPutFile | Stores a file on the FTP server. |
FtpRemoveDirectory | Removes the specified directory on the FTP server. |
FtpRenameFile | Renames a file stored on the FTP server. |
FtpSetCurrentDirectory | Changes to a different working directory on the FTP server. |
GetUrlCacheEntryInfo | Retrieves information about a cache entry. |
GetUrlCacheEntryInfoEx | Searches for the URL after translating any cached redirections that would be applied in offline mode by HttpSendRequest. |
GetUrlCacheGroupAttribute | Retrieves the attribute information of the specified cache group. |
GopherCreateLocator | Creates a Gopher or Gopher+ locator string from its component parts. |
GopherFindFirstFile | Uses a Gopher locator and some search criteria to create a session with the server and locate the requested documents, binary files, index servers, or directory trees. |
GopherGetAttribute | Retrieves the specific attribute information from the server. |
GopherGetLocatorType | Parses a Gopher locator and determines its attributes. |
GopherOpenFile | Begins reading a Gopher data file from a Gopher server. |
HttpAddRequestHeaders | Adds one or more HTTP request headers to the HTTP request handle. |
HttpEndRequest | Ends an HTTP request that was initiated by HttpSendRequestEx. |
HttpOpenRequest | Creates an HTTP request handle. |
HttpQueryInfo | Retrieves header information associated with an HTTP request. |
HttpSendRequest | Sends the specified request to the HTTP server. |
HttpSendRequestEx | Sends the specified request to the HTTP server and allows chunked transfers. |
InternetAttemptConnect | Attempts to make a connection to the Internet. |
InternetAutodial | Causes the modem to automatically dial the default Internet connection. |
InternetAutodialHangup | Disconnects an automatic dial-up connection. |
InternetCanonicalizeUrl | Canonicalizes a URL, which includes converting unsafe characters and spaces into escape sequences. |
InternetCheckConnection | Allows an application to check if a connection to the Internet can be established. |
InternetCloseHandle | Closes a single Internet handle. |
InternetCombineUrl | Combines a base and relative URL into a single URL. The resultant URL will be canonicalized (see InternetCanonicalizeUrl). |
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. |
InternetCrackUrl | Cracks a URL into its component parts. |
InternetCreateUrl | Creates a URL from its component parts. |
InternetDial | Initiates a connection to the Internet using a modem. |
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. |
InternetGetConnectedState | Retrieves the connected state of the local system. |
InternetGetConnectedStateEx | Retrieves the connected state of the specified Internet connection. |
InternetGetCookie | Retrieves the cookie for the specified URL. |
InternetGetLastResponseInfo | Retrieves the last Win32® Internet function error description or server response on the thread calling this function. |
InternetGoOnline | Prompts the user for permission to initiate connection to a URL. |
InternetHangUp | Instructs the modem to disconnect from the Internet. |
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. |
InternetOpenUrl | Begins reading a complete FTP, Gopher, or HTTP URL. Use InternetCanonicalizeUrl first if the URL being used contains a relative URL and a base URL separated by blank spaces. |
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. |
InternetSetCookie | Creates a cookie associated with the specified URL. |
InternetSetDialState | Obsolete. Do not use. |
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. |
ReadUrlCacheEntryStream | Reads the cached data from a stream that has been opened using the RetrieveUrlCacheEntryStream function. |
RetrieveUrlCacheEntryFile | Locks the cache entry file associated with the specified URL. |
RetrieveUrlCacheEntryStream | Provides the most efficient and implementation-independent way of accessing the cache data. |
SetUrlCacheEntryGroup | Adds entries to or removes entries from a cache group. |
SetUrlCacheEntryInfo | Sets the specified members of the INTERNET_CACHE_ENTRY_INFO structure. |
SetUrlCacheGroupAttribute | Sets the attribute information of the specified cache group. |
UnlockUrlCacheEntryFile | Unlocks the cache entry that was locked while the file was retrieved for use from the cache. |
UnlockUrlCacheEntryStream | Closes the stream that has been retrieved using the RetrieveUrlCacheEntryStream function. |