Read raw sectors off CD-ROM

Hi,

I am trying to read raw sectors of a CD-ROM using CreateFile and
ReadFile. When I try to read a sector that is not ISO 9660 then the
read fails. I want to be able to read raw sectors from a CD without
using ASPI as NT/2000/XP has not got support for it by default and I
also don’t want to use DeviceIoControl with IOCTL_SCSI_PASS_TROUGH as
you need admin privileges as of NT5 or above.

Any help would greatly be appreciated
Regards,

Ceri


This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com


Write a driver to pass IOCTL_SCSI_PASS_THROUGH requests to the CD-ROM
driver. That is what everyone else does. ASPI is a standard way to do the
same, but it is not available unless an Adaptec controller is present (or
some other approved hardware/software package).

----- Original Message -----
From: “Ceri Coburn”
To: “File Systems Developers”
Sent: Monday, June 10, 2002 10:10 AM
Subject: [ntfsd] Read raw sectors off CD-ROM

>
> Hi,
>
> I am trying to read raw sectors of a CD-ROM using CreateFile and
> ReadFile. When I try to read a sector that is not ISO 9660 then the
> read fails. I want to be able to read raw sectors from a CD without
> using ASPI as NT/2000/XP has not got support for it by default and I
> also don’t want to use DeviceIoControl with IOCTL_SCSI_PASS_TROUGH as
> you need admin privileges as of NT5 or above.
>
> Any help would greatly be appreciated
> Regards,
>
> Ceri
>
>
>
>
> This email has been scanned for all viruses by the MessageLabs SkyScan
> service. For more information on a proactive anti-virus service working
> around the clock, around the globe, visit http://www.messagelabs.com
>

>
> —
> You are currently subscribed to ntfsd as: xxxxx@yoshimuni.com
> To unsubscribe send a blank email to %%email.unsub%%
>

David,

A Driver would be no good in this case as the program will be stored on
the CD and run off the CD to play audio (not a standard audio CD so the
CDROM audio IOCTL’s wont work). So I don’t want to carry the baggage
and the problems of a driver with the CD as the user will need to
install the driver first.

Regards,
Ceri

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of David J. Craig
Sent: 10 June 2002 16:31
To: File Systems Developers
Subject: [ntfsd] Re: Read raw sectors off CD-ROM

Write a driver to pass IOCTL_SCSI_PASS_THROUGH requests to the CD-ROM
driver. That is what everyone else does. ASPI is a standard way to do
the
same, but it is not available unless an Adaptec controller is present
(or
some other approved hardware/software package).

----- Original Message -----
From: “Ceri Coburn”
To: “File Systems Developers”
Sent: Monday, June 10, 2002 10:10 AM
Subject: [ntfsd] Read raw sectors off CD-ROM

>
> Hi,
>
> I am trying to read raw sectors of a CD-ROM using CreateFile and
> ReadFile. When I try to read a sector that is not ISO 9660 then the
> read fails. I want to be able to read raw sectors from a CD without
> using ASPI as NT/2000/XP has not got support for it by default and I
> also don’t want to use DeviceIoControl with IOCTL_SCSI_PASS_TROUGH as
> you need admin privileges as of NT5 or above.
>
> Any help would greatly be appreciated
> Regards,
>
> Ceri
>
>
>
>

> This email has been scanned for all viruses by the MessageLabs SkyScan
> service. For more information on a proactive anti-virus service
working
> around the clock, around the globe, visit http://www.messagelabs.com
>

>
> —
> You are currently subscribed to ntfsd as: xxxxx@yoshimuni.com
> To unsubscribe send a blank email to %%email.unsub%%
>


You are currently subscribed to ntfsd as: xxxxx@first4internet.co.uk
To unsubscribe send a blank email to %%email.unsub%%


This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com



This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com

Then you have a problem. I don’t think any solution is possible other than
rewriting the OS to permit you to do it your way. All burning software
requires one of three things: 1) ASPI 2) Administrator access for SPTI
3) Device driver(s) to get past administrator access problem.

