Gets the current value of the interrupt vector, using system call 0x35.
#include <dos.h>
void ( __cdecl __interrupt __far *_dos_getvect( unsigned intnum))();
intnum | Target interrupt vector |
The _dos_getvect routine uses system call 0x35 to get the current value of the interrupt vector specified by intnum.
This routine is typically used in conjunction with the _dos_setvect function. To replace an interrupt vector, first save the current vector of the interrupt using _dos_getvect. Then set the vector to your own interrupt routine with _dos_setvect. The saved vector can later be restored, if necessary, using _dos_setvect. The user-defined routine may also need the original vector in order to call that vector or chain to it with _chain_intr.
The function returns a far pointer for the intnum interrupt to the current handler, if there is one.
Standards:None
16-Bit:DOS, QWIN, WIN, WIN DLL
32-Bit:None