How to restrict the explorer to issue IRP_MJ_QUERY_DIRECTORY only for the opened folder

Hi All

Is there any way to restrict the explorer calling the
IRP_MJ_QUERY_DIRECTORY for some scenarios?.. My file system driver works
fine but what I wanted to do is something like this…

Each time I get a IRP_MJ_QUERY_DIRECTORY I use to download the
details from the FTP and send the info back to system, but immediately
after this, the driver again issues the same IOCTL for the subfolders
with returnsingleentry flag as true.
here I wanted to avoid the explorer issuing the IOCTL for
subfolders …so that the file system will download only the expanded
folder(user double clicks or expands thru tree-view in explorer )
details.

Any help would be greatly appreciated… Thanks in advance

-regards
K.Raju