dear friends,
I am querying the dvd with the api DeviceIOControl with the control code
IOCTL_DVD_READ_STRUCTURE and acquiring the dvd layer descriptor.
sometimes I am getthe layer descriptor BCAFlag value as 1 though dvd is not
a BCA enabled disc.
any suggestion is greatful
--
thnaks
iyappan

Re: dvd layer descriptor information by Maxim

Maxim
Tue Sep 21 22:54:48 CDT 2004

Try IOCTL_SCSI_PASS_THROUGH and send this command at lower level.

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

"Iyappan" <Iyappan@discussions.microsoft.com> wrote in message
news:38B7A046-F7B9-4ED1-8527-E7DEAAED59FD@microsoft.com...
> dear friends,
> I am querying the dvd with the api DeviceIOControl with the control code
> IOCTL_DVD_READ_STRUCTURE and acquiring the dvd layer descriptor.
> sometimes I am getthe layer descriptor BCAFlag value as 1 though dvd is not
> a BCA enabled disc.
> any suggestion is greatful
> --
> thnaks
> iyappan



Re: dvd layer descriptor information by Iyappan

Iyappan
Tue Sep 21 23:25:01 CDT 2004

hi Mr. Shatskih,
I am new to DDK and i don`t know, what is lower level access?
any sample would be a great deed. please help out.

thanks
iyappan

"Maxim S. Shatskih" wrote:

> Try IOCTL_SCSI_PASS_THROUGH and send this command at lower level.
>
> --
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> maxim@storagecraft.com
> http://www.storagecraft.com
>
> "Iyappan" <Iyappan@discussions.microsoft.com> wrote in message
> news:38B7A046-F7B9-4ED1-8527-E7DEAAED59FD@microsoft.com...
> > dear friends,
> > I am querying the dvd with the api DeviceIOControl with the control code
> > IOCTL_DVD_READ_STRUCTURE and acquiring the dvd layer descriptor.
> > sometimes I am getthe layer descriptor BCAFlag value as 1 though dvd is not
> > a BCA enabled disc.
> > any suggestion is greatful
> > --
> > thnaks
> > iyappan
>
>
>

Re: dvd layer descriptor information by Neptune

Neptune
Thu Sep 30 01:49:35 CDT 2004


"Iyappan" <Iyappan@discussions.microsoft.com> wrote in message
news:38B7A046-F7B9-4ED1-8527-E7DEAAED59FD@microsoft.com...
> dear friends,
> I am querying the dvd with the api DeviceIOControl with the control code
> IOCTL_DVD_READ_STRUCTURE and acquiring the dvd layer descriptor.
> sometimes I am getthe layer descriptor BCAFlag value as 1 though dvd is
not
> a BCA enabled disc.
> any suggestion is greatful
> --
> thnaks
> iyappan


I think your interpretation is not per documentation, 1 or 0 has different
meaning than your expectation, maybe you need to read more about
DVD_LAYER_DESCRIPTOR instead of asking others to help. The documentation
is clear, I don't see anything wrong with it.

Neptune.
--------------------------------------------------------------------------
----------------------

BCAFlag
Indicates, if set to 1, the presence of data in the burst cutting area
(BCA). If set to zero, it indicates that there is no BCA data.

DVD_LAYER_DESCRIPTOR
[This is preliminary documentation and subject to change.]

The DVD_LAYER_DESCRIPTOR structure is used in conjunction with the
IOCTL_DVD_READ_STRUCTURE request to retrieve a DVD layer descriptor.
typedef struct _DVD_LAYER_DESCRIPTOR {
UCHAR BookVersion : 4;
UCHAR BookType : 4;
UCHAR MinimumRate : 4;
UCHAR DiskSize : 4;
UCHAR LayerType : 4;
UCHAR TrackPath : 1;
UCHAR NumberOfLayers : 2;
UCHAR Reserved1 : 1;
UCHAR TrackDensity : 4;
UCHAR LinearDensity : 4;
ULONG StartingDataSector;
ULONG EndDataSector;
ULONG EndLayerZeroSector;
UCHAR Reserved5 : 7;
UCHAR BCAFlag : 1;
UCHAR Reserved6;
} DVD_LAYER_DESCRIPTOR, *PDVD_LAYER_DESCRIPTOR;