I want to save as a tif LZW file to jpg file via mspaint application. In case we have small image file or tiff file without LZW compress method, there isn't any problem.
I use STATUS_REPARSE in my driver code to create reparsed file per sensitive original file(sensitive file detected via it's signature) and when i get SetRenameInformation request over reparsed file, I get ACCESS_DENIED. Then save as result is a dialog with error message ("Paint cannot save this file. Save was interrupted.")
In fact when i load my driver in file system, save as tif lzw to jpg, creates multiple .TMP files in Temp location of windows, then try to rename between them and rename to reparsed file(reparsed file is a fake file of original file that created by irp-create on original file. fake file has a handle of original file).
without driver there is only one .TMP file in temp of windows.
what's your solution about this bug?
there is two flags in FILE_RENAME_INFORMATION structure:
that covers this problem in win10:
there is same solution for windows 8.1 x64?
It looks like you're new here. If you want to get involved, click one of these buttons!
|Upcoming OSR Seminars||Kernel Debugging||30 Mar 2020||OSR Seminar Space|
|Writing WDF Drivers||13 April 2020||OSR Seminar Space & ONLINE|
|Developing Minifilters||20 Apr 2020||OSR Seminar Space & ONLINE|
|Internals & Software Drivers||TBD||Dulles, VA|