ReactOS  0.4.14-dev-552-g2fad488
scsi.h File Reference
#include "srb.h"
Include dependency graph for scsi.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

union  _CDB
 
struct  _CDB::_CDB6GENERIC
 
struct  _CDB::_CDB6READWRITE
 
struct  _CDB::_CDB6INQUIRY
 
struct  _CDB::_CDB6INQUIRY3
 
struct  _CDB::_CDB6VERIFY
 
struct  _CDB::_CDB6FORMAT
 
struct  _CDB::_CDB10
 
struct  _CDB::_CDB12
 
struct  _CDB::_CDB16
 
struct  _CDB::_PAUSE_RESUME
 
struct  _CDB::_READ_TOC
 
struct  _CDB::_READ_DISK_INFORMATION
 
struct  _CDB::_READ_TRACK_INFORMATION
 
struct  _CDB::_RESERVE_TRACK_RZONE
 
struct  _CDB::_SEND_OPC_INFORMATION
 
struct  _CDB::_REPAIR_TRACK
 
struct  _CDB::_CLOSE_TRACK
 
struct  _CDB::_READ_BUFFER_CAPACITY
 
struct  _CDB::_SEND_CUE_SHEET
 
struct  _CDB::_READ_HEADER
 
struct  _CDB::_PLAY_AUDIO
 
struct  _CDB::_PLAY_AUDIO_MSF
 
struct  _CDB::_BLANK_MEDIA
 
struct  _CDB::_PLAY_CD
 
struct  _CDB::_SCAN_CD
 
struct  _CDB::_STOP_PLAY_SCAN
 
struct  _CDB::_SUBCHANNEL
 
struct  _CDB::_READ_CD
 
struct  _CDB::_READ_CD_MSF
 
struct  _CDB::_PLXTR_READ_CDDA
 
struct  _CDB::_NEC_READ_CDDA
 
struct  _CDB::_MODE_SENSE
 
struct  _CDB::_MODE_SENSE10
 
struct  _CDB::_MODE_SELECT
 
struct  _CDB::_MODE_SELECT10
 
struct  _CDB::_LOCATE
 
struct  _CDB::_LOGSENSE
 
struct  _CDB::_LOGSELECT
 
struct  _CDB::_PRINT
 
struct  _CDB::_SEEK
 
struct  _CDB::_ERASE
 
struct  _CDB::_START_STOP
 
struct  _CDB::_MEDIA_REMOVAL
 
struct  _CDB::_SEEK_BLOCK
 
struct  _CDB::_REQUEST_BLOCK_ADDRESS
 
struct  _CDB::_PARTITION
 
struct  _CDB::_WRITE_TAPE_MARKS
 
struct  _CDB::_SPACE_TAPE_MARKS
 
struct  _CDB::_READ_POSITION
 
struct  _CDB::_CDB6READWRITETAPE
 
struct  _CDB::_INIT_ELEMENT_STATUS
 
struct  _CDB::_INITIALIZE_ELEMENT_RANGE
 
struct  _CDB::_POSITION_TO_ELEMENT
 
struct  _CDB::_MOVE_MEDIUM
 
struct  _CDB::_EXCHANGE_MEDIUM
 
struct  _CDB::_READ_ELEMENT_STATUS
 
struct  _CDB::_SEND_VOLUME_TAG
 
struct  _CDB::_REQUEST_VOLUME_ELEMENT_ADDRESS
 
struct  _CDB::_LOAD_UNLOAD
 
struct  _CDB::_MECH_STATUS
 
struct  _CDB::_SYNCHRONIZE_CACHE10
 
struct  _CDB::_GET_EVENT_STATUS_NOTIFICATION
 
struct  _CDB::_GET_PERFORMANCE
 
struct  _CDB::_READ_DVD_STRUCTURE
 
struct  _CDB::_SET_STREAMING
 
struct  _CDB::_SEND_DVD_STRUCTURE
 
struct  _CDB::_SEND_KEY
 
struct  _CDB::_REPORT_KEY
 
struct  _CDB::_SET_READ_AHEAD
 
struct  _CDB::_READ_FORMATTED_CAPACITIES
 
struct  _CDB::_REPORT_LUNS
 
struct  _CDB::_PERSISTENT_RESERVE_IN
 
struct  _CDB::_PERSISTENT_RESERVE_OUT
 
struct  _CDB::_GET_CONFIGURATION
 
struct  _CDB::_SET_CD_SPEED
 
struct  _CDB::_READ12
 
struct  _CDB::_WRITE12
 
struct  _CDB::_READ16
 
struct  _CDB::_WRITE16
 
struct  _CDB::_VERIFY16
 
struct  _CDB::_SYNCHRONIZE_CACHE16
 
struct  _CDB::_READ_CAPACITY16
 
struct  _NOTIFICATION_EVENT_STATUS_HEADER
 
struct  _NOTIFICATION_OPERATIONAL_STATUS
 
struct  _NOTIFICATION_POWER_STATUS
 
struct  _NOTIFICATION_EXTERNAL_STATUS
 
struct  _NOTIFICATION_MEDIA_STATUS
 
struct  _NOTIFICATION_MULTI_HOST_STATUS
 
struct  _NOTIFICATION_BUSY_STATUS
 
struct  _READ_DVD_STRUCTURES_HEADER
 
struct  _CDVD_KEY_HEADER
 
struct  _CDVD_REPORT_AGID_DATA
 
struct  _CDVD_CHALLENGE_KEY_DATA
 
struct  _CDVD_KEY_DATA
 
struct  _CDVD_REPORT_ASF_DATA
 
struct  _CDVD_TITLE_KEY_HEADER
 
struct  _FORMAT_DESCRIPTOR
 
struct  _FORMAT_LIST_HEADER
 
struct  _FORMATTED_CAPACITY_DESCRIPTOR
 
struct  _FORMATTED_CAPACITY_LIST
 
struct  _OPC_TABLE_ENTRY
 
struct  _DISC_INFORMATION
 
struct  _DISK_INFORMATION
 
struct  _DATA_BLOCK_HEADER
 
struct  _TRACK_INFORMATION
 
struct  _TRACK_INFORMATION2
 
struct  _TRACK_INFORMATION3
 
struct  _PERFORMANCE_DESCRIPTOR
 
struct  _SCSI_EXTENDED_MESSAGE
 
union  _SCSI_EXTENDED_MESSAGE::_EXTENDED_ARGUMENTS
 
struct  _INQUIRYDATA
 
struct  _VPD_MEDIA_SERIAL_NUMBER_PAGE
 
struct  _VPD_SERIAL_NUMBER_PAGE
 
struct  _VPD_IDENTIFICATION_DESCRIPTOR
 
struct  _VPD_IDENTIFICATION_PAGE
 
struct  _VPD_SUPPORTED_PAGES_PAGE
 
struct  _PRI_REGISTRATION_LIST
 
struct  _PRI_RESERVATION_DESCRIPTOR
 
struct  _PRI_RESERVATION_LIST
 
struct  _PRO_PARAMETER_LIST
 
struct  _SENSE_DATA
 
struct  _READ_CAPACITY_DATA
 
struct  _READ_CAPACITY_DATA_EX
 
struct  _READ_BLOCK_LIMITS
 
struct  _READ_BUFFER_CAPACITY_DATA
 
struct  _MODE_PARAMETER_HEADER
 
struct  _MODE_PARAMETER_HEADER10
 
struct  _MODE_PARAMETER_BLOCK
 
struct  _MODE_DISCONNECT_PAGE
 
struct  _MODE_CACHING_PAGE
 
struct  _MODE_CDROM_WRITE_PARAMETERS_PAGE2
 
struct  _MODE_MRW_PAGE
 
struct  _MODE_FLEXIBLE_DISK_PAGE
 
struct  _MODE_FORMAT_PAGE
 
struct  _MODE_RIGID_GEOMETRY_PAGE
 
struct  _MODE_READ_WRITE_RECOVERY_PAGE
 
struct  _MODE_READ_RECOVERY_PAGE
 
struct  _MODE_INFO_EXCEPTIONS
 
struct  _POWER_CONDITION_PAGE
 
struct  _CDDA_OUTPUT_PORT
 
struct  _CDAUDIO_CONTROL_PAGE
 
struct  _CDVD_FEATURE_SET_PAGE
 
struct  _CDVD_INACTIVITY_TIMEOUT_PAGE
 
struct  _CDVD_CAPABILITIES_PAGE
 
struct  _LUN_LIST
 
struct  _MODE_PARM_READ_WRITE
 
struct  _PORT_OUTPUT
 
struct  _AUDIO_OUTPUT
 
struct  _MECHANICAL_STATUS_INFORMATION_HEADER
 
struct  _SLOT_TABLE_INFORMATION
 
struct  _MECHANICAL_STATUS
 
struct  _TAPE_POSITION_DATA
 
union  _EIGHT_BYTE
 
union  _FOUR_BYTE
 
union  _TWO_BYTE
 
struct  _MODE_CDROM_WRITE_PARAMETERS_PAGE
 

Macros

#define NOTIFICATION_OPERATIONAL_CHANGE_CLASS_MASK   0x02
 
#define NOTIFICATION_POWER_MANAGEMENT_CLASS_MASK   0x04
 
#define NOTIFICATION_EXTERNAL_REQUEST_CLASS_MASK   0x08
 
#define NOTIFICATION_MEDIA_STATUS_CLASS_MASK   0x10
 
#define NOTIFICATION_MULTI_HOST_CLASS_MASK   0x20
 
#define NOTIFICATION_DEVICE_BUSY_CLASS_MASK   0x40
 
#define NOTIFICATION_NO_CLASS_EVENTS   0x0
 
#define NOTIFICATION_OPERATIONAL_CHANGE_CLASS_EVENTS   0x1
 
#define NOTIFICATION_POWER_MANAGEMENT_CLASS_EVENTS   0x2
 
#define NOTIFICATION_EXTERNAL_REQUEST_CLASS_EVENTS   0x3
 
#define NOTIFICATION_MEDIA_STATUS_CLASS_EVENTS   0x4
 
#define NOTIFICATION_MULTI_HOST_CLASS_EVENTS   0x5
 
#define NOTIFICATION_DEVICE_BUSY_CLASS_EVENTS   0x6
 
#define NOTIFICATION_OPERATIONAL_EVENT_NO_CHANGE   0x0
 
#define NOTIFICATION_OPERATIONAL_EVENT_CHANGE_REQUESTED   0x1
 
#define NOTIFICATION_OPERATIONAL_EVENT_CHANGE_OCCURRED   0x2
 
#define NOTIFICATION_OPERATIONAL_STATUS_AVAILABLE   0x0
 
#define NOTIFICATION_OPERATIONAL_STATUS_TEMPORARY_BUSY   0x1
 
#define NOTIFICATION_OPERATIONAL_STATUS_EXTENDED_BUSY   0x2
 
#define NOTIFICATION_OPERATIONAL_OPCODE_NONE   0x0
 
#define NOTIFICATION_OPERATIONAL_OPCODE_FEATURE_CHANGE   0x1
 
#define NOTIFICATION_OPERATIONAL_OPCODE_FEATURE_ADDED   0x2
 
#define NOTIFICATION_OPERATIONAL_OPCODE_UNIT_RESET   0x3
 
#define NOTIFICATION_OPERATIONAL_OPCODE_FIRMWARE_CHANGED   0x4
 
#define NOTIFICATION_OPERATIONAL_OPCODE_INQUIRY_CHANGED   0x5
 
#define NOTIFICATION_POWER_EVENT_NO_CHANGE   0x0
 
#define NOTIFICATION_POWER_EVENT_CHANGE_SUCCEEDED   0x1
 
#define NOTIFICATION_POWER_EVENT_CHANGE_FAILED   0x2
 
#define NOTIFICATION_POWER_STATUS_ACTIVE   0x1
 
#define NOTIFICATION_POWER_STATUS_IDLE   0x2
 
#define NOTIFICATION_POWER_STATUS_STANDBY   0x3
 
#define NOTIFICATION_POWER_STATUS_SLEEP   0x4
 
#define NOTIFICATION_MEDIA_EVENT_NO_EVENT   0x0
 
#define NOTIFICATION_EXTERNAL_EVENT_NO_CHANGE   0x0
 
#define NOTIFICATION_EXTERNAL_EVENT_BUTTON_DOWN   0x1
 
#define NOTIFICATION_EXTERNAL_EVENT_BUTTON_UP   0x2
 
#define NOTIFICATION_EXTERNAL_EVENT_EXTERNAL   0x3
 
#define NOTIFICATION_EXTERNAL_STATUS_READY   0x0
 
#define NOTIFICATION_EXTERNAL_STATUS_PREVENT   0x1
 
#define NOTIFICATION_EXTERNAL_REQUEST_NONE   0x0000
 
#define NOTIFICATION_EXTERNAL_REQUEST_QUEUE_OVERRUN   0x0001
 
#define NOTIFICATION_EXTERNAL_REQUEST_PLAY   0x0101
 
#define NOTIFICATION_EXTERNAL_REQUEST_REWIND_BACK   0x0102
 
#define NOTIFICATION_EXTERNAL_REQUEST_FAST_FORWARD   0x0103
 
#define NOTIFICATION_EXTERNAL_REQUEST_PAUSE   0x0104
 
#define NOTIFICATION_EXTERNAL_REQUEST_STOP   0x0106
 
#define NOTIFICATION_EXTERNAL_REQUEST_ASCII_LOW   0x0200
 
#define NOTIFICATION_EXTERNAL_REQUEST_ASCII_HIGH   0x02ff
 
#define NOTIFICATION_MEDIA_EVENT_NO_CHANGE   0x0
 
#define NOTIFICATION_MEDIA_EVENT_EJECT_REQUEST   0x1
 
#define NOTIFICATION_MEDIA_EVENT_NEW_MEDIA   0x2
 
#define NOTIFICATION_MEDIA_EVENT_MEDIA_REMOVAL   0x3
 
#define NOTIFICATION_MEDIA_EVENT_MEDIA_CHANGE   0x4
 
#define NOTIFICATION_BUSY_EVENT_NO_EVENT   0x0
 
#define NOTIFICATION_MULTI_HOST_EVENT_NO_CHANGE   0x0
 
#define NOTIFICATION_MULTI_HOST_EVENT_CONTROL_REQUEST   0x1
 
#define NOTIFICATION_MULTI_HOST_EVENT_CONTROL_GRANT   0x2
 
#define NOTIFICATION_MULTI_HOST_EVENT_CONTROL_RELEASE   0x3
 
#define NOTIFICATION_MULTI_HOST_STATUS_READY   0x0
 
#define NOTIFICATION_MULTI_HOST_STATUS_PREVENT   0x1
 
#define NOTIFICATION_MULTI_HOST_PRIORITY_NO_REQUESTS   0x0
 
#define NOTIFICATION_MULTI_HOST_PRIORITY_LOW   0x1
 
#define NOTIFICATION_MULTI_HOST_PRIORITY_MEDIUM   0x2
 
#define NOTIFICATION_MULTI_HOST_PRIORITY_HIGH   0x3
 
#define NOTIFICATION_BUSY_EVENT_NO_EVENT   0x0
 
#define NOTIFICATION_BUSY_EVENT_NO_CHANGE   0x0
 
#define NOTIFICATION_BUSY_EVENT_BUSY   0x1
 
#define NOTIFICATION_BUSY_STATUS_NO_EVENT   0x0
 
#define NOTIFICATION_BUSY_STATUS_POWER   0x1
 
#define NOTIFICATION_BUSY_STATUS_IMMEDIATE   0x2
 
#define NOTIFICATION_BUSY_STATUS_DEFERRED   0x3
 
#define DVD_FORMAT_LEAD_IN   0x00
 
#define DVD_FORMAT_COPYRIGHT   0x01
 
#define DVD_FORMAT_DISK_KEY   0x02
 
#define DVD_FORMAT_BCA   0x03
 
#define DVD_FORMAT_MANUFACTURING   0x04
 
#define DVD_REPORT_AGID   0x00
 
#define DVD_CHALLENGE_KEY   0x01
 
#define DVD_KEY_1   0x02
 
#define DVD_KEY_2   0x03
 
#define DVD_TITLE_KEY   0x04
 
#define DVD_REPORT_ASF   0x05
 
#define DVD_INVALIDATE_AGID   0x3F
 
#define BLANK_FULL   0x0
 
#define BLANK_MINIMAL   0x1
 
#define BLANK_TRACK   0x2
 
#define BLANK_UNRESERVE_TRACK   0x3
 
#define BLANK_TAIL   0x4
 
#define BLANK_UNCLOSE_SESSION   0x5
 
#define BLANK_SESSION   0x6
 
#define CD_EXPECTED_SECTOR_ANY   0x0
 
#define CD_EXPECTED_SECTOR_CDDA   0x1
 
#define CD_EXPECTED_SECTOR_MODE1   0x2
 
#define CD_EXPECTED_SECTOR_MODE2   0x3
 
#define CD_EXPECTED_SECTOR_MODE2_FORM1   0x4
 
#define CD_EXPECTED_SECTOR_MODE2_FORM2   0x5
 
#define DISK_STATUS_EMPTY   0x00
 
#define DISK_STATUS_INCOMPLETE   0x01
 
#define DISK_STATUS_COMPLETE   0x02
 
#define DISK_STATUS_OTHERS   0x03
 
#define LAST_SESSION_EMPTY   0x00
 
#define LAST_SESSION_INCOMPLETE   0x01
 
#define LAST_SESSION_RESERVED_DAMAGED   0x02
 
#define LAST_SESSION_COMPLETE   0x03
 
#define DISK_TYPE_CDDA   0x00
 
#define DISK_TYPE_CDI   0x10
 
#define DISK_TYPE_XA   0x20
 
#define DISK_TYPE_UNDEFINED   0xFF
 
#define DISC_BGFORMAT_STATE_NONE   0x0
 
#define DISC_BGFORMAT_STATE_INCOMPLETE   0x1
 
#define DISC_BGFORMAT_STATE_RUNNING   0x2
 
#define DISC_BGFORMAT_STATE_COMPLETE   0x3
 
#define DATA_BLOCK_MODE0   0x0
 
#define DATA_BLOCK_MODE1   0x1
 
#define DATA_BLOCK_MODE2   0x2
 
#define READ_TOC_FORMAT_TOC   0x00
 
#define READ_TOC_FORMAT_SESSION   0x01
 
#define READ_TOC_FORMAT_FULL_TOC   0x02
 
#define READ_TOC_FORMAT_PMA   0x03
 
#define READ_TOC_FORMAT_ATIP   0x04
 
#define CDB6GENERIC_LENGTH   6
 
#define CDB10GENERIC_LENGTH   10
 
#define CDB12GENERIC_LENGTH   12
 
#define SETBITON   1
 
#define SETBITOFF   0
 
#define MODE_PAGE_VENDOR_SPECIFIC   0x00
 
#define MODE_PAGE_ERROR_RECOVERY   0x01
 
#define MODE_PAGE_DISCONNECT   0x02
 
#define MODE_PAGE_FORMAT_DEVICE   0x03
 
#define MODE_PAGE_MRW   0x03
 
#define MODE_PAGE_RIGID_GEOMETRY   0x04
 
#define MODE_PAGE_FLEXIBILE   0x05
 
#define MODE_PAGE_WRITE_PARAMETERS   0x05
 
#define MODE_PAGE_VERIFY_ERROR   0x07
 
#define MODE_PAGE_CACHING   0x08
 
#define MODE_PAGE_PERIPHERAL   0x09
 
#define MODE_PAGE_CONTROL   0x0A
 
#define MODE_PAGE_MEDIUM_TYPES   0x0B
 
#define MODE_PAGE_NOTCH_PARTITION   0x0C
 
#define MODE_PAGE_CD_AUDIO_CONTROL   0x0E
 
#define MODE_PAGE_DATA_COMPRESS   0x0F
 
#define MODE_PAGE_DEVICE_CONFIG   0x10
 
#define MODE_PAGE_XOR_CONTROL   0x10
 
#define MODE_PAGE_MEDIUM_PARTITION   0x11
 
#define MODE_PAGE_ENCLOSURE_SERVICES_MANAGEMENT   0x14
 
#define MODE_PAGE_EXTENDED   0x15
 
#define MODE_PAGE_EXTENDED_DEVICE_SPECIFIC   0x16
 
#define MODE_PAGE_CDVD_FEATURE_SET   0x18
 
#define MODE_PAGE_PROTOCOL_SPECIFIC_LUN   0x18
 
#define MODE_PAGE_PROTOCOL_SPECIFIC_PORT   0x19
 
#define MODE_PAGE_POWER_CONDITION   0x1A
 
#define MODE_PAGE_LUN_MAPPING   0x1B
 
#define MODE_PAGE_FAULT_REPORTING   0x1C
 
#define MODE_PAGE_CDVD_INACTIVITY   0x1D
 
#define MODE_PAGE_ELEMENT_ADDRESS   0x1D
 
#define MODE_PAGE_TRANSPORT_GEOMETRY   0x1E
 
#define MODE_PAGE_DEVICE_CAPABILITIES   0x1F
 
#define MODE_PAGE_CAPABILITIES   0x2A
 
#define MODE_SENSE_RETURN_ALL   0x3f
 
#define MODE_SENSE_CURRENT_VALUES   0x00
 
#define MODE_SENSE_CHANGEABLE_VALUES   0x40
 
#define MODE_SENSE_DEFAULT_VAULES   0x80
 
#define MODE_SENSE_SAVED_VALUES   0xc0
 
#define SCSIOP_TEST_UNIT_READY   0x00
 
#define SCSIOP_REZERO_UNIT   0x01
 
#define SCSIOP_REWIND   0x01
 
#define SCSIOP_REQUEST_BLOCK_ADDR   0x02
 
#define SCSIOP_REQUEST_SENSE   0x03
 
#define SCSIOP_FORMAT_UNIT   0x04
 
#define SCSIOP_READ_BLOCK_LIMITS   0x05
 
#define SCSIOP_REASSIGN_BLOCKS   0x07
 
#define SCSIOP_INIT_ELEMENT_STATUS   0x07
 
#define SCSIOP_READ6   0x08
 
#define SCSIOP_RECEIVE   0x08
 
#define SCSIOP_WRITE6   0x0A
 
#define SCSIOP_PRINT   0x0A
 
#define SCSIOP_SEND   0x0A
 
#define SCSIOP_SEEK6   0x0B
 
#define SCSIOP_TRACK_SELECT   0x0B
 
#define SCSIOP_SLEW_PRINT   0x0B
 
#define SCSIOP_SET_CAPACITY   0x0B
 
#define SCSIOP_SEEK_BLOCK   0x0C
 
#define SCSIOP_PARTITION   0x0D
 
#define SCSIOP_READ_REVERSE   0x0F
 
#define SCSIOP_WRITE_FILEMARKS   0x10
 
#define SCSIOP_FLUSH_BUFFER   0x10
 
#define SCSIOP_SPACE   0x11
 
#define SCSIOP_INQUIRY   0x12
 
#define SCSIOP_VERIFY6   0x13
 
#define SCSIOP_RECOVER_BUF_DATA   0x14
 
#define SCSIOP_MODE_SELECT   0x15
 
#define SCSIOP_RESERVE_UNIT   0x16
 
#define SCSIOP_RELEASE_UNIT   0x17
 
#define SCSIOP_COPY   0x18
 
#define SCSIOP_ERASE   0x19
 
#define SCSIOP_MODE_SENSE   0x1A
 
#define SCSIOP_START_STOP_UNIT   0x1B
 
#define SCSIOP_STOP_PRINT   0x1B
 
#define SCSIOP_LOAD_UNLOAD   0x1B
 
#define SCSIOP_RECEIVE_DIAGNOSTIC   0x1C
 
#define SCSIOP_SEND_DIAGNOSTIC   0x1D
 
#define SCSIOP_MEDIUM_REMOVAL   0x1E
 
#define SCSIOP_READ_FORMATTED_CAPACITY   0x23
 
#define SCSIOP_READ_CAPACITY   0x25
 
#define SCSIOP_READ   0x28
 
#define SCSIOP_WRITE   0x2A
 
