Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Devices /
Chapter 5 - ADB Manager / ADB Manager Reference
Data Structures


ADB Information Block

You can set a device's device handler routine and data area by calling the SetADBInfo function. You pass SetADBInfo an ADB information block, defined by the ADBSetInfoBlock data type.

TYPE ADBSetInfoBlock = 
RECORD
   siServiceRtPtr:   Ptr;           {pointer to device handler}
   siDataAreaAddr:   Ptr;           {pointer to data area}
END;
ADBSInfoPtr = ^ADBSetInfoBlock;
Field Description
siServiceRtPtr

A pointer to the device handler.
siDataAreaAddr

A pointer to the device handler's optional data area.
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.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
3 JUL 1996