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