#define SCSIOP_SEEK   0x2B
 
#define SCSIOP_LOCATE   0x2B
 
#define SCSIOP_POSITION_TO_ELEMENT   0x2B
 
#define SCSIOP_WRITE_VERIFY   0x2E
 
#define SCSIOP_VERIFY   0x2F
 
#define SCSIOP_SEARCH_DATA_HIGH   0x30
 
#define SCSIOP_SEARCH_DATA_EQUAL   0x31
 
#define SCSIOP_SEARCH_DATA_LOW   0x32
 
#define SCSIOP_SET_LIMITS   0x33
 
#define SCSIOP_READ_POSITION   0x34
 
#define SCSIOP_SYNCHRONIZE_CACHE   0x35
 
#define SCSIOP_COMPARE   0x39
 
#define SCSIOP_COPY_COMPARE   0x3A
 
#define SCSIOP_WRITE_DATA_BUFF   0x3B
 
#define SCSIOP_READ_DATA_BUFF   0x3C
 
#define SCSIOP_WRITE_LONG   0x3F
 
#define SCSIOP_CHANGE_DEFINITION   0x40
 
#define SCSIOP_WRITE_SAME   0x41
 
#define SCSIOP_READ_SUB_CHANNEL   0x42
 
#define SCSIOP_READ_TOC   0x43
 
#define SCSIOP_READ_HEADER   0x44
 
#define SCSIOP_REPORT_DENSITY_SUPPORT   0x44
 
#define SCSIOP_PLAY_AUDIO   0x45
 
#define SCSIOP_GET_CONFIGURATION   0x46
 
#define SCSIOP_PLAY_AUDIO_MSF   0x47
 
#define SCSIOP_PLAY_TRACK_INDEX   0x48
 
#define SCSIOP_PLAY_TRACK_RELATIVE   0x49
 
#define SCSIOP_GET_EVENT_STATUS   0x4A
 
#define SCSIOP_PAUSE_RESUME   0x4B
 
#define SCSIOP_LOG_SELECT   0x4C
 
#define SCSIOP_LOG_SENSE   0x4D
 
#define SCSIOP_STOP_PLAY_SCAN   0x4E
 
#define SCSIOP_XDWRITE   0x50
 
#define SCSIOP_XPWRITE   0x51
 
#define SCSIOP_READ_DISK_INFORMATION   0x51
 
#define SCSIOP_READ_DISC_INFORMATION   0x51
 
#define SCSIOP_READ_TRACK_INFORMATION   0x52
 
#define SCSIOP_XDWRITE_READ   0x53
 
#define SCSIOP_RESERVE_TRACK_RZONE   0x53
 
#define SCSIOP_SEND_OPC_INFORMATION   0x54
 
#define SCSIOP_MODE_SELECT10   0x55
 
#define SCSIOP_RESERVE_UNIT10   0x56
 
#define SCSIOP_RESERVE_ELEMENT   0x56
 
#define SCSIOP_RELEASE_UNIT10   0x57
 
#define SCSIOP_RELEASE_ELEMENT   0x57
 
#define SCSIOP_REPAIR_TRACK   0x58
 
#define SCSIOP_MODE_SENSE10   0x5A
 
#define SCSIOP_CLOSE_TRACK_SESSION   0x5B
 
#define SCSIOP_READ_BUFFER_CAPACITY   0x5C
 
#define SCSIOP_SEND_CUE_SHEET   0x5D
 
#define SCSIOP_PERSISTENT_RESERVE_IN   0x5E
 
#define SCSIOP_PERSISTENT_RESERVE_OUT   0x5F
 
#define SCSIOP_REPORT_LUNS   0xA0
 
#define SCSIOP_BLANK   0xA1
 
#define SCSIOP_ATA_PASSTHROUGH12   0xA1
 
#define SCSIOP_SEND_EVENT   0xA2
 
#define SCSIOP_SEND_KEY   0xA3
 
#define SCSIOP_MAINTENANCE_IN   0xA3
 
#define SCSIOP_REPORT_KEY   0xA4
 
#define SCSIOP_MAINTENANCE_OUT   0xA4
 
#define SCSIOP_MOVE_MEDIUM   0xA5
 
#define SCSIOP_LOAD_UNLOAD_SLOT   0xA6
 
#define SCSIOP_EXCHANGE_MEDIUM   0xA6
 
#define SCSIOP_SET_READ_AHEAD   0xA7
 
#define SCSIOP_MOVE_MEDIUM_ATTACHED   0xA7
 
#define SCSIOP_READ12   0xA8
 
#define SCSIOP_GET_MESSAGE   0xA8
 
#define SCSIOP_SERVICE_ACTION_OUT12   0xA9
 
#define SCSIOP_WRITE12   0xAA
 
#define SCSIOP_SEND_MESSAGE   0xAB
 
#define SCSIOP_SERVICE_ACTION_IN12   0xAB
 
#define SCSIOP_GET_PERFORMANCE   0xAC
 
#define SCSIOP_READ_DVD_STRUCTURE   0xAD
 
#define SCSIOP_WRITE_VERIFY12   0xAE
 
#define SCSIOP_VERIFY12   0xAF
 
#define SCSIOP_SEARCH_DATA_HIGH12   0xB0
 
#define SCSIOP_SEARCH_DATA_EQUAL12   0xB1
 
#define SCSIOP_SEARCH_DATA_LOW12   0xB2
 
#define SCSIOP_SET_LIMITS12   0xB3
 
#define SCSIOP_READ_ELEMENT_STATUS_ATTACHED   0xB4
 
#define SCSIOP_REQUEST_VOL_ELEMENT   0xB5
 
#define SCSIOP_SEND_VOLUME_TAG   0xB6
 
#define SCSIOP_SET_STREAMING   0xB6
 
#define SCSIOP_READ_DEFECT_DATA   0xB7
 
#define SCSIOP_READ_ELEMENT_STATUS   0xB8
 
#define SCSIOP_READ_CD_MSF   0xB9
 
#define SCSIOP_SCAN_CD   0xBA
 
#define SCSIOP_REDUNDANCY_GROUP_IN   0xBA
 
#define SCSIOP_SET_CD_SPEED   0xBB
 
#define SCSIOP_REDUNDANCY_GROUP_OUT   0xBB
 
#define SCSIOP_PLAY_CD   0xBC
 
#define SCSIOP_SPARE_IN   0xBC
 
#define SCSIOP_MECHANISM_STATUS   0xBD
 
#define SCSIOP_SPARE_OUT   0xBD
 
#define SCSIOP_READ_CD   0xBE
 
#define SCSIOP_VOLUME_SET_IN   0xBE
 
#define SCSIOP_SEND_DVD_STRUCTURE   0xBF
 
#define SCSIOP_VOLUME_SET_OUT   0xBF
 
#define SCSIOP_INIT_ELEMENT_RANGE   0xE7
 
#define SCSIOP_XDWRITE_EXTENDED16   0x80
 
#define SCSIOP_WRITE_FILEMARKS16   0x80
 
#define SCSIOP_REBUILD16   0x81
 
#define SCSIOP_READ_REVERSE16   0x81
 
#define SCSIOP_REGENERATE16   0x82
 
#define SCSIOP_EXTENDED_COPY   0x83
 
#define SCSIOP_RECEIVE_COPY_RESULTS   0x84
 
#define SCSIOP_ATA_PASSTHROUGH16   0x85
 
#define SCSIOP_ACCESS_CONTROL_IN   0x86
 
#define SCSIOP_ACCESS_CONTROL_OUT   0x87
 
#define SCSIOP_READ16   0x88
 
#define SCSIOP_WRITE16   0x8A
 
#define SCSIOP_READ_ATTRIBUTES   0x8C
 
#define SCSIOP_WRITE_ATTRIBUTES   0x8D
 
#define SCSIOP_WRITE_VERIFY16   0x8E
 
#define SCSIOP_VERIFY16   0x8F
 
#define SCSIOP_PREFETCH16   0x90
 
#define SCSIOP_SYNCHRONIZE_CACHE16   0x91
 
#define SCSIOP_SPACE16   0x91
 
#define SCSIOP_LOCK_UNLOCK_CACHE16   0x92
 
#define SCSIOP_LOCATE16   0x92
 
#define SCSIOP_WRITE_SAME16   0x93
 
#define SCSIOP_ERASE16   0x93
 
#define SCSIOP_READ_CAPACITY16   0x9E
 
#define SCSIOP_SERVICE_ACTION_IN16   0x9E
 
#define SCSIOP_SERVICE_ACTION_OUT16   0x9F
 
#define CDB_RETURN_ON_COMPLETION   0
 
#define CDB_RETURN_IMMEDIATE   1
 
#define CDB_FORCE_MEDIA_ACCESS   0x08
 
#define SCSIOP_DENON_EJECT_DISC   0xE6
 
#define SCSIOP_DENON_STOP_AUDIO   0xE7
 
#define SCSIOP_DENON_PLAY_AUDIO   0xE8
 
#define SCSIOP_DENON_READ_TOC   0xE9
 
#define SCSIOP_DENON_READ_SUBCODE   0xEB
 
#define SCSIMESS_ABORT   0x06
 
#define SCSIMESS_ABORT_WITH_TAG   0x0D
 
#define SCSIMESS_BUS_DEVICE_RESET   0X0C
 
#define SCSIMESS_CLEAR_QUEUE   0X0E
 
#define SCSIMESS_COMMAND_COMPLETE   0X00
 
#define SCSIMESS_DISCONNECT   0X04
 
#define SCSIMESS_EXTENDED_MESSAGE   0X01
 
#define SCSIMESS_IDENTIFY   0X80
 
#define SCSIMESS_IDENTIFY_WITH_DISCON   0XC0
 
#define SCSIMESS_IGNORE_WIDE_RESIDUE   0X23
 
#define SCSIMESS_INITIATE_RECOVERY   0X0F
 
#define SCSIMESS_INIT_DETECTED_ERROR   0X05
 
#define SCSIMESS_LINK_CMD_COMP   0X0A
 
#define SCSIMESS_LINK_CMD_COMP_W_FLAG   0X0B
 
#define SCSIMESS_MESS_PARITY_ERROR   0X09
 
#define SCSIMESS_MESSAGE_REJECT   0X07
 
#define SCSIMESS_NO_OPERATION   0X08
 
#define SCSIMESS_HEAD_OF_QUEUE_TAG   0X21
 
#define SCSIMESS_ORDERED_QUEUE_TAG   0X22
 
#define SCSIMESS_SIMPLE_QUEUE_TAG   0X20
 
#define SCSIMESS_RELEASE_RECOVERY   0X10
 
#define SCSIMESS_RESTORE_POINTERS   0X03
 
#define SCSIMESS_SAVE_DATA_POINTER   0X02
 
#define SCSIMESS_TERMINATE_IO_PROCESS   0X11
 
#define SCSIMESS_MODIFY_DATA_POINTER   0X00
 
#define SCSIMESS_SYNCHRONOUS_DATA_REQ   0X01
 
#define SCSIMESS_WIDE_DATA_REQUEST   0X03
 
#define SCSIMESS_MODIFY_DATA_LENGTH   5
 
#define SCSIMESS_SYNCH_DATA_LENGTH   3
 
#define SCSIMESS_WIDE_DATA_LENGTH   2
 
#define CDB_INQUIRY_EVPD   0x01
 
#define LUN0_FORMAT_SAVING_DEFECT_LIST   0
 
#define USE_DEFAULTMSB   0
 
#define USE_DEFAULTLSB   0
 
#define START_UNIT_CODE   0x01
 
#define STOP_UNIT_CODE   0x00
 
#define DIRECT_ACCESS_DEVICE   0x00
 
#define SEQUENTIAL_ACCESS_DEVICE   0x01
 
#define PRINTER_DEVICE   0x02
 
#define PROCESSOR_DEVICE   0x03
 
#define WRITE_ONCE_READ_MULTIPLE_DEVICE   0x04
 
#define READ_ONLY_DIRECT_ACCESS_DEVICE   0x05
 
#define SCANNER_DEVICE   0x06
 
#define OPTICAL_DEVICE   0x07
 
#define MEDIUM_CHANGER   0x08
 
#define COMMUNICATION_DEVICE   0x09
 
#define ARRAY_CONTROLLER_DEVICE   0x0C
 
#define SCSI_ENCLOSURE_DEVICE   0x0D
 
#define REDUCED_BLOCK_DEVICE   0x0E
 
#define OPTICAL_CARD_READER_WRITER_DEVICE   0x0F
 
#define BRIDGE_CONTROLLER_DEVICE   0x10
 
#define OBJECT_BASED_STORAGE_DEVICE   0x11
 
#define LOGICAL_UNIT_NOT_PRESENT_DEVICE   0x7F
 
#define DEVICE_QUALIFIER_ACTIVE   0x00
 
#define DEVICE_QUALIFIER_NOT_ACTIVE   0x01
 
#define DEVICE_QUALIFIER_NOT_SUPPORTED   0x03
 
#define DEVICE_CONNECTED   0x00
 
#define SCSISTAT_GOOD   0x00
 
#define SCSISTAT_CHECK_CONDITION   0x02
 
#define SCSISTAT_CONDITION_MET   0x04
 
#define SCSISTAT_BUSY   0x08
 
#define SCSISTAT_INTERMEDIATE   0x10
 
#define SCSISTAT_INTERMEDIATE_COND_MET   0x14
 
#define SCSISTAT_RESERVATION_CONFLICT   0x18
 
#define SCSISTAT_COMMAND_TERMINATED   0x22
 
#define SCSISTAT_QUEUE_FULL   0x28
 
#define VPD_MAX_BUFFER_SIZE   0xff
 
#define VPD_SUPPORTED_PAGES   0x00
 
#define VPD_SERIAL_NUMBER   0x80
 
#define VPD_DEVICE_IDENTIFIERS   0x83
 
#define VPD_MEDIA_SERIAL_NUMBER   0x84
 
#define VPD_SOFTWARE_INTERFACE_IDENTIFIERS   0x84
 
#define VPD_NETWORK_MANAGEMENT_ADDRESSES   0x85
 
#define VPD_EXTENDED_INQUIRY_DATA   0x86
 
#define VPD_MODE_PAGE_POLICY   0x87
 
#define VPD_SCSI_PORTS   0x88
 
#define RESERVATION_ACTION_READ_KEYS   0x00
 
#define RESERVATION_ACTION_READ_RESERVATIONS   0x01
 
#define RESERVATION_ACTION_REGISTER   0x00
 
#define RESERVATION_ACTION_RESERVE   0x01
 
#define RESERVATION_ACTION_RELEASE   0x02
 
#define RESERVATION_ACTION_CLEAR   0x03
 
#define RESERVATION_ACTION_PREEMPT   0x04
 
#define RESERVATION_ACTION_PREEMPT_ABORT   0x05
 
#define RESERVATION_ACTION_REGISTER_IGNORE_EXISTING   0x06
 
#define RESERVATION_SCOPE_LU   0x00
 
#define RESERVATION_SCOPE_ELEMENT   0x02
 
#define RESERVATION_TYPE_WRITE_EXCLUSIVE   0x01
 
#define RESERVATION_TYPE_EXCLUSIVE   0x03
 
#define RESERVATION_TYPE_WRITE_EXCLUSIVE_REGISTRANTS   0x05
 
#define RESERVATION_TYPE_EXCLUSIVE_REGISTRANTS   0x06
 
#define SENSE_BUFFER_SIZE   18
 
#define MAX_SENSE_BUFFER_SIZE   255
 
#define MAX_ADDITIONAL_SENSE_BYTES   (MAX_SENSE_BUFFER_SIZE - SENSE_BUFFER_SIZE)
 
#define SCSI_SENSE_NO_SENSE   0x00
 
#define SCSI_SENSE_RECOVERED_ERROR   0x01
 
#define SCSI_SENSE_NOT_READY   0x02
 
#define SCSI_SENSE_MEDIUM_ERROR   0x03
 
#define SCSI_SENSE_HARDWARE_ERROR   0x04
 
#define SCSI_SENSE_ILLEGAL_REQUEST   0x05
 
#define SCSI_SENSE_UNIT_ATTENTION   0x06
 
#define SCSI_SENSE_DATA_PROTECT   0x07
 
#define SCSI_SENSE_BLANK_CHECK   0x08
 
#define SCSI_SENSE_UNIQUE   0x09
 
#define SCSI_SENSE_COPY_ABORTED   0x0A
 
#define SCSI_SENSE_ABORTED_COMMAND   0x0B
 
#define SCSI_SENSE_EQUAL   0x0C
 
#define SCSI_SENSE_VOL_OVERFLOW   0x0D
 
#define SCSI_SENSE_MISCOMPARE   0x0E
 
#define SCSI_SENSE_RESERVED   0x0F
 
#define SCSI_ILLEGAL_LENGTH   0x20
 
#define SCSI_EOM   0x40
 
#define SCSI_FILE_MARK   0x80
 
#define SCSI_ADSENSE_NO_SENSE   0x00
 
#define SCSI_ADSENSE_NO_SEEK_COMPLETE   0x02
 
#define SCSI_ADSENSE_LUN_NOT_READY   0x04
 
#define SCSI_ADSENSE_LUN_COMMUNICATION   0x08
 
#define SCSI_ADSENSE_WRITE_ERROR   0x0C
 
#define SCSI_ADSENSE_TRACK_ERROR   0x14
 
#define SCSI_ADSENSE_SEEK_ERROR   0x15
 
#define SCSI_ADSENSE_REC_DATA_NOECC   0x17
 
#define SCSI_ADSENSE_REC_DATA_ECC   0x18
 
#define SCSI_ADSENSE_PARAMETER_LIST_LENGTH   0x1A
 
#define SCSI_ADSENSE_ILLEGAL_COMMAND   0x20
 
#define SCSI_ADSENSE_ILLEGAL_BLOCK   0x21
 
#define SCSI_ADSENSE_INVALID_CDB   0x24
 
#define SCSI_ADSENSE_INVALID_LUN   0x25
 
#define SCSI_ADSENSE_INVALID_FIELD_PARAMETER_LIST   0x26
 
#define SCSI_ADSENSE_WRITE_PROTECT   0x27
 
#define SCSI_ADSENSE_MEDIUM_CHANGED   0x28
 
#define SCSI_ADSENSE_BUS_RESET   0x29
 
#define SCSI_ADSENSE_PARAMETERS_CHANGED   0x2A
 
#define SCSI_ADSENSE_INSUFFICIENT_TIME_FOR_OPERATION   0x2E
 
#define SCSI_ADSENSE_INVALID_MEDIA   0x30
 
#define SCSI_ADSENSE_NO_MEDIA_IN_DEVICE   0x3a
 
#define SCSI_ADSENSE_POSITION_ERROR   0x3b
 
#define SCSI_ADSENSE_OPERATING_CONDITIONS_CHANGED   0x3f
 
#define SCSI_ADSENSE_OPERATOR_REQUEST   0x5a
 
#define SCSI_ADSENSE_FAILURE_PREDICTION_THRESHOLD_EXCEEDED   0x5d
 
#define SCSI_ADSENSE_ILLEGAL_MODE_FOR_THIS_TRACK   0x64
 
#define SCSI_ADSENSE_COPY_PROTECTION_FAILURE   0x6f
 
#define SCSI_ADSENSE_POWER_CALIBRATION_ERROR   0x73
 
#define SCSI_ADSENSE_VENDOR_UNIQUE   0x80
 
#define SCSI_ADSENSE_MUSIC_AREA   0xA0
 
#define SCSI_ADSENSE_DATA_AREA   0xA1
 
#define SCSI_ADSENSE_VOLUME_OVERFLOW   0xA7
 
#define SCSI_ADWRITE_PROTECT   SCSI_ADSENSE_WRITE_PROTECT
 
#define SCSI_FAILURE_PREDICTION_THRESHOLD_EXCEEDED   SCSI_ADSENSE_FAILURE_PREDICTION_THRESHOLD_EXCEEDED
 
#define SCSI_SENSEQ_CAUSE_NOT_REPORTABLE   0x00
 
#define SCSI_SENSEQ_BECOMING_READY   0x01
 
#define SCSI_SENSEQ_INIT_COMMAND_REQUIRED   0x02
 
#define SCSI_SENSEQ_MANUAL_INTERVENTION_REQUIRED   0x03
 
#define SCSI_SENSEQ_FORMAT_IN_PROGRESS   0x04
 
#define SCSI_SENSEQ_REBUILD_IN_PROGRESS   0x05
 
#define SCSI_SENSEQ_RECALCULATION_IN_PROGRESS   0x06
 
#define SCSI_SENSEQ_OPERATION_IN_PROGRESS   0x07
 
#define SCSI_SENSEQ_LONG_WRITE_IN_PROGRESS   0x08
 
#define SCSI_SENSEQ_LOSS_OF_STREAMING   0x09
 
#define SCSI_SENSEQ_PADDING_BLOCKS_ADDED   0x0A
 
#define SCSI_SENSEQ_COMM_FAILURE   0x00
 
#define SCSI_SENSEQ_COMM_TIMEOUT   0x01
 
#define SCSI_SENSEQ_COMM_PARITY_ERROR   0x02
 
#define SCSI_SESNEQ_COMM_CRC_ERROR   0x03
 
#define SCSI_SENSEQ_UNREACHABLE_TARGET   0x04
 
#define SCSI_SENSEQ_FILEMARK_DETECTED   0x01
 
#define SCSI_SENSEQ_END_OF_MEDIA_DETECTED   0x02
 
#define SCSI_SENSEQ_SETMARK_DETECTED   0x03
 
#define SCSI_SENSEQ_BEGINNING_OF_MEDIA_DETECTED   0x04
 
#define SCSI_SENSEQ_ILLEGAL_ELEMENT_ADDR   0x01
 
#define SCSI_SENSEQ_DESTINATION_FULL   0x0d
 
#define SCSI_SENSEQ_SOURCE_EMPTY   0x0e
 
#define SCSI_SENSEQ_INCOMPATIBLE_MEDIA_INSTALLED   0x00
 
#define SCSI_SENSEQ_UNKNOWN_FORMAT   0x01
 
#define SCSI_SENSEQ_INCOMPATIBLE_FORMAT   0x02
 
#define SCSI_SENSEQ_CLEANING_CARTRIDGE_INSTALLED   0x03
 
#define SCSI_SENSEQ_TARGET_OPERATING_CONDITIONS_CHANGED   0x00
 
#define SCSI_SENSEQ_MICROCODE_CHANGED   0x01
 
#define SCSI_SENSEQ_OPERATING_DEFINITION_CHANGED   0x02
 
#define SCSI_SENSEQ_INQUIRY_DATA_CHANGED   0x03
 
#define SCSI_SENSEQ_COMPONENT_DEVICE_ATTACHED   0x04
 
#define SCSI_SENSEQ_DEVICE_IDENTIFIER_CHANGED   0x05
 
#define SCSI_SENSEQ_REDUNDANCY_GROUP_MODIFIED   0x06
 
#define SCSI_SENSEQ_REDUNDANCY_GROUP_DELETED   0x07
 
#define SCSI_SENSEQ_SPARE_MODIFIED   0x08
 
#define SCSI_SENSEQ_SPARE_DELETED   0x09
 
#define SCSI_SENSEQ_VOLUME_SET_MODIFIED   0x0A
 
#define SCSI_SENSEQ_VOLUME_SET_DELETED   0x0B
 
#define SCSI_SENSEQ_VOLUME_SET_DEASSIGNED   0x0C
 
#define SCSI_SENSEQ_VOLUME_SET_REASSIGNED   0x0D
 
#define SCSI_SENSEQ_REPORTED_LUNS_DATA_CHANGED   0x0E
 
#define SCSI_SENSEQ_ECHO_BUFFER_OVERWRITTEN   0x0F
 
#define SCSI_SENSEQ_MEDIUM_LOADABLE   0x10
 
#define SCSI_SENSEQ_MEDIUM_AUXILIARY_MEMORY_ACCESSIBLE   0x11
 
#define SCSI_SENSEQ_STATE_CHANGE_INPUT   0x00
 
#define SCSI_SENSEQ_MEDIUM_REMOVAL   0x01
 
