Bewerken

Delen via


IOCTL_MOUNTDEV_LINK_CREATED IOCTL (mountdev.h)

The mount manager issues IOCTL_MOUNTDEV_LINK_CREATED to alert the client driver that a persistent name has been assigned to its volume.

Support for this IOCTL by mount manager clients is optional.

Major code

IRP_MJ_DEVICE_CONTROL

Input buffer

The mount manager places a variable-length structure of type MOUNTDEV_NAME 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

None.

Output buffer length

None.

Input / Output buffer

N/A

Input / Output buffer length

N/A

Status block

No status.

Remarks

The implementer of this function must not thread synchronize and must not make blocking and/or Interprocess Communication (IPC) function calls.

For more information, see Supporting Mount Manager Requests in a Storage Class Driver.

Requirements

Requirement Value
Header mountdev.h (include Mountmgr.h)

See also

MOUNTDEV_NAME