ReactOS 0.4.16-dev-106-g10b08aa
ntddtape.h File Reference
#include "ntddstor.h"
Include dependency graph for ntddtape.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DD_TAPE_DEVICE_NAME   "\\Device\\Tape"
 
#define DD_TAPE_DEVICE_NAME_U   L"\\Device\\Tape"
 
#define IOCTL_TAPE_BASE   FILE_DEVICE_TAPE
 
#define IOCTL_TAPE_CHECK_VERIFY   CTL_CODE(IOCTL_TAPE_BASE, 0x0200, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_TAPE_CREATE_PARTITION   CTL_CODE(IOCTL_TAPE_BASE, 0x000a, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
 
#define IOCTL_TAPE_ERASE   CTL_CODE(IOCTL_TAPE_BASE, 0x0000, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
 
#define IOCTL_TAPE_FIND_NEW_DEVICES   CTL_CODE(IOCTL_DISK_BASE, 0x0206, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_TAPE_GET_DRIVE_PARAMS   CTL_CODE(IOCTL_TAPE_BASE, 0x0005, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_TAPE_GET_MEDIA_PARAMS   CTL_CODE(IOCTL_TAPE_BASE, 0x0007, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_TAPE_GET_POSITION   CTL_CODE(IOCTL_TAPE_BASE, 0x0003, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_TAPE_GET_STATUS   CTL_CODE(IOCTL_TAPE_BASE, 0x0009, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_TAPE_PREPARE   CTL_CODE(IOCTL_TAPE_BASE, 0x0001, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_TAPE_SET_DRIVE_PARAMS   CTL_CODE(IOCTL_TAPE_BASE, 0x0006, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
 
#define IOCTL_TAPE_SET_MEDIA_PARAMS   CTL_CODE(IOCTL_TAPE_BASE, 0x0008, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_TAPE_SET_POSITION   CTL_CODE(IOCTL_TAPE_BASE, 0x0004, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_TAPE_WRITE_MARKS   CTL_CODE(IOCTL_TAPE_BASE, 0x0002, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
 

Typedefs

typedef enum _TAPE_DRIVE_PROBLEM_TYPE TAPE_DRIVE_PROBLEM_TYPE
 

Enumerations

enum  _TAPE_DRIVE_PROBLEM_TYPE {
  TapeDriveProblemNone , TapeDriveReadWriteWarning , TapeDriveReadWriteError , TapeDriveReadWarning ,
  TapeDriveWriteWarning , TapeDriveReadError , TapeDriveWriteError , TapeDriveHardwareError ,
  TapeDriveUnsupportedMedia , TapeDriveScsiConnectionError , TapeDriveTimetoClean , TapeDriveCleanDriveNow ,
  TapeDriveMediaLifeExpired , TapeDriveSnappedTape
}
 

Macro Definition Documentation

◆ DD_TAPE_DEVICE_NAME

#define DD_TAPE_DEVICE_NAME   "\\Device\\Tape"

Definition at line 32 of file ntddtape.h.

◆ DD_TAPE_DEVICE_NAME_U

#define DD_TAPE_DEVICE_NAME_U   L"\\Device\\Tape"

Definition at line 33 of file ntddtape.h.

◆ IOCTL_TAPE_BASE

#define IOCTL_TAPE_BASE   FILE_DEVICE_TAPE

Definition at line 35 of file ntddtape.h.

◆ IOCTL_TAPE_CHECK_VERIFY

#define IOCTL_TAPE_CHECK_VERIFY   CTL_CODE(IOCTL_TAPE_BASE, 0x0200, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 37 of file ntddtape.h.

◆ IOCTL_TAPE_CREATE_PARTITION

#define IOCTL_TAPE_CREATE_PARTITION   CTL_CODE(IOCTL_TAPE_BASE, 0x000a, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)

Definition at line 38 of file ntddtape.h.

◆ IOCTL_TAPE_ERASE

Definition at line 39 of file ntddtape.h.

◆ IOCTL_TAPE_FIND_NEW_DEVICES