#define SCSI_SENSEQ_WRITE_PROTECT_ENABLE   0x02
 
#define SCSI_SENSEQ_WRITE_PROTECT_DISABLE   0x03
 
#define SCSI_SENSEQ_AUTHENTICATION_FAILURE   0x00
 
#define SCSI_SENSEQ_KEY_NOT_PRESENT   0x01
 
#define SCSI_SENSEQ_KEY_NOT_ESTABLISHED   0x02
 
#define SCSI_SENSEQ_READ_OF_SCRAMBLED_SECTOR_WITHOUT_AUTHENTICATION   0x03
 
#define SCSI_SENSEQ_MEDIA_CODE_MISMATCHED_TO_LOGICAL_UNIT   0x04
 
#define SCSI_SENSEQ_LOGICAL_UNIT_RESET_COUNT_ERROR   0x05
 
#define SCSI_SENSEQ_POWER_CALIBRATION_AREA_ALMOST_FULL   0x01
 
#define SCSI_SENSEQ_POWER_CALIBRATION_AREA_FULL   0x02
 
#define SCSI_SENSEQ_POWER_CALIBRATION_AREA_ERROR   0x03
 
#define SCSI_SENSEQ_PMA_RMA_UPDATE_FAILURE   0x04
 
#define SCSI_SENSEQ_PMA_RMA_IS_FULL   0x05
 
#define SCSI_SENSEQ_PMA_RMA_ALMOST_FULL   0x06
 
#define FILE_DEVICE_SCSI   0x0000001b
 
#define IOCTL_SCSI_EXECUTE_IN   ((FILE_DEVICE_SCSI << 16) + 0x0011)
 
#define IOCTL_SCSI_EXECUTE_OUT   ((FILE_DEVICE_SCSI << 16) + 0x0012)
 
#define IOCTL_SCSI_EXECUTE_NONE   ((FILE_DEVICE_SCSI << 16) + 0x0013)
 
#define IOCTL_SCSI_MINIPORT_SMART_VERSION   ((FILE_DEVICE_SCSI << 16) + 0x0500)
 
#define IOCTL_SCSI_MINIPORT_IDENTIFY   ((FILE_DEVICE_SCSI << 16) + 0x0501)
 
#define IOCTL_SCSI_MINIPORT_READ_SMART_ATTRIBS   ((FILE_DEVICE_SCSI << 16) + 0x0502)
 
#define IOCTL_SCSI_MINIPORT_READ_SMART_THRESHOLDS   ((FILE_DEVICE_SCSI << 16) + 0x0503)
 
#define IOCTL_SCSI_MINIPORT_ENABLE_SMART   ((FILE_DEVICE_SCSI << 16) + 0x0504)
 
#define IOCTL_SCSI_MINIPORT_DISABLE_SMART   ((FILE_DEVICE_SCSI << 16) + 0x0505)
 
#define IOCTL_SCSI_MINIPORT_RETURN_STATUS   ((FILE_DEVICE_SCSI << 16) + 0x0506)
 
#define IOCTL_SCSI_MINIPORT_ENABLE_DISABLE_AUTOSAVE   ((FILE_DEVICE_SCSI << 16) + 0x0507)
 
#define IOCTL_SCSI_MINIPORT_SAVE_ATTRIBUTE_VALUES   ((FILE_DEVICE_SCSI << 16) + 0x0508)
 
#define IOCTL_SCSI_MINIPORT_EXECUTE_OFFLINE_DIAGS   ((FILE_DEVICE_SCSI << 16) + 0x0509)
 
#define IOCTL_SCSI_MINIPORT_ENABLE_DISABLE_AUTO_OFFLINE   ((FILE_DEVICE_SCSI << 16) + 0x050a)
 
#define IOCTL_SCSI_MINIPORT_READ_SMART_LOG   ((FILE_DEVICE_SCSI << 16) + 0x050b)
 
#define IOCTL_SCSI_MINIPORT_WRITE_SMART_LOG   ((FILE_DEVICE_SCSI << 16) + 0x050c)
 
#define IOCTL_SCSI_MINIPORT_NOT_QUORUM_CAPABLE   ((FILE_DEVICE_SCSI << 16) + 0x0520)
 
#define IOCTL_SCSI_MINIPORT_NOT_CLUSTER_CAPABLE   ((FILE_DEVICE_SCSI << 16) + 0x0521)
 
#define MODE_FD_SINGLE_SIDE   0x01
 
#define MODE_FD_DOUBLE_SIDE   0x02
 
#define MODE_FD_MAXIMUM_TYPE   0x1E
 
#define MODE_DSP_FUA_SUPPORTED   0x10
 
#define MODE_DSP_WRITE_PROTECT   0x80
 
#define CDDA_CHANNEL_MUTED   0x0
 
#define CDDA_CHANNEL_ZERO   0x1
 
#define CDDA_CHANNEL_ONE   0x2
 
#define CDDA_CHANNEL_TWO   0x4
 
#define CDDA_CHANNEL_THREE   0x8
 
#define CDVD_LMT_CADDY   0
 
#define CDVD_LMT_TRAY   1
 
#define CDVD_LMT_POPUP   2
 
#define CDVD_LMT_RESERVED1   3
 
#define CDVD_LMT_CHANGER_INDIVIDUAL   4
 
#define CDVD_LMT_CHANGER_CARTRIDGE   5
 
#define CDVD_LMT_RESERVED2   6
 
#define CDVD_LMT_RESERVED3   7
 
#define LOADING_MECHANISM_CADDY   0x00
 
#define LOADING_MECHANISM_TRAY   0x01
 
#define LOADING_MECHANISM_POPUP   0x02
 
#define LOADING_MECHANISM_INDIVIDUAL_CHANGER   0x04
 
#define LOADING_MECHANISM_CARTRIDGE_CHANGER   0x05
 
#define MODE_BLOCK_DESC_LENGTH   8
 
#define MODE_HEADER_LENGTH   4
 
#define MODE_HEADER_LENGTH10   8
 
#define CDB_AUDIO_PAUSE   0x00
 
#define CDB_AUDIO_RESUME   0x01
 
#define CDB_DEVICE_START   0x11
 
#define CDB_DEVICE_STOP   0x10
 
#define CDB_EJECT_MEDIA   0x10
 
#define CDB_LOAD_MEDIA   0x01
 
#define CDB_SUBCHANNEL_HEADER   0x00
 
#define CDB_SUBCHANNEL_BLOCK   0x01
 
#define CDROM_AUDIO_CONTROL_PAGE   0x0E
 
#define MODE_SELECT_IMMEDIATE   0x04
 
#define MODE_SELECT_PFBIT   0x10
 
#define CDB_USE_MSF   0x01
 
#define GET_LAST_SESSION   0x01
 
#define GET_SESSION_DATA   0x02
 
#define _INQUIRYDATA_DEFINED
 
#define INQUIRYDATABUFFERSIZE   36
 
#define REVERSE_BYTES_QUAD(Destination, Source)
 
#define REVERSE_BYTES(Destination, Source)
 
#define REVERSE_BYTES_SHORT(Destination, Source)
 
#define REVERSE_SHORT(Short)
 
#define REVERSE_LONG(Long)
 
#define WHICH_BIT(Data, Bit)
 

Typedefs

typedef union _CDB CDB
 
typedef union _CDBPCDB
 
typedef struct _NOTIFICATION_EVENT_STATUS_HEADER NOTIFICATION_EVENT_STATUS_HEADER
 
typedef struct _NOTIFICATION_EVENT_STATUS_HEADERPNOTIFICATION_EVENT_STATUS_HEADER
 
typedef struct _NOTIFICATION_OPERATIONAL_STATUS NOTIFICATION_OPERATIONAL_STATUS
 
typedef struct _NOTIFICATION_OPERATIONAL_STATUSPNOTIFICATION_OPERATIONAL_STATUS
 
typedef struct _NOTIFICATION_POWER_STATUS NOTIFICATION_POWER_STATUS
 
typedef struct _NOTIFICATION_POWER_STATUSPNOTIFICATION_POWER_STATUS
 
typedef struct _NOTIFICATION_EXTERNAL_STATUS NOTIFICATION_EXTERNAL_STATUS
 
typedef struct _NOTIFICATION_EXTERNAL_STATUSPNOTIFICATION_EXTERNAL_STATUS
 
typedef struct _NOTIFICATION_MEDIA_STATUS NOTIFICATION_MEDIA_STATUS
 
typedef struct _NOTIFICATION_MEDIA_STATUSPNOTIFICATION_MEDIA_STATUS
 
typedef struct _NOTIFICATION_MULTI_HOST_STATUS NOTIFICATION_MULTI_HOST_STATUS
 
typedef struct _NOTIFICATION_MULTI_HOST_STATUSPNOTIFICATION_MULTI_HOST_STATUS
 
typedef struct _NOTIFICATION_BUSY_STATUS NOTIFICATION_BUSY_STATUS
 
typedef struct _NOTIFICATION_BUSY_STATUSPNOTIFICATION_BUSY_STATUS
 
typedef struct _READ_DVD_STRUCTURES_HEADER READ_DVD_STRUCTURES_HEADER
 
typedef struct _READ_DVD_STRUCTURES_HEADERPREAD_DVD_STRUCTURES_HEADER
 
typedef struct _CDVD_KEY_HEADER CDVD_KEY_HEADER
 
typedef struct _CDVD_KEY_HEADERPCDVD_KEY_HEADER
 
typedef struct _CDVD_REPORT_AGID_DATA CDVD_REPORT_AGID_DATA
 
typedef struct _CDVD_REPORT_AGID_DATAPCDVD_REPORT_AGID_DATA
 
typedef struct _CDVD_CHALLENGE_KEY_DATA CDVD_CHALLENGE_KEY_DATA
 
typedef struct _CDVD_CHALLENGE_KEY_DATAPCDVD_CHALLENGE_KEY_DATA
 
typedef struct _CDVD_KEY_DATA CDVD_KEY_DATA
 
typedef struct _CDVD_KEY_DATAPCDVD_KEY_DATA
 
typedef struct _CDVD_REPORT_ASF_DATA CDVD_REPORT_ASF_DATA
 
typedef struct _CDVD_REPORT_ASF_DATAPCDVD_REPORT_ASF_DATA
 
typedef struct _CDVD_TITLE_KEY_HEADER CDVD_TITLE_KEY_HEADER
 
typedef struct _CDVD_TITLE_KEY_HEADERPCDVD_TITLE_KEY_HEADER
 
typedef struct _FORMAT_DESCRIPTOR FORMAT_DESCRIPTOR
 
typedef struct _FORMAT_DESCRIPTORPFORMAT_DESCRIPTOR
 
typedef struct _FORMAT_LIST_HEADER FORMAT_LIST_HEADER
 
typedef struct _FORMAT_LIST_HEADERPFORMAT_LIST_HEADER
 
typedef struct _FORMATTED_CAPACITY_DESCRIPTOR FORMATTED_CAPACITY_DESCRIPTOR
 
typedef struct _FORMATTED_CAPACITY_DESCRIPTORPFORMATTED_CAPACITY_DESCRIPTOR
 
typedef struct _FORMATTED_CAPACITY_LIST FORMATTED_CAPACITY_LIST
 
typedef struct _FORMATTED_CAPACITY_LISTPFORMATTED_CAPACITY_LIST
 
typedef struct _OPC_TABLE_ENTRY OPC_TABLE_ENTRY
 
typedef struct _OPC_TABLE_ENTRYPOPC_TABLE_ENTRY
 
typedef struct _DISC_INFORMATION DISC_INFORMATION
 
typedef struct _DISC_INFORMATIONPDISC_INFORMATION
 
typedef struct _DISK_INFORMATION DISK_INFORMATION
 
typedef struct _DISK_INFORMATIONPDISK_INFORMATION
 
typedef struct _DATA_BLOCK_HEADER DATA_BLOCK_HEADER
 
typedef struct _DATA_BLOCK_HEADERPDATA_BLOCK_HEADER
 
typedef struct _TRACK_INFORMATION TRACK_INFORMATION
 
typedef struct _TRACK_INFORMATIONPTRACK_INFORMATION
 
typedef struct _TRACK_INFORMATION2 TRACK_INFORMATION2
 
typedef struct _TRACK_INFORMATION2PTRACK_INFORMATION2
 
typedef struct _TRACK_INFORMATION3 TRACK_INFORMATION3
 
typedef struct _TRACK_INFORMATION3PTRACK_INFORMATION3
 
typedef struct _PERFORMANCE_DESCRIPTOR PERFORMANCE_DESCRIPTOR
 
typedef struct _PERFORMANCE_DESCRIPTORPPERFORMANCE_DESCRIPTOR
 
typedef struct _SCSI_EXTENDED_MESSAGE SCSI_EXTENDED_MESSAGE
 
typedef struct _SCSI_EXTENDED_MESSAGEPSCSI_EXTENDED_MESSAGE
 
typedef struct _INQUIRYDATA INQUIRYDATA
 
typedef struct _INQUIRYDATAPINQUIRYDATA
 
typedef struct _VPD_MEDIA_SERIAL_NUMBER_PAGE VPD_MEDIA_SERIAL_NUMBER_PAGE
 
typedef struct _VPD_MEDIA_SERIAL_NUMBER_PAGEPVPD_MEDIA_SERIAL_NUMBER_PAGE
 
typedef struct _VPD_SERIAL_NUMBER_PAGE VPD_SERIAL_NUMBER_PAGE
 
typedef struct _VPD_SERIAL_NUMBER_PAGEPVPD_SERIAL_NUMBER_PAGE
 
typedef enum _VPD_CODE_SET VPD_CODE_SET
 
typedef enum _VPD_CODE_SETPVPD_CODE_SET
 
typedef enum _VPD_ASSOCIATION VPD_ASSOCIATION
 
typedef enum _VPD_ASSOCIATIONPVPD_ASSOCIATION
 
typedef enum _VPD_IDENTIFIER_TYPE VPD_IDENTIFIER_TYPE
 
typedef enum _VPD_IDENTIFIER_TYPEPVPD_IDENTIFIER_TYPE
 
typedef struct _VPD_IDENTIFICATION_DESCRIPTOR VPD_IDENTIFICATION_DESCRIPTOR
 
typedef struct _VPD_IDENTIFICATION_DESCRIPTORPVPD_IDENTIFICATION_DESCRIPTOR
 
typedef struct _VPD_IDENTIFICATION_PAGE VPD_IDENTIFICATION_PAGE
 
typedef struct _VPD_IDENTIFICATION_PAGEPVPD_IDENTIFICATION_PAGE
 
typedef struct _VPD_SUPPORTED_PAGES_PAGE VPD_SUPPORTED_PAGES_PAGE
 
typedef struct _VPD_SUPPORTED_PAGES_PAGEPVPD_SUPPORTED_PAGES_PAGE
 
typedef struct _PRI_REGISTRATION_LIST PRI_REGISTRATION_LIST
 
typedef struct _PRI_REGISTRATION_LISTPPRI_REGISTRATION_LIST
 
typedef struct _PRI_RESERVATION_DESCRIPTOR PRI_RESERVATION_DESCRIPTOR
 
typedef struct _PRI_RESERVATION_DESCRIPTORPPRI_RESERVATION_DESCRIPTOR
 
typedef struct _PRI_RESERVATION_LIST PRI_RESERVATION_LIST
 
typedef struct _PRI_RESERVATION_LISTPPRI_RESERVATION_LIST
 
typedef struct _PRO_PARAMETER_LIST PRO_PARAMETER_LIST
 
typedef struct _PRO_PARAMETER_LISTPPRO_PARAMETER_LIST
 
typedef struct _SENSE_DATA SENSE_DATA
 
typedef struct _SENSE_DATAPSENSE_DATA
 
typedef struct _READ_CAPACITY_DATA READ_CAPACITY_DATA
 
typedef struct _READ_CAPACITY_DATAPREAD_CAPACITY_DATA
 
typedef struct _READ_CAPACITY_DATA_EX READ_CAPACITY_DATA_EX
 
typedef struct _READ_CAPACITY_DATA_EXPREAD_CAPACITY_DATA_EX
 
typedef struct _READ_BLOCK_LIMITS READ_BLOCK_LIMITS_DATA
 
typedef struct _READ_BLOCK_LIMITSPREAD_BLOCK_LIMITS_DATA
 
typedef struct _READ_BUFFER_CAPACITY_DATA READ_BUFFER_CAPACITY_DATA
 
typedef struct _READ_BUFFER_CAPACITY_DATAPREAD_BUFFER_CAPACITY_DATA
 
typedef struct _MODE_PARAMETER_HEADER MODE_PARAMETER_HEADER
 
typedef struct _MODE_PARAMETER_HEADERPMODE_PARAMETER_HEADER
 
typedef struct _MODE_PARAMETER_HEADER10 MODE_PARAMETER_HEADER10
 
typedef struct _MODE_PARAMETER_HEADER10PMODE_PARAMETER_HEADER10
 
typedef struct _MODE_PARAMETER_BLOCK MODE_PARAMETER_BLOCK
 
typedef struct _MODE_PARAMETER_BLOCKPMODE_PARAMETER_BLOCK
 
typedef struct _MODE_DISCONNECT_PAGE MODE_DISCONNECT_PAGE
 
typedef struct _MODE_DISCONNECT_PAGEPMODE_DISCONNECT_PAGE
 
typedef struct _MODE_CACHING_PAGE MODE_CACHING_PAGE
 
typedef struct _MODE_CACHING_PAGEPMODE_CACHING_PAGE
 
typedef struct _MODE_CDROM_WRITE_PARAMETERS_PAGE2 MODE_CDROM_WRITE_PARAMETERS_PAGE2
 
typedef struct _MODE_CDROM_WRITE_PARAMETERS_PAGE2PMODE_CDROM_WRITE_PARAMETERS_PAGE2
 
typedef struct _MODE_MRW_PAGE MODE_MRW_PAGE
 
typedef struct _MODE_MRW_PAGEPMODE_MRW_PAGE
 
typedef struct _MODE_FLEXIBLE_DISK_PAGE MODE_FLEXIBLE_DISK_PAGE
 
typedef struct _MODE_FLEXIBLE_DISK_PAGEPMODE_FLEXIBLE_DISK_PAGE
 
typedef struct _MODE_FORMAT_PAGE MODE_FORMAT_PAGE
 
typedef struct _MODE_FORMAT_PAGEPMODE_FORMAT_PAGE
 
typedef struct _MODE_RIGID_GEOMETRY_PAGE MODE_RIGID_GEOMETRY_PAGE
 
typedef struct _MODE_RIGID_GEOMETRY_PAGEPMODE_RIGID_GEOMETRY_PAGE
 
typedef struct _MODE_READ_WRITE_RECOVERY_PAGE MODE_READ_WRITE_RECOVERY_PAGE
 
typedef struct _MODE_READ_WRITE_RECOVERY_PAGEPMODE_READ_WRITE_RECOVERY_PAGE
 
typedef struct _MODE_READ_RECOVERY_PAGE MODE_READ_RECOVERY_PAGE
 
typedef struct _MODE_READ_RECOVERY_PAGEPMODE_READ_RECOVERY_PAGE
 
typedef struct _MODE_INFO_EXCEPTIONS MODE_INFO_EXCEPTIONS
 
typedef struct _MODE_INFO_EXCEPTIONSPMODE_INFO_EXCEPTIONS
 
typedef struct _POWER_CONDITION_PAGE POWER_CONDITION_PAGE
 
typedef struct _POWER_CONDITION_PAGEPPOWER_CONDITION_PAGE
 
typedef struct _CDDA_OUTPUT_PORT CDDA_OUTPUT_PORT
 
typedef struct _CDDA_OUTPUT_PORTPCDDA_OUTPUT_PORT
 
typedef struct _CDAUDIO_CONTROL_PAGE CDAUDIO_CONTROL_PAGE
 
typedef struct _CDAUDIO_CONTROL_PAGEPCDAUDIO_CONTROL_PAGE
 
typedef struct _CDVD_FEATURE_SET_PAGE CDVD_FEATURE_SET_PAGE
 
typedef struct _CDVD_FEATURE_SET_PAGEPCDVD_FEATURE_SET_PAGE
 
typedef struct _CDVD_INACTIVITY_TIMEOUT_PAGE CDVD_INACTIVITY_TIMEOUT_PAGE
 
typedef struct _CDVD_INACTIVITY_TIMEOUT_PAGEPCDVD_INACTIVITY_TIMEOUT_PAGE
 
typedef struct _CDVD_CAPABILITIES_PAGE CDVD_CAPABILITIES_PAGE
 
typedef struct _CDVD_CAPABILITIES_PAGEPCDVD_CAPABILITIES_PAGE
 
typedef struct _LUN_LIST LUN_LIST
 
typedef struct _LUN_LISTPLUN_LIST
 
typedef struct _MODE_PARM_READ_WRITE MODE_PARM_READ_WRITE_DATA
 
typedef struct _MODE_PARM_READ_WRITEPMODE_PARM_READ_WRITE_DATA
 
typedef struct _PORT_OUTPUT PORT_OUTPUT
 
typedef struct _PORT_OUTPUTPPORT_OUTPUT
 
typedef struct _AUDIO_OUTPUT AUDIO_OUTPUT
 
typedef struct _AUDIO_OUTPUTPAUDIO_OUTPUT
 
typedef struct _MECHANICAL_STATUS_INFORMATION_HEADER MECHANICAL_STATUS_INFORMATION_HEADER
 
typedef struct _MECHANICAL_STATUS_INFORMATION_HEADERPMECHANICAL_STATUS_INFORMATION_HEADER
 
typedef struct _SLOT_TABLE_INFORMATION SLOT_TABLE_INFORMATION
 
typedef struct _SLOT_TABLE_INFORMATIONPSLOT_TABLE_INFORMATION
 
typedef struct _MECHANICAL_STATUS MECHANICAL_STATUS
 
typedef struct _MECHANICAL_STATUSPMECHANICAL_STATUS
 
typedef struct _TAPE_POSITION_DATA TAPE_POSITION_DATA
 
typedef struct _TAPE_POSITION_DATAPTAPE_POSITION_DATA
 
typedef union _EIGHT_BYTE EIGHT_BYTE
 
typedef union _EIGHT_BYTEPEIGHT_BYTE
 
typedef union _FOUR_BYTE FOUR_BYTE
 
typedef union _FOUR_BYTEPFOUR_BYTE
 
typedef union _TWO_BYTE TWO_BYTE
 
typedef union _TWO_BYTEPTWO_BYTE
 
typedef struct _MODE_CDROM_WRITE_PARAMETERS_PAGE MODE_CDROM_WRITE_PARAMETERS_PAGE
 
typedef struct _MODE_CDROM_WRITE_PARAMETERS_PAGEPMODE_CDROM_WRITE_PARAMETERS_PAGE
 

Enumerations

enum  _VPD_CODE_SET {
  VpdCodeSetReserved = 0, VpdCodeSetBinary = 1, VpdCodeSetAscii = 2, VpdCodeSetUTF8 = 3,
  VpdCodeSetReserved = 0, VpdCodeSetBinary = 1, VpdCodeSetAscii = 2, VpdCodeSetUTF8 = 3
}
 
enum  _VPD_ASSOCIATION {
  VpdAssocDevice = 0, VpdAssocPort = 1, VpdAssocTarget = 2, VpdAssocReserved1 = 3,
  VpdAssocReserved2 = 4, VpdAssocDevice = 0, VpdAssocPort = 1, VpdAssocTarget = 2,
  VpdAssocReserved1 = 3, VpdAssocReserved2 = 4
}
 
enum  _VPD_IDENTIFIER_TYPE {
  VpdIdentifierTypeVendorSpecific = 0, VpdIdentifierTypeVendorId = 1, VpdIdentifierTypeEUI64 = 2, VpdIdentifierTypeFCPHName = 3,
  VpdIdentifierTypePortRelative = 4, VpdIdentifierTypeTargetPortGroup = 5, VpdIdentifierTypeLogicalUnitGroup = 6, VpdIdentifierTypeMD5LogicalUnitId = 7,
  VpdIdentifierTypeSCSINameString = 8, VpdIdentifierTypeVendorSpecific = 0, VpdIdentifierTypeVendorId = 1, VpdIdentifierTypeEUI64 = 2,
  VpdIdentifierTypeFCPHName = 3, VpdIdentifierTypePortRelative = 4, VpdIdentifierTypeTargetPortGroup = 5, VpdIdentifierTypeLogicalUnitGroup = 6,
  VpdIdentifierTypeMD5LogicalUnitId = 7, VpdIdentifierTypeSCSINameString = 8
}
 

