Important: The information in this document is obsolete and should not be used for new development.
|
|
Log In | Not a Member? |
Contact ADC |
ADB Information Block
You can set a device's device handler routine and data area by calling theSetADBInfofunction. You passSetADBInfoan ADB information block, defined by theADBSetInfoBlockdata 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.
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 |