IOCTL_CDROM_DISK_TYPE

Hi,
My Windows 2000 mass storage(CD-R) port driver getting the
IOCTL_CDROM_DISK_TYPE in IRP_MJ_DEVICE_CONTROL dispatch routine. Windows
2000 DDK doesn’t say anything about IOCTL_CDROM_DISK_TYPE. The header file
ntddcdrm.h also, doesn’t have any data structure related to this IOCTL. My
question is, what information the port driver should return for the
IOCTL_CDROM_DISK_TYPE.
Your help will be greatly appreciated.
Regards,
Bala
Software Engineer
American Megatrends, Inc.
Norcross
770-246-8600, Ex. 7074

The port driver should return the structure of type CDROM_DISK_DATA present
in ntddcdrm.h. This structure has DiskData which contains flags such as
CDROM_DISK_AUDIO_TRACK, CDROM_DISK_DATA_TRACK which is defined in
ntddcdrm.h.

Hope this information helps.
Guru

-----Original Message-----
From: Balasingh Ponraj Samuel [mailto:xxxxx@ami.com]
Sent: Monday, July 31, 2000 9:51 AM
To: NT Developers Interest List
Subject: [ntdev] IOCTL_CDROM_DISK_TYPE

Hi,
My Windows 2000 mass storage(CD-R) port driver getting the
IOCTL_CDROM_DISK_TYPE in IRP_MJ_DEVICE_CONTROL dispatch routine. Windows
2000 DDK doesn’t say anything about IOCTL_CDROM_DISK_TYPE. The header file
ntddcdrm.h also, doesn’t have any data structure related to this IOCTL. My
question is, what information the port driver should return for the
IOCTL_CDROM_DISK_TYPE.
Your help will be greatly appreciated.
Regards,
Bala
Software Engineer
American Megatrends, Inc.
Norcross
770-246-8600, Ex. 7074


You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)

my guess is that this code should tell you whether the disk inserted is a
blank one, or a writable one or a Rewritable CD. I am not abs. sure though…

regds
RB

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Balasingh Ponraj
Samuel
Sent: Monday, July 31, 2000 10:21 PM
To: NT Developers Interest List
Subject: [ntdev] IOCTL_CDROM_DISK_TYPE

Hi,
My Windows 2000 mass storage(CD-R) port driver getting the
IOCTL_CDROM_DISK_TYPE in IRP_MJ_DEVICE_CONTROL dispatch routine. Windows
2000 DDK doesn’t say anything about IOCTL_CDROM_DISK_TYPE. The header file
ntddcdrm.h also, doesn’t have any data structure related to this IOCTL. My
question is, what information the port driver should return for the
IOCTL_CDROM_DISK_TYPE.
Your help will be greatly appreciated.
Regards,
Bala
Software Engineer
American Megatrends, Inc.
Norcross
770-246-8600, Ex. 7074


You are currently subscribed to ntdev as: xxxxx@softhome.net
To unsubscribe send a blank email to $subst(‘Email.Unsub’)