QueryVolumeRemoval(
unsigned int drive
)
This service is called by the IOS to notify the IFS manager of the pending removal of a plug-and-play drive. This service should not be called by other VxDs directly. VxDs should interface with the IOS and let the IOS do the notification to the IFS manager. This service calls IOS_Requestor_Service with IRS_QUERY_VOLUME_LOCK, to obtain the bitmap of drive letters associated with the volume. The member IRS_q_v_l_designtr contains the logical drive number 0=A: etc. Next, QueryVolumeRemoval tests for any open file handles (except those handles opened as type FIND_CHANGE_NOTIFY) on any of the drive letters (in other words, partitions) associated with the volume.
This service is called in the following places:
ISP_Query_Remove
CONFIG_START (sets CR_NEED_RESTART if any open files on RMM volumes)
CONFIGMG_QueryRemoveSubtree