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

The length of the unique volume ID, in bytes.

UniqueId[1]

Array of bytes that specify the unique volume ID.

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_QUERY_UNIQUE_ID