| Modifier and Type | Class and Description |
|---|---|
| public static class | Wininet.INTERNET_CACHE_ENTRY_INFO
Contains information about an entry in the Internet cache. |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | COOKIE_CACHE_ENTRY
Cookie cache entry. |
| public static final int | EDITED_CACHE_ENTRY
Cache entry file that has been edited externally. |
| public static final Wininet | INSTANCE
A usable instance of this interface |
| public static final int | NORMAL_CACHE_ENTRY
Normal cache entry; can be deleted to recover space for new entries. |
| public static final int | SPARSE_CACHE_ENTRY
Partial response cache entry. |
| public static final int | STICKY_CACHE_ENTRY
Sticky cache entry that is exempt from scavenging for the amount of time specified by dwExemptDelta. |
| public static final int | TRACK_OFFLINE_CACHE_ENTRY
Not currently implemented. |
| public static final int | TRACK_ONLINE_CACHE_ENTRY
Not currently implemented. |
| public static final int | URLHISTORY_CACHE_ENTRY
Visited link cache entry. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: Returns TRUE if successful, or FALSE otherwise.To get extended error information, call GetLastError. Possible error values include the following.
String that contains the name of the source that corresponds
to the cache entry. lpszUrlName)
|
| public boolean | Returns: Returns TRUE if successful, or FALSE otherwise. To get extended error information, call GetLastError.Handle returned by a previous call to the
FindFirstUrlCacheEntry function. hFindCloses the specified cache enumeration handle. |
| public WinNT. | Returns: 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. A pointer to a string that contains the source name pattern to
search for. lpszUrlSearchPattern, Wininet.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. Pointer to an INTERNET_CACHE_ENTRY_INFO structure. lpFirstCacheEntryInfo,Pointer to a variable that specifies the size of the
lpFirstCacheEntryInfo buffer, in bytes. lpcbCacheEntryInfo)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. Begins the enumeration of the Internet cache. |
| public boolean | Returns: Returns TRUE if successful, or FALSE otherwise.To get extended error information, call GetLastError. Possible error values include the following.
Handle to the enumeration obtained from a previous call to
FindFirstUrlCacheEntry. hEnumHandle,Pointer to an INTERNET_CACHE_ENTRY_INFO structure that
receives information about the cache entry. lpNextCacheEntryInfo,Pointer to a variable that specifies the size of the
lpNextCacheEntryInfo buffer, in bytes. lpcbCacheEntryInfo)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.
|
| COOKIE_CACHE_ENTRY | back to summary |
|---|---|
| public static final int COOKIE_CACHE_ENTRY Cookie cache entry. | |
| EDITED_CACHE_ENTRY | back to summary |
|---|---|
| public static final int EDITED_CACHE_ENTRY Cache entry file that has been edited externally. This cache entry type is exempt from scavenging. | |
| INSTANCE | back to summary |
|---|---|
| public static final Wininet INSTANCE A usable instance of this interface | |
| NORMAL_CACHE_ENTRY | back to summary |
|---|---|
| public static final int NORMAL_CACHE_ENTRY Normal cache entry; can be deleted to recover space for new entries. | |
| SPARSE_CACHE_ENTRY | back to summary |
|---|---|
| public static final int SPARSE_CACHE_ENTRY Partial response cache entry. | |
| STICKY_CACHE_ENTRY | back to summary |
|---|---|
| public static final int STICKY_CACHE_ENTRY Sticky cache entry that is exempt from scavenging for the amount of time
specified by dwExemptDelta. | |
| TRACK_OFFLINE_CACHE_ENTRY | back to summary |
|---|---|
| public static final int TRACK_OFFLINE_CACHE_ENTRY Not currently implemented. | |
| TRACK_ONLINE_CACHE_ENTRY | back to summary |
|---|---|
| public static final int TRACK_ONLINE_CACHE_ENTRY Not currently implemented. | |
| URLHISTORY_CACHE_ENTRY | back to summary |
|---|---|
| public static final int URLHISTORY_CACHE_ENTRY Visited link cache entry. | |
| DeleteUrlCacheEntry | back to summary |
|---|---|
public boolean DeleteUrlCacheEntry(String lpszUrlName)
| |
| FindCloseUrlCache | back to summary |
|---|---|
| public boolean FindCloseUrlCache(WinNT. Closes the specified cache enumeration handle. | |
| FindFirstUrlCacheEntry | back to summary |
|---|---|
| public WinNT. Begins the enumeration of the Internet cache.
| |
| FindNextUrlCacheEntry | back to summary |
|---|---|
public boolean FindNextUrlCacheEntry(WinNT.
| |
typedef struct _INTERNET_CACHE_ENTRY_INFO {
DWORD dwStructSize;
LPTSTR lpszSourceUrlName;
LPTSTR lpszLocalFileName;
DWORD CacheEntryType;
DWORD dwUseCount;
DWORD dwHitRate;
DWORD dwSizeLow;
DWORD dwSizeHigh;
FILETIME LastModifiedTime;
FILETIME ExpireTime;
FILETIME LastAccessTime;
FILETIME LastSyncTime;
LPTSTR lpHeaderInfo;
DWORD dwHeaderInfoSize;
LPTSTR lpszFileExtension;
union {
DWORD dwReserved;
DWORD dwExemptDelta;
};
} INTERNET_CACHE_ENTRY_INFO, *LPINTERNET_CACHE_ENTRY_INFO;
| Modifier and Type | Class and Description |
|---|---|
| public static class | Wininet.INTERNET_CACHE_ENTRY_INFO.UNION
A union of the last two distinct fields in INTERNET_CACHE_ENTRY_INFO
|
| Modifier and Type | Field and Description |
|---|---|
| public byte[] | additional
Additional data (the path and URLs mentioned previously, and more) |
| public int | CacheEntryType
A bitmask indicating the type of cache entry and its properties. |
| public int | dwHeaderInfoSize
Size of the lpHeaderInfo buffer, in TCHARs. |
| public int | dwHitRate
Number of times the cache entry was retrieved. |
| public int | dwSizeHigh
High-order portion of the file size, in bytes. |
| public int | dwSizeLow
Low-order portion of the file size, in bytes. |
| public int | dwStructSize
Size of this structure, in bytes. |
| public int | dwUseCount
Current number of WinInet callers using the cache entry. |
| public WinBase. | ExpireTime
FILETIME structure that contains the expiration time of this file, in Greenwich mean time format. |
| public WinBase. | LastAccessTime
FILETIME structure that contains the last accessed time, in Greenwich mean time format. |
| public WinBase. | LastModifiedTime
FILETIME structure that contains the last modified time of this URL, in Greenwich mean time format. |
| public WinBase. | LastSyncTime
FILETIME structure that contains the last time the cache was synchronized. |
| public Pointer | lpHeaderInfo
Pointer to a buffer that contains the header information. |
| public Pointer | lpszFileExtension
Pointer to a string that contains the file name extension used to retrieve the data as a file. |
| public Pointer | lpszLocalFileName
Pointer to a null-terminated string that contains the local file name. |
| public Pointer | lpszSourceUrlName
Pointer to a null-terminated string that contains the URL name. |
| public Wininet. | u
A union of the last two distinct fields in INTERNET_CACHE_ENTRY_INFO |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | toString()
Overrides com. jna.dump_memory is true, will include a native memory dump
of the Structure's backing memory.
|
| additional | back to summary |
|---|---|
| public byte[] additional Additional data (the path and URLs mentioned previously, and more) | |
| CacheEntryType | back to summary |
|---|---|
| public int CacheEntryType A bitmask indicating the type of cache entry and its properties.
The following list contains the cache type flags.
| |
| dwHeaderInfoSize | back to summary |
|---|---|
| public int dwHeaderInfoSize Size of the lpHeaderInfo buffer, in TCHARs. | |
| dwHitRate | back to summary |
|---|---|
| public int dwHitRate Number of times the cache entry was retrieved. | |
| dwSizeHigh | back to summary |
|---|---|
| public int dwSizeHigh High-order portion of the file size, in bytes. | |
| dwSizeLow | back to summary |
|---|---|
| public int dwSizeLow Low-order portion of the file size, in bytes. | |
| dwStructSize | back to summary |
|---|---|
| public int dwStructSize Size of this structure, in bytes. This value can be used to help determine the version of the cache system. | |
| dwUseCount | back to summary |
|---|---|
| public int dwUseCount Current number of WinInet callers using the cache entry. | |
| ExpireTime | back to summary |
|---|---|
| public WinBase. FILETIME structure that contains the expiration time of this file, in Greenwich mean time format. | |
| LastAccessTime | back to summary |
|---|---|
| public WinBase. FILETIME structure that contains the last accessed time, in Greenwich mean time format. | |
| LastModifiedTime | back to summary |
|---|---|
| public WinBase. FILETIME structure that contains the last modified time of this URL, in Greenwich mean time format. | |
| LastSyncTime | back to summary |
|---|---|
| public WinBase. FILETIME structure that contains the last time the cache was synchronized. | |
| lpHeaderInfo | back to summary |
|---|---|
| public Pointer lpHeaderInfo Pointer to a buffer that contains the header information. The buffer occupies the memory at the end of this structure. | |
| lpszFileExtension | back to summary |
|---|---|
| public Pointer lpszFileExtension Pointer to a string that contains the file name extension used to retrieve the data as a file. The string occupies the memory area at the end of this structure. | |
| lpszLocalFileName | back to summary |
|---|---|
| public Pointer lpszLocalFileName Pointer to a null-terminated string that contains the local file name. The string occupies the memory area at the end of this structure. | |
| lpszSourceUrlName | back to summary |
|---|---|
| public Pointer lpszSourceUrlName Pointer to a null-terminated string that contains the URL name. The string occupies the memory area at the end of this structure. | |
| u | back to summary |
|---|---|
| public Wininet. A union of the last two distinct fields in INTERNET_CACHE_ENTRY_INFO | |
| INTERNET_CACHE_ENTRY_INFO | back to summary |
|---|---|
| public INTERNET_CACHE_ENTRY_INFO(int size) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides com. Doc from com. If | |
union {
DWORD dwReserved;
DWORD dwExemptDelta;
};
| Modifier and Type | Field and Description |
|---|---|
| public int | dwExemptDelta
Exemption time from the last accessed time, in seconds. |
| public int | dwReserved
Reserved. |
| Access | Constructor and Description |
|---|---|
| public |
| dwExemptDelta | back to summary |
|---|---|
| public int dwExemptDelta Exemption time from the last accessed time, in seconds. | |
| dwReserved | back to summary |
|---|---|
| public int dwReserved Reserved. Must be zero. | |
| UNION | back to summary |
|---|---|
| public UNION() | |