IOCTL_IS_DISK_WRITABLE Problem with CD's

Hi all

I am having a problem with the IOCTL_IS_DISK_WRITABLE call. It
works great with Floppy’s and Removable thumb drives, etc. But for CD’s,
I am having a problem. It does not matter if the drive is a CD-ROM/RW/R
or whatever. The problem that I am having is that regardless of what CD
media I am using, (burnt, stamped, etc.) it ALWAYS says it is WRITABLE.
I don’t understand why. Can anyone shed some light on this and how to
get around it?

Thanks in advance… I truly appreciate any help…

Tom

Hi Tom,

First question I would have to ask is, do you have *any* third party
software installed? If so, does this still happen when you use a clean
installation of Windows XP? Finally, is this restricted to a single
type of CD/DVD drive (i.e. only drives from one vendor)?

This behavior certainly seems unusual, and is not what I would expect
either. Two possibilities are:

(A) 3rd party software on the CD/DVD stack may modify the results of
this IOCTL.

(B) The firmware on the device reports that it is always a randomly
writable, hardware defect managed media.

Looking forward to hearing your results.
.

-----Original Message-----
From: Handal, Thomas [mailto:xxxxx@websense.com]
Sent: Thursday, February 03, 2005 1:59 PM
Subject: IOCTL_IS_DISK_WRITABLE Problem with CD’s

Hi all

I am having a problem with the IOCTL_IS_DISK_WRITABLE call. It
works great with Floppy’s and Removable thumb drives, etc. But for CD’s,
I am having a problem. It does not matter if the drive is a CD-ROM/RW/R
or whatever. The problem that I am having is that regardless of what CD
media I am using, (burnt, stamped, etc.) it ALWAYS says it is WRITABLE.
I don’t understand why. Can anyone shed some light on this and how to
get around it?

Thanks in advance… I truly appreciate any help…

Tom

Hi Henry,

Thanks for your reply. I don’t believe that there are any third
party apps on the CD/DVD stack. I have tried the driver I wrote on 3 or
4 machines and they all have the same result. Is there any other way to
determine if a CD drive is writable or not? How about detecting if it is
a CD-ROM or CD-R/RW, etc? Also for DVD-ROM or DVD-RAM? I’ve tried
everything so far that I can think of:

  1. Getting description of device and looking for “ROM” - that won’t
    work
  2. IOCTL_IS_DISK_WRITABLE - doesn’t work for CDs…
  3. Characteristics & FILE_READ_ONLY_VOLUME in kernel - doesn’t work
    and also stated as “Unreliable” by Neil Christiansen
  4. Tried asking it nicely… that doesn’t work either…
  5. Whacked it with a baseball bat a few times… stopped
    spinning-up… that wasn’t good… got a new one and asked it nicely…
    but that didn’t work…

I am SOO lost here… and it seems that it should be such a SIMPLE
thing… I have run out of hair to pull… please help me!

Please tell me about some new undocumented saving function!!! PLEASE!!!

Thanks

Tom

On 04 Feb 2005, you wrote in ntdev:

Hi Tom,

First question I would have to ask is, do you have *any* third party

software installed? If so, does this still happen when you use a
clean

installation of Windows XP? Finally, is this restricted to a single

type of CD/DVD drive (i.e. only drives from one vendor)?

This behavior certainly seems unusual, and is not what I would expect

either. Two possibilities are:

(A) 3rd party software on the CD/DVD stack may modify the results of

this IOCTL.

(B) The firmware on the device reports that it is always a randomly

writable, hardware defect managed media.

Looking forward to hearing your results.

.

-----Original Message-----

From: Handal, Thomas [mailto:xxxxx@websense.com]

Sent: Thursday, February 03, 2005 1:59 PM

Subject: IOCTL_IS_DISK_WRITABLE Problem with CD’s

Hi all

I am having a problem with the IOCTL_IS_DISK_WRITABLE call. It

works great with Floppy’s and Removable thumb drives, etc. But for
CD’s,

I am having a problem. It does not matter if the drive is a
CD-ROM/RW/R

or whatever. The problem that I am having is that regardless of what
CD

media I am using, (burnt, stamped, etc.) it ALWAYS says it is
WRITABLE.

I don’t understand why. Can anyone shed some light on this and how to

get around it?

Thanks in advance… I truly appreciate any help…

Tom

Tom Handal

Just send to device PDO IRP_MJ_SCSI with GET_CONFIGURATION (0x46) SCSI
opcode embedded to determine
which profile is active (read-only or read-write). For old hardware w/o get
config support try sending READ_DISC_INFO (0x51)
to determine disc type (you should be interested in CD-R or CD-RW only).
This kind of stuff would work always.

P.S. DVD-RAM, DVD+RW and some pre-formatted DVD-RW (restricted overwrite)
are always writable. For DVD+R, DVD-R,
CD-R and CD-RW you’ll have to send READ_DISC_INFO to see if disc has
“closed” status (no B0 pointer to next allowed session).

Regards,
Anton Kolomyeytsev

CEO, Rocket Division Software


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Handal, Thomas
Sent: Friday, February 04, 2005 9:28 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] IOCTL_IS_DISK_WRITABLE Problem with CD’s

Hi Henry,

Thanks for your reply. I don’t believe that there are any third party
apps on the CD/DVD stack. I have tried the driver I wrote on 3 or 4 machines
and they all have the same result. Is there any other way to determine if a
CD drive is writable or not? How about detecting if it is a CD-ROM or
CD-R/RW, etc? Also for DVD-ROM or DVD-RAM? I’ve tried everything so far
that I can think of:

  1. Getting description of device and looking for “ROM” - that won’t
    work

  2. IOCTL_IS_DISK_WRITABLE - doesn’t work for CDs.

  3. Characteristics & FILE_READ_ONLY_VOLUME in kernel - doesn’t work and
    also stated as “Unreliable” by Neil Christiansen

  4. Tried asking it nicely. that doesn’t work either.

  5. Whacked it with a baseball bat a few times. stopped spinning-up.
    that wasn’t good. got a new one and asked it nicely. but that didn’t work.

