[This is preliminary documentation and subject to change.]
The NTMS_MEDIATYPEINFORMATION data structure defines the properties specific to a type of media supported by RSM.
typedef struct _NTMS_MEDIATYPEINFORMATION {
DWORD MediaType;
DWORD NumberOfSides;
DWORD ReadWriteCharacteristics;
DWORD DeviceType;
} NTMS_MEDIATYPEINFORMATION;
Value | Meaning |
---|---|
NTMS_MEDIARW_REWRITABLE | Media that can be rewritten. This includes magnetic tape, magnetic disk, and some optical disk media. |
NTMS_MEDIARW_WRITEONCE | Media that can only be written to one time. Some optical media, for example, 5.25", 12", 14" WORM, and CD-R, are designed to be write-once. |
NTMS_MEDIARW_READONLY | Media that cannot be written to CD-ROM and DVD-ROM. |
Value | Meaning |
---|---|
FILE_DEVICE_CD_ROM | CD-ROM device. |
FILE_DEVICE_DISK | Direct access device. |
FILE_DEVICE_TAPE | Sequential access device. |
The NTMS_MEDIATYPEINFORMATION data structure is part of the NTMS_OBJECTINFORMATION structure and is not used separately.
Windows NT: Requires version 5.0 or later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in ntmsapi.h.
Import Library: Use ntmsapi.lib.