Important: The information in this document is obsolete and should not be used for new development.
SIntRemove
You use theSIntRemovefunction 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
TheSIntRemovefunction removes an element from the interrupt queue for a slot. You provide a pointer to a slot interrupt queue element in thesIntQElemPtrparameter and specify the slot number intheSlot.ASSEMBLY-LANGUAGE INFORMATION
The trap macro for theSIntRemovefunction 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
_SIntRemovereturns, register D0 contains the result code.
Registers on entry A0 address of the slot queue element D0 slot number
Registers on exit D0 Result code RESULT CODES
noErr 0 No error SEE ALSO
For a description of the slot interrupt queue element record, see "Slot Interrupt Queue Element" on page 2-28.