Hi,
I am trying to clear web cache from an agent by using api functions. But when I declare certain functions I get error. Anyone know what could be problem. Below is declare statements
Declare Function FindFirstUrlCacheGroup Lib “wininet.dll” (ByVal dwFlags As Long, ByVal dwFilter As Long, ByRef lpSearchCondition As Long, ByVal dwSearchCondition As Long, ByRef lpGroupId As Date, ByRef lpReserved As Long) As Long
Declare Function FindNextUrlCacheGroup Lib “wininet.dll” (ByVal hFind As Long, ByRef lpGroupId As Date, ByRef lpReserved As Long) As Long
Declare Function DeleteUrlCacheGroup Lib “wininet.dll” ( ByVal sGroupID As Date, ByVal dwFlags As Long, ByRef lpReserved As Long) As Long
Declare Function FindFirstUrlCacheEntry Lib “wininet.dll” Alias “FindFirstUrlCacheEntryA” (ByVal lpszUrlSearchPattern As String, ByRef lpFirstCacheEntryInfo As INTERNET_CACHE_ENTRY_INFO, ByRef lpdwFirstCacheEntryInfoBufferSize As Long) As Long