Finding CD ROM label and file list under Win2K?

Hi

I’m writing a driver that intercepts calls to the CD ROM drive. It’s being
written as a filter driver. Is there any way of determining the CD ROM label
and file structure plus file names under Windows 2000? This appears to be
possible under Windows 98, but I’m not sure how to go about it under 2000.

Many thanks, direct emails welcomed.
Duncan


Duncan Sellars, Systems Programmer
xxxxx@reflex-magnetics.com
“I am Jack’s smirking revenge.” - Narrator, “Fight Club”, 1999

**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

When I worked for Reflex I coded one for winnt

Robert Fernando
Anite Telecoms Ltd
110 Fleet Road
Fleet
Hampshire GU13 8PD
United Kingdom
Tel: +44 (0) 1252 775200
Fax: +44 (0) 1252 775 321
Email: xxxxx@anitetelecoms.com

Anite Telecoms Limited Registered in England No. 1721900 Registered
Office: 100 Longwater Avenue, GreenPark, Reading, Berkshire RG2 6GP,
United Kingdom

-----Original Message-----
From: Duncan Sellars [mailto:xxxxx@reflex-magnetics.com]
Sent: Monday, January 08, 2001 12:13 PM
To: NT Developers Interest List
Subject: [ntdev] Finding CD ROM label and file list under Win2K?

Hi

I’m writing a driver that intercepts calls to the CD ROM drive. It’s being
written as a filter driver. Is there any way of determining the CD ROM label
and file structure plus file names under Windows 2000? This appears to be
possible under Windows 98, but I’m not sure how to go about it under 2000.

Many thanks, direct emails welcomed.
Duncan


Duncan Sellars, Systems Programmer
xxxxx@reflex-magnetics.com
“I am Jack’s smirking revenge.” - Narrator, “Fight Club”, 1999

**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************


You are currently subscribed to ntdev as: xxxxx@anitetelecoms.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Please send me a copy!

Thanks!

When I worked for Reflex I coded one for winnt

Robert Fernando

Anite Telecoms Ltd

110 Fleet Road

Fleet

Hampshire GU13 8PD

United Kingdom

Tel: +44 (0) 1252 775200

Fax: +44 (0) 1252 775 321

Email: xxxxx@anitetelecoms.com

Anite Telecoms Limited Registered in England No. 1721900 Registered

Office: 100 Longwater Avenue, GreenPark, Reading, Berkshire RG2 6GP,

United Kingdom

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

From: Duncan Sellars [mailto:xxxxx@reflex-magnetics.com]

Sent: Monday, January 08, 2001 12:13 PM

To: NT Developers Interest List

Subject: [ntdev] Finding CD ROM label and file list under Win2K?

Hi

I’m writing a driver that intercepts calls to the CD ROM drive. It’s being

written as a filter driver. Is there any way of determining the CD ROM label

and file structure plus file names under Windows 2000? This appears to be

possible under Windows 98, but I’m not sure how to go about it under 2000.

Many thanks, direct emails welcomed.

Duncan

Duncan Sellars, Systems Programmer

xxxxx@reflex-magnetics.com

“I am Jack’s smirking revenge.” - Narrator, “Fight Club”, 1999

**********************************************************************

This email and any files transmitted with it are confidential and

intended solely for the use of the individual or entity to whom they

are addressed. If you have received this email in error please notify

the system manager.

This footnote also confirms that this email message has been swept by

MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com

**********************************************************************


You are currently subscribed to ntdev as: xxxxx@anitetelecoms.com

To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: bashuma@263.net

To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


Ê׶¼ÔÚÏß–ÖйúÈ˵ÄÍøÉϼÒÔ° http://www.263.net
@263.netÖйú×î´óµÄÔÚÏßÓÊ¾Ö http://freemail.263.net
ÖйúÈ˵ÄÔÚÏß¹ºÎïÀÖÔ°¡ª¡ª263ÉÌ³Ç http://shopping.263.net
ÍøÉÏÁôѧ×Éѯ-Öйú½ÌÓý·þÎñÍø http://edu.263.net/


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

To get the volume ID just read the 16th track. The header of the track is
as follows:
typedef struct _CDISO9660HEADER
{
char CD001[8];
char SystemID[32];
char VolumeID[32];
char Reserved[8];
DWORD dwSectors;
BYTE bSectors[4];
char Reserved2[32];
WORD wVolumeSetBytes;
BYTE bVolumeSetBytes[2];
// …
} CDISO9660HEADER, *PCDISO9660HEADER;

To parse the ISO9660 structures you can use the appropriate sources I’ve
met for linux somewhere in the Inet.

Regards,
Max Lyadvinsky

P.S. I’ve tried to send this message twice but the mailserv rejected my
mails because of attachments. But I don’t have attachments :frowning: What was the
matter???


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com