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
Slot Manager Routines / Managing the Slot Interrupt Queue


SIntRemove

You use the SIntRemove function to remove an interrupt handler from a slot's interrupt queue.

FUNCTION SIntRemove (sIntQElemPtr: SQElemPtr; 
                     theSlot: Integer) : OsErr;
sIntQElemPtr

A pointer to a slot interrupt queue element record, described on page 2-28.
theSlot
The slot number.
DESCRIPTION
The SIntRemove function removes an element from the interrupt queue for a slot. You provide a pointer to a slot interrupt queue element in the sIntQElemPtr parameter and specify the slot number in theSlot.

ASSEMBLY-LANGUAGE INFORMATION
The trap macro for the SIntRemove function is _SIntRemove ($A076).

You must set up register D0 with the slot number and register A0 with the address of the slot queue element. When _SIntRemove returns, register D0 contains the result code.
Registers on entry
A0address of the slot queue element
D0slot number
Registers on exit
D0Result code

RESULT CODES
noErr0No error
SEE ALSO
For a description of the slot interrupt queue element record, see "Slot Interrupt Queue Element" on page 2-28.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
3 JUL 1996