The IOCTL_DISK_GET_MEDIA_TYPES control code has been superseded by the IOCTL_STORAGE_GET_MEDIA_TYPES control code.
Device Input and Output Overview, Device Input and Output Control Codes