Important: The information in this document is obsolete and should not be used for new development.
GetADBInfo
You can use theGetADBInfo
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
TheGetADBInfo
function returns, through theinfo
parameter, information from the ADB device table entry of the device whose ADB address is specified by theadbAddr
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
noErr 0 No error