Macro Definition Documentation

◆ _INQUIRYDATA_DEFINED

#define _INQUIRYDATA_DEFINED

Definition at line 1993 of file scsi.h.

◆ ARRAY_CONTROLLER_DEVICE

#define ARRAY_CONTROLLER_DEVICE   0x0C

Definition at line 468 of file scsi.h.

◆ BLANK_FULL

#define BLANK_FULL   0x0

Definition at line 136 of file scsi.h.

◆ BLANK_MINIMAL

#define BLANK_MINIMAL   0x1

Definition at line 137 of file scsi.h.

◆ BLANK_SESSION

#define BLANK_SESSION   0x6

Definition at line 142 of file scsi.h.

◆ BLANK_TAIL

#define BLANK_TAIL   0x4

Definition at line 140 of file scsi.h.

◆ BLANK_TRACK

#define BLANK_TRACK   0x2

Definition at line 138 of file scsi.h.

◆ BLANK_UNCLOSE_SESSION

#define BLANK_UNCLOSE_SESSION   0x5

Definition at line 141 of file scsi.h.

◆ BLANK_UNRESERVE_TRACK

#define BLANK_UNRESERVE_TRACK   0x3

Definition at line 139 of file scsi.h.

◆ BRIDGE_CONTROLLER_DEVICE

#define BRIDGE_CONTROLLER_DEVICE   0x10

Definition at line 472 of file scsi.h.

◆ CD_EXPECTED_SECTOR_ANY

#define CD_EXPECTED_SECTOR_ANY   0x0

Definition at line 144 of file scsi.h.

◆ CD_EXPECTED_SECTOR_CDDA

#define CD_EXPECTED_SECTOR_CDDA   0x1

Definition at line 145 of file scsi.h.

◆ CD_EXPECTED_SECTOR_MODE1

#define CD_EXPECTED_SECTOR_MODE1   0x2

Definition at line 146 of file scsi.h.

◆ CD_EXPECTED_SECTOR_MODE2

#define CD_EXPECTED_SECTOR_MODE2   0x3

Definition at line 147 of file scsi.h.

◆ CD_EXPECTED_SECTOR_MODE2_FORM1

#define CD_EXPECTED_SECTOR_MODE2_FORM1   0x4

Definition at line 148 of file scsi.h.

◆ CD_EXPECTED_SECTOR_MODE2_FORM2

#define CD_EXPECTED_SECTOR_MODE2_FORM2   0x5

Definition at line 149 of file scsi.h.

◆ CDB10GENERIC_LENGTH

#define CDB10GENERIC_LENGTH   10

Definition at line 183 of file scsi.h.

◆ CDB12GENERIC_LENGTH

#define CDB12GENERIC_LENGTH   12

Definition at line 184 of file scsi.h.

◆ CDB6GENERIC_LENGTH

#define CDB6GENERIC_LENGTH   6

Definition at line 182 of file scsi.h.

◆ CDB_AUDIO_PAUSE

#define CDB_AUDIO_PAUSE   0x00

Definition at line 719 of file scsi.h.

◆ CDB_AUDIO_RESUME

#define CDB_AUDIO_RESUME   0x01

Definition at line 720 of file scsi.h.

◆ CDB_DEVICE_START

#define CDB_DEVICE_START   0x11

Definition at line 721 of file scsi.h.

◆ CDB_DEVICE_STOP

#define CDB_DEVICE_STOP   0x10

Definition at line 722 of file scsi.h.

◆ CDB_EJECT_MEDIA

#define CDB_EJECT_MEDIA   0x10

Definition at line 723 of file scsi.h.

◆ CDB_FORCE_MEDIA_ACCESS

#define CDB_FORCE_MEDIA_ACCESS   0x08

Definition at line 407 of file scsi.h.

◆ CDB_INQUIRY_EVPD

#define CDB_INQUIRY_EVPD   0x01

Definition at line 448 of file scsi.h.

◆ CDB_LOAD_MEDIA

#define CDB_LOAD_MEDIA   0x01

Definition at line 724 of file scsi.h.

◆ CDB_RETURN_IMMEDIATE

#define CDB_RETURN_IMMEDIATE   1

Definition at line 405 of file scsi.h.

◆ CDB_RETURN_ON_COMPLETION

#define CDB_RETURN_ON_COMPLETION   0

Definition at line 404 of file scsi.h.

◆ CDB_SUBCHANNEL_BLOCK

#define CDB_SUBCHANNEL_BLOCK   0x01

Definition at line 726 of file scsi.h.

◆ CDB_SUBCHANNEL_HEADER

#define CDB_SUBCHANNEL_HEADER   0x00

Definition at line 725 of file scsi.h.

◆ CDB_USE_MSF

#define CDB_USE_MSF   0x01

Definition at line 732 of file scsi.h.

◆ CDDA_CHANNEL_MUTED

#define CDDA_CHANNEL_MUTED   0x0

Definition at line 693 of file scsi.h.

◆ CDDA_CHANNEL_ONE

#define CDDA_CHANNEL_ONE   0x2

Definition at line 695 of file scsi.h.

◆ CDDA_CHANNEL_THREE

#define CDDA_CHANNEL_THREE   0x8

Definition at line 697 of file scsi.h.

◆ CDDA_CHANNEL_TWO

#define CDDA_CHANNEL_TWO   0x4

Definition at line 696 of file scsi.h.

◆ CDDA_CHANNEL_ZERO

#define CDDA_CHANNEL_ZERO   0x1

Definition at line 694 of file scsi.h.

◆ CDROM_AUDIO_CONTROL_PAGE

#define CDROM_AUDIO_CONTROL_PAGE   0x0E

Definition at line 728 of file scsi.h.

◆ CDVD_LMT_CADDY

#define CDVD_LMT_CADDY   0

Definition at line 699 of file scsi.h.

◆ CDVD_LMT_CHANGER_CARTRIDGE

#define CDVD_LMT_CHANGER_CARTRIDGE   5

Definition at line 704 of file scsi.h.

◆ CDVD_LMT_CHANGER_INDIVIDUAL

#define CDVD_LMT_CHANGER_INDIVIDUAL   4

Definition at line 703 of file scsi.h.

◆ CDVD_LMT_POPUP

#define CDVD_LMT_POPUP   2

Definition at line 701 of file scsi.h.

◆ CDVD_LMT_RESERVED1

#define CDVD_LMT_RESERVED1   3

Definition at line 702 of file scsi.h.

◆ CDVD_LMT_RESERVED2

#define CDVD_LMT_RESERVED2   6

Definition at line 705 of file scsi.h.

◆ CDVD_LMT_RESERVED3

#define CDVD_LMT_RESERVED3   7

Definition at line 706 of file scsi.h.

◆ CDVD_LMT_TRAY

#define CDVD_LMT_TRAY   1

Definition at line 700 of file scsi.h.

◆ COMMUNICATION_DEVICE

#define COMMUNICATION_DEVICE   0x09

Definition at line 467 of file scsi.h.

◆ DATA_BLOCK_MODE0

#define DATA_BLOCK_MODE0   0x0

Definition at line 171 of file scsi.h.

◆ DATA_BLOCK_MODE1

#define DATA_BLOCK_MODE1   0x1

Definition at line 172 of file scsi.h.

◆ DATA_BLOCK_MODE2

#define DATA_BLOCK_MODE2   0x2

Definition at line 173 of file scsi.h.

◆ DEVICE_CONNECTED

#define DEVICE_CONNECTED   0x00

Definition at line 481 of file scsi.h.

◆ DEVICE_QUALIFIER_ACTIVE

#define DEVICE_QUALIFIER_ACTIVE   0x00

Definition at line 476 of file scsi.h.

◆ DEVICE_QUALIFIER_NOT_ACTIVE

#define DEVICE_QUALIFIER_NOT_ACTIVE   0x01

Definition at line 477 of file scsi.h.

◆ DEVICE_QUALIFIER_NOT_SUPPORTED

#define DEVICE_QUALIFIER_NOT_SUPPORTED   0x03

Definition at line 478 of file scsi.h.

◆ DIRECT_ACCESS_DEVICE

#define DIRECT_ACCESS_DEVICE   0x00

Definition at line 458 of file scsi.h.

◆ DISC_BGFORMAT_STATE_COMPLETE

#define DISC_BGFORMAT_STATE_COMPLETE   0x3

Definition at line 169 of file scsi.h.

◆ DISC_BGFORMAT_STATE_INCOMPLETE

#define DISC_BGFORMAT_STATE_INCOMPLETE   0x1

Definition at line 167 of file scsi.h.

◆ DISC_BGFORMAT_STATE_NONE

#define DISC_BGFORMAT_STATE_NONE   0x0

Definition at line 166 of file scsi.h.

◆ DISC_BGFORMAT_STATE_RUNNING

#define DISC_BGFORMAT_STATE_RUNNING   0x2

Definition at line 168 of file scsi.h.

◆ DISK_STATUS_COMPLETE

#define DISK_STATUS_COMPLETE   0x02

Definition at line 153 of file scsi.h.

◆ DISK_STATUS_EMPTY

#define DISK_STATUS_EMPTY   0x00

Definition at line 151 of file scsi.h.

◆ DISK_STATUS_INCOMPLETE

#define DISK_STATUS_INCOMPLETE   0x01

Definition at line 152 of file scsi.h.

◆ DISK_STATUS_OTHERS

#define DISK_STATUS_OTHERS   0x03

Definition at line 154 of file scsi.h.

◆ DISK_TYPE_CDDA

#define DISK_TYPE_CDDA   0x00

Definition at line 161 of file scsi.h.

◆ DISK_TYPE_CDI

#define DISK_TYPE_CDI   0x10

Definition at line 162 of file scsi.h.

◆ DISK_TYPE_UNDEFINED

#define DISK_TYPE_UNDEFINED   0xFF

Definition at line 164 of file scsi.h.

◆ DISK_TYPE_XA

#define DISK_TYPE_XA   0x20

Definition at line 163 of file scsi.h.

◆ DVD_CHALLENGE_KEY

#define DVD_CHALLENGE_KEY   0x01

Definition at line 129 of file scsi.h.

◆ DVD_FORMAT_BCA

#define DVD_FORMAT_BCA   0x03

Definition at line 125 of file scsi.h.

◆ DVD_FORMAT_COPYRIGHT

#define DVD_FORMAT_COPYRIGHT   0x01

Definition at line 123 of file scsi.h.

◆ DVD_FORMAT_DISK_KEY

#define DVD_FORMAT_DISK_KEY   0x02

Definition at line 124 of file scsi.h.

◆ DVD_FORMAT_LEAD_IN

#define DVD_FORMAT_LEAD_IN   0x00

Definition at line 122 of file scsi.h.

◆ DVD_FORMAT_MANUFACTURING

#define DVD_FORMAT_MANUFACTURING   0x04

Definition at line 126 of file scsi.h.

◆ DVD_INVALIDATE_AGID

#define DVD_INVALIDATE_AGID   0x3F

Definition at line 134 of file scsi.h.

◆ DVD_KEY_1

#define DVD_KEY_1   0x02

Definition at line 130 of file scsi.h.

◆ DVD_KEY_2

#define DVD_KEY_2   0x03

Definition at line 131 of file scsi.h.

◆ DVD_REPORT_AGID

#define DVD_REPORT_AGID   0x00

Definition at line 128 of file scsi.h.

◆ DVD_REPORT_ASF

#define DVD_REPORT_ASF   0x05

Definition at line 133 of file scsi.h.

◆ DVD_TITLE_KEY

#define DVD_TITLE_KEY   0x04

Definition at line 132 of file scsi.h.

◆ FILE_DEVICE_SCSI

#define FILE_DEVICE_SCSI   0x0000001b

Definition at line 662 of file scsi.h.

◆ GET_LAST_SESSION

#define GET_LAST_SESSION   0x01

Definition at line 735 of file scsi.h.

◆ GET_SESSION_DATA

#define GET_SESSION_DATA   0x02

Definition at line 736 of file scsi.h.

◆ INQUIRYDATABUFFERSIZE

#define INQUIRYDATABUFFERSIZE   36

Definition at line 1995 of file scsi.h.

◆ IOCTL_SCSI_EXECUTE_IN

#define IOCTL_SCSI_EXECUTE_IN   ((FILE_DEVICE_SCSI << 16) + 0x0011)

Definition at line 664 of file scsi.h.

◆ IOCTL_SCSI_EXECUTE_NONE

#define IOCTL_SCSI_EXECUTE_NONE   ((FILE_DEVICE_SCSI << 16) + 0x0013)

Definition at line 666 of file scsi.h.

◆ IOCTL_SCSI_EXECUTE_OUT

#define IOCTL_SCSI_EXECUTE_OUT   ((FILE_DEVICE_SCSI << 16) + 0x0012)

Definition at line 665 of file scsi.h.

◆ IOCTL_SCSI_MINIPORT_DISABLE_SMART

#define IOCTL_SCSI_MINIPORT_DISABLE_SMART   ((FILE_DEVICE_SCSI << 16) + 0x0505)

Definition at line 674 of file scsi.h.

◆ IOCTL_SCSI_MINIPORT_ENABLE_DISABLE_AUTO_OFFLINE

#define IOCTL_SCSI_MINIPORT_ENABLE_DISABLE_AUTO_OFFLINE   ((FILE_DEVICE_SCSI << 16) + 0x050a)

Definition at line 679 of file scsi.h.

◆ IOCTL_SCSI_MINIPORT_ENABLE_DISABLE_AUTOSAVE

#define IOCTL_SCSI_MINIPORT_ENABLE_DISABLE_AUTOSAVE   ((FILE_DEVICE_SCSI << 16) + 0x0507)

Definition at line 676 of file scsi.h.

◆ IOCTL_SCSI_MINIPORT_ENABLE_SMART

#define IOCTL_SCSI_MINIPORT_ENABLE_SMART   ((FILE_DEVICE_SCSI << 16) + 0x0504)

Definition at line 673 of file scsi.h.

◆ IOCTL_SCSI_MINIPORT_EXECUTE_OFFLINE_DIAGS

#define IOCTL_SCSI_MINIPORT_EXECUTE_OFFLINE_DIAGS   ((FILE_DEVICE_SCSI << 16) + 0x0509)

Definition at line 678 of file scsi.h.

◆ IOCTL_SCSI_MINIPORT_IDENTIFY

#define IOCTL_SCSI_MINIPORT_IDENTIFY   ((FILE_DEVICE_SCSI << 16) + 0x0501)

Definition at line 670 of file scsi.h.

◆ IOCTL_SCSI_MINIPORT_NOT_CLUSTER_CAPABLE

#define IOCTL_SCSI_MINIPORT_NOT_CLUSTER_CAPABLE   ((FILE_DEVICE_SCSI << 16) + 0x0521)

Definition at line 685 of file scsi.h.

◆ IOCTL_SCSI_MINIPORT_NOT_QUORUM_CAPABLE

#define IOCTL_SCSI_MINIPORT_NOT_QUORUM_CAPABLE   ((FILE_DEVICE_SCSI << 16) + 0x0520)

Definition at line 684 of file scsi.h.

◆ IOCTL_SCSI_MINIPORT_READ_SMART_ATTRIBS

#define IOCTL_SCSI_MINIPORT_READ_SMART_ATTRIBS   ((FILE_DEVICE_SCSI << 16) + 0x0502)

Definition at line 671 of file scsi.h.

◆ IOCTL_SCSI_MINIPORT_READ_SMART_LOG

#define IOCTL_SCSI_MINIPORT_READ_SMART_LOG   ((FILE_DEVICE_SCSI << 16) + 0x050b)

Definition at line 680 of file scsi.h.

◆ IOCTL_SCSI_MINIPORT_READ_SMART_THRESHOLDS

#define IOCTL_SCSI_MINIPORT_READ_SMART_THRESHOLDS   ((FILE_DEVICE_SCSI << 16) + 0x0503)

Definition at line 672 of file scsi.h.

◆ IOCTL_SCSI_MINIPORT_RETURN_STATUS

#define IOCTL_SCSI_MINIPORT_RETURN_STATUS   ((FILE_DEVICE_SCSI << 16) + 0x0506)

Definition at line 675 of file scsi.h.

◆ IOCTL_SCSI_MINIPORT_SAVE_ATTRIBUTE_VALUES

#define IOCTL_SCSI_MINIPORT_SAVE_ATTRIBUTE_VALUES   ((FILE_DEVICE_SCSI << 16) + 0x0508)

Definition at line 677 of file scsi.h.

◆ IOCTL_SCSI_MINIPORT_SMART_VERSION

#define IOCTL_SCSI_MINIPORT_SMART_VERSION   ((FILE_DEVICE_SCSI << 16) + 0x0500)

Definition at line 669 of file scsi.h.

◆ IOCTL_SCSI_MINIPORT_WRITE_SMART_LOG

#define IOCTL_SCSI_MINIPORT_WRITE_SMART_LOG   ((FILE_DEVICE_SCSI << 16) + 0x050c)

Definition at line 681 of file scsi.h.

◆ LAST_SESSION_COMPLETE

#define LAST_SESSION_COMPLETE   0x03

Definition at line 159 of file scsi.h.

◆ LAST_SESSION_EMPTY

#define LAST_SESSION_EMPTY   0x00

Definition at line 156 of file scsi.h.

◆ LAST_SESSION_INCOMPLETE

#define LAST_SESSION_INCOMPLETE   0x01

Definition at line 157 of file scsi.h.

◆ LAST_SESSION_RESERVED_DAMAGED

#define LAST_SESSION_RESERVED_DAMAGED   0x02

Definition at line 158 of file scsi.h.

◆ LOADING_MECHANISM_CADDY

#define LOADING_MECHANISM_CADDY   0x00

Definition at line 708 of file scsi.h.

◆ LOADING_MECHANISM_CARTRIDGE_CHANGER

#define LOADING_MECHANISM_CARTRIDGE_CHANGER   0x05

Definition at line 712 of file scsi.h.

◆ LOADING_MECHANISM_INDIVIDUAL_CHANGER

#define LOADING_MECHANISM_INDIVIDUAL_CHANGER   0x04

Definition at line 711 of file scsi.h.

◆ LOADING_MECHANISM_POPUP

#define LOADING_MECHANISM_POPUP   0x02

Definition at line 710 of file scsi.h.

◆ LOADING_MECHANISM_TRAY

#define LOADING_MECHANISM_TRAY   0x01

Definition at line 709 of file scsi.h.

◆ LOGICAL_UNIT_NOT_PRESENT_DEVICE

#define LOGICAL_UNIT_NOT_PRESENT_DEVICE   0x7F

Definition at line 474 of file scsi.h.

◆ LUN0_FORMAT_SAVING_DEFECT_LIST

#define LUN0_FORMAT_SAVING_DEFECT_LIST   0

Definition at line 450 of file scsi.h.

◆ MAX_ADDITIONAL_SENSE_BYTES

#define MAX_ADDITIONAL_SENSE_BYTES   (MAX_SENSE_BUFFER_SIZE - SENSE_BUFFER_SIZE)

Definition at line 528 of file scsi.h.

◆ MAX_SENSE_BUFFER_SIZE

#define MAX_SENSE_BUFFER_SIZE   255

Definition at line 526 of file scsi.h.

◆ MEDIUM_CHANGER

#define MEDIUM_CHANGER   0x08

Definition at line 466 of file scsi.h.

◆ MODE_BLOCK_DESC_LENGTH

#define MODE_BLOCK_DESC_LENGTH   8

Definition at line 714 of file scsi.h.

◆ MODE_DSP_FUA_SUPPORTED

#define MODE_DSP_FUA_SUPPORTED   0x10

Definition at line 690 of file scsi.h.

◆ MODE_DSP_WRITE_PROTECT

#define MODE_DSP_WRITE_PROTECT   0x80

Definition at line 691 of file scsi.h.

◆ MODE_FD_DOUBLE_SIDE

#define MODE_FD_DOUBLE_SIDE   0x02

Definition at line 688 of file scsi.h.

◆ MODE_FD_MAXIMUM_TYPE

#define MODE_FD_MAXIMUM_TYPE   0x1E

Definition at line 689 of file scsi.h.

◆ MODE_FD_SINGLE_SIDE

#define MODE_FD_SINGLE_SIDE   0x01

Definition at line 687 of file scsi.h.

◆ MODE_HEADER_LENGTH

#define MODE_HEADER_LENGTH   4

Definition at line 715 of file scsi.h.

◆ MODE_HEADER_LENGTH10

#define MODE_HEADER_LENGTH10   8

Definition at line 716 of file scsi.h.

◆ MODE_PAGE_CACHING

#define MODE_PAGE_CACHING   0x08

Definition at line 199 of file scsi.h.

◆ MODE_PAGE_CAPABILITIES

#define MODE_PAGE_CAPABILITIES   0x2A

Definition at line 222 of file scsi.h.

◆ MODE_PAGE_CD_AUDIO_CONTROL

#define MODE_PAGE_CD_AUDIO_CONTROL   0x0E

Definition at line 204 of file scsi.h.

◆ MODE_PAGE_CDVD_FEATURE_SET

#define MODE_PAGE_CDVD_FEATURE_SET   0x18

Definition at line 212 of file scsi.h.

◆ MODE_PAGE_CDVD_INACTIVITY

#define MODE_PAGE_CDVD_INACTIVITY   0x1D

Definition at line 218 of file scsi.h.

◆ MODE_PAGE_CONTROL

#define MODE_PAGE_CONTROL   0x0A

Definition at line 201 of file scsi.h.

◆ MODE_PAGE_DATA_COMPRESS

#define MODE_PAGE_DATA_COMPRESS   0x0F

Definition at line 205 of file scsi.h.

◆ MODE_PAGE_DEVICE_CAPABILITIES

#define MODE_PAGE_DEVICE_CAPABILITIES   0x1F

Definition at line 221 of file scsi.h.

◆ MODE_PAGE_DEVICE_CONFIG

#define MODE_PAGE_DEVICE_CONFIG   0x10

Definition at line 206 of file scsi.h.

◆ MODE_PAGE_DISCONNECT

#define MODE_PAGE_DISCONNECT   0x02

Definition at line 192 of file scsi.h.

◆ MODE_PAGE_ELEMENT_ADDRESS

#define MODE_PAGE_ELEMENT_ADDRESS   0x1D

Definition at line 219 of file scsi.h.

◆ MODE_PAGE_ENCLOSURE_SERVICES_MANAGEMENT

#define MODE_PAGE_ENCLOSURE_SERVICES_MANAGEMENT   0x14

Definition at line 209 of file scsi.h.

◆ MODE_PAGE_ERROR_RECOVERY

#define MODE_PAGE_ERROR_RECOVERY   0x01

Definition at line 191 of file scsi.h.

◆ MODE_PAGE_EXTENDED

#define MODE_PAGE_EXTENDED   0x15

Definition at line 210 of file scsi.h.

◆ MODE_PAGE_EXTENDED_DEVICE_SPECIFIC

#define MODE_PAGE_EXTENDED_DEVICE_SPECIFIC   0x16

Definition at line 211 of file scsi.h.

◆ MODE_PAGE_FAULT_REPORTING

#define MODE_PAGE_FAULT_REPORTING   0x1C

Definition at line 217 of file scsi.h.

◆ MODE_PAGE_FLEXIBILE

#define MODE_PAGE_FLEXIBILE   0x05

Definition at line 196 of file scsi.h.

◆ MODE_PAGE_FORMAT_DEVICE

#define MODE_PAGE_FORMAT_DEVICE   0x03

Definition at line 193 of file scsi.h.

◆ MODE_PAGE_LUN_MAPPING

#define MODE_PAGE_LUN_MAPPING   0x1B

Definition at line 216 of file scsi.h.

◆ MODE_PAGE_MEDIUM_PARTITION

