In my pre-create routine, I need to get some file attribute data before pass
down or reject the CREATE request. If I can directly copy the callback-data
and file object, then call FltPerformSynchronousIo, the performance should
be better than calling FltCreateFileEx. Because calling FltCreateFileEx
needs to compose a file path, initialize file attributes and set other
create options, which eventually causes other operations such as parsing the
file path again. Has someone already done this successfully? Any comment is
appreciated.
“Shangwu” wrote in message news:xxxxx@ntfsd… > Hi, > > In my pre-create routine, I need to get some file attribute data before > pass down or reject the CREATE request. If I can directly copy the > callback-data and file object, then call FltPerformSynchronousIo, the > performance should be better than calling FltCreateFileEx. Because calling > FltCreateFileEx needs to compose a file path, initialize file attributes > and set other create options, which eventually causes other operations > such as parsing the file path again. Has someone already done this > successfully? Any comment is appreciated. > > Shangwu > >