Important: The information in this document is obsolete and should not be used for new development.
ADB Information Block
You can set a device's device handler routine and data area by calling theSetADBInfo
function. You passSetADBInfo
an ADB information block, defined by theADBSetInfoBlock
data type.
TYPE ADBSetInfoBlock = RECORD siServiceRtPtr: Ptr; {pointer to device handler} siDataAreaAddr: Ptr; {pointer to data area} END; ADBSInfoPtr = ^ADBSetInfoBlock;Remember that 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.
Field Description
siServiceRtPtr
A pointer to the device handler.siDataAreaAddr
A pointer to the device handler's optional data area.