Compartir a través de


NTMS_DRIVETYPEINFORMATION Structure

[Removable Storage Manager is no longer available as of Windows 7 and Windows Server 2008 R2.]

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

Syntax

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 member 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_DVD

    DVD device

    FILE_DEVICE_TAPE

    Sequential access device.

     

Remarks

The NTMS_DRIVETYPEINFORMATION structure is included in the NTMS_OBJECTINFORMATION structure.

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

End of client support

Windows Vista

End of server support

Windows Server 2008

Header

Ntmsapi.h

See Also

NTMS_OBJECTINFORMATION

 

 

Send comments about this topic to Microsoft

Build date: 6/9/2011