Bewerken

Delen via


minitape.h header

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

minitape.h contains the following programming interfaces:

Functions

 
FIELD_OFFSET

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

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

The ScsiDebugPrint function (minitape.h) prints debug information with a specified level of verbosity based on global values.
TapeClassAllocateSrbBuffer

The TapeClassAllocateSrbBuffer routine allocates an Srb->DataBuffer.
TapeClassCompareMemory

The TapeClassCompareMemory routine compares two memory buffers and returns the number of bytes that are equivalent.
TapeClassInitialize

The TapeClassInitialize routine performs much of the driver and device initialization on behalf of a miniclass driver.
TapeClassLiDiv

The TapeClassLiDiv routine performs a division of the two indicated integers.
TapeClassLogicalBlockToPhysicalBlock

The TapeClassLogicalBlockToPhysicalBlock routine translates a pseudological block address to a physical block address. This routine is for SCSI-1 devices.
TapeClassPhysicalBlockToLogicalBlock

The TapeClassPhysicalBlockToLogicalBlock routine translates a physical block address to a pseudological block address. This routine is for SCSI-1 devices.
TapeClassZeroMemory

The TapeClassZeroMemory routine fills a buffer with zeros.
TapeDebugPrint

The TapeDebugPrint routine prints the indicated string.

Callback functions

 
TAPE_ERROR_ROUTINE

TAPE_ERROR_ROUTINE provides device-specific error handling when an SRB is completed with an error status. This routine is optional.
TAPE_EXTENSION_INIT_ROUTINE

ExtensionInit initializes an optional, driver-specific context area. This routine is called by TapeClassInitialize when the tape miniclass driver is loaded. This routine is optional.
TAPE_PROCESS_COMMAND_ROUTINE

TAPE_PROCESS_COMMAND_ROUTINE handles the device-specific aspects of an IOCTL request.
TAPE_VERIFY_INQUIRY_ROUTINE

TAPE_VERIFY_INQUIRY_ROUTINE determines whether the tape miniclass driver recognizes and supports a given device. This routine is required.

Structures

 
BLOCK_DEVICE_RANGE_DESCRIPTOR

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

