INTERNET_CACHE_ENTRY_INFOA structure (wininet.h)
Contains information about an entry in the Internet cache.
Syntax
typedef struct _INTERNET_CACHE_ENTRY_INFOA {
DWORD dwStructSize;
LPSTR lpszSourceUrlName;
LPSTR lpszLocalFileName;
DWORD CacheEntryType;
DWORD dwUseCount;
DWORD dwHitRate;
DWORD dwSizeLow;
DWORD dwSizeHigh;
FILETIME LastModifiedTime;
FILETIME ExpireTime;
FILETIME LastAccessTime;
FILETIME LastSyncTime;
LPSTR lpHeaderInfo;
DWORD dwHeaderInfoSize;
LPSTR lpszFileExtension;
union {
DWORD dwReserved;
DWORD dwExemptDelta;
};
} INTERNET_CACHE_ENTRY_INFOA, *LPINTERNET_CACHE_ENTRY_INFOA;
Members
dwStructSize
Size of this structure, in bytes. This value can be used to help determine the version of the cache system.
lpszSourceUrlName
Pointer to a null-terminated string that contains the URL name. The string occupies the memory area at the end of this structure.
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.
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).
This member can be zero or more of the following property flags, and cache type flags listed below.
Value | Meaning |
---|---|
|
Cache entry file that has been edited externally. This cache entry type is exempt from scavenging. |
|
Partial response cache entry. |
|
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. |
|
Not currently implemented. |
|
Not currently implemented. |
The following list contains the cache type flags.
Value | Meaning |
---|---|
|
Cookie cache entry. |
|
Normal cache entry; can be deleted to recover space for new entries. |
|
Visited link cache entry. |
dwUseCount
Current number of WinINEet callers using the cache entry.
dwHitRate
Number of times the cache entry was retrieved.
dwSizeLow
Low-order portion of the file size, in bytes.
dwSizeHigh
High-order portion of the file size, in bytes.
LastModifiedTime
FILETIME structure that contains the last modified time of this URL, in Greenwich mean time format.
ExpireTime
FILETIME structure that contains the expiration time of this file, in Greenwich mean time format.
LastAccessTime
FILETIME structure that contains the last accessed time, in Greenwich mean time format.
LastSyncTime
FILETIME structure that contains the last time the cache was synchronized.
lpHeaderInfo
Pointer to a buffer that contains the header information. The buffer occupies the memory at the end of this structure.
dwHeaderInfoSize
Size of the lpHeaderInfo buffer, in TCHARs.
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.
dwReserved
dwExemptDelta
Exemption time from the last accessed time, in seconds.
Remarks
There is no cache entry size limit, so applications that need to enumerate the cache must be prepared to allocate variable-sized buffers. For more information, see Using Buffers.
Note
The wininet.h header defines INTERNET_CACHE_ENTRY_INFO as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header | wininet.h |