GetADBInfo
You can use the GetADBInfo function to get information about an ADB device, specified by its ADB address.
FUNCTION GetADBInfo (VAR info: ADBDataBlock;
adbAddr: ADBAddress): OSErr;
info
- An ADB data block. On exit, the fields of this parameter block are filled with information about the specified ADB device.
adbAddr
- The ADB address of a device.
| <-- | devType | SignedByte | The device handler ID. |
| <-- | origADBAddr | SignedByte | The device's default ADB address. |
| <-- | dbServiceRtPtr | Ptr | The address of the device's device handler. |
| <-- | dbDataAreaAddr | Ptr | The address of the device handler's data storage area. |
DESCRIPTION
The GetADBInfo function returns, through the info parameter, information from the ADB device table entry of the device whose ADB address is specified by the adbAddr parameter.
SPECIAL CONSIDERATIONS
Once the ADB Manager has set the initial values for an ADB device in the ADB device table, it updates the device table entry for the device to reflect changes only to the address of the device handler routine and data area pointer.
RESULT CODES