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

You can get information about an ADB device by calling the functions GetIndADB and GetADBInfo. These functions return information from the ADB device table in an ADB data block, defined by the ADBDataBlock data type.

TYPE ADBDataBlock = 
PACKED RECORD
   devType:          SignedByte;    {device handler ID}
   origADBAddr:      SignedByte;    {original ADB address}
   dbServiceRtPtr:   Ptr;           {pointer to device handler}
   dbDataAreaAddr:   Ptr;           {pointer to data area}
END;
ADBDBlkPtr = ^ADBDataBlock;
Field Description
devType
The device handler ID of the ADB device.
origADBAddr
The device's default ADB address.
dbServiceRtPtr

A pointer to the device's device handler.
dbDataAreaAddr

A pointer to the device handler's optional data area.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
3 JUL 1996