PortDeviceObject - to connect to SCSI port driver.
DeviceCount - Number of previously installed CDROMs.
PortCapabilities - Pointer to structure returned by SCSI port
- driver describing adapter capabilites (and limitations).
+ driver describing adapter capabilities (and limitations).
LunInfo - Pointer to configuration information for this device.
Return Value:
//
// the drive is target defect managed, and supports random writes
- // on sector-aligment. allow writes to occur by setting the error
+ // on sector-alignment. allow writes to occur by setting the error
// handler to point to a private media change detection handler.
//
Irp->IoStatus.Status = STATUS_VERIFY_REQUIRED;
TraceLog((CdromDebugTrace,
- "CdRomStartIo: [%p] Calling UpdateCapcity - "
+ "CdRomStartIo: [%p] Calling UpdateCapacity - "
"ioctl event = %p\n",
Irp,
nextIrpStack->Parameters.Others.Argument1
cdb->SUBCHANNEL.SubQ = CDB_SUBCHANNEL_BLOCK;
//
- // Specify format of informatin to return
+ // Specify format of information to return
//
cdb->SUBCHANNEL.Format = inputBuffer->Format;
Routine Description:
This routine creates a symbolic link to the cdrom device object
- under \dosdevices. The number of the cdrom device does not neccessarily
+ under \dosdevices. The number of the cdrom device does not necessarily
match between \dosdevices and \device, but usually will be the same.
Saves the buffer
ParameterName - parameter name to look up
- ParameterValuse - default parameter value
+ ParameterValue - default parameter value
Return Value:
ParameterName - parameter name
- ParameterValuse - parameter value
+ ParameterValue - parameter value
Return Value:
// SCSI_SENSE_NOT_READY/SCSI_ADSENSE_NO_MEDIA_IN_DEVICE
//
// These drives should not pass WHQL certification due
- // to this discrepency.
+ // to this discrepancy.
//
// However, we have to retry on 2/4/0 (Not ready, LUN not ready,
// no info) and also 3/2/0 (no seek complete).
// (0x01) in order to comply with WHQL standards.
//
// The default retry timeout of one second is acceptable to balance
- // these discrepencies. don't modify the status, though....
+ // these discrepancies. don't modify the status, though....
//
if (((sense->SenseKey & 0xf) == SCSI_SENSE_NOT_READY) &&