Intercept reading from CD-ROM

Hello!

Sorry for stupid question - i am just a beginner :wink:

I want intercept reading data from CD-ROM (in “raw” form, like
or ). What is the “right” way to do it? That device i must
attach and filter?

I try attaching to \Device\CdRom0 but something went wrong. I can’t get any
IRP_MJ_READ - only some DEVICE_CONTROL.

BTW. I take a look at cdrom.sys sources in NTDDK and get confused. Look like
it work together with classpnp.sys driver and
ClasspStartIo directly jump to CdRomStartIo (is it “good” way to communicate
between 2 drivers??).

Vladimir


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

You must attach before CDFSD loads.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Vladimir E. Ignatov
Sent: Wednesday, February 21, 2001 12:08 AM
To: NT Developers Interest List
Subject: [ntdev] Intercept reading from CD-ROM

Hello!

Sorry for stupid question - i am just a beginner :wink:

I want intercept reading data from CD-ROM (in “raw” form, like

> or ). What is the “right” way to do it? That device i must
> attach and filter?
>
> I try attaching to \Device\CdRom0 but something went wrong. I
> can’t get any
> IRP_MJ_READ - only some DEVICE_CONTROL.
>
> BTW. I take a look at cdrom.sys sources in NTDDK and get
> confused. Look like
> it work together with classpnp.sys driver and
> ClasspStartIo directly jump to CdRomStartIo (is it “good” way to
> communicate
> between 2 drivers??).
>
> Vladimir
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com