2.2.4.14 NTMS_DRIVETYPEINFORMATIONA Structure

The NTMS_DRIVETYPEINFORMATIONA structure describes the properties specific to a type of drive, in ASCII.

 typedef struct _NTMS_DRIVETYPEINFORMATIONA {
   char szVendor[128];
   char szProduct[128];
   DWORD NumberOfHeads;
   DWORD DeviceType;
 } NTMS_DRIVETYPEINFORMATIONA;

szVendor: A null-terminated sequence of ASCII characters specifying the name of the vendor of the drive, acquired from device inquiry data. If this information is not available, the member MUST specify an empty string.

szProduct: A null-terminated sequence of ASCII characters specifying the name of the product of the drive, acquired from device inquiry data. If this information is not available, the member MUST specify an empty string.

NumberOfHeads: This parameter is currently unused. It MUST be NULL and MUST be ignored on  receipt.

DeviceType: One of the following SCSI device types [ANSI-131-1994] acquired from device inquiry data.

Value

Meaning

FILE_DEVICE_CD_ROM

0x00000002

Device is a CD-ROM.

FILE_DEVICE_DISK

0x00000007

Device is a direct-access drive.

FILE_DEVICE_DVD

0x00000033

Device is a DVD.

FILE_DEVICE_TAPE

0x0000001F

Device is a sequential-access drive.