IFSMgr_CDROM_Attach

IFSMgr_CDROM_Attach(
 unsigned long Drive,
 unsigned long * pVRP,
 int fDoMount
 )
 

This service is used by the CD-ROM FSD while doing asynchronous operations. It indicates to the IFS manager that it has a reference to the resource so that it will not disappear while the operation is still in effect. It also has an option to not mount even if the volume needs to be mounted. This can be used by FSDs that perform asynchronous operations.

Drive
Supplies the 0-based drive number of the drive the attachment needs to be done to.
pVRP
Supplies a pointer to the variable in which the IFS manager returns the system volume handle for this drive. This handle is later used to pass requests down to the IOS.
fDoMount
Supplies a boolean flag indicating whether a mount operation is allowed or not. A value of TRUE indicates that the mount operation can be done, if necessary. An error is returned if a mount is needed, but is not allowed.
pVRP Contains the system volume handle for the specified drive on a successful return.