NTMS_MEDIATYPEINFORMATION structure (ntmsapi.h)
[Removable Storage Manager is no longer available as of Windows 7 and Windows Server 2008 R2.]
The NTMS_MEDIATYPEINFORMATION structure defines the properties specific to a type of media supported by RSM.
Syntax
typedef struct _NTMS_MEDIATYPEINFORMATION {
DWORD MediaType;
DWORD NumberOfSides;
DWORD ReadWriteCharacteristics;
DWORD DeviceType;
} NTMS_MEDIATYPEINFORMATION;
Members
MediaType
Each disk or tape driver reports the media-type enumeration value of the medium that is currently mounted in the drive. This member can be one of the values in the STORAGE_MEDIA_TYPE enumeration type. This unique media type value is mapped to a human-readable string in the object szName member.
NumberOfSides
Number of sides on the media.
ReadWriteCharacteristics
Identifies the read/write characteristics of the media type. This can be one of the following values.
DeviceType
SCSI device type as reported from device inquiry data. This can be one of the following values.
Value | Meaning |
---|---|
|
CD-ROM device. |
|
Direct access device. |
|
Sequential access device. |
Remarks
The NTMS_MEDIATYPEINFORMATION structure is included in the NTMS_OBJECTINFORMATION structure.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | ntmsapi.h |