Reading a sector from 2nd session of a CD-ROM

I have posted this on ntfsd with no luck; I hope
someone here (maybe microsoft people) can help me…

Why I cannot read sectors of second session of a
multi-session CD-ROM using the method described in the
MSDN KB138434? Any suggestions?

Also, I have tried IOCTL_CDROM_RAW_READ, and it works
fine on some machines, but when I try exactly the same
code on my new laptop with a DVD burner / WinXP Home
Ed., it fails. Any hints?

Thanks in advance,

Farshid Mossaiby


Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢
http://photos.yahoo.com/ph/print_splash

Could you please define “fails”? Does it give you an error? Does it give you the wrong data? Does it give you no data?

Thanks,
-p

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Farshid Mossaiby
Sent: Wednesday, April 21, 2004 12:55 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Reading a sector from 2nd session of a CD-ROM

I have posted this on ntfsd with no luck; I hope someone here (maybe microsoft people) can help me…

Why I cannot read sectors of second session of a multi-session CD-ROM using the method described in the MSDN KB138434? Any suggestions?

Also, I have tried IOCTL_CDROM_RAW_READ, and it works fine on some machines, but when I try exactly the same code on my new laptop with a DVD burner / WinXP Home Ed., it fails. Any hints?

Thanks in advance,

Farshid Mossaiby


Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25? http://photos.yahoo.com/ph/print_splash


Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com To unsubscribe send a blank email to xxxxx@lists.osr.com

Thanks for your reply.

GetLastError() returns 0, and no error is reported,
but BytesRead = 0 and no data is returned.

Thanks again,
Farshid Mossaiby


Could you please define “fails”? Does it give you an
error? Does it =
give you the wrong data? Does it give you no data?=20

Thanks,
-p


Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢
http://photos.yahoo.com/ph/print_splash

Still no hints or suggestions?


Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢
http://photos.yahoo.com/ph/print_splash

Try posting your source code, and readers may be better able to help
you.

Chuck

----- Original Message -----
From: “Farshid Mossaiby”
To: “Windows System Software Devs Interest List”
Sent: Monday, April 26, 2004 2:31 PM
Subject: Re:[ntdev] RE: Reading a sector from 2nd session of a CD-ROM

> Still no hints or suggestions?