Hello,
This problem is related to my file system filter, but I think it is more
of a shell issue, thus the reason I posted to this group.
I have a problem where explorer keeps accessing a specific directory
that I have flagged as offline in my file system filter as it takes a
long time to retrieve the contents of the directory. In explorer, if I
click the + sign that opens up that directory, it then proceeds to go
through all subdirectories one level down.
For example:
\Rob\test1\
\Rob\test2\
clicking on “Rob” shows the directory with test1 and test2 just fine. I
now click on the + sign, and it starts accessing test1 and test2. I
found one case where it sends down a create request using Extended
attributes (.OpenIfJP) that I now fail with access denied, but it still
enumerates the directories under it.
Explorer shows the folders (test1,test2) as offline.
I found that SHELL32!CFSFolder_GetAttributesOf is the function that
causes the access. It ends up calling CFSFolder_EnumObjects. How can I
prevent explorer from doing this, as it blocks until it is done (upwards
of an hour).
Thanks,
Rob