MOUNTDEV_NAME structure (mountmgr.h)

The MOUNTDEV_NAME structure holds the name of a device.

Syntax

typedef struct _MOUNTDEV_NAME {
  USHORT NameLength;
  WCHAR  Name[1];
} MOUNTDEV_NAME, *PMOUNTDEV_NAME;

Members

NameLength

Contains the length of the name, in bytes.

Name[1]

Contains a variable-sized array of wide characters that holds the name of the device mount point. The name may be a nonpersistent target name such as "\Device\HarddiskVolume1", a persistent symbolic link name such as a drive letter, "\DosDevices\D:", or a mount point such as "\DosDevices\E:\FilesysD\mnt".

Remarks

As a best practice, the implementer must not thread-synchronize and must not make blocking and/or Interprocess Communication (IPC) function calls.

Requirements

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

See also

IOCTL_MOUNTDEV_LINK_CREATED

IOCTL_MOUNTDEV_LINK_DELETED

IOCTL_MOUNTDEV_QUERY_DEVICE_NAME