I am SOO lost here. and it seems that it should be such a SIMPLE thing.
I have run out of hair to pull. please help me!

Please tell me about some new undocumented saving function!!! PLEASE!!!

Thanks

Tom

On 04 Feb 2005, you wrote in ntdev:

Hi Tom,

First question I would have to ask is, do you have *any* third party

software installed? If so, does this still happen when you use a clean

installation of Windows XP? Finally, is this restricted to a single

type of CD/DVD drive (i.e. only drives from one vendor)?

This behavior certainly seems unusual, and is not what I would expect

either. Two possibilities are:

(A) 3rd party software on the CD/DVD stack may modify the results of

this IOCTL.

(B) The firmware on the device reports that it is always a randomly

writable, hardware defect managed media.

Looking forward to hearing your results.

.

-----Original Message-----

From: Handal, Thomas [mailto:xxxxx@websense.com]

Sent: Thursday, February 03, 2005 1:59 PM

Subject: IOCTL_IS_DISK_WRITABLE Problem with CD’s

Hi all

I am having a problem with the IOCTL_IS_DISK_WRITABLE call. It

works great with Floppy’s and Removable thumb drives, etc. But for CD’s,

I am having a problem. It does not matter if the drive is a CD-ROM/RW/R

or whatever. The problem that I am having is that regardless of what CD

media I am using, (burnt, stamped, etc.) it ALWAYS says it is WRITABLE.

I don’t understand why. Can anyone shed some light on this and how to

get around it?

Thanks in advance… I truly appreciate any help…

Tom

Tom Handal


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

You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com

READ DISC INFORMATION SCSI command will tell you whether the disk inserted is writeable or not.

I know that CDFS supports writes. I also know on IMAPI feature. Possibly (but not necessary) it is implemented as writes to CDFS, and then commit to the media using IMAPI.SYS driver. Possibly not so.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: Handal, Thomas
To: Windows System Software Devs Interest List
Sent: Friday, February 04, 2005 10:28 PM
Subject: RE:[ntdev] IOCTL_IS_DISK_WRITABLE Problem with CD’s

Hi Henry,

Thanks for your reply. I don’t believe that there are any third party apps on the CD/DVD stack. I have tried the driver I wrote on 3 or 4 machines and they all have the same result. Is there any other way to determine if a CD drive is writable or not? How about detecting if it is a CD-ROM or CD-R/RW, etc? Also for DVD-ROM or DVD-RAM? I’ve tried everything so far that I can think of:

1… Getting description of device and looking for “ROM” - that won’t work
2… IOCTL_IS_DISK_WRITABLE - doesn’t work for CDs.
3… Characteristics & FILE_READ_ONLY_VOLUME in kernel - doesn’t work and also stated as “Unreliable” by Neil Christiansen
4… Tried asking it nicely. that doesn’t work either.
5… Whacked it with a baseball bat a few times. stopped spinning-up. that wasn’t good. got a new one and asked it nicely. but that didn’t work.

I am SOO lost here. and it seems that it should be such a SIMPLE thing. I have run out of hair to pull. please help me!

Please tell me about some new undocumented saving function!!! PLEASE!!!

Thanks

Tom

On 04 Feb 2005, you wrote in ntdev:

Hi Tom,

First question I would have to ask is, do you have *any* third party

software installed? If so, does this still happen when you use a clean

installation of Windows XP? Finally, is this restricted to a single

type of CD/DVD drive (i.e. only drives from one vendor)?

This behavior certainly seems unusual, and is not what I would expect

either. Two possibilities are:

(A) 3rd party software on the CD/DVD stack may modify the results of

this IOCTL.

(B) The firmware on the device reports that it is always a randomly

writable, hardware defect managed media.

Looking forward to hearing your results.

.

-----Original Message-----

From: Handal, Thomas [mailto:xxxxx@websense.com]

Sent: Thursday, February 03, 2005 1:59 PM

Subject: IOCTL_IS_DISK_WRITABLE Problem with CD’s

Hi all

I am having a problem with the IOCTL_IS_DISK_WRITABLE call. It

works great with Floppy’s and Removable thumb drives, etc. But for CD’s,

I am having a problem. It does not matter if the drive is a CD-ROM/RW/R

or whatever. The problem that I am having is that regardless of what CD

media I am using, (burnt, stamped, etc.) it ALWAYS says it is WRITABLE.

I don’t understand why. Can anyone shed some light on this and how to

get around it?

Thanks in advance… I truly appreciate any help…

Tom

Tom Handal


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

You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com

Bad idea. Device performing async command would fail READ DISC INFO.

Regards,
Anton Kolomyeytsev

CEO, Rocket Division Software


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Maxim S. Shatskih
Sent: Friday, February 04, 2005 10:36 PM
To: Windows System Software Devs Interest List
Subject: Re: RE:[ntdev] IOCTL_IS_DISK_WRITABLE Problem with CD’s

READ DISC INFORMATION SCSI command will tell you whether the disk
inserted is writeable or not.

I know that CDFS supports writes. I also know on IMAPI feature. Possibly
(but not necessary) it is implemented as writes to CDFS, and then commit to
the media using IMAPI.SYS driver. Possibly not so.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: Handal, mailto:xxxxx Thomas
To: Windows System Software Devs Interest mailto:xxxxx List

Sent: Friday, February 04, 2005 10:28 PM
Subject: RE:[ntdev] IOCTL_IS_DISK_WRITABLE Problem with CD’s

Hi Henry,

