Legacy Documentclose button

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

Apple Developer Connection
Advanced Search
Member Login Log In | Not a Member? Contact ADC

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

Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice