EldoS | Feel safer!

Software components for data protection, secure storage and transfer

CallbackDisk - CD Emulation

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

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 3714 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!