#define IOCTL_TAPE_FIND_NEW_DEVICES   CTL_CODE(IOCTL_DISK_BASE, 0x0206, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 40 of file ntddtape.h.

◆ IOCTL_TAPE_GET_DRIVE_PARAMS

#define IOCTL_TAPE_GET_DRIVE_PARAMS   CTL_CODE(IOCTL_TAPE_BASE, 0x0005, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 41 of file ntddtape.h.

◆ IOCTL_TAPE_GET_MEDIA_PARAMS

#define IOCTL_TAPE_GET_MEDIA_PARAMS   CTL_CODE(IOCTL_TAPE_BASE, 0x0007, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 42 of file ntddtape.h.

◆ IOCTL_TAPE_GET_POSITION

#define IOCTL_TAPE_GET_POSITION   CTL_CODE(IOCTL_TAPE_BASE, 0x0003, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 43 of file ntddtape.h.

◆ IOCTL_TAPE_GET_STATUS

#define IOCTL_TAPE_GET_STATUS   CTL_CODE(IOCTL_TAPE_BASE, 0x0009, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 44 of file ntddtape.h.

◆ IOCTL_TAPE_PREPARE

#define IOCTL_TAPE_PREPARE   CTL_CODE(IOCTL_TAPE_BASE, 0x0001, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 46 of file ntddtape.h.

◆ IOCTL_TAPE_SET_DRIVE_PARAMS

#define IOCTL_TAPE_SET_DRIVE_PARAMS   CTL_CODE(IOCTL_TAPE_BASE, 0x0006, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)

Definition at line 47 of file ntddtape.h.

◆ IOCTL_TAPE_SET_MEDIA_PARAMS

#define IOCTL_TAPE_SET_MEDIA_PARAMS   CTL_CODE(IOCTL_TAPE_BASE, 0x0008, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 48 of file ntddtape.h.

◆ IOCTL_TAPE_SET_POSITION

#define IOCTL_TAPE_SET_POSITION   CTL_CODE(IOCTL_TAPE_BASE, 0x0004, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 49 of file ntddtape.h.

◆ IOCTL_TAPE_WRITE_MARKS

Definition at line 50 of file ntddtape.h.

Typedef Documentation

◆ TAPE_DRIVE_PROBLEM_TYPE

Enumeration Type Documentation

◆ _TAPE_DRIVE_PROBLEM_TYPE

Enumerator
TapeDriveProblemNone 
TapeDriveReadWriteWarning 
TapeDriveReadWriteError 
TapeDriveReadWarning 
TapeDriveWriteWarning 
TapeDriveReadError 
TapeDriveWriteError 
TapeDriveHardwareError 
TapeDriveUnsupportedMedia 
TapeDriveScsiConnectionError 
TapeDriveTimetoClean 
TapeDriveCleanDriveNow 
TapeDriveMediaLifeExpired 
TapeDriveSnappedTape 

Definition at line 53 of file ntddtape.h.

53 {
@ TapeDriveScsiConnectionError
Definition: ntddtape.h:63
@ TapeDriveSnappedTape
Definition: ntddtape.h:67
@ TapeDriveUnsupportedMedia
Definition: ntddtape.h:62
@ TapeDriveReadWarning
Definition: ntddtape.h:57
@ TapeDriveReadWriteError
Definition: ntddtape.h:56
@ TapeDriveCleanDriveNow
Definition: ntddtape.h:65
@ TapeDriveMediaLifeExpired
Definition: ntddtape.h:66
@ TapeDriveWriteWarning
Definition: ntddtape.h:58
@ TapeDriveProblemNone
Definition: ntddtape.h:54
@ TapeDriveWriteError
Definition: ntddtape.h:60
@ TapeDriveReadWriteWarning
Definition: ntddtape.h:55
@ TapeDriveHardwareError
Definition: ntddtape.h:61
@ TapeDriveTimetoClean
Definition: ntddtape.h:64
@ TapeDriveReadError
Definition: ntddtape.h:59
enum _TAPE_DRIVE_PROBLEM_TYPE TAPE_DRIVE_PROBLEM_TYPE