WinInet Functions
A version of this page is also available for
4/8/2010
On Windows Mobile, all WinInet functions are aliased to call the Unicode implementation. (On the desktop WinInet functions are aliased to call the ANSI implementation.)
The following table shows the WinInet functions with a description of the purpose of each.
Programming element | Description |
---|---|
This function stores data in the specified file in the Internet cache and associates it with the given Uniform Resource Locator (URL). |
|
This function creates a local file name for saving the cache entry based on the specified URL and the file extension. |
|
This function removes the file associated with the source name from the cache, if the file exists. |
|
This function closes the specified cache enumeration handle. |
|
This function begins the enumeration of the Internet cache. |
|
This function begins a filtered enumeration of the Internet cache. |
|
This function retrieves the next entry in the Internet cache. |
|
This function finds the next cache entry in a cache enumeration started by the FindFirstUrlCacheEntryEx function. |
|
This function issues an arbitrary FTP command to the FTP server. |
|
This function creates a new directory on the FTP server. |
|
This function deletes a file stored on the FTP server. |
|
This function searches the specified directory of the specified FTP session. |
|
This function retrieves the current directory for the specified FTP session. |
|
This function retrieves a file from the FTP server and stores it under the specified file name, creating a new local file in the process. |
|
This function retrieves a file from the FTP server and stores it under the specified file name, creating a new local file in the process. |
|
This function retrieves the file size of the requested FTP resource. |
|
This function initiates access to a remote file for writing or reading. |
|
This function stores a file on the FTP server. |
|
This function stores a file on the FTP server. |
|
This function removes the specified directory on the FTP server. |
|
This function renames a file stored on the FTP server. |
|
This function changes to a different working directory on the FTP server. |
|
This function retrieves data about a cache entry. |
|
This function searches for the Uniform Resource Locator (URL) after translating any cached redirections applied in offline mode by the HttpSendRequest function. |
|
This function adds one or more Hypertext Transfer Protocol (HTTP) request headers to the HTTP request handle. |
|
This function ends an HTTP request that was initiated by HttpSendRequestEx. |
|
This function opens an HTTP request handle. |
|
This function queries for information about an HTTP request. |
|
This function is a prototype for an application-defined status callback function. |
|
This function attempts to make a connection to the Internet. |
|
This function allows an application to check if a connection to the Internet can be established. |
|
This function closes a single Internet handle or a subtree of Internet handles. |
|
This function combines a base and relative URL into a single URL. The resultant URL is canonicalized. |
|
This function checks for changes between secure and nonsecure URLs. |
|
This function opens an FTP or HTTP session for a specified site. |
|
This function breaks down a URL into its component parts. |
|
This function creates a URL from its component parts. |
|
This function displays a dialog box for the error that is passed to it, if an appropriate dialog box exists. |
|
This function continues a file search from a previous call to FtpFindFirstFile. |
|
This function retrieves the connected state of the local system. |
|
This function retrieves the connected state of the specified Internet connection. |
|
This function retrieves the cookie for the specified URL. |
|
This function retrieves the last WinInet function error description or server response on the thread calling this function. |
|
This function prompts the user for permission to initiate connection to a URL. |
|
This function allows the user to place a lock on the file that is being used. |
|
This function initializes an application's use of the WinInet functions. |
|
This function begins reading a complete FTP or HTTP Universal Resource Locator (URL). |
|
This function queries the amount of data available. |
|
This function queries an Internet option on the specified handle. |
|
This function reads data from a handle opened by the InternetOpenUrl, FtpOpenFile, or HttpOpenRequest function. |
|
This function reads data from a handle opened by the InternetOpenUrl, FtpOpenFile, or HttpOpenRequest function. |
|
This function creates a cookie associated with the specified URL. |
|
This function creates a cookie associated with the specified URL. |
|
This function sets a file position for InternetReadFile. |
|
This function sets an Internet option on the specified handle. |
|
This function sets an Internet option. |
|
This function sets up a callback function that WinInet functions can call as progress is made during an operation. |
|
This function formats a date and time according to the specified RFC format — as specified in the Hypertext Transfer Protocol (HTTP) Specification 1.0. |
|
This function takes an HTTP time/date string and converts it to a SYSTEMTIME structure. |
|
This function unlocks a file that was locked using InternetLockRequestFile. |
|
This function writes data to an open Internet file. |
|
This function locks the cache entry file associated with the specified URL. |
|
This function sets the specified members of the INTERNET_CACHE_ENTRY_INFO structure. |
|
This function unlocks the cache entry that was locked while the file was retrieved for use from the cache. |
|
Sets a decision on cookies for a given domain. ANSI implementation. |
|
Sets a decision on cookies for a given domain. Unicode implementation. |
|
Retrieves a decision on cookies for a given domain. ANSI implementation. |
|
Retrieves a decision on cookies for a given domain. Unicode implementation. |
|
Clears all decisions that were made about cookies on a site by site basis. |
|
Retrieves the domains and cookie settings of Web sites for which site-specific cookie regulations are set. ANSI implementation. |
|
Retrieves the domains and cookie settings of Web sites for which site-specific cookie regulations are set. Unicode implementation. |
|
Retrieves the privacy settings for a given URLZONE and PrivacyType. Unicode implementation. |
|
Sets the privacy settings for a given URLZONE and PrivacyType. Unicode implementation. |