NotifyVolumeRemoval

NotifyVolumeRemoval(
 unsigned int drive
 )
 

This service is issued by the IOS to notify the IFS manager of the removal of a PNP drive. This service checks if there are open files or pending I/O operations on the drive that is being removed and puts up a warning dialog to the user in this case because there could be possible data loss. When this service is completed, the drive passed in is no longer a valid drive.

drive
Supplies the 0-based logical drive number of the new device.