// minitape.h
typedef struct _GET_MEDIA_TYPES {
ULONG DeviceType;
ULONG MediaInfoCount;
DEVICE_MEDIA_INFO MediaInfo[1];
} GET_MEDIA_TYPES, *PGET_MEDIA_TYPES;
View the official Windows Driver Kit DDI reference
// ntddstor.h
typedef struct _GET_MEDIA_TYPES {
ULONG DeviceType;
ULONG MediaInfoCount;
DEVICE_MEDIA_INFO MediaInfo[1];
} GET_MEDIA_TYPES, *PGET_MEDIA_TYPES;
View the official Windows Driver Kit DDI reference
// winioctl.h
typedef struct _GET_MEDIA_TYPES {
DWORD DeviceType;
DWORD MediaInfoCount;
DEVICE_MEDIA_INFO MediaInfo[1];
} GET_MEDIA_TYPES, *PGET_MEDIA_TYPES;
View the official Win32 API reference
No description available.
The GET_MEDIA_TYPES structure is used in conjunction with the IOCTL_STORAGE_GET_MEDIA_TYPES_EX request to retrieve information about the types of media supported by a device.
DeviceType
Specifies one of the system-defined FILE_DEVICE_XXX constants indicating the type of device (such as FILE_DEVICE_DISK, FILE_DEVICE_KEYBOARD, and so forth) or a vendor-defined value for a new type of device. For more information, see Specifying Device Types.
MediaInfoCount
Contains the number of DEVICE_MEDIA_INFO structures in the array starting at MediaInfo.
MediaInfo
Contains an array whose first element holds the first DEVICE_MEDIA_INFO structure in the array.
A storage class driver must handle the IOCTL_STORAGE_GET_MEDIA_TYPES_EX request to support any device that the Removable Storage Manager (RSM) accesses, whether the device is a stand-alone device or a data transfer element (drive) in a media library or changer.
IOCTL_STORAGE_GET_MEDIA_TYPES_EX
The GET_MEDIA_TYPES structure is used in conjunction with the IOCTL_STORAGE_GET_MEDIA_TYPES_EX request to retrieve information about the types of media supported by a device.
DeviceType
Specifies one of the system-defined FILE_DEVICE_XXX constants indicating the type of device (such as FILE_DEVICE_DISK, FILE_DEVICE_KEYBOARD, and so forth) or a vendor-defined value for a new type of device. For more information, see Specifying Device Types.
MediaInfoCount
Contains the number of DEVICE_MEDIA_INFO structures in the array starting at MediaInfo.
MediaInfo
Contains an array whose first element holds the first DEVICE_MEDIA_INFO structure in the array.
A storage class driver must handle the IOCTL_STORAGE_GET_MEDIA_TYPES_EX request to support any device that the Removable Storage Manager (RSM) accesses, whether the device is a stand-alone device or a data transfer element (drive) in a media library or changer.
IOCTL_STORAGE_GET_MEDIA_TYPES_EX
Contains information about the media types supported by a device.
DeviceType
The type of device. Values from 0 through 32,767 are reserved for use by Microsoft Corporation. Values from 32,768 through 65,535 are reserved for use by other vendors. The following values are defined by Microsoft:
MediaInfoCount
The number of elements in the MediaInfo array.
MediaInfo
A pointer to the first DEVICE_MEDIA_INFO structure in the array. There is one structure for each media type supported by the device.
IOCTL_STORAGE_GET_MEDIA_TYPES_EX