Thanks for your reply. I don’t believe that there are any third party
apps on the CD/DVD stack. I have tried the driver I wrote on 3 or 4 machines
and they all have the same result. Is there any other way to determine if a
CD drive is writable or not? How about detecting if it is a CD-ROM or
CD-R/RW, etc? Also for DVD-ROM or DVD-RAM? I’ve tried everything so far
that I can think of:

1. Getting description of device and looking for “ROM” - that won’t
work

2. IOCTL_IS_DISK_WRITABLE - doesn’t work for CDs.

3. Characteristics & FILE_READ_ONLY_VOLUME in kernel - doesn’t work and
also stated as “Unreliable” by Neil Christiansen

4. Tried asking it nicely. that doesn’t work either.

5. Whacked it with a baseball bat a few times. stopped spinning-up.
that wasn’t good. got a new one and asked it nicely. but that didn’t work.

I am SOO lost here. and it seems that it should be such a SIMPLE thing.
I have run out of hair to pull. please help me!

Please tell me about some new undocumented saving function!!! PLEASE!!!

Thanks

Tom

On 04 Feb 2005, you wrote in ntdev:

> Hi Tom,

>

> First question I would have to ask is, do you have any third party

> software installed? If so, does this still happen when you use a clean

> installation of Windows XP? Finally, is this restricted to a single

> type of CD/DVD drive (i.e. only drives from one vendor)?

>

> This behavior certainly seems unusual, and is not what I would expect

> either. Two possibilities are:

>

> (A) 3rd party software on the CD/DVD stack may modify the results of

> this IOCTL.

>

> (B) The firmware on the device reports that it is always a randomly

> writable, hardware defect managed media.

>

> Looking forward to hearing your results.

> .

>

> -----Original Message-----

> From: Handal, Thomas [mailto:xxxxx@websense.com]

> Sent: Thursday, February 03, 2005 1:59 PM

> Subject: IOCTL_IS_DISK_WRITABLE Problem with CD’s

>

> Hi all

>

>

>

> I am having a problem with the IOCTL_IS_DISK_WRITABLE call. It

> works great with Floppy’s and Removable thumb drives, etc. But for CD’s,

> I am having a problem. It does not matter if the drive is a CD-ROM/RW/R

> or whatever. The problem that I am having is that regardless of what CD

> media I am using, (burnt, stamped, etc.) it ALWAYS says it is WRITABLE.

> I don’t understand why. Can anyone shed some light on this and how to

> get around it?

>

>

>

> Thanks in advance… I truly appreciate any help…

>

> Tom

>

>

>

Tom Handal


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

You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com


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

You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com</mailto:xxxxx></mailto:xxxxx>

Hi Anton and Maxim

Thanks for the information. I have tried to look these commands up,
but am having trouble finding and documentation on them. Could you guys
point out a good site that has an example or at least an MSDN page or
something on this? I would like to try to use the IRP_MJ_SCSI and
GET_CONFIGURATION and READ_DISC_INFO, but am having trouble finding docs
on them.

Thanks

Tom


Subject: RE: IOCTL_IS_DISK_WRITABLE Problem with CD’s

From: “Anton Kolomyeytsev”

Newsgroups: ntdev

To: “‘Windows System Software Devs Interest List’”

Just send to device PDO IRP_MJ_SCSI with GET_CONFIGURATION (0x46) SCSI

opcode embedded to determine

which profile is active (read-only or read-write). For old hardware w/o
get

config support try sending READ_DISC_INFO (0x51)

to determine disc type (you should be interested in CD-R or CD-RW only).

This kind of stuff would work always.

P.S. DVD-RAM, DVD+RW and some pre-formatted DVD-RW (restricted
overwrite)

are always writable. For DVD+R, DVD-R,

CD-R and CD-RW you’ll have to send READ_DISC_INFO to see if disc has

“closed” status (no B0 pointer to next allowed session).

Regards,

Anton Kolomyeytsev

CEO, Rocket Division Software

_____

From: xxxxx@lists.osr.com

[mailto:xxxxx@lists.osr.com] On Behalf Of Handal, Thomas

Sent: Friday, February 04, 2005 9:28 PM

To: Windows System Software Devs Interest List

Subject: RE:[ntdev] IOCTL_IS_DISK_WRITABLE Problem with CD’s

Hi Henry,

Thanks for your reply. I don’t believe that there are any third
party

apps on the CD/DVD stack. I have tried the driver I wrote on 3 or 4
machines

and they all have the same result. Is there any other way to determine
if a

CD drive is writable or not? How about detecting if it is a CD-ROM or

CD-R/RW, etc? Also for DVD-ROM or DVD-RAM? I’ve tried everything so far

that I can think of:

1. Getting description of device and looking for “ROM” - that
won’t

work

2. IOCTL_IS_DISK_WRITABLE - doesn’t work for CDs.

3. Characteristics & FILE_READ_ONLY_VOLUME in kernel - doesn’t
work and

also stated as “Unreliable” by Neil Christiansen

4. Tried asking it nicely. that doesn’t work either.

5. Whacked it with a baseball bat a few times. stopped
spinning-up.

that wasn’t good. got a new one and asked it nicely. but that didn’t
work.

I am SOO lost here. and it seems that it should be such a SIMPLE
thing.

I have run out of hair to pull. please help me!

Please tell me about some new undocumented saving function!!! PLEASE!!!

Thanks

Tom

Grab latest MMC spec draft from here: http://www.t10.org/drafts.htm

And check cdrom.sys DDK sample on how to construct IRP_MJ_SCSI IRP

Regards,
Anton Kolomyeytsev

CEO, Rocket Division Software


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Handal, Thomas
Sent: Friday, February 04, 2005 11:30 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] IOCTL_IS_DISK_WRITABLE Problem with CD’s

