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 2 - Slot Manager / Slot Manager Reference
Low-Level Routines /


SFindBigDevBase

This function is obsolete.

FUNCTION SFindBigDevBase (spBlkPtr: SpBlockPtr): OSErr;
spBlkPtr
A pointer to a Slot Manager parameter block.
-->spSlotSignedByteThe slot number.
-->spIdSignedByteThe sResource ID.
<--spResultLongIntThe device base address.

DESCRIPTION
The SFindBigDevBase function has been superseded by the SFindDevBase function. Currently, both functions execute the same code and return the same result. However, for future compatibility you should use only the SFindDevBase function described on page 2-66.

ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for the SFindBigDevBase function are
Trap macroSelector
_SlotManager$001C

On entry, register D0 contains the routine selector and register A0 contains the address of the Slot Manager parameter block. When _SlotManager returns, register D0 contains the result code.
Registers on entry
A0Address of the parameter block
D0$001C
Registers on exit
D0Result code

RESULT CODES
noErr0No error
smEmptySlot-300No card in this slot
SEE ALSO
For information about the supported function for finding a device base address, see the description of the SFindDevBase function on page 2-66.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
3 JUL 1996