Support for this IOCTL by the mount manager clients is optional. The mount manager uses this IOCTL to alert the client driver that a persistent name has been assigned to its volume. The input for this IOCTL is the persistent name assigned.
The mount point manager places a variable-length structure of type MOUNTDEV_NAME, defined in Mountmgr.h at the beginning of the buffer at Irp->AssociatedIrp.SystemBuffer. The mount manager inserts the persistent name just assigned at the address pointed to by the Name member of this structure.
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(MOUNTDEV_NAME).
Output Buffer Length
The implementer of this function must not thread synchronize and must not make blocking and/or Interprocess Communication (IPC) function calls.
|Header||mountdev.h (include Mountmgr.h)|