public interface Wininet extends StdCallLibrary
Modifier and Type | Interface and Description |
---|---|
static class |
Wininet.INTERNET_CACHE_ENTRY_INFO
Contains information about an entry in the Internet cache.
|
StdCallLibrary.StdCallCallback
Library.Handler
Modifier and Type | Field and Description |
---|---|
static int |
COOKIE_CACHE_ENTRY
Cookie cache entry.
|
static int |
EDITED_CACHE_ENTRY
Cache entry file that has been edited externally.
|
static Wininet |
INSTANCE
A usable instance of this interface
|
static int |
NORMAL_CACHE_ENTRY
Normal cache entry; can be deleted to recover space for new entries.
|
static int |
SPARSE_CACHE_ENTRY
Partial response cache entry.
|
static int |
STICKY_CACHE_ENTRY
Sticky cache entry that is exempt from scavenging for the amount of time
specified by dwExemptDelta.
|
static int |
TRACK_OFFLINE_CACHE_ENTRY
Not currently implemented.
|
static int |
TRACK_ONLINE_CACHE_ENTRY
Not currently implemented.
|
static int |
URLHISTORY_CACHE_ENTRY
Visited link cache entry.
|
FUNCTION_MAPPER, STDCALL_CONVENTION
OPTION_ALLOW_OBJECTS, OPTION_CALLING_CONVENTION, OPTION_CLASSLOADER, OPTION_FUNCTION_MAPPER, OPTION_INVOCATION_MAPPER, OPTION_OPEN_FLAGS, OPTION_STRING_ENCODING, OPTION_STRUCTURE_ALIGNMENT, OPTION_TYPE_MAPPER
Modifier and Type | Method and Description |
---|---|
boolean |
DeleteUrlCacheEntry(java.lang.String lpszUrlName) |
boolean |
FindCloseUrlCache(WinNT.HANDLE hFind)
Closes the specified cache enumeration handle.
|
WinNT.HANDLE |
FindFirstUrlCacheEntry(java.lang.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) |
static final Wininet INSTANCE
static final int NORMAL_CACHE_ENTRY
static final int STICKY_CACHE_ENTRY
static final int EDITED_CACHE_ENTRY
static final int TRACK_OFFLINE_CACHE_ENTRY
static final int TRACK_ONLINE_CACHE_ENTRY
static final int SPARSE_CACHE_ENTRY
static final int COOKIE_CACHE_ENTRY
static final int URLHISTORY_CACHE_ENTRY
boolean FindCloseUrlCache(WinNT.HANDLE hFind)
hFind
- Handle returned by a previous call to the
FindFirstUrlCacheEntry function.boolean DeleteUrlCacheEntry(java.lang.String lpszUrlName)
lpszUrlName
- String that contains the name of the source that corresponds
to the cache entry.WinNT.HANDLE FindFirstUrlCacheEntry(java.lang.String lpszUrlSearchPattern, Wininet.INTERNET_CACHE_ENTRY_INFO lpFirstCacheEntryInfo, IntByReference lpcbCacheEntryInfo)
lpszUrlSearchPattern
- A pointer to a string that contains the source name pattern to
search for.lpFirstCacheEntryInfo
- Pointer to an INTERNET_CACHE_ENTRY_INFO structure.lpcbCacheEntryInfo
- Pointer to a variable that specifies the size of the
lpFirstCacheEntryInfo buffer, in bytes.boolean FindNextUrlCacheEntry(WinNT.HANDLE hEnumHandle, Wininet.INTERNET_CACHE_ENTRY_INFO lpNextCacheEntryInfo, IntByReference lpcbCacheEntryInfo)
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.