scsi.h header

This header is used by storage. For more information, see:

scsi.h contains the following programming interfaces:

IOCTLs

 
IOCTL_SCSI_MINIPORT_DSM

A Data Set Management (DSM) notification is transferred to a miniport driver in a IOCTL_SCSI_MINIPORT_DSM control code request.

Functions

 
FIELD_OFFSET

The FIELD_OFFSET macro (scsi.h) returns the byte offset of the specified field in the specified known structure type.
RtlZeroMemory

The RtlZeroMemory macro (scsi.h) fills a block of memory with zeros, given a pointer to the block and the length, in bytes, to be filled.

Structures

 
BLOCK_DEVICE_RANGE_DESCRIPTOR

The BLOCK_DEVICE_RANGE_DESCRIPTOR structure (scsi.h) describes a range of logical blocks associated with the fragments of a file.
BLOCK_DEVICE_TOKEN_DESCRIPTOR

The BLOCK_DEVICE_TOKEN_DESCRIPTOR structure (storport.h) contains the token returned from the POPULATE TOKEN command for an offload read data operation.
CURRENT_INTERNAL_STATUS_PARAMETER_DATA

Learn more about: _CURRENT_INTERNAL_STATUS_PARAMETER_DATA structure (scsi.h)
ERROR_HISTORY_DIRECTORY

Learn more about: _ERROR_HISTORY_DIRECTORY structure (scsi.h)
ERROR_HISTORY_DIRECTORY_ENTRY

Learn more about: _ERROR_HISTORY_DIRECTORY_ENTRY structure (scsi.h)
INQUIRYDATA

The INQUIRYDATA structure (scsi.h) contains information about the SCSI inquiry data associated with a tape device.
MODE_COMMAND_DURATION_LIMIT_PAGE_T2A_SUBPAGE

Learn more about the MODE_COMMAND_DURATION_LIMIT_PAGE_T2A_SUBPAGE (scsi.h) structure.
MODE_COMMAND_DURATION_LIMIT_PAGE_T2B_SUBPAGE

Learn more about the MODE_COMMAND_DURATION_LIMIT_PAGE_T2B_SUBPAGE (scsi.h) structure.
MODE_PAGE_SUBPAGE_HEADER

Learn more about the MODE_PAGE_SUBPAGE_HEADER (scsi.h) structure.
PHYSICAL_ELEMENT_STATUS_DATA_DESCRIPTOR

The PHYSICAL_ELEMENT_STATUS_DATA_DESCRIPTOR structure contains status information for a physical element.
PHYSICAL_ELEMENT_STATUS_PARAMETER_DATA

The PHYSICAL_ELEMENT_STATUS_PARAMETER_DATA structure contains the parameter data for a physical element.
POPULATE_TOKEN_HEADER

The POPULATE_TOKEN_HEADER structure (scsi.h) contains the header for the parameters in a command data block (CDB) of the POPULATE TOKEN command.
PRI_FULL_STATUS_DESCRIPTOR

The PRI_FULL_STATUS_DESCRIPTOR structure is used to construct the PRI_FULL_STATUS_LIST structure that is returned in response to a Persistent Reserve In command.
PRI_FULL_STATUS_DESCRIPTOR_HEADER

The PRI_FULL_STATUS_DESCRIPTOR_HEADER structure is the first member of a PRI_FULL_STATUS_DESCRIPTOR structure, which is used to populate a PRI_FULL_STATUS_LIST.
PRI_FULL_STATUS_LIST

The PRI_FULL_STATUS_LIST structure is returned in response to a Persistent Reserve In command with ServiceAction=RESERVATION_ACTION_READ_FULL_STATUS.
PRI_FULL_STATUS_LIST_HEADER

The PRI_FULL_STATUS_LIST_HEADER structure is the first member of a PRI_FULL_STATUS_LIST that is returned in response to a Persistent Reserve In command with ServiceAction=RESERVATION_ACTION_READ_FULL_STATUS.
PRI_REGISTRATION_LIST

The PRI_REGISTRATION_LIST structure (scsi.h) contains information about persistent reservations and reservation keys that are active within a device server.
PRI_REPORT_CAPABILITIES

The PRI_REPORT_CAPABILITIES structure contains information on persistent reservation features.
PRI_RESERVATION_DESCRIPTOR

The PRI_RESERVATION_DESCRIPTOR structure (scsi.h) describes a persistent reservation that is active within a device server.
PRI_RESERVATION_LIST

The PRI_RESERVATION_LIST structure (scsi.h) contains a list of persistent reservations that are active within a device server.
PRO_PARAMETER_LIST

The PRO_PARAMETER_LIST structure (scsi.h) contains reservation information that is sent in a Persistent Reserve Out (PRO) command to a device server.
RECEIVE_TOKEN_INFORMATION_HEADER

