IOCTL_MOUNTMGR_VOLUME_MOUNT_POINT_CREATED - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTIOAPI_H

#define IOCTL_MOUNTMGR_VOLUME_MOUNT_POINT_CREATED   CTL_CODE(MOUNTMGRCONTROLTYPE, 6, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)

#endif

View code on GitHub
// mountmgr.h

// CTL_CODE(0x006d, 0x006, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
#define IOCTL_MOUNTMGR_VOLUME_MOUNT_POINT_CREATED 0x006DC018
View the official Windows Driver Kit DDI reference

NtDoc

This IOCTL is documented in Windows Driver Kit.

Windows Driver Kit DDI reference (ni-mountmgr-ioctl_mountmgr_volume_mount_point_created)

Description

This IOCTL alerts the mount manager that a volume mount point has been created, so that the mount manager can replicate the database entry for the given mount point. Its primary function is to allow volume mount points to persist even when the volumes are moved from one system to another.

The Microsoft Win32 routine SetVolumeMountPoint sends this IOCTL to the mount manager, to inform the mount manager that a newly-created directory junction is pointing to a volume name. The mount manager responds by storing the volume name contained in the directory junction along with its unique ID on the volume hosting the directory junction.

Parameters

Major code

IRP_MJ_DEVICE_CONTROL

Input buffer

The mount manager client initializes the MOUNTMGR_VOLUME_MOUNT_POINT structure 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.

Input/output buffer

N/A

Input/output buffer length

N/A

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.

Remarks

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

See also

MOUNTMGR_VOLUME_MOUNT_POINT