MOUNTDEV_UNIQUE_ID structure (mountdev.h)

The MOUNTDEV_UNIQUE_ID structure contains a unique volume ID that a mount manager client provides to the mount manager in response to an IOCTL_MOUNTDEV_QUERY_UNIQUE_ID request.

Syntax

typedef struct _MOUNTDEV_UNIQUE_ID {
  USHORT UniqueIdLength;
  UCHAR  UniqueId[1];
} MOUNTDEV_UNIQUE_ID, *PMOUNTDEV_UNIQUE_ID;

Members

UniqueIdLength

Contains the length of the unique volume ID.

UniqueId[1]

Contains the unique volume ID as an array of bytes.

Remarks

For a discussion of unique volume IDs and how the mount manager uses them, see Supporting Mount Manager Requests in a Storage Class Driver.

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 mountdev.h (include Mountmgr.h)

See also

IOCTL_MOUNTDEV_UNIQUE_ID_CHANGE_NOTIFY