wininet api help

Thanks to all who read my plea.

I have been working on a program for work that would parse out 'visted' links from the ie history cache. This will be part of a monitoring program to track time used on websites that are beyond the scope of an employees duties. For reasons beyond my understanding, our company won't create a whitelist and enforce with currently available server software applications.

I have studied several examples and have been able to successfully get FindFirstUrlCacheGroup, FindFirstUrlCacheEntry, FindNextUrlCacheEntry, DeleteUrlCacheGroup, and DeleteUrlCacheEntry to work. I however am unable to get FindFirstUrlEntryEx and FindNextUrlEntry to give out any information at all.

It is my understanding that the first set of functions retrieve all entries. This includes cookies, visted and urls. I have so far thined out the results a little by excluding image and script extensions to just get url's. Thus far I have been getting results that are beyond visted links. This would included ad click links for a websites advertisers.

I have also become a little lost in msdn at finding dwFilter bitmask value for the above underlined wininet functions. It says the different possiblites but finding the value is a loss to me.

Any pointers, links, or books that would illuminate my quest at api and c# will be greatly appreciated.




Answer this question

wininet api help

  • RajLakamana

    Best of Luck!

    Best Regards,

    Rizwan



  • cwinfough

    Thank you very much, I will be using and helping to update this site for some time! This will be a fantastic resource!

    I would like to rephrase my question a bit thou.. I guess what I am trying to is to get the visted links from the internet cache entry file. I am very close, but my lists still hold the urls for advertistments used at a site (.like wired.com.. they use ad.doubleclick.net)..

    Another way to handle this project would to be to write and add-on for IE that loads a approved list off server and blocks anything else.

    Thanks again for the link, I appreciate it and know it will help immediately!

    Peace



  • averge joe

    See:

    http://pinvoke.net

    It lists the managed usage of about all native APIs found in Windows!

    Just Searh your functiosn or browse from the Tree in the left side...

    I hope u'll get the right thing there.

    Best Regards,



  • wininet api help