public static class Wininet.INTERNET_CACHE_ENTRY_INFO extends Structure
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 | Description |
---|---|---|
static class |
Wininet.INTERNET_CACHE_ENTRY_INFO.UNION |
A union of the last two distinct fields in INTERNET_CACHE_ENTRY_INFO
|
Structure.ByReference, Structure.ByValue, Structure.StructField
Modifier and Type | Field | Description |
---|---|---|
byte[] |
additional |
Additional data (the path and URLs mentioned previously, and more)
|
int |
CacheEntryType |
A bitmask indicating the type of cache entry and its properties.
The cache entry types include: history entries (URLHISTORY_CACHE_ENTRY), cookie entries (COOKIE_CACHE_ENTRY), and normal cached content (NORMAL_CACHE_ENTRY). |
int |
dwHeaderInfoSize |
Size of the lpHeaderInfo buffer, in TCHARs.
|
int |
dwHitRate |
Number of times the cache entry was retrieved.
|
int |
dwSizeHigh |
High-order portion of the file size, in bytes.
|
int |
dwSizeLow |
Low-order portion of the file size, in bytes.
|
int |
dwStructSize |
Size of this structure, in bytes.
|
int |
dwUseCount |
Current number of WinInet callers using the cache entry.
|
WinBase.FILETIME |
ExpireTime |
FILETIME structure that contains the expiration time of this file, in
Greenwich mean time format.
|
static java.util.List<java.lang.String> |
FIELDS |
|
WinBase.FILETIME |
LastAccessTime |
FILETIME structure that contains the last accessed time, in Greenwich
mean time format.
|
WinBase.FILETIME |
LastModifiedTime |
FILETIME structure that contains the last modified time of this URL,
in Greenwich mean time format.
|
WinBase.FILETIME |
LastSyncTime |
FILETIME structure that contains the last time the cache was
synchronized.
|
Pointer |
lpHeaderInfo |
Pointer to a buffer that contains the header information.
|
Pointer |
lpszFileExtension |
Pointer to a string that contains the file name extension used to
retrieve the data as a file.
|
Pointer |
lpszLocalFileName |
Pointer to a null-terminated string that contains the local file
name.
|
Pointer |
lpszSourceUrlName |
Pointer to a null-terminated string that contains the URL name.
|
Wininet.INTERNET_CACHE_ENTRY_INFO.UNION |
u |
A union of the last two distinct fields in INTERNET_CACHE_ENTRY_INFO
|
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
Constructor | Description |
---|---|
INTERNET_CACHE_ENTRY_INFO(int size) |
Modifier and Type | Method | Description |
---|---|---|
protected java.util.List<java.lang.String> |
getFieldOrder() |
Return this Structure's field names in their proper order.
|
java.lang.String |
toString() |
If
jna.dump_memory is true, will include a native memory dump
of the Structure's backing memory. |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setStringEncoding, size, sortFields, toArray, toArray, toString, useMemory, useMemory, write, writeField, writeField, writeField
public static final java.util.List<java.lang.String> FIELDS
public int dwStructSize
public Pointer lpszSourceUrlName
public Pointer lpszLocalFileName
public int CacheEntryType
public int dwUseCount
public int dwHitRate
public int dwSizeLow
public int dwSizeHigh
public WinBase.FILETIME LastModifiedTime
public WinBase.FILETIME ExpireTime
public WinBase.FILETIME LastAccessTime
public WinBase.FILETIME LastSyncTime
public Pointer lpHeaderInfo
public int dwHeaderInfoSize
public Pointer lpszFileExtension
public Wininet.INTERNET_CACHE_ENTRY_INFO.UNION u
public byte[] additional
protected java.util.List<java.lang.String> getFieldOrder()
Structure
protected List getFieldOrder() {
return Arrays.asList(new String[] { ... });
}
IMPORTANT
When deriving from an existing Structure subclass, ensure that
you augment the list provided by the superclass, e.g.
protected List getFieldOrder() {
List fields = new ArrayList(super.getFieldOrder());
fields.addAll(Arrays.asList(new String[] { ... }));
return fields;
}
Field order must be explicitly indicated, since the
field order as returned by Class.getFields()
is not
guaranteed to be predictable.getFieldOrder
in class Structure