2.2.4.15 NTMS_DRIVETYPEINFORMATIONW Structure

The NTMS_DRIVETYPEINFORMATIONW structure describes the properties specific to a type of drive, in Unicode.

 typedef struct _NTMS_DRIVETYPEINFORMATIONW {
   [string] wchar_t szVendor[128];
   [string] wchar_t szProduct[128];
   DWORD NumberOfHeads;
   DWORD DeviceType;
 } NTMS_DRIVETYPEINFORMATIONW;

szVendor: A null-terminated sequence of Unicode UTF-16 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 Unicode UTF-16 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 zero 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.