MOUNTMGR_TARGET_NAME structure (mountmgr.h)
The MOUNTMGR_TARGET_NAME structure contains the nonpersistent target device name for a device and is used by mount manager clients with the IOCTL_MOUNTMGR_KEEP_LINKS_WHEN_OFFLINE request to tell the mount manager to keep the symbolic link for a device active even after the device has gone offline.
Syntax
typedef struct _MOUNTMGR_TARGET_NAME {
USHORT DeviceNameLength;
WCHAR DeviceName[1];
} MOUNTMGR_TARGET_NAME, *PMOUNTMGR_TARGET_NAME;
Members
DeviceNameLength
Contains the length, in bytes, of the device name stored in DeviceName.
DeviceName[1]
Contains the nonpersistent target device name.
Remarks
Nonpersistent target names must contain the full path of a target object name in the system object tree. For example: "\Device\HarddiskVolume1".
For more information, see Supporting Mount Manager Requests in a Storage Class Driver.
Requirements
Requirement | Value |
---|---|
Header | mountmgr.h (include Mountmgr.h) |