The BLOCK_DEVICE_TOKEN_DESCRIPTOR structure (minitape.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 (minitape.h)
DEVICE_MEDIA_INFO

The _DEVICE_MEDIA_INFO structure (minitape.h) contains detailed information about the characteristics of a media device.
ERROR_HISTORY_DIRECTORY

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

Learn more about: _ERROR_HISTORY_DIRECTORY_ENTRY structure (minitape.h)
GET_MEDIA_TYPES

The GET_MEDIA_TYPES structure (minitape.h) contains information about the types of media supported by a device.
GROUP_AFFINITY

The _GROUP_AFFINITY structure (minitape.h) specifies a group number and the processor affinity within that group.
INQUIRYDATA

The _INQUIRYDATA structure (minitape.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 (minitape.h) structure.
MODE_COMMAND_DURATION_LIMIT_PAGE_T2B_SUBPAGE

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

Learn more about the MODE_PAGE_SUBPAGE_HEADER (minitape.h) structure.
POPULATE_TOKEN_HEADER

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

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

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

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

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

The PROCESSOR_NUMBER structure (minitape.h) identifies a processor by its group number and group-relative processor number.
RECEIVE_TOKEN_INFORMATION_HEADER

The RECEIVE_TOKEN_INFORMATION_HEADER structure (minitape.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 (minitape.h) contains a token that is created as a representation of data (ROD).
REPORT_ZONES_DATA

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

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

Learn more about: _SAVED_INTERNAL_STATUS_PARAMETER_DATA structure (minitape.h)
SCSI_PNP_REQUEST_BLOCK

TThe _SCSI_PNP_REQUEST_BLOCK structure (minitape.h) contains information for SCSI plug and play (PNP) requests.
SCSI_POWER_REQUEST_BLOCK

The _SCSI_POWER_REQUEST_BLOCK structure (minitape.h) contains information for SCSI power management requests.
SCSI_REQUEST_BLOCK

The SCSI_REQUEST_BLOCK structure (minitape.h) contains information for SCSI Request Block (SRB) functions.
SCSI_WMI_REQUEST_BLOCK

The _SCSI_WMI_REQUEST_BLOCK structure (minitape.h) contains information about a SCSI_REQUEST_BLOCK for use with WMI commands.
SES_CONFIGURATION_DIAGNOSTIC_PAGE

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

The _SES_DOWNLOAD_MICROCODE_CONTROL_DIAGNOSTIC_PAGE structure (minitape.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 (minitape.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 (minitape.h) contains information about the status of one or more download microcode operations.
ST_PARAMETER_DATA

The ST_PARAMETER_DATA structure (minitape.h) contains the parameter list for the set timestamp command.
STOR_ADDR_BTL8

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

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

The _STOR_DEVICE_CAPABILITIES structure (minitape.h) contains device capabilities information relevant to storage devices.
STOR_DEVICE_CAPABILITIES_EX

The _STOR_DEVICE_CAPABILITIES_EX structure (minitape.h) contains extended device capabilities information relevant to storage devices.
STORAGE_PREDICT_FAILURE

The _STORAGE_PREDICT_FAILURE structure (minitape.h) contains information about whether a device is currently predicting a failure.
STORAGE_REQUEST_BLOCK

The _STORAGE_REQUEST_BLOCK structure (minitape.h) describes the extended format of a SCSI Request Block (SRB).
T2_COMMAND_DURATION_LIMIT_DESCRIPTOR

Learn more about the T2_COMMAND_DURATION_LIMIT_DESCRIPTOR (minitape.h) structure.
TAPE_CREATE_PARTITION

The _TAPE_CREATE_PARTITION structure (minitape.h) contains the information needed to create partitions on a tape media.
TAPE_ERASE

The _TAPE_ERASE structure (minitape.h) contains the information needed to erase the current tape partition.
TAPE_GET_DRIVE_PARAMETERS

The _TAPE_GET_DRIVE_PARAMETERS structure (minitape.h) contains information about the capabilities of a tape drive.
TAPE_GET_MEDIA_PARAMETERS

The _TAPE_GET_MEDIA_PARAMETERS structure (minitape.h) contains information about the parameters of a tape media.
TAPE_GET_POSITION

The _TAPE_GET_POSITION structure (minitape.h) contains the current absolute, logical, or pseudo logical partition and offset position on the tape.
TAPE_INIT_DATA

TAPE_INIT_DATA is used only by legacy tape miniclass drivers. Use TAPE_INIT_DATA_EX instead.
TAPE_INIT_DATA_EX

TAPE_INIT_DATA_EX defines values and routines that are specific to a Windows 2000 tape miniclass driver. The tape miniclass DriverEntry routine passes this information to the tape class driver to complete miniclass driver initialization.
TAPE_PREPARE

The _TAPE_PREPARE structure (minitape.h) contains information that indicates the type of tape operation to perform.
TAPE_SET_DRIVE_PARAMETERS

The _TAPE_SET_DRIVE_PARAMETERS structure (minitape.h) contains the information needed to adjust the configurable parameters of a tape drive.
TAPE_SET_MEDIA_PARAMETERS

The _TAPE_SET_MEDIA_PARAMETERS structure (minitape.h) contains the information needed to reset the block size of the media in a tape drive.
TAPE_SET_POSITION

The _TAPE_SET_POSITION structure (minitape.h) contains the information needed to move the current position on the tape to the specified partition and offset.
TAPE_WMI_OPERATIONS

The _TAPE_WMI_OPERATIONS structure (minitape.h) contains information that indicates which WMI operation must be performed by the device.
TAPE_WRITE_MARKS

The _TAPE_WRITE_MARKS structure (minitape.h) contains the information needed to write a setmark, a filemark, a short filemark, or a long filemark to tape.
TRACK_INFORMATION2

The _TRACK_INFORMATION2 structure (minitape.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 (minitape.h)
VPD_THIRD_PARTY_COPY_PAGE

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

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

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

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

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

Enumerations

 
SES_DOWNLOAD_MICROCODE_STATE

Learn more about: _SES_DOWNLOAD_MICROCODE_STATE enumeration (minitape.h)
STOR_DEVICE_POWER_STATE

The _STOR_DEVICE_POWER_STATE enumeration (minitape.h) contains values that indicate a device power state.
STOR_POWER_ACTION

The STOR_POWER_ACTION (minitape.h) contains values that indicate the power state that the system is about to enter during a power transition.
STORAGE_MEDIA_TYPE

The _STORAGE_MEDIA_TYPE enumeration (minitape.h) contains values that indicate the types of media that a device supports.
TAPE_DRIVE_PROBLEM_TYPE

The _TAPE_DRIVE_PROBLEM_TYPE enumeration (minitape.h) contains values that indicate types of problems with a tape drive.
TAPE_STATUS

The TAPE_STATUS enumeration provides a list of the status codes that the tape class driver uses to report the status of a tape device.