Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
SCSIOldAndNew
Last Revision: | |
Build Requirements: | Xcode 2.2.1 or later |
Runtime Requirements: | Mac OS X 10.2 or later |
Demonstrates how to communicate with SCSI Parallel devices on Mac OS X. The sample illustrates both the SCSITask User Client and IOSCSIUserClient APIs. The IOSCSIUserClient and SCSIAction APIs were deprecated in Mac OS X 10.2 and removed in Mac OS X 10.3. Developers who want their applications to run on all versions of Mac OS X including 10.2 and earlier should use both SCSITaskUserClient and SCSIAction/IOSCSIUserClient to discover their device, then use the API which found the device to communicate with it. This sample uses this recommended technique to find devices based on their SCSI peripheral device type and then sends a simple INQUIRY command. This sample code has been updated to include a project that produces a universal binary.
Copyright © 2006 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2006-12-07