offline file icon

Hi, All

I have a filter driver for Directory request, when someone browse the folder
and i will add the offline attribute to the files,
then i will see a small eye icon in the left botoom corner of the file icon.

For some kind of files ( XML, HTML…) the file icon will disapper.

Anyone has any idea?

Regards

Ben

It doesn’t have anything to do with filter drivers, but with
shell icon handler. Look into this registry key:

HKEY_LOCAL_MACHINE
SOFTWARE
Microsoft
Windows
CurrentVersion
Explorer
ShellIconOverlayIdentifiers
Offline Files

And also google for it, you will find more.

L.

If you are not actually setting the attribute on disk and just intercepting the directory information request then you may also need to intercept the getfileinformation requests too since they also return attributes. For instance if the application uses FindFirst/next then intercepting the directory control request is good enough, but if it uses GetFileAttributes then the GetFileInformation requests must be handled. I suggest you use procmon (http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx?PHPSESSID=d926bdd849b5aab10f7263dd7f5904f2) to see if you can determine how the attributes are queried in this case.