The RECEIVE_TOKEN_INFORMATION_HEADER structure (scsi.h) contains information that describes the status of an offload data transfer operation.
RECEIVE_TOKEN_INFORMATION_RESPONSE_HEADER

The RECEIVE_TOKEN_INFORMATION_RESPONSE_HEADER structure (scsi.h) contains a token that is created as a representation of data (ROD).
REPORT_ZONES_DATA

Microsoft reserves the REPORT_ZONES_DATA structure for internal use only. Don't use this structure in your code.
RS_ALL_COMMANDS_PARAMETER_DATA

The RS_ALL_COMMANDS_PARAMETER_DATA structure contains a list of RS_COMMAND_DESCRIPTOR structures.
RS_COMMAND_DESCRIPTOR

The RS_COMMAND_DESCRIPTOR structure contains information about a single supported command descriptor block (CDB).
RS_COMMAND_TIMEOUTS_DESCRIPTOR

The RS_COMMAND_TIMEOUTS_DESCRIPTOR structure contains command timeout information from the start of processing a command to its reported completion.
RS_ONE_COMMAND_PARAMETER_DATA

The RS_ONE_COMMAND_PARAMETER_DATA structure contains information about the command data block (CDB) and a usage map for bits in the CDB.
RT_PARAMETER_DATA

The RT_PARAMETER_DATA structure (scsi.h) contains the parameter data for the report timestamp command.
SAVED_INTERNAL_STATUS_PARAMETER_DATA

Learn more about: _SAVED_INTERNAL_STATUS_PARAMETER_DATA structure (scsi.h)
SES_CONFIGURATION_DIAGNOSTIC_PAGE

Learn more about: SES_CONFIGURATION_DIAGNOSTIC_PAGE structure (scsi.h)
SES_DOWNLOAD_MICROCODE_CONTROL_DIAGNOSTIC_PAGE

The _SES_DOWNLOAD_MICROCODE_CONTROL_DIAGNOSTIC_PAGE structure (scsi.h) contains a vendor specific microcode image used by the enclosure services process.
SES_DOWNLOAD_MICROCODE_STATUS_DESCRIPTOR

The _SES_DOWNLOAD_MICROCODE_STATUS_DESCRIPTOR structure (scsi.h) specifies the status and additional status of a download microcode.
SES_DOWNLOAD_MICROCODE_STATUS_DIAGNOSTIC_PAGE

The _SES_DOWNLOAD_MICROCODE_STATUS_DIAGNOSTIC_PAGE structure (scsi.h) contains information about the status of one or more download microcode operations.
ST_PARAMETER_DATA

The ST_PARAMETER_DATA structure (scsi.h) contains the parameter list for the set timestamp command that is used to initialize a device clock.
STOR_ADDR_BTL8

The _STOR_ADDR_BTL8 structure (scsi.h) contains the addressing information for an 8-bit Bus-Target-LUN (BTL8) address.
STOR_ADDRESS

The _STOR_ADDRESS structure (scsi.h) contains general information that describes a storage device address.
T2_COMMAND_DURATION_LIMIT_DESCRIPTOR

Learn more about the T2_COMMAND_DURATION_LIMIT_DESCRIPTOR (scsi.h) structure.
TRACK_INFORMATION2

The _TRACK_INFORMATION2 structure (scsi.h) contains detailed track information, including location, size, and data mode.
VPD_EXTENDED_INQUIRY_DATA_PAGE

Learn more about: _VPD_EXTENDED_INQUIRY_DATA_PAGE structure (scsi.h)
VPD_THIRD_PARTY_COPY_PAGE

The _VPD_THIRD_PARTY_COPY_PAGE structure (scsi.h) defines the vital product data (VPD) page for offload data transfer operations.
VPD_ZONED_BLOCK_DEVICE_CHARACTERISTICS_PAGE

Don't use this structure in your code. Microsoft reserves the VPD_ZONED_BLOCK_DEVICE_CHARACTERISTICS_PAGE structure for internal use only.
WINDOWS_BLOCK_DEVICE_TOKEN_LIMITS_DESCRIPTOR

The _WINDOWS_BLOCK_DEVICE_TOKEN_LIMITS_DESCRIPTOR structure (scsi.h) defines the third party copy descriptor for Windows systems.
WRITE_USING_TOKEN_HEADER

The WRITE_USING_TOKEN_HEADER structure (scsi.h) describes the destination data locations for an offload write data operation.
ZONE_DESCRIPTIOR

Don't use this structure in your code. Microsoft reserves the ZONE_DESCRIPTIOR structure for internal use only.

Enumerations

 
SES_DOWNLOAD_MICROCODE_STATE

Learn more about: _SES_DOWNLOAD_MICROCODE_STATE enumeration (scsi.h)