Package com.sun.jna.platform.win32
Schnittstelle Wininet
- Alle Superschnittstellen:
AltCallingConvention
,Library
,StdCall
,StdCallLibrary
Functions in WinInet.dll
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypSchnittstelleBeschreibungstatic class
Contains information about an entry in the Internet cache.Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen com.sun.jna.Library
Library.Handler
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen com.sun.jna.win32.StdCallLibrary
StdCallLibrary.StdCallCallback
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final int
Cookie cache entry.static final int
Cache entry file that has been edited externally.static final Wininet
A usable instance of this interfacestatic final int
Normal cache entry; can be deleted to recover space for new entries.static final int
Partial response cache entry.static final int
Sticky cache entry that is exempt from scavenging for the amount of time specified by dwExemptDelta.
The default value set by CommitUrlCacheEntryA and CommitUrlCacheEntryW is one day.static final int
Not currently implemented.static final int
Not currently implemented.static final int
Visited link cache entry.Von Schnittstelle geerbte Felder com.sun.jna.Library
OPTION_ALLOW_OBJECTS, OPTION_CALLING_CONVENTION, OPTION_CLASSLOADER, OPTION_FUNCTION_MAPPER, OPTION_INVOCATION_MAPPER, OPTION_OPEN_FLAGS, OPTION_STRING_ENCODING, OPTION_STRUCTURE_ALIGNMENT, OPTION_SYMBOL_PROVIDER, OPTION_TYPE_MAPPER
Von Schnittstelle geerbte Felder com.sun.jna.win32.StdCallLibrary
FUNCTION_MAPPER, STDCALL_CONVENTION
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
DeleteUrlCacheEntry
(String lpszUrlName) boolean
FindCloseUrlCache
(WinNT.HANDLE hFind) Closes the specified cache enumeration handle.FindFirstUrlCacheEntry
(String lpszUrlSearchPattern, Wininet.INTERNET_CACHE_ENTRY_INFO lpFirstCacheEntryInfo, IntByReference lpcbCacheEntryInfo) Begins the enumeration of the Internet cache.boolean
FindNextUrlCacheEntry
(WinNT.HANDLE hEnumHandle, Wininet.INTERNET_CACHE_ENTRY_INFO lpNextCacheEntryInfo, IntByReference lpcbCacheEntryInfo)
-
Felddetails
-
INSTANCE
A usable instance of this interface -
NORMAL_CACHE_ENTRY
static final int NORMAL_CACHE_ENTRYNormal cache entry; can be deleted to recover space for new entries.- Siehe auch:
-
STICKY_CACHE_ENTRY
static final int STICKY_CACHE_ENTRYSticky cache entry that is exempt from scavenging for the amount of time specified by dwExemptDelta.
The default value set by CommitUrlCacheEntryA and CommitUrlCacheEntryW is one day.- Siehe auch:
-
EDITED_CACHE_ENTRY
static final int EDITED_CACHE_ENTRYCache entry file that has been edited externally. This cache entry type is exempt from scavenging.- Siehe auch:
-
TRACK_OFFLINE_CACHE_ENTRY
static final int TRACK_OFFLINE_CACHE_ENTRYNot currently implemented.- Siehe auch:
-
TRACK_ONLINE_CACHE_ENTRY
static final int TRACK_ONLINE_CACHE_ENTRYNot currently implemented.- Siehe auch:
-
SPARSE_CACHE_ENTRY
static final int SPARSE_CACHE_ENTRYPartial response cache entry.- Siehe auch:
-
COOKIE_CACHE_ENTRY
static final int COOKIE_CACHE_ENTRYCookie cache entry.- Siehe auch:
-
URLHISTORY_CACHE_ENTRY
static final int URLHISTORY_CACHE_ENTRYVisited link cache entry.- Siehe auch:
-
-
Methodendetails
-
FindCloseUrlCache
Closes the specified cache enumeration handle.- Parameter:
hFind
- Handle returned by a previous call to the FindFirstUrlCacheEntry function.- Gibt zurück:
- Returns TRUE if successful, or FALSE otherwise. To get extended error information, call GetLastError.
-
DeleteUrlCacheEntry
- Parameter:
lpszUrlName
- String that contains the name of the source that corresponds to the cache entry.- Gibt zurück:
- Returns TRUE if successful, or FALSE otherwise.
To get extended error information, call GetLastError.
Possible error values include the following.
- ERROR_ACCESS_DENIED:The file is locked or in use. The entry is marked and deleted when the file is unlocked.
- ERROR_FILE_NOT_FOUND:The file is not in the cache.
-
FindFirstUrlCacheEntry
WinNT.HANDLE FindFirstUrlCacheEntry(String lpszUrlSearchPattern, Wininet.INTERNET_CACHE_ENTRY_INFO lpFirstCacheEntryInfo, IntByReference lpcbCacheEntryInfo) Begins the enumeration of the Internet cache.- Parameter:
lpszUrlSearchPattern
- A pointer to a string that contains the source name pattern to search for.
This parameter can only be set to "cookie:", "visited:", or NULL.
Set this parameter to "cookie:" to enumerate the cookies or "visited:" to enumerate the URL History entries in the cache.
If this parameter is NULL, FindFirstUrlCacheEntry returns all content entries in the cache.lpFirstCacheEntryInfo
- Pointer to an INTERNET_CACHE_ENTRY_INFO structure.lpcbCacheEntryInfo
- Pointer to a variable that specifies the size of the lpFirstCacheEntryInfo buffer, in bytes.
When the function returns, the variable contains the number of bytes copied to the buffer, or the required size needed to retrieve the cache entry, in bytes.- Gibt zurück:
- Returns a handle that the application can use in the
FindNextUrlCacheEntry function to retrieve subsequent entries in
the cache.
If the function fails, the return value is NULL. To get extended error information, call GetLastError.
ERROR_INSUFFICIENT_BUFFER indicates that the size of lpFirstCacheEntryInfo as specified by lpdwFirstCacheEntryInfoBufferSize is not sufficient to contain all the information.
The value returned in lpdwFirstCacheEntryInfoBufferSize indicates the buffer size necessary to contain all the information.
-
FindNextUrlCacheEntry
boolean FindNextUrlCacheEntry(WinNT.HANDLE hEnumHandle, Wininet.INTERNET_CACHE_ENTRY_INFO lpNextCacheEntryInfo, IntByReference lpcbCacheEntryInfo) - Parameter:
hEnumHandle
- Handle to the enumeration obtained from a previous call to FindFirstUrlCacheEntry.lpNextCacheEntryInfo
- Pointer to an INTERNET_CACHE_ENTRY_INFO structure that receives information about the cache entry.lpcbCacheEntryInfo
- Pointer to a variable that specifies the size of the lpNextCacheEntryInfo buffer, in bytes.
When the function returns, the variable contains the number of bytes copied to the buffer, or the size of the buffer required to retrieve the cache entry, in bytes.- Gibt zurück:
- Returns TRUE if successful, or FALSE otherwise.
To get extended error information, call GetLastError.
Possible error values include the following.
- ERROR_INSUFFICIENT_BUFFER:The size of
lpNextCacheEntryInfo as specified by
lpdwNextCacheEntryInfoBufferSize is not sufficient to contain all
the information.
The value returned in lpdwNextCacheEntryInfoBufferSize indicates the buffer size necessary to contain all the information. - ERROR_NO_MORE_ITEMS:The enumeration completed.
- ERROR_INSUFFICIENT_BUFFER:The size of
lpNextCacheEntryInfo as specified by
lpdwNextCacheEntryInfoBufferSize is not sufficient to contain all
the information.
-