Hi Anton and Maxim

Thanks for the information. I have tried to look these commands up, but
am having trouble finding and documentation on them. Could you guys point
out a good site that has an example or at least an MSDN page or something on
this? I would like to try to use the IRP_MJ_SCSI and GET_CONFIGURATION and
READ_DISC_INFO, but am having trouble finding docs on them.

Thanks

Tom


Subject: RE: IOCTL_IS_DISK_WRITABLE Problem with CD’s

From: “Anton Kolomyeytsev”

Newsgroups: ntdev

To: “‘Windows System Software Devs Interest List’”

Just send to device PDO IRP_MJ_SCSI with GET_CONFIGURATION (0x46) SCSI

opcode embedded to determine

which profile is active (read-only or read-write). For old hardware w/o get

config support try sending READ_DISC_INFO (0x51)

to determine disc type (you should be interested in CD-R or CD-RW only).

This kind of stuff would work always.

P.S. DVD-RAM, DVD+RW and some pre-formatted DVD-RW (restricted overwrite)

are always writable. For DVD+R, DVD-R,

CD-R and CD-RW you’ll have to send READ_DISC_INFO to see if disc has

“closed” status (no B0 pointer to next allowed session).

Regards,

Anton Kolomyeytsev

CEO, Rocket Division Software

_____

From: xxxxx@lists.osr.com

[mailto:xxxxx@lists.osr.com] On Behalf Of Handal, Thomas

Sent: Friday, February 04, 2005 9:28 PM

To: Windows System Software Devs Interest List

Subject: RE:[ntdev] IOCTL_IS_DISK_WRITABLE Problem with CD’s

Hi Henry,

Thanks for your reply. I don’t believe that there are any third party

apps on the CD/DVD stack. I have tried the driver I wrote on 3 or 4 machines

and they all have the same result. Is there any other way to determine if a

CD drive is writable or not? How about detecting if it is a CD-ROM or

CD-R/RW, etc? Also for DVD-ROM or DVD-RAM? I’ve tried everything so far

that I can think of:

1. Getting description of device and looking for “ROM” - that won’t

work

2. IOCTL_IS_DISK_WRITABLE - doesn’t work for CDs.

3. Characteristics & FILE_READ_ONLY_VOLUME in kernel - doesn’t work
and

also stated as “Unreliable” by Neil Christiansen

4. Tried asking it nicely. that doesn’t work either.

5. Whacked it with a baseball bat a few times. stopped spinning-up.

that wasn’t good. got a new one and asked it nicely. but that didn’t work.

I am SOO lost here. and it seems that it should be such a SIMPLE thing.

I have run out of hair to pull. please help me!

Please tell me about some new undocumented saving function!!! PLEASE!!!

Thanks

Tom


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

You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com

First, please try not to send GET_CONFIGURATION directly to devices.
Some devices will actually hang until the command times out. We’ve
already worked around this for you on all devices, so please use
IOCTL_CDROM_GET_CONFIGURATION to get/set GET_CONFIGURATION data.
(Supported on XP and higher, only requires READ access to device.)
Legacy CD writers may not support this command (rare for new drives), at
which point you’ll need to also get mode page 2Ah and check for CD-R and
CD-RW ability – only send READ_DISC_INFO/READ_TRACK_INFO if these bits
are set, as some drives will also lock up when sent these commands (only
older CD-ROM drives). Summary: It’s a dangerous world, talking directly
to CD/DVD devices. :slight_smile:

Most people only want to know if the file system mounted on a device is
writable, so you should consider GetVolumeInformation() if you’re above
the file system. This is highly recommended, as the file system can
(and will) hide all the nasty details surrounding CD/DVD media from you.

If you’re *not* “above” the file system, then you must provide
additional clarification about about what you consider to be a
“writable” media.

* Packet writable media (i.e. CD-RW formatted as packet-written media)

* Sector-writable media (i.e. DVD+RW media formatted, no defect
management)

* Sequentially writable media (i.e. almost any write-once media, such as
CD-R)

* Disk-like media (i.e. DVD-RAM or other sector-addressable,
hardware-defect-managed media)

If you need some background on the various methods of writing to CD/DVD
media types, please check out the latest MMC4 specification, which you
can download a draft of at ftp://ftp.t10.org/t10/drafts/mmc4/. There’s
a good “models” section or two in there to get you started. You can
also look at the feature descriptions to understand and parse the
results of the GET_CONFIGURATION command you see above.

As an aside, if you are on the device stack, please don’t send commands
directly to a device’s PDO as Anton suggests – this is considered a
breach of the NT layered architecture, and generally bad form. Instead,
send IRPs to the “next lower” device object (which may or may not be the
PDO). Software which sends directly to the PDO has historically caused
more interop problems, and I think if you search this list is generally
frowned upon by this list’s membership.

.

-----Original Message-----
From: Anton Kolomyeytsev [mailto:xxxxx@cooldev.com]
Sent: Friday, February 04, 2005 11:35 AM
Subject: RE: IOCTL_IS_DISK_WRITABLE Problem with CD’s

Just send to device PDO IRP_MJ_SCSI with GET_CONFIGURATION (0x46) SCSI
opcode embedded to determine which profile is active (read-only or
read-write). For old hardware w/o get config support try sending
READ_DISC_INFO (0x51) to determine disc type (you should be interested
in CD-R or CD-RW only). This kind of stuff would work always.

P.S. DVD-RAM, DVD+RW and some pre-formatted DVD-RW (restricted
overwrite) are always writable. For DVD+R, DVD-R, CD-R and CD-RW you’ll
have to send READ_DISC_INFO to see if disc has “closed” status (no B0
pointer to next allowed session).

Regards,
Anton Kolomyeytsev