#define MODE_PAGE_MEDIUM_PARTITION   0x11

Definition at line 208 of file scsi.h.

◆ MODE_PAGE_MEDIUM_TYPES

#define MODE_PAGE_MEDIUM_TYPES   0x0B

Definition at line 202 of file scsi.h.

◆ MODE_PAGE_MRW

#define MODE_PAGE_MRW   0x03

Definition at line 194 of file scsi.h.

◆ MODE_PAGE_NOTCH_PARTITION

#define MODE_PAGE_NOTCH_PARTITION   0x0C

Definition at line 203 of file scsi.h.

◆ MODE_PAGE_PERIPHERAL

#define MODE_PAGE_PERIPHERAL   0x09

Definition at line 200 of file scsi.h.

◆ MODE_PAGE_POWER_CONDITION

#define MODE_PAGE_POWER_CONDITION   0x1A

Definition at line 215 of file scsi.h.

◆ MODE_PAGE_PROTOCOL_SPECIFIC_LUN

#define MODE_PAGE_PROTOCOL_SPECIFIC_LUN   0x18

Definition at line 213 of file scsi.h.

◆ MODE_PAGE_PROTOCOL_SPECIFIC_PORT

#define MODE_PAGE_PROTOCOL_SPECIFIC_PORT   0x19

Definition at line 214 of file scsi.h.

◆ MODE_PAGE_RIGID_GEOMETRY

#define MODE_PAGE_RIGID_GEOMETRY   0x04

Definition at line 195 of file scsi.h.

◆ MODE_PAGE_TRANSPORT_GEOMETRY

#define MODE_PAGE_TRANSPORT_GEOMETRY   0x1E

Definition at line 220 of file scsi.h.

◆ MODE_PAGE_VENDOR_SPECIFIC

#define MODE_PAGE_VENDOR_SPECIFIC   0x00

Definition at line 190 of file scsi.h.

◆ MODE_PAGE_VERIFY_ERROR

#define MODE_PAGE_VERIFY_ERROR   0x07

Definition at line 198 of file scsi.h.

◆ MODE_PAGE_WRITE_PARAMETERS

#define MODE_PAGE_WRITE_PARAMETERS   0x05

Definition at line 197 of file scsi.h.

◆ MODE_PAGE_XOR_CONTROL

#define MODE_PAGE_XOR_CONTROL   0x10

Definition at line 207 of file scsi.h.

◆ MODE_SELECT_IMMEDIATE

#define MODE_SELECT_IMMEDIATE   0x04

Definition at line 729 of file scsi.h.

◆ MODE_SELECT_PFBIT

#define MODE_SELECT_PFBIT   0x10

Definition at line 730 of file scsi.h.

◆ MODE_SENSE_CHANGEABLE_VALUES

#define MODE_SENSE_CHANGEABLE_VALUES   0x40

Definition at line 227 of file scsi.h.

◆ MODE_SENSE_CURRENT_VALUES

#define MODE_SENSE_CURRENT_VALUES   0x00

Definition at line 226 of file scsi.h.

◆ MODE_SENSE_DEFAULT_VAULES

#define MODE_SENSE_DEFAULT_VAULES   0x80

Definition at line 228 of file scsi.h.

◆ MODE_SENSE_RETURN_ALL

#define MODE_SENSE_RETURN_ALL   0x3f

Definition at line 224 of file scsi.h.

◆ MODE_SENSE_SAVED_VALUES

#define MODE_SENSE_SAVED_VALUES   0xc0

Definition at line 229 of file scsi.h.

◆ NOTIFICATION_BUSY_EVENT_BUSY

#define NOTIFICATION_BUSY_EVENT_BUSY   0x1

Definition at line 115 of file scsi.h.

◆ NOTIFICATION_BUSY_EVENT_NO_CHANGE

#define NOTIFICATION_BUSY_EVENT_NO_CHANGE   0x0

Definition at line 114 of file scsi.h.

◆ NOTIFICATION_BUSY_EVENT_NO_EVENT [1/2]

#define NOTIFICATION_BUSY_EVENT_NO_EVENT   0x0

Definition at line 113 of file scsi.h.

◆ NOTIFICATION_BUSY_EVENT_NO_EVENT [2/2]

#define NOTIFICATION_BUSY_EVENT_NO_EVENT   0x0

Definition at line 113 of file scsi.h.

◆ NOTIFICATION_BUSY_STATUS_DEFERRED

#define NOTIFICATION_BUSY_STATUS_DEFERRED   0x3

Definition at line 120 of file scsi.h.

◆ NOTIFICATION_BUSY_STATUS_IMMEDIATE

#define NOTIFICATION_BUSY_STATUS_IMMEDIATE   0x2

Definition at line 119 of file scsi.h.

◆ NOTIFICATION_BUSY_STATUS_NO_EVENT

#define NOTIFICATION_BUSY_STATUS_NO_EVENT   0x0

Definition at line 117 of file scsi.h.

◆ NOTIFICATION_BUSY_STATUS_POWER

#define NOTIFICATION_BUSY_STATUS_POWER   0x1

Definition at line 118 of file scsi.h.

◆ NOTIFICATION_DEVICE_BUSY_CLASS_EVENTS

#define NOTIFICATION_DEVICE_BUSY_CLASS_EVENTS   0x6

Definition at line 48 of file scsi.h.

◆ NOTIFICATION_DEVICE_BUSY_CLASS_MASK

#define NOTIFICATION_DEVICE_BUSY_CLASS_MASK   0x40

Definition at line 39 of file scsi.h.

◆ NOTIFICATION_EXTERNAL_EVENT_BUTTON_DOWN

#define NOTIFICATION_EXTERNAL_EVENT_BUTTON_DOWN   0x1

Definition at line 76 of file scsi.h.

◆ NOTIFICATION_EXTERNAL_EVENT_BUTTON_UP

#define NOTIFICATION_EXTERNAL_EVENT_BUTTON_UP   0x2

Definition at line 77 of file scsi.h.

◆ NOTIFICATION_EXTERNAL_EVENT_EXTERNAL

#define NOTIFICATION_EXTERNAL_EVENT_EXTERNAL   0x3

Definition at line 78 of file scsi.h.

◆ NOTIFICATION_EXTERNAL_EVENT_NO_CHANGE

#define NOTIFICATION_EXTERNAL_EVENT_NO_CHANGE   0x0

Definition at line 75 of file scsi.h.

◆ NOTIFICATION_EXTERNAL_REQUEST_ASCII_HIGH

#define NOTIFICATION_EXTERNAL_REQUEST_ASCII_HIGH   0x02ff

Definition at line 91 of file scsi.h.

◆ NOTIFICATION_EXTERNAL_REQUEST_ASCII_LOW

#define NOTIFICATION_EXTERNAL_REQUEST_ASCII_LOW   0x0200

Definition at line 90 of file scsi.h.

◆ NOTIFICATION_EXTERNAL_REQUEST_CLASS_EVENTS

#define NOTIFICATION_EXTERNAL_REQUEST_CLASS_EVENTS   0x3

Definition at line 45 of file scsi.h.

◆ NOTIFICATION_EXTERNAL_REQUEST_CLASS_MASK

#define NOTIFICATION_EXTERNAL_REQUEST_CLASS_MASK   0x08

Definition at line 36 of file scsi.h.

◆ NOTIFICATION_EXTERNAL_REQUEST_FAST_FORWARD

#define NOTIFICATION_EXTERNAL_REQUEST_FAST_FORWARD   0x0103

Definition at line 87 of file scsi.h.

◆ NOTIFICATION_EXTERNAL_REQUEST_NONE

#define NOTIFICATION_EXTERNAL_REQUEST_NONE   0x0000

Definition at line 83 of file scsi.h.

◆ NOTIFICATION_EXTERNAL_REQUEST_PAUSE

#define NOTIFICATION_EXTERNAL_REQUEST_PAUSE   0x0104

Definition at line 88 of file scsi.h.

◆ NOTIFICATION_EXTERNAL_REQUEST_PLAY

#define NOTIFICATION_EXTERNAL_REQUEST_PLAY   0x0101

Definition at line 85 of file scsi.h.

◆ NOTIFICATION_EXTERNAL_REQUEST_QUEUE_OVERRUN

#define NOTIFICATION_EXTERNAL_REQUEST_QUEUE_OVERRUN   0x0001

Definition at line 84 of file scsi.h.

◆ NOTIFICATION_EXTERNAL_REQUEST_REWIND_BACK

#define NOTIFICATION_EXTERNAL_REQUEST_REWIND_BACK   0x0102

Definition at line 86 of file scsi.h.

◆ NOTIFICATION_EXTERNAL_REQUEST_STOP

#define NOTIFICATION_EXTERNAL_REQUEST_STOP   0x0106

Definition at line 89 of file scsi.h.

◆ NOTIFICATION_EXTERNAL_STATUS_PREVENT

#define NOTIFICATION_EXTERNAL_STATUS_PREVENT   0x1

Definition at line 81 of file scsi.h.

◆ NOTIFICATION_EXTERNAL_STATUS_READY

#define NOTIFICATION_EXTERNAL_STATUS_READY   0x0

Definition at line 80 of file scsi.h.

◆ NOTIFICATION_MEDIA_EVENT_EJECT_REQUEST

#define NOTIFICATION_MEDIA_EVENT_EJECT_REQUEST   0x1

Definition at line 94 of file scsi.h.

◆ NOTIFICATION_MEDIA_EVENT_MEDIA_CHANGE

#define NOTIFICATION_MEDIA_EVENT_MEDIA_CHANGE   0x4

Definition at line 97 of file scsi.h.

◆ NOTIFICATION_MEDIA_EVENT_MEDIA_REMOVAL

#define NOTIFICATION_MEDIA_EVENT_MEDIA_REMOVAL   0x3

Definition at line 96 of file scsi.h.

◆ NOTIFICATION_MEDIA_EVENT_NEW_MEDIA

#define NOTIFICATION_MEDIA_EVENT_NEW_MEDIA   0x2

Definition at line 95 of file scsi.h.

◆ NOTIFICATION_MEDIA_EVENT_NO_CHANGE

#define NOTIFICATION_MEDIA_EVENT_NO_CHANGE   0x0

Definition at line 93 of file scsi.h.

◆ NOTIFICATION_MEDIA_EVENT_NO_EVENT

#define NOTIFICATION_MEDIA_EVENT_NO_EVENT   0x0

Definition at line 74 of file scsi.h.

◆ NOTIFICATION_MEDIA_STATUS_CLASS_EVENTS

#define NOTIFICATION_MEDIA_STATUS_CLASS_EVENTS   0x4

Definition at line 46 of file scsi.h.

◆ NOTIFICATION_MEDIA_STATUS_CLASS_MASK

#define NOTIFICATION_MEDIA_STATUS_CLASS_MASK   0x10

Definition at line 37 of file scsi.h.

◆ NOTIFICATION_MULTI_HOST_CLASS_EVENTS

#define NOTIFICATION_MULTI_HOST_CLASS_EVENTS   0x5

Definition at line 47 of file scsi.h.

◆ NOTIFICATION_MULTI_HOST_CLASS_MASK

#define NOTIFICATION_MULTI_HOST_CLASS_MASK   0x20

Definition at line 38 of file scsi.h.

◆ NOTIFICATION_MULTI_HOST_EVENT_CONTROL_GRANT

#define NOTIFICATION_MULTI_HOST_EVENT_CONTROL_GRANT   0x2

Definition at line 102 of file scsi.h.

◆ NOTIFICATION_MULTI_HOST_EVENT_CONTROL_RELEASE

#define NOTIFICATION_MULTI_HOST_EVENT_CONTROL_RELEASE   0x3

Definition at line 103 of file scsi.h.

◆ NOTIFICATION_MULTI_HOST_EVENT_CONTROL_REQUEST

#define NOTIFICATION_MULTI_HOST_EVENT_CONTROL_REQUEST   0x1

Definition at line 101 of file scsi.h.

◆ NOTIFICATION_MULTI_HOST_EVENT_NO_CHANGE

#define NOTIFICATION_MULTI_HOST_EVENT_NO_CHANGE   0x0

Definition at line 100 of file scsi.h.

◆ NOTIFICATION_MULTI_HOST_PRIORITY_HIGH

#define NOTIFICATION_MULTI_HOST_PRIORITY_HIGH   0x3

Definition at line 111 of file scsi.h.

◆ NOTIFICATION_MULTI_HOST_PRIORITY_LOW

#define NOTIFICATION_MULTI_HOST_PRIORITY_LOW   0x1

Definition at line 109 of file scsi.h.

◆ NOTIFICATION_MULTI_HOST_PRIORITY_MEDIUM

#define NOTIFICATION_MULTI_HOST_PRIORITY_MEDIUM   0x2

Definition at line 110 of file scsi.h.

◆ NOTIFICATION_MULTI_HOST_PRIORITY_NO_REQUESTS

#define NOTIFICATION_MULTI_HOST_PRIORITY_NO_REQUESTS   0x0

Definition at line 108 of file scsi.h.

◆ NOTIFICATION_MULTI_HOST_STATUS_PREVENT

#define NOTIFICATION_MULTI_HOST_STATUS_PREVENT   0x1

Definition at line 106 of file scsi.h.

◆ NOTIFICATION_MULTI_HOST_STATUS_READY

#define NOTIFICATION_MULTI_HOST_STATUS_READY   0x0

Definition at line 105 of file scsi.h.

◆ NOTIFICATION_NO_CLASS_EVENTS

#define NOTIFICATION_NO_CLASS_EVENTS   0x0

Definition at line 42 of file scsi.h.

◆ NOTIFICATION_OPERATIONAL_CHANGE_CLASS_EVENTS

#define NOTIFICATION_OPERATIONAL_CHANGE_CLASS_EVENTS   0x1

Definition at line 43 of file scsi.h.

◆ NOTIFICATION_OPERATIONAL_CHANGE_CLASS_MASK

#define NOTIFICATION_OPERATIONAL_CHANGE_CLASS_MASK   0x02

Definition at line 34 of file scsi.h.

◆ NOTIFICATION_OPERATIONAL_EVENT_CHANGE_OCCURRED

#define NOTIFICATION_OPERATIONAL_EVENT_CHANGE_OCCURRED   0x2

Definition at line 52 of file scsi.h.

◆ NOTIFICATION_OPERATIONAL_EVENT_CHANGE_REQUESTED

#define NOTIFICATION_OPERATIONAL_EVENT_CHANGE_REQUESTED   0x1

Definition at line 51 of file scsi.h.

◆ NOTIFICATION_OPERATIONAL_EVENT_NO_CHANGE

#define NOTIFICATION_OPERATIONAL_EVENT_NO_CHANGE   0x0

Definition at line 50 of file scsi.h.

◆ NOTIFICATION_OPERATIONAL_OPCODE_FEATURE_ADDED

#define NOTIFICATION_OPERATIONAL_OPCODE_FEATURE_ADDED   0x2

Definition at line 60 of file scsi.h.

◆ NOTIFICATION_OPERATIONAL_OPCODE_FEATURE_CHANGE

#define NOTIFICATION_OPERATIONAL_OPCODE_FEATURE_CHANGE   0x1

Definition at line 59 of file scsi.h.

◆ NOTIFICATION_OPERATIONAL_OPCODE_FIRMWARE_CHANGED

#define NOTIFICATION_OPERATIONAL_OPCODE_FIRMWARE_CHANGED   0x4

Definition at line 62 of file scsi.h.

◆ NOTIFICATION_OPERATIONAL_OPCODE_INQUIRY_CHANGED

#define NOTIFICATION_OPERATIONAL_OPCODE_INQUIRY_CHANGED   0x5

Definition at line 63 of file scsi.h.

◆ NOTIFICATION_OPERATIONAL_OPCODE_NONE

#define NOTIFICATION_OPERATIONAL_OPCODE_NONE   0x0

Definition at line 58 of file scsi.h.

◆ NOTIFICATION_OPERATIONAL_OPCODE_UNIT_RESET

#define NOTIFICATION_OPERATIONAL_OPCODE_UNIT_RESET   0x3

Definition at line 61 of file scsi.h.

◆ NOTIFICATION_OPERATIONAL_STATUS_AVAILABLE

#define NOTIFICATION_OPERATIONAL_STATUS_AVAILABLE   0x0

Definition at line 54 of file scsi.h.

◆ NOTIFICATION_OPERATIONAL_STATUS_EXTENDED_BUSY

#define NOTIFICATION_OPERATIONAL_STATUS_EXTENDED_BUSY   0x2

Definition at line 56 of file scsi.h.

◆ NOTIFICATION_OPERATIONAL_STATUS_TEMPORARY_BUSY

#define NOTIFICATION_OPERATIONAL_STATUS_TEMPORARY_BUSY   0x1

Definition at line 55 of file scsi.h.

◆ NOTIFICATION_POWER_EVENT_CHANGE_FAILED

#define NOTIFICATION_POWER_EVENT_CHANGE_FAILED   0x2

Definition at line 67 of file scsi.h.

◆ NOTIFICATION_POWER_EVENT_CHANGE_SUCCEEDED

#define NOTIFICATION_POWER_EVENT_CHANGE_SUCCEEDED   0x1

Definition at line 66 of file scsi.h.

◆ NOTIFICATION_POWER_EVENT_NO_CHANGE

#define NOTIFICATION_POWER_EVENT_NO_CHANGE   0x0

Definition at line 65 of file scsi.h.

◆ NOTIFICATION_POWER_MANAGEMENT_CLASS_EVENTS

#define NOTIFICATION_POWER_MANAGEMENT_CLASS_EVENTS   0x2

Definition at line 44 of file scsi.h.

◆ NOTIFICATION_POWER_MANAGEMENT_CLASS_MASK

#define NOTIFICATION_POWER_MANAGEMENT_CLASS_MASK   0x04

Definition at line 35 of file scsi.h.

◆ NOTIFICATION_POWER_STATUS_ACTIVE

#define NOTIFICATION_POWER_STATUS_ACTIVE   0x1

Definition at line 69 of file scsi.h.

◆ NOTIFICATION_POWER_STATUS_IDLE

#define NOTIFICATION_POWER_STATUS_IDLE   0x2

Definition at line 70 of file scsi.h.

◆ NOTIFICATION_POWER_STATUS_SLEEP

#define NOTIFICATION_POWER_STATUS_SLEEP   0x4

Definition at line 72 of file scsi.h.

◆ NOTIFICATION_POWER_STATUS_STANDBY

#define NOTIFICATION_POWER_STATUS_STANDBY   0x3

Definition at line 71 of file scsi.h.

◆ OBJECT_BASED_STORAGE_DEVICE

#define OBJECT_BASED_STORAGE_DEVICE   0x11

Definition at line 473 of file scsi.h.

◆ OPTICAL_CARD_READER_WRITER_DEVICE

#define OPTICAL_CARD_READER_WRITER_DEVICE   0x0F

Definition at line 471 of file scsi.h.

◆ OPTICAL_DEVICE

#define OPTICAL_DEVICE   0x07

Definition at line 465 of file scsi.h.

◆ PRINTER_DEVICE

#define PRINTER_DEVICE   0x02

Definition at line 460 of file scsi.h.

◆ PROCESSOR_DEVICE

#define PROCESSOR_DEVICE   0x03

Definition at line 461 of file scsi.h.

◆ READ_ONLY_DIRECT_ACCESS_DEVICE

#define READ_ONLY_DIRECT_ACCESS_DEVICE   0x05

Definition at line 463 of file scsi.h.

◆ READ_TOC_FORMAT_ATIP

#define READ_TOC_FORMAT_ATIP   0x04

Definition at line 180 of file scsi.h.

◆ READ_TOC_FORMAT_FULL_TOC

#define READ_TOC_FORMAT_FULL_TOC   0x02

Definition at line 178 of file scsi.h.

◆ READ_TOC_FORMAT_PMA

#define READ_TOC_FORMAT_PMA   0x03

Definition at line 179 of file scsi.h.

◆ READ_TOC_FORMAT_SESSION

#define READ_TOC_FORMAT_SESSION   0x01

Definition at line 177 of file scsi.h.

◆ READ_TOC_FORMAT_TOC

#define READ_TOC_FORMAT_TOC   0x00

Definition at line 176 of file scsi.h.

◆ REDUCED_BLOCK_DEVICE

#define REDUCED_BLOCK_DEVICE   0x0E

Definition at line 470 of file scsi.h.

◆ RESERVATION_ACTION_CLEAR

#define RESERVATION_ACTION_CLEAR   0x03

Definition at line 511 of file scsi.h.

◆ RESERVATION_ACTION_PREEMPT

#define RESERVATION_ACTION_PREEMPT   0x04

Definition at line 512 of file scsi.h.

◆ RESERVATION_ACTION_PREEMPT_ABORT

#define RESERVATION_ACTION_PREEMPT_ABORT   0x05

Definition at line 513 of file scsi.h.

◆ RESERVATION_ACTION_READ_KEYS

#define RESERVATION_ACTION_READ_KEYS   0x00

Definition at line 505 of file scsi.h.

◆ RESERVATION_ACTION_READ_RESERVATIONS

#define RESERVATION_ACTION_READ_RESERVATIONS   0x01

Definition at line 506 of file scsi.h.

◆ RESERVATION_ACTION_REGISTER

#define RESERVATION_ACTION_REGISTER   0x00

Definition at line 508 of file scsi.h.

◆ RESERVATION_ACTION_REGISTER_IGNORE_EXISTING

#define RESERVATION_ACTION_REGISTER_IGNORE_EXISTING   0x06

Definition at line 514 of file scsi.h.

◆ RESERVATION_ACTION_RELEASE

#define RESERVATION_ACTION_RELEASE   0x02

Definition at line 510 of file scsi.h.

◆ RESERVATION_ACTION_RESERVE

#define RESERVATION_ACTION_RESERVE   0x01

Definition at line 509 of file scsi.h.

◆ RESERVATION_SCOPE_ELEMENT

#define RESERVATION_SCOPE_ELEMENT   0x02

Definition at line 517 of file scsi.h.

◆ RESERVATION_SCOPE_LU

#define RESERVATION_SCOPE_LU   0x00

Definition at line 516 of file scsi.h.

◆ RESERVATION_TYPE_EXCLUSIVE

#define RESERVATION_TYPE_EXCLUSIVE   0x03

Definition at line 520 of file scsi.h.

◆ RESERVATION_TYPE_EXCLUSIVE_REGISTRANTS

#define RESERVATION_TYPE_EXCLUSIVE_REGISTRANTS   0x06

Definition at line 522 of file scsi.h.

◆ RESERVATION_TYPE_WRITE_EXCLUSIVE

#define RESERVATION_TYPE_WRITE_EXCLUSIVE   0x01

Definition at line 519 of file scsi.h.

◆ RESERVATION_TYPE_WRITE_EXCLUSIVE_REGISTRANTS

#define RESERVATION_TYPE_WRITE_EXCLUSIVE_REGISTRANTS   0x05

Definition at line 521 of file scsi.h.

◆ REVERSE_BYTES

#define REVERSE_BYTES (   Destination,
  Source 
)
Value:
{ \
PFOUR_BYTE _val1 = (PFOUR_BYTE)(Destination); \
PFOUR_BYTE _val2 = (PFOUR_BYTE)(Source); \
_val1->Byte3 = _val2->Byte0; \
_val1->Byte2 = _val2->Byte1; \
_val1->Byte1 = _val2->Byte2; \
_val1->Byte0 = _val2->Byte3; \
}
union _FOUR_BYTE * PFOUR_BYTE
_In_ PUNICODE_STRING _Inout_ PUNICODE_STRING Destination
Definition: rtlfuncs.h:2891
_In_ UINT _In_ UINT _In_ PNDIS_PACKET Source
Definition: ndis.h:3167

Definition at line 2707 of file scsi.h.

◆ REVERSE_BYTES_QUAD

