EldoS | Feel safer!

Software components for data protection, secure storage and transfer

No Read Callbacks

Also by EldoS: CallbackRegistry
A component to monitor and control Windows registry access and create virtual registry keys.
#32099
Posted: 02/04/2015 13:55:20
by Stelios Mavridis (Basic support level)
Joined: 01/09/2015
Posts: 34

Thanks for the feedback.
It appears i had to use SetEndOfFile right after creating the VirtualFile.
It does make me wonder tough why EndOfFile on EnumerateCB does not set the filesize permanently.

ps:I think it would be a good idea to mention this in the EnumerateCB documentation page.
#32100
Posted: 02/04/2015 14:40:07
by Vladimir Cherniga (EldoS Corp.)

Quote
Stelios Mavridis wrote:
It does make me wonder tough why EndOfFile on EnumerateCB does not set the filesize permanently.

I should pay attention, that only a limited number of callback required for virtual files implementation (look at the virtual file create sample). And that callbacks are the ending part of processing. At the other side, for a regular files, callbacks serve as a proxy between user and target file system.

Reply

Statistics

Topic viewed 5723 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!