CEO, Rocket Division Software


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Handal, Thomas
Sent: Friday, February 04, 2005 9:28 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] IOCTL_IS_DISK_WRITABLE Problem with CD’s

Hi Henry,

Thanks for your reply. I don’t believe that there are any third
party apps on the CD/DVD stack. I have tried the driver I wrote on 3 or
4 machines and they all have the same result. Is there any other way to
determine if a CD drive is writable or not? How about detecting if it is
a CD-ROM or CD-R/RW, etc? Also for DVD-ROM or DVD-RAM? I’ve tried
everything so far that I can think of:

  1. Getting description of device and looking for “ROM” - that won’t
    work
  2. IOCTL_IS_DISK_WRITABLE - doesn’t work for CDs…
  3. Characteristics & FILE_READ_ONLY_VOLUME in kernel - doesn’t work
    and also stated as “Unreliable” by Neil Christiansen
  4. Tried asking it nicely… that doesn’t work either…
  5. Whacked it with a baseball bat a few times… stopped
    spinning-up… that wasn’t good… got a new one and asked it nicely…
    but that didn’t work…

I am SOO lost here… and it seems that it should be such a SIMPLE
thing… I have run out of hair to pull… please help me!

Please tell me about some new undocumented saving function!!! PLEASE!!!

Thanks

Tom

On 04 Feb 2005, you wrote in ntdev:

Hi Tom,

First question I would have to ask is, do you have *any* third party

software installed? If so, does this still happen when you use a
clean

installation of Windows XP? Finally, is this restricted to a single

type of CD/DVD drive (i.e. only drives from one vendor)?

This behavior certainly seems unusual, and is not what I would expect

either. Two possibilities are:

(A) 3rd party software on the CD/DVD stack may modify the results of

this IOCTL.

(B) The firmware on the device reports that it is always a randomly

writable, hardware defect managed media.

Looking forward to hearing your results.

.

-----Original Message-----

From: Handal, Thomas [mailto:xxxxx@websense.com]

Sent: Thursday, February 03, 2005 1:59 PM

Subject: IOCTL_IS_DISK_WRITABLE Problem with CD’s

Hi all

I am having a problem with the IOCTL_IS_DISK_WRITABLE call. It

works great with Floppy’s and Removable thumb drives, etc. But for
CD’s,

I am having a problem. It does not matter if the drive is a
CD-ROM/RW/R

or whatever. The problem that I am having is that regardless of what
CD

media I am using, (burnt, stamped, etc.) it ALWAYS says it is
WRITABLE.

I don’t understand why. Can anyone shed some light on this and how to

get around it?

Thanks in advance… I truly appreciate any help…

Tom

Tom Handal


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

You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com

There are many reasons READ_DISC_INFO would fail. Worse, READ_DISC_INFO
does not indicate if you have writable media. This is not the correct
path to follow for all media types, although this will generally work if
you are looking at CD-R/RW media.

Handal, please see my previous post (I only get archives, so my
responses are delayed 24 hours) for a link to the MMC specification and
a nice IOCTL to use GET_CONFIGURATION. Also, be careful with sending
MODE_SENSE. There’s a lot of problems in that:

(*) Some devices only support MODE_SENSE6 (now rare, legacy only)
(*) Some devices return a block header, even if DBD bit is set (now
rare, legacy only)

That’s just off the top of my head. Again, sending commands directly to
CD/DVD devices is inherently tricky. Although it may work well on a
brand-name drive, there are hundreds of models of drives on the market,
and many of them have little quirks that need to be worked around. It’s
very difficult and time-consuming to write code that works on all drives
on the market. If you only need to work with a known set of drives (for
internal corporate use, for example), then you can do this relatively
easily. If you want to release for the world to use, I’d suggest
staying in “beta” for a few years. :wink:

Hth,
.

-----Original Message-----
From: Anton Kolomyeytsev [mailto:xxxxx@cooldev.com]
Sent: Friday, February 04, 2005 12:51 PM
Subject: RE: RE:IOCTL_IS_DISK_WRITABLE Problem with CD’s

Bad idea. Device performing async command would fail READ DISC INFO.

Regards,
Anton Kolomyeytsev

CEO, Rocket Division Software


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Maxim S. Shatskih
Sent: Friday, February 04, 2005 10:36 PM
To: Windows System Software Devs Interest List
Subject: Re: RE:[ntdev] IOCTL_IS_DISK_WRITABLE Problem with CD’s

READ DISC INFORMATION SCSI command will tell you whether the disk
inserted is writeable or not.

I know that CDFS supports writes. I also know on IMAPI feature.
Possibly (but not necessary) it is implemented as writes to CDFS, and
then commit to the media using IMAPI.SYS driver. Possibly not so.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: Handal, Thomas mailto:xxxxx
To: Windows System Software Devs Interest List
mailto:xxxxx
Sent: Friday, February 04, 2005 10:28 PM
Subject: RE:[ntdev] IOCTL_IS_DISK_WRITABLE Problem with CD’s

Hi Henry,

Thanks for your reply. I don’t believe that there are any
third party apps on the CD/DVD stack. I have tried the driver I wrote on
3 or 4 machines and they all have the same result. Is there any other
way to determine if a CD drive is writable or not? How about detecting
if it is a CD-ROM or CD-R/RW, etc? Also for DVD-ROM or DVD-RAM? I’ve
tried everything so far that I can think of:

1. Getting description of device and looking for “ROM” -
that won’t work
2. IOCTL_IS_DISK_WRITABLE - doesn’t work for CDs…
3. Characteristics & FILE_READ_ONLY_VOLUME in kernel -
doesn’t work and also stated as “Unreliable” by Neil Christiansen
4. Tried asking it nicely… that doesn’t work either…
5. Whacked it with a baseball bat a few times… stopped
spinning-up… that wasn’t good… got a new one and asked it nicely…
but that didn’t work…