#define REVERSE_BYTES_QUAD (   Destination,
  Source 
)
Value:
{ \
PEIGHT_BYTE _val1 = (PEIGHT_BYTE)(Destination); \
PEIGHT_BYTE _val2 = (PEIGHT_BYTE)(Source); \
_val1->Byte7 = _val2->Byte0; \
_val1->Byte6 = _val2->Byte1; \
_val1->Byte5 = _val2->Byte2; \
_val1->Byte4 = _val2->Byte3; \
_val1->Byte3 = _val2->Byte4; \
_val1->Byte2 = _val2->Byte5; \
_val1->Byte1 = _val2->Byte6; \
_val1->Byte0 = _val2->Byte7; \
}
_In_ PUNICODE_STRING _Inout_ PUNICODE_STRING Destination
Definition: rtlfuncs.h:2891
union _EIGHT_BYTE * PEIGHT_BYTE
_In_ UINT _In_ UINT _In_ PNDIS_PACKET Source
Definition: ndis.h:3167

Definition at line 2694 of file scsi.h.

◆ REVERSE_BYTES_SHORT

#define REVERSE_BYTES_SHORT (   Destination,
  Source 
)
Value:
{ \
PTWO_BYTE _val1 = (PTWO_BYTE)(Destination); \
PTWO_BYTE _val2 = (PTWO_BYTE)(Source); \
_val1->Byte1 = _val2->Byte0; \
_val1->Byte0 = _val2->Byte1; \
}
union _TWO_BYTE * PTWO_BYTE
_In_ PUNICODE_STRING _Inout_ PUNICODE_STRING Destination
Definition: rtlfuncs.h:2891
_In_ UINT _In_ UINT _In_ PNDIS_PACKET Source
Definition: ndis.h:3167

Definition at line 2716 of file scsi.h.

◆ REVERSE_LONG

#define REVERSE_LONG (   Long)
Value:
{ \
UCHAR _val; \
PFOUR_BYTE _val2 = (PFOUR_BYTE)(Long); \
_val = _val2->Byte3; \
_val2->Byte3 = _val2->Byte0; \
_val2->Byte0 = _val; \
_val = _val2->Byte2; \
_val2->Byte2 = _val2->Byte1; \
_val2->Byte1 = _val; \
}
union _FOUR_BYTE * PFOUR_BYTE
long Long
Definition: ftraster.c:313

Definition at line 2731 of file scsi.h.

◆ REVERSE_SHORT

#define REVERSE_SHORT (   Short)
Value:
{ \
UCHAR _val; \
PTWO_BYTE _val2 = (PTWO_BYTE)(Short); \
_val = _val2->Byte0; \
_val2->Byte0 = _val2->Byte1; \
_val2->Byte1 = _val; \
}
union _TWO_BYTE * PTWO_BYTE
short Short
Definition: ftraster.c:311

Definition at line 2723 of file scsi.h.

◆ SCANNER_DEVICE

#define SCANNER_DEVICE   0x06

Definition at line 464 of file scsi.h.

◆ SCSI_ADSENSE_BUS_RESET

#define SCSI_ADSENSE_BUS_RESET   0x29

Definition at line 571 of file scsi.h.

◆ SCSI_ADSENSE_COPY_PROTECTION_FAILURE

#define SCSI_ADSENSE_COPY_PROTECTION_FAILURE   0x6f

Definition at line 581 of file scsi.h.

◆ SCSI_ADSENSE_DATA_AREA

#define SCSI_ADSENSE_DATA_AREA   0xA1

Definition at line 585 of file scsi.h.

◆ SCSI_ADSENSE_FAILURE_PREDICTION_THRESHOLD_EXCEEDED

#define SCSI_ADSENSE_FAILURE_PREDICTION_THRESHOLD_EXCEEDED   0x5d

Definition at line 579 of file scsi.h.

◆ SCSI_ADSENSE_ILLEGAL_BLOCK

#define SCSI_ADSENSE_ILLEGAL_BLOCK   0x21

Definition at line 565 of file scsi.h.

◆ SCSI_ADSENSE_ILLEGAL_COMMAND

#define SCSI_ADSENSE_ILLEGAL_COMMAND   0x20

Definition at line 564 of file scsi.h.

◆ SCSI_ADSENSE_ILLEGAL_MODE_FOR_THIS_TRACK

#define SCSI_ADSENSE_ILLEGAL_MODE_FOR_THIS_TRACK   0x64

Definition at line 580 of file scsi.h.

◆ SCSI_ADSENSE_INSUFFICIENT_TIME_FOR_OPERATION

#define SCSI_ADSENSE_INSUFFICIENT_TIME_FOR_OPERATION   0x2E

Definition at line 573 of file scsi.h.

◆ SCSI_ADSENSE_INVALID_CDB

#define SCSI_ADSENSE_INVALID_CDB   0x24

Definition at line 566 of file scsi.h.

◆ SCSI_ADSENSE_INVALID_FIELD_PARAMETER_LIST

#define SCSI_ADSENSE_INVALID_FIELD_PARAMETER_LIST   0x26

Definition at line 568 of file scsi.h.

◆ SCSI_ADSENSE_INVALID_LUN

#define SCSI_ADSENSE_INVALID_LUN   0x25

Definition at line 567 of file scsi.h.

◆ SCSI_ADSENSE_INVALID_MEDIA

#define SCSI_ADSENSE_INVALID_MEDIA   0x30

Definition at line 574 of file scsi.h.

◆ SCSI_ADSENSE_LUN_COMMUNICATION

#define SCSI_ADSENSE_LUN_COMMUNICATION   0x08

Definition at line 557 of file scsi.h.

◆ SCSI_ADSENSE_LUN_NOT_READY

#define SCSI_ADSENSE_LUN_NOT_READY   0x04

Definition at line 556 of file scsi.h.

◆ SCSI_ADSENSE_MEDIUM_CHANGED

#define SCSI_ADSENSE_MEDIUM_CHANGED   0x28

Definition at line 570 of file scsi.h.

◆ SCSI_ADSENSE_MUSIC_AREA

#define SCSI_ADSENSE_MUSIC_AREA   0xA0

Definition at line 584 of file scsi.h.

◆ SCSI_ADSENSE_NO_MEDIA_IN_DEVICE

#define SCSI_ADSENSE_NO_MEDIA_IN_DEVICE   0x3a

Definition at line 575 of file scsi.h.

◆ SCSI_ADSENSE_NO_SEEK_COMPLETE

#define SCSI_ADSENSE_NO_SEEK_COMPLETE   0x02

Definition at line 555 of file scsi.h.

◆ SCSI_ADSENSE_NO_SENSE

#define SCSI_ADSENSE_NO_SENSE   0x00

Definition at line 554 of file scsi.h.

◆ SCSI_ADSENSE_OPERATING_CONDITIONS_CHANGED

#define SCSI_ADSENSE_OPERATING_CONDITIONS_CHANGED   0x3f

Definition at line 577 of file scsi.h.

◆ SCSI_ADSENSE_OPERATOR_REQUEST

#define SCSI_ADSENSE_OPERATOR_REQUEST   0x5a

Definition at line 578 of file scsi.h.

◆ SCSI_ADSENSE_PARAMETER_LIST_LENGTH

#define SCSI_ADSENSE_PARAMETER_LIST_LENGTH   0x1A

Definition at line 563 of file scsi.h.

◆ SCSI_ADSENSE_PARAMETERS_CHANGED

#define SCSI_ADSENSE_PARAMETERS_CHANGED   0x2A

Definition at line 572 of file scsi.h.

◆ SCSI_ADSENSE_POSITION_ERROR

#define SCSI_ADSENSE_POSITION_ERROR   0x3b

Definition at line 576 of file scsi.h.

◆ SCSI_ADSENSE_POWER_CALIBRATION_ERROR

#define SCSI_ADSENSE_POWER_CALIBRATION_ERROR   0x73

Definition at line 582 of file scsi.h.

◆ SCSI_ADSENSE_REC_DATA_ECC

#define SCSI_ADSENSE_REC_DATA_ECC   0x18

Definition at line 562 of file scsi.h.

◆ SCSI_ADSENSE_REC_DATA_NOECC

#define SCSI_ADSENSE_REC_DATA_NOECC   0x17

Definition at line 561 of file scsi.h.

◆ SCSI_ADSENSE_SEEK_ERROR

#define SCSI_ADSENSE_SEEK_ERROR   0x15

Definition at line 560 of file scsi.h.

◆ SCSI_ADSENSE_TRACK_ERROR

#define SCSI_ADSENSE_TRACK_ERROR   0x14

Definition at line 559 of file scsi.h.

◆ SCSI_ADSENSE_VENDOR_UNIQUE

#define SCSI_ADSENSE_VENDOR_UNIQUE   0x80

Definition at line 583 of file scsi.h.

◆ SCSI_ADSENSE_VOLUME_OVERFLOW

#define SCSI_ADSENSE_VOLUME_OVERFLOW   0xA7

Definition at line 586 of file scsi.h.

◆ SCSI_ADSENSE_WRITE_ERROR

#define SCSI_ADSENSE_WRITE_ERROR   0x0C

Definition at line 558 of file scsi.h.

◆ SCSI_ADSENSE_WRITE_PROTECT

#define SCSI_ADSENSE_WRITE_PROTECT   0x27

Definition at line 569 of file scsi.h.

◆ SCSI_ADWRITE_PROTECT

#define SCSI_ADWRITE_PROTECT   SCSI_ADSENSE_WRITE_PROTECT

Definition at line 588 of file scsi.h.

◆ SCSI_ENCLOSURE_DEVICE

#define SCSI_ENCLOSURE_DEVICE   0x0D

Definition at line 469 of file scsi.h.

◆ SCSI_EOM

#define SCSI_EOM   0x40

Definition at line 550 of file scsi.h.

◆ SCSI_FAILURE_PREDICTION_THRESHOLD_EXCEEDED

#define SCSI_FAILURE_PREDICTION_THRESHOLD_EXCEEDED   SCSI_ADSENSE_FAILURE_PREDICTION_THRESHOLD_EXCEEDED

Definition at line 589 of file scsi.h.

◆ SCSI_FILE_MARK

#define SCSI_FILE_MARK   0x80

Definition at line 551 of file scsi.h.

◆ SCSI_ILLEGAL_LENGTH

#define SCSI_ILLEGAL_LENGTH   0x20

Definition at line 549 of file scsi.h.

◆ SCSI_SENSE_ABORTED_COMMAND

#define SCSI_SENSE_ABORTED_COMMAND   0x0B

Definition at line 542 of file scsi.h.

◆ SCSI_SENSE_BLANK_CHECK

#define SCSI_SENSE_BLANK_CHECK   0x08

Definition at line 539 of file scsi.h.

◆ SCSI_SENSE_COPY_ABORTED

#define SCSI_SENSE_COPY_ABORTED   0x0A

Definition at line 541 of file scsi.h.

◆ SCSI_SENSE_DATA_PROTECT

#define SCSI_SENSE_DATA_PROTECT   0x07

Definition at line 538 of file scsi.h.

◆ SCSI_SENSE_EQUAL

#define SCSI_SENSE_EQUAL   0x0C

Definition at line 543 of file scsi.h.

◆ SCSI_SENSE_HARDWARE_ERROR

#define SCSI_SENSE_HARDWARE_ERROR   0x04

Definition at line 535 of file scsi.h.

◆ SCSI_SENSE_ILLEGAL_REQUEST

#define SCSI_SENSE_ILLEGAL_REQUEST   0x05

Definition at line 536 of file scsi.h.

◆ SCSI_SENSE_MEDIUM_ERROR

#define SCSI_SENSE_MEDIUM_ERROR   0x03

Definition at line 534 of file scsi.h.

◆ SCSI_SENSE_MISCOMPARE

#define SCSI_SENSE_MISCOMPARE   0x0E

Definition at line 545 of file scsi.h.

◆ SCSI_SENSE_NO_SENSE

#define SCSI_SENSE_NO_SENSE   0x00

Definition at line 531 of file scsi.h.

◆ SCSI_SENSE_NOT_READY

#define SCSI_SENSE_NOT_READY   0x02

Definition at line 533 of file scsi.h.

◆ SCSI_SENSE_RECOVERED_ERROR

#define SCSI_SENSE_RECOVERED_ERROR   0x01

Definition at line 532 of file scsi.h.

◆ SCSI_SENSE_RESERVED

#define SCSI_SENSE_RESERVED   0x0F

Definition at line 546 of file scsi.h.

◆ SCSI_SENSE_UNIQUE

#define SCSI_SENSE_UNIQUE   0x09

Definition at line 540 of file scsi.h.

◆ SCSI_SENSE_UNIT_ATTENTION

#define SCSI_SENSE_UNIT_ATTENTION   0x06

Definition at line 537 of file scsi.h.

◆ SCSI_SENSE_VOL_OVERFLOW

#define SCSI_SENSE_VOL_OVERFLOW   0x0D

Definition at line 544 of file scsi.h.

◆ SCSI_SENSEQ_AUTHENTICATION_FAILURE

#define SCSI_SENSEQ_AUTHENTICATION_FAILURE   0x00

Definition at line 648 of file scsi.h.

◆ SCSI_SENSEQ_BECOMING_READY

#define SCSI_SENSEQ_BECOMING_READY   0x01

Definition at line 592 of file scsi.h.

◆ SCSI_SENSEQ_BEGINNING_OF_MEDIA_DETECTED

#define SCSI_SENSEQ_BEGINNING_OF_MEDIA_DETECTED   0x04

Definition at line 612 of file scsi.h.

◆ SCSI_SENSEQ_CAUSE_NOT_REPORTABLE

#define SCSI_SENSEQ_CAUSE_NOT_REPORTABLE   0x00

Definition at line 591 of file scsi.h.

◆ SCSI_SENSEQ_CLEANING_CARTRIDGE_INSTALLED

#define SCSI_SENSEQ_CLEANING_CARTRIDGE_INSTALLED   0x03

Definition at line 622 of file scsi.h.

◆ SCSI_SENSEQ_COMM_FAILURE

#define SCSI_SENSEQ_COMM_FAILURE   0x00

Definition at line 603 of file scsi.h.

◆ SCSI_SENSEQ_COMM_PARITY_ERROR

#define SCSI_SENSEQ_COMM_PARITY_ERROR   0x02

Definition at line 605 of file scsi.h.

◆ SCSI_SENSEQ_COMM_TIMEOUT

#define SCSI_SENSEQ_COMM_TIMEOUT   0x01

Definition at line 604 of file scsi.h.

◆ SCSI_SENSEQ_COMPONENT_DEVICE_ATTACHED

#define SCSI_SENSEQ_COMPONENT_DEVICE_ATTACHED   0x04

Definition at line 628 of file scsi.h.

◆ SCSI_SENSEQ_DESTINATION_FULL

#define SCSI_SENSEQ_DESTINATION_FULL   0x0d

Definition at line 616 of file scsi.h.

◆ SCSI_SENSEQ_DEVICE_IDENTIFIER_CHANGED

#define SCSI_SENSEQ_DEVICE_IDENTIFIER_CHANGED   0x05

Definition at line 629 of file scsi.h.

◆ SCSI_SENSEQ_ECHO_BUFFER_OVERWRITTEN

#define SCSI_SENSEQ_ECHO_BUFFER_OVERWRITTEN   0x0F

Definition at line 639 of file scsi.h.

◆ SCSI_SENSEQ_END_OF_MEDIA_DETECTED

#define SCSI_SENSEQ_END_OF_MEDIA_DETECTED   0x02

Definition at line 610 of file scsi.h.

◆ SCSI_SENSEQ_FILEMARK_DETECTED

#define SCSI_SENSEQ_FILEMARK_DETECTED   0x01

Definition at line 609 of file scsi.h.

◆ SCSI_SENSEQ_FORMAT_IN_PROGRESS

#define SCSI_SENSEQ_FORMAT_IN_PROGRESS   0x04

Definition at line 595 of file scsi.h.

◆ SCSI_SENSEQ_ILLEGAL_ELEMENT_ADDR

#define SCSI_SENSEQ_ILLEGAL_ELEMENT_ADDR   0x01

Definition at line 614 of file scsi.h.

◆ SCSI_SENSEQ_INCOMPATIBLE_FORMAT

#define SCSI_SENSEQ_INCOMPATIBLE_FORMAT   0x02

Definition at line 621 of file scsi.h.

◆ SCSI_SENSEQ_INCOMPATIBLE_MEDIA_INSTALLED

#define SCSI_SENSEQ_INCOMPATIBLE_MEDIA_INSTALLED   0x00

Definition at line 619 of file scsi.h.

◆ SCSI_SENSEQ_INIT_COMMAND_REQUIRED

#define SCSI_SENSEQ_INIT_COMMAND_REQUIRED   0x02

Definition at line 593 of file scsi.h.

◆ SCSI_SENSEQ_INQUIRY_DATA_CHANGED

#define SCSI_SENSEQ_INQUIRY_DATA_CHANGED   0x03

Definition at line 627 of file scsi.h.

◆ SCSI_SENSEQ_KEY_NOT_ESTABLISHED

#define SCSI_SENSEQ_KEY_NOT_ESTABLISHED   0x02

Definition at line 650 of file scsi.h.

◆ SCSI_SENSEQ_KEY_NOT_PRESENT

#define SCSI_SENSEQ_KEY_NOT_PRESENT   0x01

Definition at line 649 of file scsi.h.

◆ SCSI_SENSEQ_LOGICAL_UNIT_RESET_COUNT_ERROR

#define SCSI_SENSEQ_LOGICAL_UNIT_RESET_COUNT_ERROR   0x05

Definition at line 653 of file scsi.h.

◆ SCSI_SENSEQ_LONG_WRITE_IN_PROGRESS

#define SCSI_SENSEQ_LONG_WRITE_IN_PROGRESS   0x08

Definition at line 599 of file scsi.h.

◆ SCSI_SENSEQ_LOSS_OF_STREAMING

#define SCSI_SENSEQ_LOSS_OF_STREAMING   0x09

Definition at line 600 of file scsi.h.

◆ SCSI_SENSEQ_MANUAL_INTERVENTION_REQUIRED

#define SCSI_SENSEQ_MANUAL_INTERVENTION_REQUIRED   0x03

Definition at line 594 of file scsi.h.

◆ SCSI_SENSEQ_MEDIA_CODE_MISMATCHED_TO_LOGICAL_UNIT

#define SCSI_SENSEQ_MEDIA_CODE_MISMATCHED_TO_LOGICAL_UNIT   0x04

Definition at line 652 of file scsi.h.

◆ SCSI_SENSEQ_MEDIUM_AUXILIARY_MEMORY_ACCESSIBLE

#define SCSI_SENSEQ_MEDIUM_AUXILIARY_MEMORY_ACCESSIBLE   0x11

Definition at line 641 of file scsi.h.

◆ SCSI_SENSEQ_MEDIUM_LOADABLE

#define SCSI_SENSEQ_MEDIUM_LOADABLE   0x10

Definition at line 640 of file scsi.h.

◆ SCSI_SENSEQ_MEDIUM_REMOVAL

#define SCSI_SENSEQ_MEDIUM_REMOVAL   0x01

Definition at line 644 of file scsi.h.

◆ SCSI_SENSEQ_MICROCODE_CHANGED

#define SCSI_SENSEQ_MICROCODE_CHANGED   0x01

Definition at line 625 of file scsi.h.

◆ SCSI_SENSEQ_OPERATING_DEFINITION_CHANGED

#define SCSI_SENSEQ_OPERATING_DEFINITION_CHANGED   0x02

Definition at line 626 of file scsi.h.

◆ SCSI_SENSEQ_OPERATION_IN_PROGRESS

#define SCSI_SENSEQ_OPERATION_IN_PROGRESS   0x07

Definition at line 598 of file scsi.h.

◆ SCSI_SENSEQ_PADDING_BLOCKS_ADDED

#define SCSI_SENSEQ_PADDING_BLOCKS_ADDED   0x0A

Definition at line 601 of file scsi.h.

◆ SCSI_SENSEQ_PMA_RMA_ALMOST_FULL

#define SCSI_SENSEQ_PMA_RMA_ALMOST_FULL   0x06

Definition at line 660 of file scsi.h.

◆ SCSI_SENSEQ_PMA_RMA_IS_FULL

#define SCSI_SENSEQ_PMA_RMA_IS_FULL   0x05

Definition at line 659 of file scsi.h.

◆ SCSI_SENSEQ_PMA_RMA_UPDATE_FAILURE

#define SCSI_SENSEQ_PMA_RMA_UPDATE_FAILURE   0x04

Definition at line 658 of file scsi.h.

◆ SCSI_SENSEQ_POWER_CALIBRATION_AREA_ALMOST_FULL

#define SCSI_SENSEQ_POWER_CALIBRATION_AREA_ALMOST_FULL   0x01

Definition at line 655 of file scsi.h.

◆ SCSI_SENSEQ_POWER_CALIBRATION_AREA_ERROR

#define SCSI_SENSEQ_POWER_CALIBRATION_AREA_ERROR   0x03

Definition at line 657 of file scsi.h.

◆ SCSI_SENSEQ_POWER_CALIBRATION_AREA_FULL

#define SCSI_SENSEQ_POWER_CALIBRATION_AREA_FULL   0x02

Definition at line 656 of file scsi.h.

◆ SCSI_SENSEQ_READ_OF_SCRAMBLED_SECTOR_WITHOUT_AUTHENTICATION

#define SCSI_SENSEQ_READ_OF_SCRAMBLED_SECTOR_WITHOUT_AUTHENTICATION   0x03

Definition at line 651 of file scsi.h.

◆ SCSI_SENSEQ_REBUILD_IN_PROGRESS

#define SCSI_SENSEQ_REBUILD_IN_PROGRESS   0x05

Definition at line 596 of file scsi.h.

◆ SCSI_SENSEQ_RECALCULATION_IN_PROGRESS

#define SCSI_SENSEQ_RECALCULATION_IN_PROGRESS   0x06

Definition at line 597 of file scsi.h.

◆ SCSI_SENSEQ_REDUNDANCY_GROUP_DELETED

#define SCSI_SENSEQ_REDUNDANCY_GROUP_DELETED   0x07

Definition at line 631 of file scsi.h.

◆ SCSI_SENSEQ_REDUNDANCY_GROUP_MODIFIED

#define SCSI_SENSEQ_REDUNDANCY_GROUP_MODIFIED   0x06

Definition at line 630 of file scsi.h.

◆ SCSI_SENSEQ_REPORTED_LUNS_DATA_CHANGED

#define SCSI_SENSEQ_REPORTED_LUNS_DATA_CHANGED   0x0E

Definition at line 638 of file scsi.h.

◆ SCSI_SENSEQ_SETMARK_DETECTED

#define SCSI_SENSEQ_SETMARK_DETECTED   0x03

Definition at line 611 of file scsi.h.

◆ SCSI_SENSEQ_SOURCE_EMPTY

#define SCSI_SENSEQ_SOURCE_EMPTY   0x0e

Definition at line 617 of file scsi.h.

◆ SCSI_SENSEQ_SPARE_DELETED

#define SCSI_SENSEQ_SPARE_DELETED   0x09

Definition at line 633 of file scsi.h.

◆ SCSI_SENSEQ_SPARE_MODIFIED

#define SCSI_SENSEQ_SPARE_MODIFIED   0x08

Definition at line 632 of file scsi.h.

◆ SCSI_SENSEQ_STATE_CHANGE_INPUT

#define SCSI_SENSEQ_STATE_CHANGE_INPUT   0x00

Definition at line 643 of file scsi.h.

◆ SCSI_SENSEQ_TARGET_OPERATING_CONDITIONS_CHANGED

#define SCSI_SENSEQ_TARGET_OPERATING_CONDITIONS_CHANGED   0x00

Definition at line 624 of file scsi.h.

◆ SCSI_SENSEQ_UNKNOWN_FORMAT

#define SCSI_SENSEQ_UNKNOWN_FORMAT   0x01

Definition at line 620 of file scsi.h.

◆ SCSI_SENSEQ_UNREACHABLE_TARGET

#define SCSI_SENSEQ_UNREACHABLE_TARGET   0x04

Definition at line 607 of file scsi.h.

◆ SCSI_SENSEQ_VOLUME_SET_DEASSIGNED

#define SCSI_SENSEQ_VOLUME_SET_DEASSIGNED   0x0C

Definition at line 636 of file scsi.h.

