PATH 
ADC Home > Documentation > Hardware > Device Managers and Drivers > PCI Card Services > Designing PCI Cards and Drivers for Power Macintosh Computers


  

GetInterruptFunctions

OSStatus GetInterruptFunctions (
                     InterruptSetID setID,
                     InterruptMemberNumber member,
                     void **refCon,
                     InterruptHandler *handlerFunction,
                     InterruptEnabler *enableFunction,
                     InterruptDisabler *disableFunction);
--> setID
Interrupt set ID of the IST member.
--> member
Member set ID of the IST member.
<-- refCon
Pointer to returned reference constant.
<-- handlerFunction
Pointer to returned interrupt handler.
<-- enableFunction
Pointer to returned interrupt enabler function.
<-- disableFunction
Pointer to returned interrupt disabler function.
DESCRIPTION

The GetInterruptFunctions function fetches interrupt control routines installed in an interrupt member. The caller passes the member set ID and the set member number in setID and member to uniquely identify the interrupt member in the tree.

Upon successful completion, GetInterruptFunctions returns the reference constant, the ISR, the IER, and the IDR to the caller.

EXECUTION CONTEXT

GetInterruptFunctions may be called only from task level, not from secondary or hardware interrupt level.

RESULT CODES
noErr 0 No error
paramErr -50 Bad parameter

© 1999 Apple Computer, Inc. – (Last Updated 26 March 99)