I am SOO lost here… and it seems that it should be such a
SIMPLE thing… I have run out of hair to pull… please help me!

Please tell me about some new undocumented saving function!!!
PLEASE!!!

Thanks

Tom

On 04 Feb 2005, you wrote in ntdev:

> Hi Tom,

>

> First question I would have to ask is, do you have any third
party

> software installed? If so, does this still happen when you
use a clean

> installation of Windows XP? Finally, is this restricted to a
single

> type of CD/DVD drive (i.e. only drives from one vendor)?

>

> This behavior certainly seems unusual, and is not what I would
expect

> either. Two possibilities are:

>

> (A) 3rd party software on the CD/DVD stack may modify the
results of

> this IOCTL.

>

> (B) The firmware on the device reports that it is always a
randomly

> writable, hardware defect managed media.

>

> Looking forward to hearing your results.

> .

>

> -----Original Message-----

> From: Handal, Thomas [mailto:xxxxx@websense.com]

> Sent: Thursday, February 03, 2005 1:59 PM

> Subject: IOCTL_IS_DISK_WRITABLE Problem with CD’s

>

> Hi all

>

>

>

> I am having a problem with the IOCTL_IS_DISK_WRITABLE
call. It

> works great with Floppy’s and Removable thumb drives, etc. But
for CD’s,

> I am having a problem. It does not matter if the drive is a
CD-ROM/RW/R

> or whatever. The problem that I am having is that regardless
of what CD

> media I am using, (burnt, stamped, etc.) it ALWAYS says it is
WRITABLE.

> I don’t understand why. Can anyone shed some light on this and
how to

> get around it?

>

>

>

> Thanks in advance… I truly appreciate any help…

>

> Tom

>

>

>

Tom Handal


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

You are currently subscribed to ntdev as: unknown lmsubst tag
argument: ‘’
To unsubscribe send a blank email to
xxxxx@lists.osr.com


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

You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com</mailto:xxxxx></mailto:xxxxx>

Hey Anton,

Holy Crap! I’ve been digging through this MMC crap for the past 2
days trying to figure it out. Could they come up with a more complex
way of doing this? I am totally lost and dumbfounded. Call me stupid.
Anyway, this stuff is still experimental and not released yet. I don’t
think I should delve into it. Especially since I am trying to get this
to work for NT, 2000 and above. This MMC stuff is only available in XP
SP1. This isn’t looking good.

Does anyone have any other way to see if the DRIVE IS WRITABLE!!!
This seems like such a simple little thing, but apparently it is an
impossibility.

Thanks!

Tom


Subject: RE: IOCTL_IS_DISK_WRITABLE Problem with CD’s

From: “Anton Kolomyeytsev”

Newsgroups: ntdev

To: “‘Windows System Software Devs Interest List’”

Grab latest MMC spec draft from here: http://www.t10.org/drafts.htm

And check cdrom.sys DDK sample on how to construct IRP_MJ_SCSI IRP

Regards,

Anton Kolomyeytsev

CEO, Rocket Division Software

_____

From: xxxxx@lists.osr.com

[mailto:xxxxx@lists.osr.com] On Behalf Of Handal, Thomas

Sent: Friday, February 04, 2005 11:30 PM

To: Windows System Software Devs Interest List

Subject: RE:[ntdev] IOCTL_IS_DISK_WRITABLE Problem with CD’s

Hi Anton and Maxim

Thanks for the information. I have tried to look these commands up,
but

am having trouble finding and documentation on them. Could you guys
point

out a good site that has an example or at least an MSDN page or
something on

this? I would like to try to use the IRP_MJ_SCSI and GET_CONFIGURATION
and

READ_DISC_INFO, but am having trouble finding docs on them.

Thanks

Tom

Tom Handal

Thanks Henry, I will give it a shot…

Thanks again

Tom

Tom,

this stuff is with us for years. You could use get configuration IOCTL as
Henry suggested (for XP and up, I’ve never
checked it out). But if you need other OSes supported (like 2000 or maybe
even 98) you’ll have to stick with hand
coded method. Looks like we think different about the way to ask (IOCTL Vs.
IRP) but idea in general is the same.

Regards,
Anton Kolomyeytsev

CEO, Rocket Division Software


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Handal, Thomas
Sent: Monday, February 07, 2005 9:08 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] IOCTL_IS_DISK_WRITABLE Problem with CD’s

Hey Anton,

Holy Crap! I’ve been digging through this MMC crap for the past 2 days
trying to figure it out. Could they come up with a more complex way of
doing this? I am totally lost and dumbfounded. Call me stupid. Anyway,
this stuff is still experimental and not released yet. I don’t think I
should delve into it. Especially since I am trying to get this to work for
NT, 2000 and above. This MMC stuff is only available in XP SP1. This isn’t
looking good.

Does anyone have any other way to see if the DRIVE IS WRITABLE!!! This
seems like such a simple little thing, but apparently it is an
impossibility.

Thanks!

Tom


Subject: RE: IOCTL_IS_DISK_WRITABLE Problem with CD’s

From: “Anton Kolomyeytsev”

Newsgroups: ntdev

To: “‘Windows System Software Devs Interest List’”

Grab latest MMC spec draft from here: http://www.t10.org/drafts.htm

And check cdrom.sys DDK sample on how to construct IRP_MJ_SCSI IRP

Regards,

Anton Kolomyeytsev

CEO, Rocket Division Software

_____

From: xxxxx@lists.osr.com

[mailto:xxxxx@lists.osr.com] On Behalf Of Handal, Thomas

Sent: Friday, February 04, 2005 11:30 PM

To: Windows System Software Devs Interest List

Subject: RE:[ntdev] IOCTL_IS_DISK_WRITABLE Problem with CD’s

