Question: How to stop Dokany to read whole file? #1137
-
I want the following MirrorReadFile function to read only first 1024 bytes from each file instead of reading whole file of several mega bytes. dokany/samples/dokan_mirror/mirror.c Line 558 in e115efc How to let Dokany know and stop calling MirrorReadFile again for reading whole file? Assume all files are at least 1024 bytes in size. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @shujaat-github , It not Dokan who decide how much of the file needs to be read. Dokan only forwards the requests made by the system and the applications accessing those files. You can use Procmon or use the ProcessId field in dokan info to find out who is reading the file. |
Beta Was this translation helpful? Give feedback.
Hi @shujaat-github ,
It not Dokan who decide how much of the file needs to be read. Dokan only forwards the requests made by the system and the applications accessing those files. You can use Procmon or use the ProcessId field in dokan info to find out who is reading the file.