SetADBInfoYou can use the
SetADBInfofunction to set the address of the device handler routine and data area address for a specified ADB device.
FUNCTION SetADBInfo (VAR info: ADBSetInfoBlock; adbAddr: ADBAddress): OSErr;
- An ADB information block. On entry, the fields of this parameter block should contain the desired address of the device handler routine and
- The ADB address of a device.
--> siServiceRtPtr Ptr The address of the device handler for this device. --> siDataAreaAddr Ptr The address of the handler's data area for the device at the specified address.
SetADBInfofunction sets the device handler address and the data area address in the ADB device table entry whose address is specified by the
- You should send a Flush command to the device after calling it with
SetADBInfoto avoid sending old data to the new data area address.
noErr 0 No error
SEE ALSOSee "ADB Information Block," beginning on page 5-38, for the structure of the ADB information block.