Hi Anton and Maxim

Thanks for the information. I have tried to look these commands up, but

am having trouble finding and documentation on them. Could you guys point

out a good site that has an example or at least an MSDN page or something on

this? I would like to try to use the IRP_MJ_SCSI and GET_CONFIGURATION and

READ_DISC_INFO, but am having trouble finding docs on them.

Thanks

Tom

Tom Handal


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

You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com

Henry,

  1. Selling CD/DVD burning software for past 6 years. Never seen single
    device hanging with “get configuration” sent to it… I’m
    wonder - how do you workaround this? )) Can you also tell device(s) INQUIRY
    data (maybe in a private message, I don’t think other guys
    would be interested).

  2. About sending IRPs directly to PDO. It’s b/s there are too many ugly SCSI
    filters (like the ones Adaptec has). Also we’re quite
    ofter absolutely not happy with somebody else reverse-engineering our
    applications beholding SCSI traffic. However I agree this
    is “problematic” way.

  3. In general every single application “talking” directly to hardware would
    end with either own device database or at least with
    hardcoded INQUIRY data into application. With all of the codepathes
    dirrerent depending upon current device.

Regards,
Anton Kolomyeytsev

CEO, Rocket Division Software

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Henry Gabryjelski
Sent: Monday, February 07, 2005 8:26 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] RE:IOCTL_IS_DISK_WRITABLE Problem with CD’s

There are many reasons READ_DISC_INFO would fail. Worse, READ_DISC_INFO
does not indicate if you have writable media. This is not the correct path
to follow for all media types, although this will generally work if you are
looking at CD-R/RW media.

Handal, please see my previous post (I only get archives, so my responses
are delayed 24 hours) for a link to the MMC specification and a nice IOCTL
to use GET_CONFIGURATION. Also, be careful with sending MODE_SENSE.
There’s a lot of problems in that:

(*) Some devices only support MODE_SENSE6 (now rare, legacy only)
(*) Some devices return a block header, even if DBD bit is set (now rare,
legacy only)

That’s just off the top of my head. Again, sending commands directly to
CD/DVD devices is inherently tricky. Although it may work well on a
brand-name drive, there are hundreds of models of drives on the market, and
many of them have little quirks that need to be worked around. It’s very
difficult and time-consuming to write code that works on all drives on the
market. If you only need to work with a known set of drives (for internal
corporate use, for example), then you can do this relatively easily. If you
want to release for the world to use, I’d suggest staying in “beta” for a
few years. :wink:

Hth,
.

-----Original Message-----
From: Anton Kolomyeytsev [mailto:xxxxx@cooldev.com]
Sent: Friday, February 04, 2005 12:51 PM
Subject: RE: RE:IOCTL_IS_DISK_WRITABLE Problem with CD’s

Bad idea. Device performing async command would fail READ DISC INFO.

Regards,
Anton Kolomyeytsev

CEO, Rocket Division Software


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Maxim S. Shatskih
Sent: Friday, February 04, 2005 10:36 PM
To: Windows System Software Devs Interest List
Subject: Re: RE:[ntdev] IOCTL_IS_DISK_WRITABLE Problem with CD’s

READ DISC INFORMATION SCSI command will tell you whether the disk
inserted is writeable or not.

I know that CDFS supports writes. I also know on IMAPI feature.
Possibly (but not necessary) it is implemented as writes to CDFS, and then
commit to the media using IMAPI.SYS driver. Possibly not so.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: Handal, Thomas mailto:xxxxx
To: Windows System Software Devs Interest List
mailto:xxxxx
Sent: Friday, February 04, 2005 10:28 PM
Subject: RE:[ntdev] IOCTL_IS_DISK_WRITABLE Problem with CD’s

Hi Henry,

Thanks for your reply. I don’t believe that there are any third
party apps on the CD/DVD stack. I have tried the driver I wrote on
3 or 4 machines and they all have the same result. Is there any other way to
determine if a CD drive is writable or not? How about detecting if it is a
CD-ROM or CD-R/RW, etc? Also for DVD-ROM or DVD-RAM? I’ve tried everything
so far that I can think of:

1. Getting description of device and looking for “ROM” -
that won’t work
2. IOCTL_IS_DISK_WRITABLE - doesn’t work for CDs…
3. Characteristics & FILE_READ_ONLY_VOLUME in kernel -
doesn’t work and also stated as “Unreliable” by Neil Christiansen
4. Tried asking it nicely… that doesn’t work either…
5. Whacked it with a baseball bat a few times… stopped
spinning-up… that wasn’t good… got a new one and asked it nicely…
but that didn’t work…

I am SOO lost here… and it seems that it should be such a
SIMPLE thing… I have run out of hair to pull… please help me!

Please tell me about some new undocumented saving function!!!
PLEASE!!!

Thanks

Tom

On 04 Feb 2005, you wrote in ntdev:

> Hi Tom,

>

> First question I would have to ask is, do you have any third
party

> software installed? If so, does this still happen when you use a
clean

> installation of Windows XP? Finally, is this restricted to a
single

> type of CD/DVD drive (i.e. only drives from one vendor)?

>

> This behavior certainly seems unusual, and is not what I would
expect

> either. Two possibilities are:

>

> (A) 3rd party software on the CD/DVD stack may modify the results
of

> this IOCTL.

>

> (B) The firmware on the device reports that it is always a
randomly

> writable, hardware defect managed media.

>

> Looking forward to hearing your results.

> .

>

> -----Original Message-----

> From: Handal, Thomas [mailto:xxxxx@websense.com]

> Sent: Thursday, February 03, 2005 1:59 PM

> Subject: IOCTL_IS_DISK_WRITABLE Problem with CD’s

>

> Hi all

>

>

>

> I am having a problem with the IOCTL_IS_DISK_WRITABLE
call. It