◆ SCSI_SENSEQ_VOLUME_SET_DELETED

#define SCSI_SENSEQ_VOLUME_SET_DELETED   0x0B

Definition at line 635 of file scsi.h.

◆ SCSI_SENSEQ_VOLUME_SET_MODIFIED

#define SCSI_SENSEQ_VOLUME_SET_MODIFIED   0x0A

Definition at line 634 of file scsi.h.

◆ SCSI_SENSEQ_VOLUME_SET_REASSIGNED

#define SCSI_SENSEQ_VOLUME_SET_REASSIGNED   0x0D

Definition at line 637 of file scsi.h.

◆ SCSI_SENSEQ_WRITE_PROTECT_DISABLE

#define SCSI_SENSEQ_WRITE_PROTECT_DISABLE   0x03

Definition at line 646 of file scsi.h.

◆ SCSI_SENSEQ_WRITE_PROTECT_ENABLE

#define SCSI_SENSEQ_WRITE_PROTECT_ENABLE   0x02

Definition at line 645 of file scsi.h.

◆ SCSI_SESNEQ_COMM_CRC_ERROR

#define SCSI_SESNEQ_COMM_CRC_ERROR   0x03

Definition at line 606 of file scsi.h.

◆ SCSIMESS_ABORT

#define SCSIMESS_ABORT   0x06

Definition at line 415 of file scsi.h.

◆ SCSIMESS_ABORT_WITH_TAG

#define SCSIMESS_ABORT_WITH_TAG   0x0D

Definition at line 416 of file scsi.h.

◆ SCSIMESS_BUS_DEVICE_RESET

#define SCSIMESS_BUS_DEVICE_RESET   0X0C

Definition at line 417 of file scsi.h.

◆ SCSIMESS_CLEAR_QUEUE

#define SCSIMESS_CLEAR_QUEUE   0X0E

Definition at line 418 of file scsi.h.

◆ SCSIMESS_COMMAND_COMPLETE

#define SCSIMESS_COMMAND_COMPLETE   0X00

Definition at line 419 of file scsi.h.

◆ SCSIMESS_DISCONNECT

#define SCSIMESS_DISCONNECT   0X04

Definition at line 420 of file scsi.h.

◆ SCSIMESS_EXTENDED_MESSAGE

#define SCSIMESS_EXTENDED_MESSAGE   0X01

Definition at line 421 of file scsi.h.

◆ SCSIMESS_HEAD_OF_QUEUE_TAG

#define SCSIMESS_HEAD_OF_QUEUE_TAG   0X21

Definition at line 432 of file scsi.h.

◆ SCSIMESS_IDENTIFY

#define SCSIMESS_IDENTIFY   0X80

Definition at line 422 of file scsi.h.

◆ SCSIMESS_IDENTIFY_WITH_DISCON

#define SCSIMESS_IDENTIFY_WITH_DISCON   0XC0

Definition at line 423 of file scsi.h.

◆ SCSIMESS_IGNORE_WIDE_RESIDUE

#define SCSIMESS_IGNORE_WIDE_RESIDUE   0X23

Definition at line 424 of file scsi.h.

◆ SCSIMESS_INIT_DETECTED_ERROR

#define SCSIMESS_INIT_DETECTED_ERROR   0X05

Definition at line 426 of file scsi.h.

◆ SCSIMESS_INITIATE_RECOVERY

#define SCSIMESS_INITIATE_RECOVERY   0X0F

Definition at line 425 of file scsi.h.

◆ SCSIMESS_LINK_CMD_COMP

#define SCSIMESS_LINK_CMD_COMP   0X0A

Definition at line 427 of file scsi.h.

◆ SCSIMESS_LINK_CMD_COMP_W_FLAG

#define SCSIMESS_LINK_CMD_COMP_W_FLAG   0X0B

Definition at line 428 of file scsi.h.

◆ SCSIMESS_MESS_PARITY_ERROR

#define SCSIMESS_MESS_PARITY_ERROR   0X09

Definition at line 429 of file scsi.h.

◆ SCSIMESS_MESSAGE_REJECT

#define SCSIMESS_MESSAGE_REJECT   0X07

Definition at line 430 of file scsi.h.

◆ SCSIMESS_MODIFY_DATA_LENGTH

#define SCSIMESS_MODIFY_DATA_LENGTH   5

Definition at line 444 of file scsi.h.

◆ SCSIMESS_MODIFY_DATA_POINTER

#define SCSIMESS_MODIFY_DATA_POINTER   0X00

Definition at line 440 of file scsi.h.

◆ SCSIMESS_NO_OPERATION

#define SCSIMESS_NO_OPERATION   0X08

Definition at line 431 of file scsi.h.

◆ SCSIMESS_ORDERED_QUEUE_TAG

#define SCSIMESS_ORDERED_QUEUE_TAG   0X22

Definition at line 433 of file scsi.h.

◆ SCSIMESS_RELEASE_RECOVERY

#define SCSIMESS_RELEASE_RECOVERY   0X10

Definition at line 435 of file scsi.h.

◆ SCSIMESS_RESTORE_POINTERS

#define SCSIMESS_RESTORE_POINTERS   0X03

Definition at line 436 of file scsi.h.

◆ SCSIMESS_SAVE_DATA_POINTER

#define SCSIMESS_SAVE_DATA_POINTER   0X02

Definition at line 437 of file scsi.h.

◆ SCSIMESS_SIMPLE_QUEUE_TAG

#define SCSIMESS_SIMPLE_QUEUE_TAG   0X20

Definition at line 434 of file scsi.h.

◆ SCSIMESS_SYNCH_DATA_LENGTH

#define SCSIMESS_SYNCH_DATA_LENGTH   3

Definition at line 445 of file scsi.h.

◆ SCSIMESS_SYNCHRONOUS_DATA_REQ

#define SCSIMESS_SYNCHRONOUS_DATA_REQ   0X01

Definition at line 441 of file scsi.h.

◆ SCSIMESS_TERMINATE_IO_PROCESS

#define SCSIMESS_TERMINATE_IO_PROCESS   0X11

Definition at line 438 of file scsi.h.

◆ SCSIMESS_WIDE_DATA_LENGTH

#define SCSIMESS_WIDE_DATA_LENGTH   2

Definition at line 446 of file scsi.h.

◆ SCSIMESS_WIDE_DATA_REQUEST

#define SCSIMESS_WIDE_DATA_REQUEST   0X03

Definition at line 442 of file scsi.h.

◆ SCSIOP_ACCESS_CONTROL_IN

#define SCSIOP_ACCESS_CONTROL_IN   0x86

Definition at line 385 of file scsi.h.

◆ SCSIOP_ACCESS_CONTROL_OUT

#define SCSIOP_ACCESS_CONTROL_OUT   0x87

Definition at line 386 of file scsi.h.

◆ SCSIOP_ATA_PASSTHROUGH12

#define SCSIOP_ATA_PASSTHROUGH12   0xA1

Definition at line 331 of file scsi.h.

◆ SCSIOP_ATA_PASSTHROUGH16

#define SCSIOP_ATA_PASSTHROUGH16   0x85

Definition at line 384 of file scsi.h.

◆ SCSIOP_BLANK

#define SCSIOP_BLANK   0xA1

Definition at line 330 of file scsi.h.

◆ SCSIOP_CHANGE_DEFINITION

#define SCSIOP_CHANGE_DEFINITION   0x40

Definition at line 292 of file scsi.h.

◆ SCSIOP_CLOSE_TRACK_SESSION

#define SCSIOP_CLOSE_TRACK_SESSION   0x5B

Definition at line 323 of file scsi.h.

◆ SCSIOP_COMPARE

#define SCSIOP_COMPARE   0x39

Definition at line 287 of file scsi.h.

◆ SCSIOP_COPY

#define SCSIOP_COPY   0x18

Definition at line 262 of file scsi.h.

◆ SCSIOP_COPY_COMPARE

#define SCSIOP_COPY_COMPARE   0x3A

Definition at line 288 of file scsi.h.

◆ SCSIOP_DENON_EJECT_DISC

#define SCSIOP_DENON_EJECT_DISC   0xE6

Definition at line 409 of file scsi.h.

◆ SCSIOP_DENON_PLAY_AUDIO

#define SCSIOP_DENON_PLAY_AUDIO   0xE8

Definition at line 411 of file scsi.h.

◆ SCSIOP_DENON_READ_SUBCODE

#define SCSIOP_DENON_READ_SUBCODE   0xEB

Definition at line 413 of file scsi.h.

◆ SCSIOP_DENON_READ_TOC

#define SCSIOP_DENON_READ_TOC   0xE9

Definition at line 412 of file scsi.h.

◆ SCSIOP_DENON_STOP_AUDIO

#define SCSIOP_DENON_STOP_AUDIO   0xE7

Definition at line 410 of file scsi.h.

◆ SCSIOP_ERASE

#define SCSIOP_ERASE   0x19

Definition at line 263 of file scsi.h.

◆ SCSIOP_ERASE16

#define SCSIOP_ERASE16   0x93

Definition at line 399 of file scsi.h.

◆ SCSIOP_EXCHANGE_MEDIUM

#define SCSIOP_EXCHANGE_MEDIUM   0xA6

Definition at line 339 of file scsi.h.

◆ SCSIOP_EXTENDED_COPY

#define SCSIOP_EXTENDED_COPY   0x83

Definition at line 382 of file scsi.h.

◆ SCSIOP_FLUSH_BUFFER

#define SCSIOP_FLUSH_BUFFER   0x10

Definition at line 254 of file scsi.h.

◆ SCSIOP_FORMAT_UNIT

#define SCSIOP_FORMAT_UNIT   0x04

Definition at line 237 of file scsi.h.

◆ SCSIOP_GET_CONFIGURATION

#define SCSIOP_GET_CONFIGURATION   0x46

Definition at line 299 of file scsi.h.

◆ SCSIOP_GET_EVENT_STATUS

#define SCSIOP_GET_EVENT_STATUS   0x4A

Definition at line 303 of file scsi.h.

◆ SCSIOP_GET_MESSAGE

#define SCSIOP_GET_MESSAGE   0xA8

Definition at line 343 of file scsi.h.

◆ SCSIOP_GET_PERFORMANCE

#define SCSIOP_GET_PERFORMANCE   0xAC

Definition at line 348 of file scsi.h.

◆ SCSIOP_INIT_ELEMENT_RANGE

#define SCSIOP_INIT_ELEMENT_RANGE   0xE7

Definition at line 375 of file scsi.h.

◆ SCSIOP_INIT_ELEMENT_STATUS

#define SCSIOP_INIT_ELEMENT_STATUS   0x07

Definition at line 240 of file scsi.h.

◆ SCSIOP_INQUIRY

#define SCSIOP_INQUIRY   0x12

Definition at line 256 of file scsi.h.

◆ SCSIOP_LOAD_UNLOAD

#define SCSIOP_LOAD_UNLOAD   0x1B

Definition at line 267 of file scsi.h.

◆ SCSIOP_LOAD_UNLOAD_SLOT

#define SCSIOP_LOAD_UNLOAD_SLOT   0xA6

Definition at line 338 of file scsi.h.

◆ SCSIOP_LOCATE

#define SCSIOP_LOCATE   0x2B

Definition at line 277 of file scsi.h.

◆ SCSIOP_LOCATE16

#define SCSIOP_LOCATE16   0x92

Definition at line 397 of file scsi.h.

◆ SCSIOP_LOCK_UNLOCK_CACHE16

#define SCSIOP_LOCK_UNLOCK_CACHE16   0x92

Definition at line 396 of file scsi.h.

◆ SCSIOP_LOG_SELECT

#define SCSIOP_LOG_SELECT   0x4C

Definition at line 305 of file scsi.h.

◆ SCSIOP_LOG_SENSE

#define SCSIOP_LOG_SENSE   0x4D

Definition at line 306 of file scsi.h.

◆ SCSIOP_MAINTENANCE_IN

#define SCSIOP_MAINTENANCE_IN   0xA3

Definition at line 334 of file scsi.h.

◆ SCSIOP_MAINTENANCE_OUT

#define SCSIOP_MAINTENANCE_OUT   0xA4

Definition at line 336 of file scsi.h.

◆ SCSIOP_MECHANISM_STATUS

#define SCSIOP_MECHANISM_STATUS   0xBD

Definition at line 369 of file scsi.h.

◆ SCSIOP_MEDIUM_REMOVAL

#define SCSIOP_MEDIUM_REMOVAL   0x1E

Definition at line 270 of file scsi.h.

◆ SCSIOP_MODE_SELECT

#define SCSIOP_MODE_SELECT   0x15

Definition at line 259 of file scsi.h.

◆ SCSIOP_MODE_SELECT10

#define SCSIOP_MODE_SELECT10   0x55

Definition at line 316 of file scsi.h.

◆ SCSIOP_MODE_SENSE

#define SCSIOP_MODE_SENSE   0x1A

Definition at line 264 of file scsi.h.

◆ SCSIOP_MODE_SENSE10

#define SCSIOP_MODE_SENSE10   0x5A

Definition at line 322 of file scsi.h.

◆ SCSIOP_MOVE_MEDIUM

#define SCSIOP_MOVE_MEDIUM   0xA5

Definition at line 337 of file scsi.h.

◆ SCSIOP_MOVE_MEDIUM_ATTACHED

#define SCSIOP_MOVE_MEDIUM_ATTACHED   0xA7

Definition at line 341 of file scsi.h.

◆ SCSIOP_PARTITION

#define SCSIOP_PARTITION   0x0D

Definition at line 251 of file scsi.h.

◆ SCSIOP_PAUSE_RESUME

#define SCSIOP_PAUSE_RESUME   0x4B

Definition at line 304 of file scsi.h.

◆ SCSIOP_PERSISTENT_RESERVE_IN

#define SCSIOP_PERSISTENT_RESERVE_IN   0x5E

Definition at line 326 of file scsi.h.

◆ SCSIOP_PERSISTENT_RESERVE_OUT

#define SCSIOP_PERSISTENT_RESERVE_OUT   0x5F

Definition at line 327 of file scsi.h.

◆ SCSIOP_PLAY_AUDIO

#define SCSIOP_PLAY_AUDIO   0x45

Definition at line 298 of file scsi.h.

◆ SCSIOP_PLAY_AUDIO_MSF

#define SCSIOP_PLAY_AUDIO_MSF   0x47

Definition at line 300 of file scsi.h.

◆ SCSIOP_PLAY_CD

#define SCSIOP_PLAY_CD   0xBC

Definition at line 367 of file scsi.h.

◆ SCSIOP_PLAY_TRACK_INDEX

#define SCSIOP_PLAY_TRACK_INDEX   0x48

Definition at line 301 of file scsi.h.

◆ SCSIOP_PLAY_TRACK_RELATIVE

#define SCSIOP_PLAY_TRACK_RELATIVE   0x49

Definition at line 302 of file scsi.h.

◆ SCSIOP_POSITION_TO_ELEMENT

#define SCSIOP_POSITION_TO_ELEMENT   0x2B

Definition at line 278 of file scsi.h.

◆ SCSIOP_PREFETCH16

#define SCSIOP_PREFETCH16   0x90

Definition at line 393 of file scsi.h.

◆ SCSIOP_PRINT

#define SCSIOP_PRINT   0x0A

Definition at line 244 of file scsi.h.

◆ SCSIOP_READ

#define SCSIOP_READ   0x28

Definition at line 274 of file scsi.h.

◆ SCSIOP_READ12

#define SCSIOP_READ12   0xA8

Definition at line 342 of file scsi.h.

◆ SCSIOP_READ16

#define SCSIOP_READ16   0x88

Definition at line 387 of file scsi.h.

◆ SCSIOP_READ6

#define SCSIOP_READ6   0x08

Definition at line 241 of file scsi.h.

◆ SCSIOP_READ_ATTRIBUTES

#define SCSIOP_READ_ATTRIBUTES   0x8C

Definition at line 389 of file scsi.h.

◆ SCSIOP_READ_BLOCK_LIMITS

#define SCSIOP_READ_BLOCK_LIMITS   0x05

Definition at line 238 of file scsi.h.

◆ SCSIOP_READ_BUFFER_CAPACITY

#define SCSIOP_READ_BUFFER_CAPACITY   0x5C

Definition at line 324 of file scsi.h.

◆ SCSIOP_READ_CAPACITY

#define SCSIOP_READ_CAPACITY   0x25

Definition at line 273 of file scsi.h.

◆ SCSIOP_READ_CAPACITY16

#define SCSIOP_READ_CAPACITY16   0x9E

Definition at line 400 of file scsi.h.

◆ SCSIOP_READ_CD

#define SCSIOP_READ_CD   0xBE

Definition at line 371 of file scsi.h.

◆ SCSIOP_READ_CD_MSF

#define SCSIOP_READ_CD_MSF   0xB9

Definition at line 362 of file scsi.h.

◆ SCSIOP_READ_DATA_BUFF

#define SCSIOP_READ_DATA_BUFF   0x3C

Definition at line 290 of file scsi.h.

◆ SCSIOP_READ_DEFECT_DATA

#define SCSIOP_READ_DEFECT_DATA   0xB7

Definition at line 360 of file scsi.h.

◆ SCSIOP_READ_DISC_INFORMATION

#define SCSIOP_READ_DISC_INFORMATION   0x51

Definition at line 311 of file scsi.h.

◆ SCSIOP_READ_DISK_INFORMATION

#define SCSIOP_READ_DISK_INFORMATION   0x51

Definition at line 310 of file scsi.h.

◆ SCSIOP_READ_DVD_STRUCTURE

#define SCSIOP_READ_DVD_STRUCTURE   0xAD

Definition at line 349 of file scsi.h.

◆ SCSIOP_READ_ELEMENT_STATUS

#define SCSIOP_READ_ELEMENT_STATUS   0xB8

Definition at line 361 of file scsi.h.

◆ SCSIOP_READ_ELEMENT_STATUS_ATTACHED

#define SCSIOP_READ_ELEMENT_STATUS_ATTACHED   0xB4

Definition at line 356 of file scsi.h.

◆ SCSIOP_READ_FORMATTED_CAPACITY

#define SCSIOP_READ_FORMATTED_CAPACITY   0x23

Definition at line 272 of file scsi.h.

◆ SCSIOP_READ_HEADER

#define SCSIOP_READ_HEADER   0x44

Definition at line 296 of file scsi.h.

◆ SCSIOP_READ_POSITION

#define SCSIOP_READ_POSITION   0x34

Definition at line 285 of file scsi.h.

◆ SCSIOP_READ_REVERSE

#define SCSIOP_READ_REVERSE   0x0F

Definition at line 252 of file scsi.h.

◆ SCSIOP_READ_REVERSE16

#define SCSIOP_READ_REVERSE16   0x81

Definition at line 380 of file scsi.h.

◆ SCSIOP_READ_SUB_CHANNEL

#define SCSIOP_READ_SUB_CHANNEL   0x42

Definition at line 294 of file scsi.h.

◆ SCSIOP_READ_TOC

#define SCSIOP_READ_TOC   0x43

Definition at line 295 of file scsi.h.

◆ SCSIOP_READ_TRACK_INFORMATION

#define SCSIOP_READ_TRACK_INFORMATION   0x52

Definition at line 312 of file scsi.h.

◆ SCSIOP_REASSIGN_BLOCKS

#define SCSIOP_REASSIGN_BLOCKS   0x07

Definition at line 239 of file scsi.h.

◆ SCSIOP_REBUILD16

#define SCSIOP_REBUILD16   0x81

Definition at line 379 of file scsi.h.

◆ SCSIOP_RECEIVE

#define SCSIOP_RECEIVE   0x08

Definition at line 242 of file scsi.h.

◆ SCSIOP_RECEIVE_COPY_RESULTS

#define SCSIOP_RECEIVE_COPY_RESULTS   0x84

Definition at line 383 of file scsi.h.

◆ SCSIOP_RECEIVE_DIAGNOSTIC

#define SCSIOP_RECEIVE_DIAGNOSTIC   0x1C

Definition at line 268 of file scsi.h.

◆ SCSIOP_RECOVER_BUF_DATA

#define SCSIOP_RECOVER_BUF_DATA   0x14

Definition at line 258 of file scsi.h.

◆ SCSIOP_REDUNDANCY_GROUP_IN

#define SCSIOP_REDUNDANCY_GROUP_IN   0xBA

Definition at line 364 of file scsi.h.

◆ SCSIOP_REDUNDANCY_GROUP_OUT

#define SCSIOP_REDUNDANCY_GROUP_OUT   0xBB

Definition at line 366 of file scsi.h.

◆ SCSIOP_REGENERATE16

#define SCSIOP_REGENERATE16   0x82

Definition at line 381 of file scsi.h.

◆ SCSIOP_RELEASE_ELEMENT

#define SCSIOP_RELEASE_ELEMENT   0x57

Definition at line 320 of file scsi.h.

◆ SCSIOP_RELEASE_UNIT

#define SCSIOP_RELEASE_UNIT   0x17

Definition at line 261 of file scsi.h.

◆ SCSIOP_RELEASE_UNIT10

#define SCSIOP_RELEASE_UNIT10   0x57

Definition at line 319 of file scsi.h.

◆ SCSIOP_REPAIR_TRACK

#define SCSIOP_REPAIR_TRACK   0x58

Definition at line 321 of file scsi.h.

◆ SCSIOP_REPORT_DENSITY_SUPPORT

#define SCSIOP_REPORT_DENSITY_SUPPORT   0x44

Definition at line 297 of file scsi.h.

◆ SCSIOP_REPORT_KEY

#define SCSIOP_REPORT_KEY   0xA4

Definition at line 335 of file scsi.h.

◆ SCSIOP_REPORT_LUNS

#define SCSIOP_REPORT_LUNS   0xA0

Definition at line 329 of file scsi.h.

◆ SCSIOP_REQUEST_BLOCK_ADDR

#define SCSIOP_REQUEST_BLOCK_ADDR   0x02

Definition at line 235 of file scsi.h.

◆ SCSIOP_REQUEST_SENSE

#define SCSIOP_REQUEST_SENSE   0x03

Definition at line 236 of file scsi.h.

◆ SCSIOP_REQUEST_VOL_ELEMENT

#define SCSIOP_REQUEST_VOL_ELEMENT   0xB5

Definition at line 357 of file scsi.h.

◆ SCSIOP_RESERVE_ELEMENT

#define SCSIOP_RESERVE_ELEMENT   0x56

Definition at line 318 of file scsi.h.

◆ SCSIOP_RESERVE_TRACK_RZONE

#define SCSIOP_RESERVE_TRACK_RZONE   0x53

Definition at line 314 of file scsi.h.

◆ SCSIOP_RESERVE_UNIT

#define SCSIOP_RESERVE_UNIT   0x16

Definition at line 260 of file scsi.h.

◆ SCSIOP_RESERVE_UNIT10

#define SCSIOP_RESERVE_UNIT10   0x56

Definition at line 317 of file scsi.h.

◆ SCSIOP_REWIND

#define SCSIOP_REWIND   0x01

Definition at line 234 of file scsi.h.

◆ SCSIOP_REZERO_UNIT

#define SCSIOP_REZERO_UNIT   0x01

Definition at line 233 of file scsi.h.

◆ SCSIOP_SCAN_CD

#define SCSIOP_SCAN_CD   0xBA

Definition at line 363 of file scsi.h.

◆ SCSIOP_SEARCH_DATA_EQUAL

#define SCSIOP_SEARCH_DATA_EQUAL   0x31

Definition at line 282 of file scsi.h.

◆ SCSIOP_SEARCH_DATA_EQUAL12

#define SCSIOP_SEARCH_DATA_EQUAL12   0xB1

Definition at line 353 of file scsi.h.

◆ SCSIOP_SEARCH_DATA_HIGH

#define SCSIOP_SEARCH_DATA_HIGH   0x30

Definition at line 281 of file scsi.h.

◆ SCSIOP_SEARCH_DATA_HIGH12

#define SCSIOP_SEARCH_DATA_HIGH12   0xB0

Definition at line 352 of file scsi.h.

◆ SCSIOP_SEARCH_DATA_LOW

#define SCSIOP_SEARCH_DATA_LOW   0x32

