Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than wininet, prefix the name with the module name and a period.
public UInt32 dwStructSize;
public IntPtr lpszSourceUrlName;
public IntPtr lpszLocalFileName;
public UInt32 CacheEntryType;
public UInt32 dwUseCount;
public UInt32 dwHitRate;
public UInt32 dwSizeLow;
public UInt32 dwSizeHigh;
public FILETIME LastModifiedTime;
public FILETIME ExpireTime;
public FILETIME LastAccessTime;
public FILETIME LastSyncTime;
public IntPtr lpHeaderInfo;
public UInt32 dwHeaderInfoSize;
public IntPtr lpszFileExtension;
public ExemptDeltaOrReserverd dwExemptDeltaOrReserved;
}
VB Signature:
<StructLayout(LayoutKind.Explicit, Size:=80)> _
Public Structure INTERNET_CACHE_ENTRY_INFOA
<FieldOffset(0)> Public dwStructSize As UInt32
<FieldOffset(4)> Public lpszSourceUrlName As IntPtr
<FieldOffset(8)> Public lpszLocalFileName As IntPtr
<FieldOffset(12)> Public CacheEntryType As UInt32
<FieldOffset(16)> Public dwUseCount As UInt32
<FieldOffset(20)> Public dwHitRate As UInt32
<FieldOffset(24)> Public dwSizeLow As UInt32
<FieldOffset(28)> Public dwSizeHigh As UInt32
<FieldOffset(32)> Public LastModifiedTime As FILETIME
<FieldOffset(40)> Public ExpireTime As FILETIME
<FieldOffset(48)> Public LastAccessTime As FILETIME
<FieldOffset(56)> Public LastSyncTime As FILETIME
<FieldOffset(64)> Public lpHeaderInfo As IntPtr
<FieldOffset(68)> Public dwHeaderInfoSize As UInt32
<FieldOffset(72)> Public lpszFileExtension As IntPtr
<FieldOffset(76)> Public dwReserved As UInt32
<FieldOffset(76)> Public dwExemptDelta As UInt32
End Structure
Declare Function INTERNET_CACHE_ENTRY_INFO Lib "wininet.dll" (TODO) As TODO
User-Defined Types:
None.
Alternative Managed API:
None
Do you know one? Please contribute it!
Notes:
Above signature is not working for x64 systems. See INTERNET_CACHE_ENTRY_INFO for a version that works on both x86 and x64.
helpful tips or sample code to share for using this API in managed code?
corrections to the existing content?
variations of the signature you want to share?
additional languages you want to include?
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more).