NTMS_DRIVETYPEINFORMATION

[This is preliminary documentation and subject to change.]

The NTMS_DRIVETYPEINFORMATION data structure defines the properties specific to a type of drive supported by RSM.

typedef struct _NTMS_DRIVETYPEINFORMATION {
    TCHAR    szVendor[NTMS_VENDORNAME_LENGTH];
    TCHAR    szProduct[NTMS_PRODUCTNAME_LENGTH];
    DWORD    NumberOfHeads;
    DWORD    DeviceType;
} NTMS_DRIVETYPEINFORMATION;
 

Members

szVendor
Name of the vendor of the drive. This is acquired directly from the device inquiry data.
szProduct
Name of the product of the drive. This is acquired directly from the device inquiry data.
NumberOfHeads
This field is reserved for future use and should be ignored.
DeviceType
The SCSI device type as reported from device inquiry data. From Winioctl.h. This can be one of the following values.
Value Meaning
FILE_DEVICE_CD_ROM CD-ROM device.
FILE_DEVICE_DISK Direct access device.
FILE_DEVICE_TAPE Sequential access device.

Remarks

The NTMS_DRIVETYPEINFORMATION data structure is part of the NTMS_OBJECTINFORMATION structure and is not used separately.

QuickInfo

  Windows NT: Requires version 5.0 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in ntmsapi.h.
  Import Library: Use ntmsapi.lib.