IOCTL_MOUNTMGR_VOLUME_MOUNT_POINT_DELETED IOCTL (mountmgr.h)
The mount manager clients use this IOCTL to alert the mount manager that a volume mount point has been deleted so that the mount manager can replicate the database entry for the given mount point.
The Microsoft Win32 routine DeleteVolumeMountPoint sends this IOCTL to the mount manager, to inform the mount manager that a directory junction is no longer pointing to a volume name. The mount manager responds by deleting the volume name formerly contained in the directory junction along with its unique ID from the volume hosting the directory junction.
Major code
Input buffer
The mount manager client initializes the MOUNTMGR_VOLUME_MOUNT_POINT structure, defined in Mountmgr.h, at the beginning of the buffer at Irp->AssociatedIrp.SystemBuffer.
Input buffer length
Parameters.DeviceIoControl.InputBufferLength in the I/O stack location of the IRP indicates the size, in bytes, of the input buffer, which must be greater than or equal to sizeof(MOUNTMGR_VOLUME_MOUNT_POINT).
Output buffer
None
Output buffer length
None
Status block
If the operation is successful, the Status field is set to STATUS_SUCCESS.
If InputBufferLength is less than sizeof(MOUNTMGR_VOLUME_MOUNT_POINT), the Status field is set to STATUS_INVALID_PARAMETER.
Requirements
Requirement | Value |
---|---|
Header | mountmgr.h (include Mountmgr.h) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for