EldoS | Feel safer!

Software components for data protection, secure storage and transfer

CallbackDisk - CD Emulation

Posted: 07/24/2009 08:13:16
by Roman Mashta (Basic support level)
Joined: 07/01/2009
Posts: 1

How exactly CD should be emulated?
I used to set StorageType property of CBDisk object to CBDiskStorageType.stDisk. And it appears in system as CD/DVD device. But Read Callbacks always called with Offset equals to 0. How exactly should be CDRom emulated in case of ISO as source image? Should ISO Stream be pre seeked to some particular offset? Can you provide some sample?
Posted: 07/24/2009 09:28:25
by Eugene Mayevski (Team)

All CallbackDisk does is forward OS requests to read or write disk contents. It's your job to handle whatever image file formats you want to support and adjust offsets accordingly.

Sincerely yours
Eugene Mayevski



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