Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Devices /
Chapter 5 - ADB Manager / ADB Manager Reference
Application-Defined Routines


ADB Command Completion Routines

The ADBOp function is always executed asynchronously; if the bus is busy, the ADB command passed to ADBOp is held in a command queue until the bus is free. The result code returned by ADBOp indicates only whether the ADB command was successfully placed into the ADB command queue, not whether the command itself was successful.

Thus, when you use the ADBOp function to send a command to an ADB device, and your application requires synchronous behavior, you'll need to provide a completion routine to determine when the command has completed.


Subtopics
MyCompletionRoutine

Previous Book Contents Book Index Next

© Apple Computer, Inc.
3 JUL 1996