ntddtape.h header

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

ntddtape.h contains the following programming interfaces:

IOCTLs

 
IOCTL_TAPE_CREATE_PARTITION

Creates the specified number of fixed, select, or initiator partition(s) of the given size on the media.
IOCTL_TAPE_ERASE

Erases the current tape partition, either as a TAPE_ERASE_LONG (in other words, a "secure") operation that overwrites data with a pattern or as a TAPE_ERASE_SHORT (in other words, a "quick") operation that writes an end-of-recorded-data mark at the current position.
IOCTL_TAPE_GET_DRIVE_PARAMS

Returns information about the tape drive's capabilities, such as its default block size, maximum and minimum block sizes, maximum partition count, whether the drive has EEC, compression, data padding, and report-setmark capabilities, that is, which configurable features the drive supports, including the EOT warning zone size.
IOCTL_TAPE_GET_MEDIA_PARAMS

Returns information about the media's total and remaining capacity, its block size, the number of partitions, and whether it is write-protected.
IOCTL_TAPE_GET_POSITION

Returns the current absolute, logical, or pseudological partition and offset position on the tape.
IOCTL_TAPE_GET_STATUS

Returns the current status of the drive in the Status field of the I/O status block.
IOCTL_TAPE_PREPARE

Loads or unloads the tape, resets tape tension, locks or unlocks the ejection mechanism, or formats the tape.
IOCTL_TAPE_SET_DRIVE_PARAMS

Adjusts a tape drive's configurable parameters.
IOCTL_TAPE_SET_MEDIA_PARAMS

Resets the block size of the media in the drive.
IOCTL_TAPE_SET_POSITION

Moves the current position on the tape to the specified partition and offset, according to the given method.
IOCTL_TAPE_WRITE_MARKS

Writes one of setmarks, filemarks, short filemarks, or long filemarks to tape.

Structures

 
TAPE_CREATE_PARTITION

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

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

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

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

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

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

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

The _TAPE_SET_MEDIA_PARAMETERS structure (ntddtape.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 (ntddtape.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 (ntddtape.h) contains information that indicates which WMI operation must be performed by the device.
TAPE_WRITE_MARKS

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

Enumerations

 
TAPE_DRIVE_PROBLEM_TYPE

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