Discussion:
IOS_SendCommand problems
(too old to reply)
vaseef
2006-06-29 04:29:34 UTC
Permalink
hi all,
i am new to this group.

i am trying to write a VxD driver to read sectors of a CD-ROM. i found
that i can do it using the ios_sendcommand, and i wrote one Vxd by
using that.

But it is not working..
Can any one post a sample to do that. or how i can read the sectors of
a CD-rom
plz..hlp

Thanks in advance
bye from vaseef
Massimo Soricetti
2006-06-29 15:19:30 UTC
Permalink
Post by vaseef
Can any one post a sample to do that. or how i can read the sectors of
a CD-rom
You should really read some on the DDK docs...
by the way: are you writing an old, old, OLD VXD? No WDM???
It's for Win98?
vaseef
2006-07-05 06:43:57 UTC
Permalink
hi,
yes i am writing VxD driver for windows 98..
i read the ddk docs many times.. but didn't get much help to read
sectors from the cd-rom.
can any one help me

regards
Vaseef
Post by Massimo Soricetti
Post by vaseef
Can any one post a sample to do that. or how i can read the sectors of
a CD-rom
You should really read some on the DDK docs...
by the way: are you writing an old, old, OLD VXD? No WDM???
It's for Win98?
Ian Blake
2006-07-05 08:20:25 UTC
Permalink
Post by vaseef
hi,
yes i am writing VxD driver for windows 98..
i read the ddk docs many times.. but didn't get much help to read
sectors from the cd-rom.
can any one help me
regards
Vaseef
1. Allocate IOP with IOS service routine via your ILB.
2. Fill in IOR for IOR_Read
3. Call criteria routine IOS service routine
4. Call IOS_SendCommand
5. In completion routine free IOP

If your data buffers come from user mode lock and unlock them.

I am weak on detail it is a long time since I first did this.

Loading...