----- Original Message -----
From: “Ceri Coburn”
To: “File Systems Developers”
Sent: Monday, June 10, 2002 11:41 AM
Subject: [ntfsd] Re: Read raw sectors off CD-ROM

> David,
>
> A Driver would be no good in this case as the program will be stored on
> the CD and run off the CD to play audio (not a standard audio CD so the
> CDROM audio IOCTL’s wont work). So I don’t want to carry the baggage
> and the problems of a driver with the CD as the user will need to
> install the driver first.
>
> Regards,
> Ceri
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of David J. Craig
> Sent: 10 June 2002 16:31
> To: File Systems Developers
> Subject: [ntfsd] Re: Read raw sectors off CD-ROM
>
> Write a driver to pass IOCTL_SCSI_PASS_THROUGH requests to the CD-ROM
> driver. That is what everyone else does. ASPI is a standard way to do
> the
> same, but it is not available unless an Adaptec controller is present
> (or
> some other approved hardware/software package).
>
> ----- Original Message -----
> From: “Ceri Coburn”
> To: “File Systems Developers”
> Sent: Monday, June 10, 2002 10:10 AM
> Subject: [ntfsd] Read raw sectors off CD-ROM
>
>
> >
> > Hi,
> >
> > I am trying to read raw sectors of a CD-ROM using CreateFile and
> > ReadFile. When I try to read a sector that is not ISO 9660 then the
> > read fails. I want to be able to read raw sectors from a CD without
> > using ASPI as NT/2000/XP has not got support for it by default and I
> > also don’t want to use DeviceIoControl with IOCTL_SCSI_PASS_TROUGH as
> > you need admin privileges as of NT5 or above.
> >
> > Any help would greatly be appreciated
> > Regards,
> >
> > Ceri
> >
> >
> >
> >
>
> > This email has been scanned for all viruses by the MessageLabs SkyScan
> > service. For more information on a proactive anti-virus service
> working
> > around the clock, around the globe, visit http://www.messagelabs.com
> >
>

> >
> > —
> > You are currently subscribed to ntfsd as: xxxxx@yoshimuni.com
> > To unsubscribe send a blank email to %%email.unsub%%
> >
>
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@first4internet.co.uk
> To unsubscribe send a blank email to %%email.unsub%%
>
>
> This email has been scanned for all viruses by the MessageLabs SkyScan
> service. For more information on a proactive anti-virus service working
> around the clock, around the globe, visit http://www.messagelabs.com
>

>
>
>
>
> This email has been scanned for all viruses by the MessageLabs SkyScan
> service. For more information on a proactive anti-virus service working
> around the clock, around the globe, visit http://www.messagelabs.com
>

>
> —
> You are currently subscribed to ntfsd as: xxxxx@yoshimuni.com
> To unsubscribe send a blank email to %%email.unsub%%
>

David,

Thanks for your help anyways.

Regards,
Ceri

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of David J. Craig
Sent: 10 June 2002 17:04
To: File Systems Developers
Subject: [ntfsd] Re: Read raw sectors off CD-ROM

Then you have a problem. I don’t think any solution is possible other
than
rewriting the OS to permit you to do it your way. All burning software
requires one of three things: 1) ASPI 2) Administrator access for
SPTI
3) Device driver(s) to get past administrator access problem.

----- Original Message -----
From: “Ceri Coburn”
To: “File Systems Developers”
Sent: Monday, June 10, 2002 11:41 AM
Subject: [ntfsd] Re: Read raw sectors off CD-ROM