> works great with Floppy’s and Removable thumb drives, etc. But for
CD’s,

> I am having a problem. It does not matter if the drive is a
CD-ROM/RW/R

> or whatever. The problem that I am having is that regardless of
what CD

> media I am using, (burnt, stamped, etc.) it ALWAYS says it is
WRITABLE.

> I don’t understand why. Can anyone shed some light on this and how
to

> get around it?

>

>

>

> Thanks in advance… I truly appreciate any help…

>

> Tom

>

>

>

Tom Handal


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

You are currently subscribed to ntdev as: unknown lmsubst tag
argument: ‘’
To unsubscribe send a blank email to
xxxxx@lists.osr.com


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

You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com


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

You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com</mailto:xxxxx></mailto:xxxxx>

Thanks for the information Henry and Anton. I have been trying to use
this IOCTL in the kernel using IoBuildDeviceIoControlRequest like this:

I am failing the IoCallDriver with status == C000000D which is incorrect
PARAMETER… what is wrong with this?

Thanks again

Tom

PCHAR buffer;

GET_CONFIGURATION_IOCTL_INPUT getConfIoctlInput;

PGET_CONFIGURATION_HEADER header;

PFEATURE_HEADER fheader;

ULONG count;

getConfIoctlInput.Feature = FeatureWriteProtect;

getConfIoctlInput.RequestType = SCSI_GET_CONFIGURATION_REQUEST_TYPE_ALL;

buffer =
(PCHAR)ExAllocatePool(NonPagedPool, 512);

if ( ! buffer )

return
FALSE;

header =
(PGET_CONFIGURATION_HEADER) buffer;

KeInitializeEvent(
&event, NotificationEvent, FALSE );

irp =
IoBuildDeviceIoControlRequest(IOCTL_CDROM_GET_CONFIGURATION,

diskDeviceObject,

&getConfIoctlInput,

sizeof(GET_CONFIGURATION_IOCTL_INPUT),

buffer,

512,

FALSE,

&event,

&iosb);

//

// If we could not
allocate an IRP, return an error

//

if (irp == NULL)

{

return FALSE;

}

//

// Call the storage
stack and see if this is readonly

//

status = IoCallDriver(
diskDeviceObject, irp );

if (status == STATUS_PENDING)

{

(VOID)KeWaitForSingleObject(
&event,

Executive,

KernelMode,

FALSE,

NULL );

status =
iosb.Status;

}

KdPrint((“*** STATUS =
%X\n”, status));

if ( !
NT_SUCCESS(status) )

{

KdPrint((“*** WE FAILED\n”));

return
FALSE;

}

fheader =
(PFEATURE_HEADER)(buffer + sizeof(GET_CONFIGURATION_HEADER));

Quick Update…

Ok, I didn’t Zero the input buffer memory… that seemed to take care of
the invalid parameter problem. Now I am getting a C000003C error code
back. I am not sure why I am getting this…

Help please?

Thanks

Tom

>* Sector-writable media (i.e. DVD+RW media formatted, no defect

BTW - can I format a DVD+RW media (on such a drive) to FAT and use the disc as
a huge floppy or, say, Iomega diskette?

If yes - then how is it different from DVD-RAM?

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

>There are many reasons READ_DISC_INFO would fail. Worse, READ_DISC_INFO

does not indicate if you have writable media.

I have a filter which resets the writability bits in the READ_DISC_INFO
response (IIRC there were 2 bits, 4 values - blank&writeable,
non-blank&writeable, non-writeable, and one reserved).

This is enough for both Nero and IMAPI to consider the disc as not-writeable
and display so in the UI.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

You’ll need a filter driver for this. Workarounding sector size issues.
DVD-RAMs have them (filters). Never seen one for DVD+RW.

DVD media has hardware sector size of 32KB. Even when recording 2K sector
whole ECC block is rewritten. You’ll
get acceptable read/write performance and access speed only with large
files.

DVD-RAM has built-in hardware defect management, DVD+RW has it only in
specs.

Regards,
Anton Kolomyeytsev

CEO, Rocket Division Software

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Maxim S. Shatskih
Sent: Wednesday, February 09, 2005 12:57 PM
To: Windows System Software Devs Interest List
Subject: Re: RE:[ntdev] IOCTL_IS_DISK_WRITABLE Problem with CD’s

* Sector-writable media (i.e. DVD+RW media formatted, no defect

BTW - can I format a DVD+RW media (on such a drive) to FAT and use the disc
as a huge floppy or, say, Iomega diskette?

If yes - then how is it different from DVD-RAM?

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com


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

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

So what? They both use SPTI (either directly as IMAPI or thru ASPI wrapper
as Nero). Other software quite often prefer to have own
SCSI transport (to hide sometimes quite valuable traffic and make sure
burning sequence would not be interrupted by other process).
CloneCD, CloneDVD & DVDDecrytper (elbycdio.sys), Alcohol 120% (daemon.sys),
BlindWrite (do not remember the name), Roxio etc.
Did you test them all with your filter?

Regards,
Anton Kolomyeytsev

CEO, Rocket Division Software

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Maxim S. Shatskih
Sent: Wednesday, February 09, 2005 1:00 PM
To: Windows System Software Devs Interest List
Subject: Re: RE:[ntdev] RE:IOCTL_IS_DISK_WRITABLE Problem with CD’s

There are many reasons READ_DISC_INFO would fail. Worse,
READ_DISC_INFO does not indicate if you have writable media.

I have a filter which resets the writability bits in the READ_DISC_INFO
response (IIRC there were 2 bits, 4 values - blank&writeable,
non-blank&writeable, non-writeable, and one reserved).

This is enough for both Nero and IMAPI to consider the disc as not-writeable
and display so in the UI.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com


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

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