PRI_RESERVATION_LIST structure (scsi.h)

The PRI_RESERVATION_LIST structure is returned in response to a Persistent Reserve In command with ServiceAction = RESERVATION_ACTION_READ_RESERVATIONS.

Syntax

typedef struct {
  UCHAR                      Generation[4];
  UCHAR                      AdditionalLength[4];
  PRI_RESERVATION_DESCRIPTOR Reservations[0];
} PRI_RESERVATION_LIST, *PPRI_RESERVATION_LIST;

Members

Generation[4]

The Generation field contains a 32-bit counter that is maintained by the device server, which is incremented every time a Persistent Reserve Out command requests a REGISTER, REGISTER AND IGNORE EXISTING KEY, CLEAR, PREEMPT, or PREEMPT AND ABORT service action.

AdditionalLength[4]

The AdditionalLength field contains a count of the number of bytes in the reservation descriptors.

Reservations[0]

An array of reservation descriptors.

Remarks

The IOCTL_STORAGE_PERSISTENT_RESERVE_IN request is used to obtain information about persistent reservations and reservation keys that are active within a device server.

Requirements

Requirement Value
Header scsi.h (include Ntddstor.h, Minitape.h, Scsi.h)

See also

IOCTL_STORAGE_PERSISTENT_RESERVE_IN