// scsi.h
typedef struct {
UCHAR ReadWriteCommandDurationLimitsPage : 1;
UCHAR Reserved : 7;
UCHAR Support : 3;
UCHAR CommandDurationLimitPage : 2;
UCHAR MultipleLogicalUnits : 2;
UCHAR CommandTimeoutsDescriptorPresent : 1;
UCHAR CdbSize[2];
UCHAR CdbUsageData[ANYSIZE_ARRAY];
} RS_ONE_COMMAND_PARAMETER_DATA, *PRS_ONE_COMMAND_PARAMETER_DATA;
View the official Windows Driver Kit DDI reference// storport.h
typedef struct {
UCHAR ReadWriteCommandDurationLimitsPage : 1;
UCHAR Reserved : 7;
UCHAR Support : 3;
UCHAR CommandDurationLimitPage : 2;
UCHAR MultipleLogicalUnits : 2;
UCHAR CommandTimeoutsDescriptorPresent : 1;
UCHAR CdbSize[2];
UCHAR CdbUsageData[ANYSIZE_ARRAY];
} RS_ONE_COMMAND_PARAMETER_DATA, *PRS_ONE_COMMAND_PARAMETER_DATA;
View the official Windows Driver Kit DDI referenceNo description available.
The RS_ONE_COMMAND_PARAMETER_DATA structure contains information about the command data block (CDB) and a usage map for bits in the CDB.
ReadWriteCommandDurationLimitsPageIndicates the mode page, if any, that specifies the duration limit for the command.
ReservedReserved for internal use.
SupportThe Support field values are described in the following table:
| Value | Description |
|---|---|
| 0 | Data about the requested SCSI command is not currently available. No data after byte one is valid. A subsequent request for command support data may be successful. |
| 1 | The device server does not support the requested command. Data after byte one is undefined. |
| 2 | Reserved |
| 3 | The device server supports the requested command in conformance with a SCSI standard. |
| 4 | Reserved |
| 5 | The device server supports the requested command in a vendor specific manner. |
| 6-7 | Reserved |
CommandDurationLimitPageSpecified the command duration limit page mode. For more information see RS_COMMAND_DESCRIPTOR.
MultipleLogicalUnitsThe MultipleLogicalUnits field values are described in the following table:
| Value | Description |
|---|---|
| 0 | The effect of this command on other logical units is not reported. |
| 1 | This command affects only this logical unit. |
| 2 | This command affects more than one, but not all, logical units contained in this SCSI target device. |
| 3 | This command affects all of the logical units contained in this SCSI target device. |
CommandTimeoutsDescriptorPresentIndicates that the command timeouts descriptor is included in the command descriptor.
CdbSize[2]The size of the command data block (CDB).
CdbUsageData[ANYSIZE_ARRAY]A bit field containing information about the command data block (CDB). The first byte contains the operation code. If the command contains a service action, that code is in the CdbUsageData field in the same location as the ServiceAction field of the command CDB. All other bytes of the CdbUsageData field contain a usage map for bits in the command data block.
The RS_ONE_COMMAND_PARAMETER_DATA structure contains information about the command data block (CDB) and a usage map for bits in the CDB.
ReadWriteCommandDurationLimitsPageIndicates the mode page, if any, that specifies the duration limit for the command.
ReservedReserved for internal use.
SupportThe Support field values are described in the following table:
| Value | Description |
|---|---|
| 0 | Data about the requested command is not currently available. No data after byte one is valid. A subsequent request for command support data may be successful. |
| 1 | The device server does not support the requested command. Data after byte one is undefined. |
| 2 | Reserved |
| 3 | The device server supports the requested command in conformance with a standard. |
| 4 | Reserved |
| 5 | The device server supports the requested command in a vendor specific manner. |
| 6-7 | Reserved |
CommandDurationLimitPageSpecified the command duration limit page mode. For more information see RS_COMMAND_DESCRIPTOR.
MultipleLogicalUnitsThe MultipleLogicalUnits field values are described in the following table:
| Value | Description |
|---|---|
| 0 | The effect of this command on other logical units is not reported. |
| 1 | This command affects only this logical unit. |
| 2 | This command affects more than one, but not all, logical units contained in this target device. |
| 3 | This command affects all of the logical units contained in this target device. |
CommandTimeoutsDescriptorPresentIndicates that the command timeouts descriptor is included in the command descriptor.
CdbSize[2]The size of the command data block (CDB).
CdbUsageData[ANYSIZE_ARRAY]A bit field containing information about the command data block (CDB). The first byte contains the operation code. If the command contains a service action, that code is in the CdbUsageData field in the same location as the ServiceAction field of the command CDB. All other bytes of the CdbUsageData field contain a usage map for bits in the command data block.