Definition at line 283 of file scsi.h.

◆ SCSIOP_SEARCH_DATA_LOW12

#define SCSIOP_SEARCH_DATA_LOW12   0xB2

Definition at line 354 of file scsi.h.

◆ SCSIOP_SEEK

#define SCSIOP_SEEK   0x2B

Definition at line 276 of file scsi.h.

◆ SCSIOP_SEEK6

#define SCSIOP_SEEK6   0x0B

Definition at line 246 of file scsi.h.

◆ SCSIOP_SEEK_BLOCK

#define SCSIOP_SEEK_BLOCK   0x0C

Definition at line 250 of file scsi.h.

◆ SCSIOP_SEND

#define SCSIOP_SEND   0x0A

Definition at line 245 of file scsi.h.

◆ SCSIOP_SEND_CUE_SHEET

#define SCSIOP_SEND_CUE_SHEET   0x5D

Definition at line 325 of file scsi.h.

◆ SCSIOP_SEND_DIAGNOSTIC

#define SCSIOP_SEND_DIAGNOSTIC   0x1D

Definition at line 269 of file scsi.h.

◆ SCSIOP_SEND_DVD_STRUCTURE

#define SCSIOP_SEND_DVD_STRUCTURE   0xBF

Definition at line 373 of file scsi.h.

◆ SCSIOP_SEND_EVENT

#define SCSIOP_SEND_EVENT   0xA2

Definition at line 332 of file scsi.h.

◆ SCSIOP_SEND_KEY

#define SCSIOP_SEND_KEY   0xA3

Definition at line 333 of file scsi.h.

◆ SCSIOP_SEND_MESSAGE

#define SCSIOP_SEND_MESSAGE   0xAB

Definition at line 346 of file scsi.h.

◆ SCSIOP_SEND_OPC_INFORMATION

#define SCSIOP_SEND_OPC_INFORMATION   0x54

Definition at line 315 of file scsi.h.

◆ SCSIOP_SEND_VOLUME_TAG

#define SCSIOP_SEND_VOLUME_TAG   0xB6

Definition at line 358 of file scsi.h.

◆ SCSIOP_SERVICE_ACTION_IN12

#define SCSIOP_SERVICE_ACTION_IN12   0xAB

Definition at line 347 of file scsi.h.

◆ SCSIOP_SERVICE_ACTION_IN16

#define SCSIOP_SERVICE_ACTION_IN16   0x9E

Definition at line 401 of file scsi.h.

◆ SCSIOP_SERVICE_ACTION_OUT12

#define SCSIOP_SERVICE_ACTION_OUT12   0xA9

Definition at line 344 of file scsi.h.

◆ SCSIOP_SERVICE_ACTION_OUT16

#define SCSIOP_SERVICE_ACTION_OUT16   0x9F

Definition at line 402 of file scsi.h.

◆ SCSIOP_SET_CAPACITY

#define SCSIOP_SET_CAPACITY   0x0B

Definition at line 249 of file scsi.h.

◆ SCSIOP_SET_CD_SPEED

#define SCSIOP_SET_CD_SPEED   0xBB

Definition at line 365 of file scsi.h.

◆ SCSIOP_SET_LIMITS

#define SCSIOP_SET_LIMITS   0x33

Definition at line 284 of file scsi.h.

◆ SCSIOP_SET_LIMITS12

#define SCSIOP_SET_LIMITS12   0xB3

Definition at line 355 of file scsi.h.

◆ SCSIOP_SET_READ_AHEAD

#define SCSIOP_SET_READ_AHEAD   0xA7

Definition at line 340 of file scsi.h.

◆ SCSIOP_SET_STREAMING

#define SCSIOP_SET_STREAMING   0xB6

Definition at line 359 of file scsi.h.

◆ SCSIOP_SLEW_PRINT

#define SCSIOP_SLEW_PRINT   0x0B

Definition at line 248 of file scsi.h.

◆ SCSIOP_SPACE

#define SCSIOP_SPACE   0x11

Definition at line 255 of file scsi.h.

◆ SCSIOP_SPACE16

#define SCSIOP_SPACE16   0x91

Definition at line 395 of file scsi.h.

◆ SCSIOP_SPARE_IN

#define SCSIOP_SPARE_IN   0xBC

Definition at line 368 of file scsi.h.

◆ SCSIOP_SPARE_OUT

#define SCSIOP_SPARE_OUT   0xBD

Definition at line 370 of file scsi.h.

◆ SCSIOP_START_STOP_UNIT

#define SCSIOP_START_STOP_UNIT   0x1B

Definition at line 265 of file scsi.h.

◆ SCSIOP_STOP_PLAY_SCAN

#define SCSIOP_STOP_PLAY_SCAN   0x4E

Definition at line 307 of file scsi.h.

◆ SCSIOP_STOP_PRINT

#define SCSIOP_STOP_PRINT   0x1B

Definition at line 266 of file scsi.h.

◆ SCSIOP_SYNCHRONIZE_CACHE

#define SCSIOP_SYNCHRONIZE_CACHE   0x35

Definition at line 286 of file scsi.h.

◆ SCSIOP_SYNCHRONIZE_CACHE16

#define SCSIOP_SYNCHRONIZE_CACHE16   0x91

Definition at line 394 of file scsi.h.

◆ SCSIOP_TEST_UNIT_READY

#define SCSIOP_TEST_UNIT_READY   0x00

Definition at line 232 of file scsi.h.

◆ SCSIOP_TRACK_SELECT

#define SCSIOP_TRACK_SELECT   0x0B

Definition at line 247 of file scsi.h.

◆ SCSIOP_VERIFY

#define SCSIOP_VERIFY   0x2F

Definition at line 280 of file scsi.h.

◆ SCSIOP_VERIFY12

#define SCSIOP_VERIFY12   0xAF

Definition at line 351 of file scsi.h.

◆ SCSIOP_VERIFY16

#define SCSIOP_VERIFY16   0x8F

Definition at line 392 of file scsi.h.

◆ SCSIOP_VERIFY6

#define SCSIOP_VERIFY6   0x13

Definition at line 257 of file scsi.h.

◆ SCSIOP_VOLUME_SET_IN

#define SCSIOP_VOLUME_SET_IN   0xBE

Definition at line 372 of file scsi.h.

◆ SCSIOP_VOLUME_SET_OUT

#define SCSIOP_VOLUME_SET_OUT   0xBF

Definition at line 374 of file scsi.h.

◆ SCSIOP_WRITE

#define SCSIOP_WRITE   0x2A

Definition at line 275 of file scsi.h.

◆ SCSIOP_WRITE12

#define SCSIOP_WRITE12   0xAA

Definition at line 345 of file scsi.h.

◆ SCSIOP_WRITE16

#define SCSIOP_WRITE16   0x8A

Definition at line 388 of file scsi.h.

◆ SCSIOP_WRITE6

#define SCSIOP_WRITE6   0x0A

Definition at line 243 of file scsi.h.

◆ SCSIOP_WRITE_ATTRIBUTES

#define SCSIOP_WRITE_ATTRIBUTES   0x8D

Definition at line 390 of file scsi.h.

◆ SCSIOP_WRITE_DATA_BUFF

#define SCSIOP_WRITE_DATA_BUFF   0x3B

Definition at line 289 of file scsi.h.

◆ SCSIOP_WRITE_FILEMARKS

#define SCSIOP_WRITE_FILEMARKS   0x10

Definition at line 253 of file scsi.h.

◆ SCSIOP_WRITE_FILEMARKS16

#define SCSIOP_WRITE_FILEMARKS16   0x80

Definition at line 378 of file scsi.h.

◆ SCSIOP_WRITE_LONG

#define SCSIOP_WRITE_LONG   0x3F

Definition at line 291 of file scsi.h.

◆ SCSIOP_WRITE_SAME

#define SCSIOP_WRITE_SAME   0x41

Definition at line 293 of file scsi.h.

◆ SCSIOP_WRITE_SAME16

#define SCSIOP_WRITE_SAME16   0x93

Definition at line 398 of file scsi.h.

◆ SCSIOP_WRITE_VERIFY

#define SCSIOP_WRITE_VERIFY   0x2E

Definition at line 279 of file scsi.h.

◆ SCSIOP_WRITE_VERIFY12

#define SCSIOP_WRITE_VERIFY12   0xAE

Definition at line 350 of file scsi.h.

◆ SCSIOP_WRITE_VERIFY16

#define SCSIOP_WRITE_VERIFY16   0x8E

Definition at line 391 of file scsi.h.

◆ SCSIOP_XDWRITE

#define SCSIOP_XDWRITE   0x50

Definition at line 308 of file scsi.h.

◆ SCSIOP_XDWRITE_EXTENDED16

#define SCSIOP_XDWRITE_EXTENDED16   0x80

Definition at line 377 of file scsi.h.

◆ SCSIOP_XDWRITE_READ

#define SCSIOP_XDWRITE_READ   0x53

Definition at line 313 of file scsi.h.

◆ SCSIOP_XPWRITE

#define SCSIOP_XPWRITE   0x51

Definition at line 309 of file scsi.h.

◆ SCSISTAT_BUSY

#define SCSISTAT_BUSY   0x08

Definition at line 486 of file scsi.h.

◆ SCSISTAT_CHECK_CONDITION

#define SCSISTAT_CHECK_CONDITION   0x02

Definition at line 484 of file scsi.h.

◆ SCSISTAT_COMMAND_TERMINATED

#define SCSISTAT_COMMAND_TERMINATED   0x22

Definition at line 490 of file scsi.h.

◆ SCSISTAT_CONDITION_MET

#define SCSISTAT_CONDITION_MET   0x04

Definition at line 485 of file scsi.h.

◆ SCSISTAT_GOOD

#define SCSISTAT_GOOD   0x00

Definition at line 483 of file scsi.h.

◆ SCSISTAT_INTERMEDIATE

#define SCSISTAT_INTERMEDIATE   0x10

Definition at line 487 of file scsi.h.

◆ SCSISTAT_INTERMEDIATE_COND_MET

#define SCSISTAT_INTERMEDIATE_COND_MET   0x14

Definition at line 488 of file scsi.h.

◆ SCSISTAT_QUEUE_FULL

#define SCSISTAT_QUEUE_FULL   0x28

Definition at line 491 of file scsi.h.

◆ SCSISTAT_RESERVATION_CONFLICT

#define SCSISTAT_RESERVATION_CONFLICT   0x18

Definition at line 489 of file scsi.h.

◆ SENSE_BUFFER_SIZE

#define SENSE_BUFFER_SIZE   18

Definition at line 524 of file scsi.h.

◆ SEQUENTIAL_ACCESS_DEVICE

#define SEQUENTIAL_ACCESS_DEVICE   0x01

Definition at line 459 of file scsi.h.

◆ SETBITOFF

#define SETBITOFF   0

Definition at line 187 of file scsi.h.

◆ SETBITON

#define SETBITON   1

Definition at line 186 of file scsi.h.

◆ START_UNIT_CODE

#define START_UNIT_CODE   0x01

Definition at line 454 of file scsi.h.

◆ STOP_UNIT_CODE

#define STOP_UNIT_CODE   0x00

Definition at line 455 of file scsi.h.

◆ USE_DEFAULTLSB

#define USE_DEFAULTLSB   0

Definition at line 452 of file scsi.h.

◆ USE_DEFAULTMSB

#define USE_DEFAULTMSB   0

Definition at line 451 of file scsi.h.

◆ VPD_DEVICE_IDENTIFIERS

#define VPD_DEVICE_IDENTIFIERS   0x83

Definition at line 497 of file scsi.h.

◆ VPD_EXTENDED_INQUIRY_DATA

#define VPD_EXTENDED_INQUIRY_DATA   0x86

Definition at line 501 of file scsi.h.

◆ VPD_MAX_BUFFER_SIZE

#define VPD_MAX_BUFFER_SIZE   0xff

Definition at line 493 of file scsi.h.

◆ VPD_MEDIA_SERIAL_NUMBER

#define VPD_MEDIA_SERIAL_NUMBER   0x84

Definition at line 498 of file scsi.h.

◆ VPD_MODE_PAGE_POLICY

#define VPD_MODE_PAGE_POLICY   0x87

Definition at line 502 of file scsi.h.

◆ VPD_NETWORK_MANAGEMENT_ADDRESSES

#define VPD_NETWORK_MANAGEMENT_ADDRESSES   0x85

Definition at line 500 of file scsi.h.

◆ VPD_SCSI_PORTS

#define VPD_SCSI_PORTS   0x88

Definition at line 503 of file scsi.h.

◆ VPD_SERIAL_NUMBER

#define VPD_SERIAL_NUMBER   0x80

Definition at line 496 of file scsi.h.

◆ VPD_SOFTWARE_INTERFACE_IDENTIFIERS

#define VPD_SOFTWARE_INTERFACE_IDENTIFIERS   0x84

Definition at line 499 of file scsi.h.

◆ VPD_SUPPORTED_PAGES

#define VPD_SUPPORTED_PAGES   0x00

Definition at line 495 of file scsi.h.

◆ WHICH_BIT

#define WHICH_BIT (   Data,
  Bit 
)
Value:
{ \
UCHAR _val; \
for (_val = 0; _val < 32; _val++) { \
if (((Data) >> _val) == 1) { \
break; \
} \
} \
ASSERT(_val != 32); \
(Bit) = _val; \
}

Definition at line 2742 of file scsi.h.

◆ WRITE_ONCE_READ_MULTIPLE_DEVICE

#define WRITE_ONCE_READ_MULTIPLE_DEVICE   0x04

Definition at line 462 of file scsi.h.

Typedef Documentation

◆ AUDIO_OUTPUT

◆ CDAUDIO_CONTROL_PAGE

◆ CDB

typedef union _CDB CDB

◆ CDDA_OUTPUT_PORT

◆ CDVD_CAPABILITIES_PAGE

◆ CDVD_CHALLENGE_KEY_DATA

◆ CDVD_FEATURE_SET_PAGE

◆ CDVD_INACTIVITY_TIMEOUT_PAGE

◆ CDVD_KEY_DATA

◆ CDVD_KEY_HEADER

◆ CDVD_REPORT_AGID_DATA

◆ CDVD_REPORT_ASF_DATA

◆ CDVD_TITLE_KEY_HEADER

◆ DATA_BLOCK_HEADER

◆ DISC_INFORMATION

◆ DISK_INFORMATION

◆ EIGHT_BYTE

typedef union _EIGHT_BYTE EIGHT_BYTE

◆ FORMAT_DESCRIPTOR

◆ FORMAT_LIST_HEADER

◆ FORMATTED_CAPACITY_DESCRIPTOR

◆ FORMATTED_CAPACITY_LIST

◆ FOUR_BYTE

typedef union _FOUR_BYTE FOUR_BYTE

◆ INQUIRYDATA

◆ LUN_LIST

◆ MECHANICAL_STATUS

◆ MECHANICAL_STATUS_INFORMATION_HEADER

◆ MODE_CACHING_PAGE

◆ MODE_CDROM_WRITE_PARAMETERS_PAGE

◆ MODE_CDROM_WRITE_PARAMETERS_PAGE2

◆ MODE_DISCONNECT_PAGE

◆ MODE_FLEXIBLE_DISK_PAGE

◆ MODE_FORMAT_PAGE

◆ MODE_INFO_EXCEPTIONS

◆ MODE_MRW_PAGE

◆ MODE_PARAMETER_BLOCK

◆ MODE_PARAMETER_HEADER

◆ MODE_PARAMETER_HEADER10

◆ MODE_PARM_READ_WRITE_DATA

◆ MODE_READ_RECOVERY_PAGE

◆ MODE_READ_WRITE_RECOVERY_PAGE

◆ MODE_RIGID_GEOMETRY_PAGE

◆ NOTIFICATION_BUSY_STATUS

◆ NOTIFICATION_EVENT_STATUS_HEADER

◆ NOTIFICATION_EXTERNAL_STATUS

◆ NOTIFICATION_MEDIA_STATUS

◆ NOTIFICATION_MULTI_HOST_STATUS

◆ NOTIFICATION_OPERATIONAL_STATUS

◆ NOTIFICATION_POWER_STATUS

◆ OPC_TABLE_ENTRY

◆ PAUDIO_OUTPUT

◆ PCDAUDIO_CONTROL_PAGE

◆ PCDB

typedef union _CDB * PCDB

◆ PCDDA_OUTPUT_PORT

◆ PCDVD_CAPABILITIES_PAGE

◆ PCDVD_CHALLENGE_KEY_DATA

◆ PCDVD_FEATURE_SET_PAGE

◆ PCDVD_INACTIVITY_TIMEOUT_PAGE

◆ PCDVD_KEY_DATA

◆ PCDVD_KEY_HEADER

◆ PCDVD_REPORT_AGID_DATA

◆ PCDVD_REPORT_ASF_DATA

◆ PCDVD_TITLE_KEY_HEADER

◆ PDATA_BLOCK_HEADER

◆ PDISC_INFORMATION

◆ PDISK_INFORMATION

◆ PEIGHT_BYTE

typedef union _EIGHT_BYTE * PEIGHT_BYTE

◆ PERFORMANCE_DESCRIPTOR

◆ PFORMAT_DESCRIPTOR

◆ PFORMAT_LIST_HEADER

◆ PFORMATTED_CAPACITY_DESCRIPTOR

◆ PFORMATTED_CAPACITY_LIST

◆ PFOUR_BYTE

typedef union _FOUR_BYTE * PFOUR_BYTE

◆ PINQUIRYDATA

◆ PLUN_LIST

◆ PMECHANICAL_STATUS

◆ PMECHANICAL_STATUS_INFORMATION_HEADER

◆ PMODE_CACHING_PAGE

◆ PMODE_CDROM_WRITE_PARAMETERS_PAGE

◆ PMODE_CDROM_WRITE_PARAMETERS_PAGE2

◆ PMODE_DISCONNECT_PAGE

◆ PMODE_FLEXIBLE_DISK_PAGE

◆ PMODE_FORMAT_PAGE

◆ PMODE_INFO_EXCEPTIONS

◆ PMODE_MRW_PAGE

◆ PMODE_PARAMETER_BLOCK

◆ PMODE_PARAMETER_HEADER

◆ PMODE_PARAMETER_HEADER10

◆ PMODE_PARM_READ_WRITE_DATA

◆ PMODE_READ_RECOVERY_PAGE

◆ PMODE_READ_WRITE_RECOVERY_PAGE

◆ PMODE_RIGID_GEOMETRY_PAGE

◆ PNOTIFICATION_BUSY_STATUS

◆ PNOTIFICATION_EVENT_STATUS_HEADER

◆ PNOTIFICATION_EXTERNAL_STATUS

◆ PNOTIFICATION_MEDIA_STATUS

◆ PNOTIFICATION_MULTI_HOST_STATUS

◆ PNOTIFICATION_OPERATIONAL_STATUS

◆ PNOTIFICATION_POWER_STATUS

◆ POPC_TABLE_ENTRY

◆ PORT_OUTPUT

◆ POWER_CONDITION_PAGE

◆ PPERFORMANCE_DESCRIPTOR

◆ PPORT_OUTPUT

◆ PPOWER_CONDITION_PAGE

◆ PPRI_REGISTRATION_LIST

◆ PPRI_RESERVATION_DESCRIPTOR

◆ PPRI_RESERVATION_LIST

◆ PPRO_PARAMETER_LIST

◆ PREAD_BLOCK_LIMITS_DATA

◆ PREAD_BUFFER_CAPACITY_DATA

◆ PREAD_CAPACITY_DATA

◆ PREAD_CAPACITY_DATA_EX

◆ PREAD_DVD_STRUCTURES_HEADER

◆ PRI_REGISTRATION_LIST

◆ PRI_RESERVATION_DESCRIPTOR

◆ PRI_RESERVATION_LIST

◆ PRO_PARAMETER_LIST

◆ PSCSI_EXTENDED_MESSAGE

◆ PSENSE_DATA

◆ PSLOT_TABLE_INFORMATION

◆ PTAPE_POSITION_DATA

◆ PTRACK_INFORMATION

◆ PTRACK_INFORMATION2

◆ PTRACK_INFORMATION3

◆ PTWO_BYTE

typedef union _TWO_BYTE * PTWO_BYTE

◆ PVPD_ASSOCIATION

◆ PVPD_CODE_SET

◆ PVPD_IDENTIFICATION_DESCRIPTOR

◆ PVPD_IDENTIFICATION_PAGE

◆ PVPD_IDENTIFIER_TYPE

◆ PVPD_MEDIA_SERIAL_NUMBER_PAGE

◆ PVPD_SERIAL_NUMBER_PAGE

◆ PVPD_SUPPORTED_PAGES_PAGE

◆ READ_BLOCK_LIMITS_DATA

◆ READ_BUFFER_CAPACITY_DATA

◆ READ_CAPACITY_DATA

◆ READ_CAPACITY_DATA_EX

◆ READ_DVD_STRUCTURES_HEADER

◆ SCSI_EXTENDED_MESSAGE

◆ SENSE_DATA

◆ SLOT_TABLE_INFORMATION

◆ TAPE_POSITION_DATA

◆ TRACK_INFORMATION

◆ TRACK_INFORMATION2

◆ TRACK_INFORMATION3

◆ TWO_BYTE

typedef union _TWO_BYTE TWO_BYTE

◆ VPD_ASSOCIATION

◆ VPD_CODE_SET

◆ VPD_IDENTIFICATION_DESCRIPTOR

◆ VPD_IDENTIFICATION_PAGE

◆ VPD_IDENTIFIER_TYPE

◆ VPD_MEDIA_SERIAL_NUMBER_PAGE

◆ VPD_SERIAL_NUMBER_PAGE

◆ VPD_SUPPORTED_PAGES_PAGE

Enumeration Type Documentation

◆ _VPD_ASSOCIATION

Enumerator
VpdAssocDevice 
VpdAssocPort 
VpdAssocTarget 
VpdAssocReserved1 
VpdAssocReserved2 
VpdAssocDevice 
VpdAssocPort 
VpdAssocTarget 
VpdAssocReserved1 
VpdAssocReserved2 

Definition at line 2097 of file scsi.h.

2097  {
2098  VpdAssocDevice = 0,
2099  VpdAssocPort = 1,
2100  VpdAssocTarget = 2,
2101  VpdAssocReserved1 = 3,
2102  VpdAssocReserved2 = 4
enum _VPD_ASSOCIATION * PVPD_ASSOCIATION
enum _VPD_ASSOCIATION VPD_ASSOCIATION

◆ _VPD_CODE_SET

Enumerator
VpdCodeSetReserved 
VpdCodeSetBinary 
VpdCodeSetAscii 
VpdCodeSetUTF8 
VpdCodeSetReserved 
VpdCodeSetBinary 
VpdCodeSetAscii 
VpdCodeSetUTF8 

Definition at line 2090 of file scsi.h.

2090  {
2091  VpdCodeSetReserved = 0,
2092  VpdCodeSetBinary = 1,
2093  VpdCodeSetAscii = 2,
2094  VpdCodeSetUTF8 = 3
enum _VPD_CODE_SET * PVPD_CODE_SET
enum _VPD_CODE_SET VPD_CODE_SET

◆ _VPD_IDENTIFIER_TYPE

Enumerator
VpdIdentifierTypeVendorSpecific 
VpdIdentifierTypeVendorId 
VpdIdentifierTypeEUI64 
VpdIdentifierTypeFCPHName 
VpdIdentifierTypePortRelative 
VpdIdentifierTypeTargetPortGroup 
VpdIdentifierTypeLogicalUnitGroup 
VpdIdentifierTypeMD5LogicalUnitId 
VpdIdentifierTypeSCSINameString 
VpdIdentifierTypeVendorSpecific 
VpdIdentifierTypeVendorId 
VpdIdentifierTypeEUI64 
VpdIdentifierTypeFCPHName 
VpdIdentifierTypePortRelative 
VpdIdentifierTypeTargetPortGroup 
VpdIdentifierTypeLogicalUnitGroup 
VpdIdentifierTypeMD5LogicalUnitId 
VpdIdentifierTypeSCSINameString 

Definition at line 2105 of file scsi.h.