I've been trying to define struct INTERNET_CACHE_ENTRY_INFO in my include file but always get syntax error. Does anybody know if this structure is defined in the MASM wininet.inc or .lib files? Maybe that could be the problem. I got a wininet.h file from C with this typedef but can't use this in MASM can I?

Any help appreciated cuz I cant use many wininet.dll functions without this structure.

best regards,

czDrillard
Posted on 2001-12-10 00:04:19 by czDrillard
INTERNET_CACHE_ENTRY_INFO is defined in windows.inc, maybe you are redefining it?

Thomas
Posted on 2001-12-10 04:13:45 by Thomas
Thanks Thomas but I opened windows.inc with word pad and search for INTERNET_CACHE_ENTRY_INFO - nothing found. The date on my windows.inc is April 28, 1999. Where can I get version with this definition?

best regards,

czDrillard
Posted on 2001-12-10 09:00:10 by czDrillard
You can find it at Iczelion's site, here.

Hope this helps
Posted on 2001-12-10 10:30:37 by rir3760
The header says "WINDOWS.INC for 32 bit MASM (Version 1.25a) 22 October 2001"

Here it is:


INTERNET_CACHE_ENTRY_INFOA STRUCT
dwStructSize dd ?
lpszSourceUrlName dd ?
lpszLocalFileName dd ?
CacheEntryType dd ?
dwUseCount dd ?
dwHitRate dd ?
dwSizeLow dd ?
dwSizeHigh dd ?
LastModifiedTime FILETIME <>
ExpireTime FILETIME <>
LastAccessTime FILETIME <>
LastSyncTime FILETIME <>
lpHeaderInfo dd ?
dwHeaderInfoSize dd ?
lpszFileExtension dd ?
union
dwReserved dd ?
dwExemptDelta dd ?
ENDS
INTERNET_CACHE_ENTRY_INFOA ENDS
INTERNET_CACHE_ENTRY_INFO equ <INTERNET_CACHE_ENTRY_INFOA>


Thomas
Posted on 2001-12-10 10:33:03 by Thomas
Hey, hey,

My best thanks to both Thomas and rir3760 for helping :)
Everything is working now and in control.

best regards,

czDrillard
Posted on 2001-12-11 00:08:43 by czDrillard