NTMS_DRIVETYPEINFORMATIONA structure (ntmsapi.h)
[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_DRIVETYPEINFORMATIONA {
CHAR szVendor[NTMS_VENDORNAME_LENGTH];
CHAR szProduct[NTMS_PRODUCTNAME_LENGTH];
DWORD NumberOfHeads;
DWORD DeviceType;
} NTMS_DRIVETYPEINFORMATIONA;
Members
szVendor[NTMS_VENDORNAME_LENGTH]
Name of the vendor of the drive. This is acquired directly from the device inquiry data.
szProduct[NTMS_PRODUCTNAME_LENGTH]
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 |
---|---|
|
CD-ROM device. |
|
Direct access device. |
|
DVD device |
|
Sequential access device. |
Remarks
The NTMS_DRIVETYPEINFORMATION structure is included in the NTMS_OBJECTINFORMATION structure.
Note
The ntmsapi.h header defines NTMS_DRIVETYPEINFORMATION as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | ntmsapi.h |