Freigeben über


WinInet Functions (Windows CE 5.0)

Send Feedback

On Windows CE, 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
CommitUrlCacheEntry This function stores data in the specified file in the Internet cache and associates it with the given Uniform Resource Locator (URL).
CreateUrlCacheEntry This function creates a local file name for saving the cache entry based on the specified URL and the file extension.
CreateUrlCacheGroup This function generates cache group identifications.
DeleteUrlCacheEntry This function removes the file associated with the source name from the cache, if the file exists.
DeleteUrlCacheGroup This function releases the specified GROUPID and any associated state in the cache index file.
FindCloseUrlCache This function closes the specified cache enumeration handle.
FindFirstUrlCacheEntry This function begins the enumeration of the Internet cache.
FindFirstUrlCacheEntryEx This function begins a filtered enumeration of the Internet cache.
FindFirstUrlCacheGroup This function initiates the enumeration of the cache groups in the Internet cache.
FindNextUrlCacheEntry This function retrieves the next entry in the Internet cache.
FindNextUrlCacheEntryEx This function 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 This function issues an arbitrary FTP command to the FTP server.
FtpCreateDirectory This function creates a new directory on the FTP server.
FtpDeleteFile This function deletes a file stored on the FTP server.
FtpFindFirstFile This function searches the specified directory of the specified FTP session.
FtpGetCurrentDirectory This function retrieves the current directory for the specified FTP session.
FtpGetFile 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.
FtpGetFileEx 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.
FtpGetFileSize This function retrieves the file size of the requested FTP resource.
FtpOpenFile This function initiates access to a remote file for writing or reading.
FtpPutFile This function stores a file on the FTP server.
FtpPutFileEx This function stores a file on the FTP server.
FtpRemoveDirectory This function removes the specified directory on the FTP server.
FtpRenameFile This function renames a file stored on the FTP server.
FtpSetCurrentDirectory This function changes to a different working directory on the FTP server.
GetUrlCacheEntryInfo This function retrieves data about a cache entry.
GetUrlCacheEntryInfoEx This function searches for the Uniform Resource Locator (URL) after translating any cached redirections applied in offline mode by the HttpSendRequest function.
GetUrlCacheGroupAttribute Retrieves the attribute information of the specified cache group.
HttpAddRequestHeaders This function adds one or more Hypertext Transfer Protocol (HTTP) request headers to the HTTP request handle.
HttpEndRequest This function ends an HTTP request that was initiated by HttpSendRequestEx.
HttpOpenRequest This function opens an HTTP request handle.
HttpQueryInfo This function queries for information about an HTTP request.
INTERNET_STATUS_CALLBACK This function is a prototype for an application-defined status callback function.
InternetAttemptConnect This function attempts to make a connection to the Internet.
InternetCheckConnection This function allows an application to check if a connection to the Internet can be established.
InternetCloseHandle This function closes a single Internet handle or a subtree of Internet handles.
InternetCombineUrl This function combines a base and relative URL into a single URL. The resultant URL is canonicalized.
InternetConfirmZoneCrossing This function checks for changes between secure and nonsecure URLs.
InternetConnect This function opens an FTP or HTTP session for a specified site.
InternetCrackUrl This function breaks down a URL into its component parts.
InternetCreateUrl This function creates a URL from its component parts.
InternetErrorDlg This function displays a dialog box for the error that is passed to it, if an appropriate dialog box exists.
InternetFindNextFile This function continues a file search from a previous call to FtpFindFirstFile.
InternetGetConnectedState This function retrieves the connected state of the local system.
InternetGetConnectedStateEx This function retrieves the connected state of the specified Internet connection.
InternetGetCookie This function retrieves the cookie for the specified URL.
InternetGetLastResponseInfo This function retrieves the last WinInet function error description or server response on the thread calling this function.
InternetGoOnline This function prompts the user for permission to initiate connection to a URL.
InternetLockRequestFile This function allows the user to place a lock on the file that is being used.
InternetOpen This function initializes an application's use of the WinInet functions.
InternetOpenUrl This function begins reading a complete FTP or HTTP Universal Resource Locator (URL).
InternetQueryDataAvailable This function queries the amount of data available.
InternetQueryOption This function queries an Internet option on the specified handle.
InternetReadFile This function reads data from a handle opened by the InternetOpenUrl, FtpOpenFile, or HttpOpenRequest function.
InternetReadFileEx This function reads data from a handle opened by the InternetOpenUrl, FtpOpenFile, or HttpOpenRequest function.
InternetSetCookie This function creates a cookie associated with the specified URL.
InternetSetCookieEx This function creates a cookie associated with the specified URL.
InternetSetFilePointer This function sets a file position for InternetReadFile.
InternetSetOption This function sets an Internet option on the specified handle.
InternetSetOptionEx This function sets an Internet option.
InternetSetStatusCallback This function sets up a callback function that WinInet functions can call as progress is made during an operation.
InternetTimeFromSystemTime This function formats a date and time according to the specified RFC format — as specified in the Hypertext Transfer Protocol (HTTP) Specification 1.0.
InternetTimeToSystemTime This function takes an HTTP time/date string and converts it to a SYSTEMTIME structure.
InternetUnlockRequestFile This function unlocks a file that was locked using InternetLockRequestFile.
InternetWriteFile This function writes data to an open Internet file.
ReadUrlCacheEntryStream Reads the cached data from a stream that has been opened using the RetrieveUrlCacheEntryStream function.
RetrieveUrlCacheEntryFile This function locks the cache entry file associated with the specified URL.
RetrieveUrlCacheEntryStream This function provides the most efficient and implementation-independent way to access the cache data.
SetUrlCacheEntryGroup This function adds entries to or removes entries from a cache group.
SetUrlCacheGroupAttribute This function sets the attribute information of the specified cache group.
SetUrlCacheEntryInfo This function sets the specified members of the INTERNET_CACHE_ENTRY_INFO structure.
UnlockUrlCacheEntryFile This function unlocks the cache entry that was locked while the file was retrieved for use from the cache.
UnlockUrlCacheEntryStream This function closes the stream that has been retrieved using the RetrieveUrlCacheEntryStream function
InternetSetPerSiteCookieDecisionA Sets a decision on cookies for a given domain. ANSI implementation.
InternetSetPerSiteCookieDecisionW Sets a decision on cookies for a given domain. Unicode implementation.
InternetGetPerSiteCookieDecisionA Retrieves a decision on cookies for a given domain. ANSI implementation.
InternetGetPerSiteCookieDecisionW Retrieves a decision on cookies for a given domain. Unicode implementation.
InternetClearAllPerSiteCookieDecisions Clears all decisions that were made about cookies on a site by site basis.
InternetEnumPerSiteCookieDecisionA Retrieves the domains and cookie settings of Web sites for which site-specific cookie regulations are set. ANSI implementation.
InternetEnumPerSiteCookieDecisionW Retrieves the domains and cookie settings of Web sites for which site-specific cookie regulations are set. Unicode implementation.
PrivacySetZonePreferenceW Retrieves the privacy settings for a given URLZONE and PrivacyType. Unicode implementation.
PrivacyGetZonePreferenceW Sets the privacy settings for a given URLZONE and PrivacyType. Unicode implementation.

See Also

WinInet Reference

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.