谢谢讲解一下这个参数意义:FindFirstUrlCacheEntryEx(nil, 0, NORMAL_CACHE_ENTRY, 0,nil,@D, nil,

  • 主题发起人 主题发起人 ImageEn
  • 开始时间 开始时间
I

ImageEn

Unregistered / Unconfirmed
GUEST, unregistred user!
谢谢讲解一下这个参数意义:FindFirstUrlCacheEntryEx(nil, 0, NORMAL_CACHE_ENTRY, 0,nil,@D, nil, nil, nil);(50分)<br />FindFirstUrlCacheEntryEx(nil, 0, NORMAL_CACHE_ENTRY, 0,nil,@D, nil, nil, nil);<br>请问各个参数是什么意思?
 
FindFirstUrlCacheEntryEx<br>Starts a filtered enumeration of the Internet cache.<br><br>HANDLE FindFirstUrlCacheEntryEx(<br> &nbsp;LPCTSTR lpszUrlSearchPattern,<br> &nbsp;DWORD dwFlags,<br> &nbsp;DWORD dwFilter,<br> &nbsp;GROUPID GroupId,<br> &nbsp;LPINTERNET_CACHE_ENTRY_INFO lpFirstCacheEntryInfo,<br> &nbsp;LPDWORD lpdwFirstCacheEntryInfoBufferSize,<br> &nbsp;LPVOID lpReserved,<br> &nbsp;LPDWORD pcbReserved2,<br> &nbsp;LPVOID lpReserved3<br>);<br><br>Parameters<br>lpszUrlSearchPattern <br>[in] Pointer to a string that contains the search pattern to be used. Search patterns are currently not supported, so the value must be set to NULL to indicate all entries with the matching GROUPID. <br>dwFlags <br>[in] Controlls the enumeration. No flags are currently implemented; this parameter must be set to zero. <br>dwFilter <br>[in] Cache entry types that are allowed. This parameter can be any combination of the following values.Value Meaning <br>COOKIE_CACHE_ENTRY Cookie cache entry. <br>NORMAL_CACHE_ENTRY Normal cache entry; can be deleted to recover space for new entries. <br>STICKY_CACHE_ENTRY Sticky cache entry; exempt from scavenging. <br>TRACK_OFFLINE_CACHE_ENTRY Not currently implemented. <br>TRACK_ONLINE_CACHE_ENTRY Not currently implemented. <br>URLHISTORY_CACHE_ENTRY Visited link cache entry. <br><br>GroupId <br>[in] ID of the cache group to be enumerated. Set this parameter to zero to enumerate all entries that are not grouped. <br>lpFirstCacheEntryInfo <br>[out] Pointer to a INTERNET_CACHE_ENTRY_INFO structure to receive the cache entry information. <br>lpdwFirstCacheEntryInfoBufferSize <br>[in, out] Pointer to variable that indicates the size of lpFirstCacheEntryInfo, in bytes. <br>lpReserved <br>[out] Reserved. Must be NULL. <br>pcbReserved2 <br>[in, out] Reserved. Must be NULL. <br>lpReserved3 <br>[in] Reserved. Must be NULL. <br>Return Values<br>Returns a valid handle if successful, or NULL otherwise. To get specific error information, call GetLastError. If the function finds no matching files, GetLastError returns ERROR_NO_MORE_FILES.
 
后退
顶部