> David,
>
> A Driver would be no good in this case as the program will be stored
on
> the CD and run off the CD to play audio (not a standard audio CD so
the
> CDROM audio IOCTL’s wont work). So I don’t want to carry the baggage
> and the problems of a driver with the CD as the user will need to
> install the driver first.
>
> Regards,
> Ceri
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of David J. Craig
> Sent: 10 June 2002 16:31
> To: File Systems Developers
> Subject: [ntfsd] Re: Read raw sectors off CD-ROM
>
> Write a driver to pass IOCTL_SCSI_PASS_THROUGH requests to the CD-ROM
> driver. That is what everyone else does. ASPI is a standard way to
do
> the
> same, but it is not available unless an Adaptec controller is present
> (or
> some other approved hardware/software package).
>
> ----- Original Message -----
> From: “Ceri Coburn”
> To: “File Systems Developers”
> Sent: Monday, June 10, 2002 10:10 AM
> Subject: [ntfsd] Read raw sectors off CD-ROM
>
>
> >
> > Hi,
> >
> > I am trying to read raw sectors of a CD-ROM using CreateFile and
> > ReadFile. When I try to read a sector that is not ISO 9660 then the
> > read fails. I want to be able to read raw sectors from a CD without
> > using ASPI as NT/2000/XP has not got support for it by default and I
> > also don’t want to use DeviceIoControl with IOCTL_SCSI_PASS_TROUGH
as
> > you need admin privileges as of NT5 or above.
> >
> > Any help would greatly be appreciated
> > Regards,
> >
> > Ceri
> >
> >
> >
> >
>

> > This email has been scanned for all viruses by the MessageLabs
SkyScan
> > service. For more information on a proactive anti-virus service
> working
> > around the clock, around the globe, visit http://www.messagelabs.com
> >
>

> >
> > —
> > You are currently subscribed to ntfsd as: xxxxx@yoshimuni.com
> > To unsubscribe send a blank email to %%email.unsub%%
> >
>
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@first4internet.co.uk
> To unsubscribe send a blank email to %%email.unsub%%
>
>

> This email has been scanned for all viruses by the MessageLabs SkyScan
> service. For more information on a proactive anti-virus service
working
> around the clock, around the globe, visit http://www.messagelabs.com
>

>
>
>
>

> This email has been scanned for all viruses by the MessageLabs SkyScan
> service. For more information on a proactive anti-virus service
working
> around the clock, around the globe, visit http://www.messagelabs.com
>

>
> —
> You are currently subscribed to ntfsd as: xxxxx@yoshimuni.com
> To unsubscribe send a blank email to %%email.unsub%%
>


You are currently subscribed to ntfsd as: xxxxx@first4internet.co.uk
To unsubscribe send a blank email to %%email.unsub%%


This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com



This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com

Hello David,

DJC> ASPI is a standard way to do the same, but it is not available
DJC> unless an Adaptec controller is present (or some other approved
DJC> hardware/software package).

Since version 4.7, there are no more hardware conditions like this to
comply with. But one doesn’t know how long it will last. It seems that
this is a consequence of the spin-off of Roxio with the CD-ROM burning
software.


Best Regards
Pierre Duhem
Logiciels & Services Duhem, Paris (France)
xxxxx@macdisk.com

Use IOCTL_CDROM_RAW_READ _.

Jamey

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Ceri Coburn
Sent: Monday, June 10, 2002 7:11 AM
To: File Systems Developers
Subject: [ntfsd] Read raw sectors off CD-ROM

Hi,

I am trying to read raw sectors of a CD-ROM using CreateFile and
ReadFile. When I try to read a sector that is not ISO 9660 then the
read fails. I want to be able to read raw sectors from a CD without
using ASPI as NT/2000/XP has not got support for it by default and I
also don’t want to use DeviceIoControl with IOCTL_SCSI_PASS_TROUGH as
you need admin privileges as of NT5 or above.

Any help would greatly be appreciated
Regards,

Ceri


This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com



You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
To unsubscribe send a blank email to %%email.unsub%%_

> I am trying to read raw sectors of a CD-ROM using CreateFile and

ReadFile. When I try to read a sector that is not ISO 9660 then the

Try IOCTL_CDROM_RAW_READ. This is upper a level then SPTI, but lower
then ReadFile.

Max