EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Question about CbFsGetFileInfo callback

Also by EldoS: MsgConnect
Cross-platform protocol-independent communication framework for building peer-to-peer and client-server applications and middleware components.
#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 (EldoS Corp.)

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 1755 times

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




|

Back to top

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

Got it!