ReactOS 0.4.16-dev-329-g9223134
|
#include "ntddstor.h"
Go to the source code of this file.
Classes | |
struct | _CHANGER_ELEMENT |
struct | _CHANGER_ELEMENT_LIST |
struct | _GET_CHANGER_PARAMETERS |
struct | _CHANGER_PRODUCT_DATA |
struct | _CHANGER_SET_ACCESS |
struct | _CHANGER_READ_ELEMENT_STATUS |
struct | _CHANGER_ELEMENT_STATUS |
struct | _CHANGER_ELEMENT_STATUS_EX |
struct | _CHANGER_INITIALIZE_ELEMENT_STATUS |
struct | _CHANGER_SET_POSITION |
struct | _CHANGER_EXCHANGE_MEDIUM |
struct | _CHANGER_MOVE_MEDIUM |
struct | _CHANGER_SEND_VOLUME_TAG_INFORMATION |
struct | READ_ELEMENT_ADDRESS_INFO |
#define ASSERT_ALTERNATE 0x9 |
Definition at line 172 of file ntddchgr.h.
#define ASSERT_PRIMARY 0x8 |
Definition at line 171 of file ntddchgr.h.
#define CHANGER_BAR_CODE_SCANNER_INSTALLED 0x00000001 |
Definition at line 78 of file ntddchgr.h.
#define CHANGER_CARTRIDGE_MAGAZINE 0x00000100 |
Definition at line 86 of file ntddchgr.h.
#define CHANGER_CLEANER_ACCESS_NOT_VALID 0x00040000 |
Definition at line 96 of file ntddchgr.h.
#define CHANGER_CLEANER_AUTODISMOUNT 0x80000004 |
Definition at line 112 of file ntddchgr.h.
#define CHANGER_CLEANER_OPS_NOT_SUPPORTED 0x80000040 |
Definition at line 116 of file ntddchgr.h.
#define CHANGER_CLEANER_SLOT 0x00000040 |
Definition at line 84 of file ntddchgr.h.
#define CHANGER_CLOSE_IEPORT 0x00000004 |
Definition at line 80 of file ntddchgr.h.
#define CHANGER_DEVICE_REINITIALIZE_CAPABLE 0x08000000 |
Definition at line 104 of file ntddchgr.h.
#define CHANGER_DRIVE_CLEANING_REQUIRED 0x00010000 |
Definition at line 94 of file ntddchgr.h.
#define CHANGER_DRIVE_EMPTY_ON_DOOR_ACCESS 0x20000000 |
Definition at line 106 of file ntddchgr.h.
#define CHANGER_EXCHANGE_MEDIA 0x00000020 |
Definition at line 83 of file ntddchgr.h.
#define CHANGER_IEPORT_USER_CONTROL_CLOSE 0x80000100 |
Definition at line 118 of file ntddchgr.h.
#define CHANGER_IEPORT_USER_CONTROL_OPEN 0x80000080 |
Definition at line 117 of file ntddchgr.h.
#define CHANGER_INIT_ELEM_STAT_WITH_RANGE 0x00000002 |
Definition at line 79 of file ntddchgr.h.
#define CHANGER_KEYPAD_ENABLE_DISABLE 0x10000000 |
Definition at line 105 of file ntddchgr.h.
#define CHANGER_LOCK_UNLOCK 0x00000080 |
Definition at line 85 of file ntddchgr.h.
#define CHANGER_MEDIUM_FLIP 0x00000200 |
Definition at line 87 of file ntddchgr.h.
#define CHANGER_MOVE_EXTENDS_IEPORT 0x80000200 |
Definition at line 119 of file ntddchgr.h.
#define CHANGER_MOVE_RETRACTS_IEPORT 0x80000400 |
Definition at line 120 of file ntddchgr.h.
#define CHANGER_OPEN_IEPORT 0x00000008 |
Definition at line 81 of file ntddchgr.h.
#define CHANGER_POSITION_TO_ELEMENT 0x00000400 |
Definition at line 88 of file ntddchgr.h.
#define CHANGER_PREDISMOUNT_ALIGN_TO_DRIVE 0x80000002 |
Definition at line 111 of file ntddchgr.h.
#define CHANGER_PREDISMOUNT_ALIGN_TO_SLOT 0x80000001 |
Definition at line 110 of file ntddchgr.h.
#define CHANGER_PREDISMOUNT_EJECT_REQUIRED 0x00020000 |
Definition at line 95 of file ntddchgr.h.
#define CHANGER_PREMOUNT_EJECT_REQUIRED 0x00080000 |
Definition at line 97 of file ntddchgr.h.
#define CHANGER_REPORT_IEPORT_STATE 0x00000800 |
Definition at line 89 of file ntddchgr.h.
#define CHANGER_RESERVED_BIT 0x80000000 |
Definition at line 107 of file ntddchgr.h.
#define CHANGER_RTN_MEDIA_TO_ORIGINAL_ADDR 0x80000020 |
Definition at line 115 of file ntddchgr.h.
#define CHANGER_SERIAL_NUMBER_VALID 0x04000000 |
Definition at line 103 of file ntddchgr.h.
#define CHANGER_SLOTS_USE_TRAYS 0x80000010 |
Definition at line 114 of file ntddchgr.h.
#define CHANGER_STATUS_NON_VOLATILE 0x00000010 |
Definition at line 82 of file ntddchgr.h.
#define CHANGER_STORAGE_DRIVE 0x00001000 |
Definition at line 90 of file ntddchgr.h.
#define CHANGER_STORAGE_IEPORT 0x00002000 |
Definition at line 91 of file ntddchgr.h.
#define CHANGER_STORAGE_SLOT 0x00004000 |
Definition at line 92 of file ntddchgr.h.
#define CHANGER_STORAGE_TRANSPORT 0x00008000 |
Definition at line 93 of file ntddchgr.h.
#define CHANGER_TO_DRIVE 0x08 |
Definition at line 126 of file ntddchgr.h.
#define CHANGER_TO_IEPORT 0x04 |
Definition at line 125 of file ntddchgr.h.
#define CHANGER_TO_SLOT 0x02 |
Definition at line 124 of file ntddchgr.h.
#define CHANGER_TO_TRANSPORT 0x01 |
Definition at line 123 of file ntddchgr.h.
#define CHANGER_TRUE_EXCHANGE_CAPABLE 0x80000008 |
Definition at line 113 of file ntddchgr.h.
#define CHANGER_VOLUME_ASSERT 0x00400000 |
Definition at line 100 of file ntddchgr.h.
#define CHANGER_VOLUME_IDENTIFICATION 0x00100000 |
Definition at line 98 of file ntddchgr.h.
#define CHANGER_VOLUME_REPLACE 0x00800000 |
Definition at line 101 of file ntddchgr.h.
#define CHANGER_VOLUME_SEARCH 0x00200000 |
Definition at line 99 of file ntddchgr.h.
#define CHANGER_VOLUME_UNDEFINE 0x01000000 |
Definition at line 102 of file ntddchgr.h.
#define DD_CHANGER_DEVICE_NAME "\\Device\\Changer" |
Definition at line 31 of file ntddchgr.h.
#define DD_CHANGER_DEVICE_NAME_U L"\\Device\\Changer" |
Definition at line 32 of file ntddchgr.h.
#define ELEMENT_STATUS_ACCESS 0x00000008 |
Definition at line 143 of file ntddchgr.h.
#define ELEMENT_STATUS_AVOLTAG 0x20000000 |
Definition at line 153 of file ntddchgr.h.
#define ELEMENT_STATUS_EXCEPT 0x00000004 |
Definition at line 142 of file ntddchgr.h.
#define ELEMENT_STATUS_EXENAB 0x00000010 |
Definition at line 144 of file ntddchgr.h.
#define ELEMENT_STATUS_FULL 0x00000001 |
Definition at line 140 of file ntddchgr.h.
#define ELEMENT_STATUS_ID_VALID 0x00002000 |
Definition at line 148 of file ntddchgr.h.
#define ELEMENT_STATUS_IMPEXP 0x00000002 |
Definition at line 141 of file ntddchgr.h.
#define ELEMENT_STATUS_INENAB 0x00000020 |
Definition at line 145 of file ntddchgr.h.
#define ELEMENT_STATUS_INVERT 0x00400000 |
Definition at line 150 of file ntddchgr.h.
#define ELEMENT_STATUS_LUN_VALID 0x00001000 |
Definition at line 147 of file ntddchgr.h.
#define ELEMENT_STATUS_NOT_BUS 0x00008000 |
Definition at line 149 of file ntddchgr.h.
#define ELEMENT_STATUS_PRODUCT_DATA 0x00000040 |
Definition at line 146 of file ntddchgr.h.
#define ELEMENT_STATUS_PVOLTAG 0x10000000 |
Definition at line 152 of file ntddchgr.h.
#define ELEMENT_STATUS_SVALID 0x00800000 |
Definition at line 151 of file ntddchgr.h.
#define ERROR_DRIVE_NOT_INSTALLED 0x00000008 |
Definition at line 159 of file ntddchgr.h.
#define ERROR_INIT_STATUS_NEEDED 0x00000011 |
Definition at line 161 of file ntddchgr.h.
#define ERROR_LABEL_QUESTIONABLE 0x00000002 |
Definition at line 157 of file ntddchgr.h.
#define ERROR_LABEL_UNREADABLE 0x00000001 |
Definition at line 156 of file ntddchgr.h.
#define ERROR_SLOT_NOT_PRESENT 0x00000004 |
Definition at line 158 of file ntddchgr.h.
#define ERROR_TRAY_MALFUNCTION 0x00000010 |
Definition at line 160 of file ntddchgr.h.
#define ERROR_UNHANDLED_ERROR 0xFFFFFFFF |
Definition at line 162 of file ntddchgr.h.
#define EXTEND_IEPORT 2 |
Definition at line 136 of file ntddchgr.h.
#define IOCTL_CHANGER_BASE FILE_DEVICE_CHANGER |
Definition at line 34 of file ntddchgr.h.
#define IOCTL_CHANGER_EXCHANGE_MEDIUM CTL_CODE(IOCTL_CHANGER_BASE, 0x0008, METHOD_BUFFERED, FILE_READ_ACCESS) |
Definition at line 36 of file ntddchgr.h.
#define IOCTL_CHANGER_GET_ELEMENT_STATUS CTL_CODE(IOCTL_CHANGER_BASE, 0x0005, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS) |
Definition at line 39 of file ntddchgr.h.
#define IOCTL_CHANGER_GET_PARAMETERS CTL_CODE(IOCTL_CHANGER_BASE, 0x0000, METHOD_BUFFERED, FILE_READ_ACCESS) |
Definition at line 42 of file ntddchgr.h.
#define IOCTL_CHANGER_GET_PRODUCT_DATA CTL_CODE(IOCTL_CHANGER_BASE, 0x0002, METHOD_BUFFERED, FILE_READ_ACCESS) |
Definition at line 45 of file ntddchgr.h.
#define IOCTL_CHANGER_GET_STATUS CTL_CODE(IOCTL_CHANGER_BASE, 0x0001, METHOD_BUFFERED, FILE_READ_ACCESS) |
Definition at line 48 of file ntddchgr.h.
#define IOCTL_CHANGER_INITIALIZE_ELEMENT_STATUS CTL_CODE(IOCTL_CHANGER_BASE, 0x0006, METHOD_BUFFERED, FILE_READ_ACCESS) |
Definition at line 51 of file ntddchgr.h.
#define IOCTL_CHANGER_MOVE_MEDIUM CTL_CODE(IOCTL_CHANGER_BASE, 0x0009, METHOD_BUFFERED, FILE_READ_ACCESS) |
Definition at line 54 of file ntddchgr.h.
#define IOCTL_CHANGER_QUERY_VOLUME_TAGS CTL_CODE(IOCTL_CHANGER_BASE, 0x000B, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS) |
Definition at line 57 of file ntddchgr.h.
#define IOCTL_CHANGER_REINITIALIZE_TRANSPORT CTL_CODE(IOCTL_CHANGER_BASE, 0x000A, METHOD_BUFFERED, FILE_READ_ACCESS) |
Definition at line 60 of file ntddchgr.h.
#define IOCTL_CHANGER_SET_ACCESS CTL_CODE(IOCTL_CHANGER_BASE, 0x0004, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS) |
Definition at line 63 of file ntddchgr.h.
#define IOCTL_CHANGER_SET_POSITION CTL_CODE(IOCTL_CHANGER_BASE, 0x0007, METHOD_BUFFERED, FILE_READ_ACCESS) |
Definition at line 66 of file ntddchgr.h.
#define LOCK_ELEMENT 0 |
Definition at line 134 of file ntddchgr.h.
#define LOCK_UNLOCK_DOOR 0x02 |
Definition at line 130 of file ntddchgr.h.
#define LOCK_UNLOCK_IEPORT 0x01 |
Definition at line 129 of file ntddchgr.h.
#define LOCK_UNLOCK_KEYPAD 0x04 |
Definition at line 131 of file ntddchgr.h.
#define MAX_VOLUME_ID_SIZE 36 |
Definition at line 69 of file ntddchgr.h.
#define MAX_VOLUME_TEMPLATE_SIZE 40 |
Definition at line 70 of file ntddchgr.h.
#define PRODUCT_ID_LENGTH 16 |
Definition at line 73 of file ntddchgr.h.
#define REPLACE_ALTERNATE 0xB |
Definition at line 174 of file ntddchgr.h.
#define REPLACE_PRIMARY 0xA |
Definition at line 173 of file ntddchgr.h.
#define RETRACT_IEPORT 3 |
Definition at line 137 of file ntddchgr.h.
#define REVISION_LENGTH 4 |
Definition at line 74 of file ntddchgr.h.
#define SEARCH_ALL 0x0 |
Definition at line 165 of file ntddchgr.h.
#define SEARCH_ALL_NO_SEQ 0x4 |
Definition at line 168 of file ntddchgr.h.
#define SEARCH_ALT_NO_SEQ 0x6 |
Definition at line 170 of file ntddchgr.h.
#define SEARCH_ALTERNATE 0x2 |
Definition at line 167 of file ntddchgr.h.
#define SEARCH_PRI_NO_SEQ 0x5 |
Definition at line 169 of file ntddchgr.h.
#define SEARCH_PRIMARY 0x1 |
Definition at line 166 of file ntddchgr.h.
#define SERIAL_NUMBER_LENGTH 32 |
Definition at line 75 of file ntddchgr.h.
#define UNDEFINE_ALTERNATE 0xD |
Definition at line 176 of file ntddchgr.h.
#define UNDEFINE_PRIMARY 0xC |
Definition at line 175 of file ntddchgr.h.
#define UNLOCK_ELEMENT 1 |
Definition at line 135 of file ntddchgr.h.
#define VENDOR_ID_LENGTH 8 |
Definition at line 72 of file ntddchgr.h.
typedef struct _CHANGER_ELEMENT CHANGER_ELEMENT |
typedef enum _ELEMENT_TYPE ELEMENT_TYPE |
typedef struct _CHANGER_ELEMENT * PCHANGER_ELEMENT |
typedef struct _CHANGER_ELEMENT_LIST * PCHANGER_ELEMENT_LIST |
typedef struct _CHANGER_MOVE_MEDIUM * PCHANGER_MOVE_MEDIUM |
typedef struct _CHANGER_PRODUCT_DATA * PCHANGER_PRODUCT_DATA |
typedef struct _CHANGER_SET_ACCESS * PCHANGER_SET_ACCESS |
typedef struct _CHANGER_SET_POSITION * PCHANGER_SET_POSITION |
typedef enum _ELEMENT_TYPE * PELEMENT_TYPE |
Definition at line 313 of file ntddchgr.h.
Enumerator | |
---|---|
AllElements | |
ChangerTransport | |
ChangerSlot | |
ChangerIEPort | |
ChangerDrive | |
ChangerDoor | |
ChangerKeypad | |
ChangerMaxElement |
Definition at line 178 of file ntddchgr.h.