Legacy Documentclose button

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

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

Previous Book Contents Book Index Next

Inside Macintosh: Devices /
Chapter 5 - ADB Manager / ADB Manager Reference
Data Structures


ADB Operation Block

You use the ADB operation block to pass information to the ADBOp function if you call the function from assembly language. The ADB operation block is defined by the ADBOpBlock data type.

TYPE ADBOpBlock =
   RECORD
      dataBuffPtr:      Ptr;           {address of data buffer}
      opServiceRtPtr:   Ptr;           {pointer to device handler}
      opDataAreaPtr:    Ptr;           {pointer to optional data 
                                        area}
   END;
   ADBOpBPtr = ^ADBOpBlock;
Field Description
dataBuffPtr
A pointer to a variable-length data buffer. The first byte of the buffer must contain the buffer's length.
opServiceRtPtr
A pointer to a completion routine.
opDataAreaPtr
A pointer to an optional data area.

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.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice