Advanced Search
Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

Previous Book Contents Book Index Next

Inside Macintosh: Devices /
Chapter 4 - SCSI Manager 4.3 / SCSI Manager 4.3 Reference
Data Structures

Command Descriptor Block Record

You use the command descriptor block record to pass SCSI commands to the SCSIAction function. The SCSI commands can be stored within this structure, or you can provide a pointer to them. You set the scsiCDBIsPointer flag in the SCSI parameter block if this record contains a pointer.

The command descriptor block record is defined by the CDB data type.

union CDB
   UInt8    *cdbPtr;
   UInt8    cdbBytes[maxCDBLength];
typedef union CDB CDB, *CDBPtr;
Field Description
A pointer to a buffer containing a CDB.
A buffer in which you can place a CDB.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
3 JUL 1996

Get information on Apple products.
Visit the Apple Store online or at retail locations.

Copyright © 2004 Apple Computer, Inc.
All rights reserved. | Terms of use | Privacy Notice