EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Question about CbFsGetFileInfo callback

Also by EldoS: CallbackProcess
A component to control process creation and termination in Windows and .NET applications.
#9208
Posted: 03/10/2009 17:52:36
by Sid Schipper (Standard support level)
Joined: 03/14/2008
Posts: 285

In the callback function CbFsGetFileInfo there is a passed in pointer called *EndOfFile. My question is, if I change *EndOfFile to a new value and pass back *FileExists as TRUE, does the CbFs Windows Kernel Driver pass that information on to the Windows operating system? In other words, does Windows now believe that the size of the file is the new value that I passed to CbFs?
#9212
Posted: 03/11/2009 01:42:02
by Volodymyr Zinin (Team)

Yes, it does. Because neither the system nor the CallbackFS driver don't know about the requested file. Sure, the file could be opened before. But it has already been closed and there is no any information about it left in the system (and in the driver).

Reply

Statistics

Topic viewed 2042 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!