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
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