#ifndef _NTIOAPI_H
// Input structure for IOCTL_MOUNTMGR_VOLUME_MOUNT_POINT_CREATED and
// IOCTL_MOUNTMGR_VOLUME_MOUNT_POINT_DELETED.
typedef struct _MOUNTMGR_VOLUME_MOUNT_POINT
{
USHORT SourceVolumeNameOffset;
USHORT SourceVolumeNameLength;
USHORT TargetVolumeNameOffset;
USHORT TargetVolumeNameLength;
} MOUNTMGR_VOLUME_MOUNT_POINT, *PMOUNTMGR_VOLUME_MOUNT_POINT;
View code on GitHub// mountmgr.h
typedef struct _MOUNTMGR_VOLUME_MOUNT_POINT {
USHORT SourceVolumeNameOffset;
USHORT SourceVolumeNameLength;
USHORT TargetVolumeNameOffset;
USHORT TargetVolumeNameLength;
} MOUNTMGR_VOLUME_MOUNT_POINT, *PMOUNTMGR_VOLUME_MOUNT_POINT;
View the official Windows Driver Kit DDI referenceThis structure is documented in Windows Driver Kit.
The MOUNTMGR_VOLUME_MOUNT_POINT structure is used in conjunction with the IOCTL_MOUNTMGR_VOLUME_MOUNT_POINT_CREATED request to inform the mount manager that a volume mount point has been created.
SourceVolumeNameOffsetContains an offset, in bytes, into the output buffer where the name of the mount point is located.
SourceVolumeNameLengthContains the length, in bytes, of the mount point name.
TargetVolumeNameOffsetContains an offset, in bytes, into the output buffer where the unique (persistent) volume name of the target device is located.
TargetVolumeNameLengthContains the length, in bytes, of the target name.
Mount point names must contain the full path of a mount point object name in the system object tree. For example: "\DosDevices\E:\FilesysD\mnt".
For more information, see Supporting Mount Manager Requests in a Storage Class Driver.
IOCTL_MOUNTMGR_VOLUME_MOUNT_POINT_CREATED