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.