Go to the source code of this file.
◆ GetDeviceType()
Definition at line 7 of file scsitypes.h.
9{
10 switch (InquiryData->DeviceType)
11 {
13 return "Disk";
15 return "Sequential";
17 return "Printer";
19 return "Processor";
21 return "Worm";
23 return "CdRom";
25 return "Scanner";
27 return "Optical";
29 return "Changer";
31 return "Net";
33 return "Array";
35 return "Enclosure";
37 return "RBC";
39 return "CardReader";
41 return "Bridge";
42 default:
43 return "Other";
44 }
45}
#define COMMUNICATION_DEVICE
#define WRITE_ONCE_READ_MULTIPLE_DEVICE
#define DIRECT_ACCESS_DEVICE
#define READ_ONLY_DIRECT_ACCESS_DEVICE
#define SEQUENTIAL_ACCESS_DEVICE
#define BRIDGE_CONTROLLER_DEVICE
#define OPTICAL_CARD_READER_WRITER_DEVICE
#define REDUCED_BLOCK_DEVICE
#define ARRAY_CONTROLLER_DEVICE
#define SCSI_ENCLOSURE_DEVICE
Referenced by PdoHandleQueryCompatibleId(), PdoHandleQueryDeviceId(), PdoHandleQueryDeviceText(), and PdoHandleQueryHardwareId().
◆ GetGenericType()
Definition at line 49 of file scsitypes.h.
51{
52 switch (InquiryData->DeviceType)
53 {
55 return "GenDisk";
57 return "GenPrinter";
59 return "GenWorm";
61 return "GenCdRom";
63 return "GenScanner";
65 return "GenOptical";
67 return "ScsiChanger";
69 return "ScsiNet";
71 return "ScsiArray";
73 return "ScsiEnclosure";
75 return "ScsiRBC";
77 return "ScsiCardReader";
79 return "ScsiBridge";
80 default:
81 return "ScsiOther";
82 }
83}
Referenced by PdoHandleQueryHardwareId().
◆ GetPeripheralTypeW()
Definition at line 87 of file scsitypes.h.
89{
90 switch (InquiryData->DeviceType)
91 {
93 return L"DiskPeripheral";
95 return L"TapePeripheral";
97 return L"PrinterPeripheral";
98
100 return L"WormPeripheral";
102 return L"CdRomPeripheral";
104 return L"ScannerPeripheral";
106 return L"OpticalDiskPeripheral";
108 return L"MediumChangerPeripheral";
110 return L"CommunicationsPeripheral";
112 return L"ArrayPeripheral";
114 return L"EnclosurePeripheral";
116 return L"RBCPeripheral";
118 return L"CardReaderPeripheral";
120 return L"BridgePeripheral";
121 default:
122 return L"OtherPeripheral";
123 }
124}
Referenced by RegistryInitLunKey().