Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Microsoft C 6.0 - <b>_dos_getvect() get the value of an interrupt vector</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 _dos_getvect()          Get the value of an interrupt vector

 #include   <dos.h>

  void (interrupt far *_dos_getvect(intnum));
  unsigned intnum;       Interrupt number

    _dos_getvect() uses MS-DOS function 35h to get the current value of
    the interrupt vector specified by 'intnum'. This vector is the
    address of an interrupt-handling routine, or of a table of such
    routines.

    Returns:    _dos_getvect() returns a far pointer to the current
                handler for the 'intnum' interrupt. If a NULL pointer is
                returned, no interrupt vector is currently assigned to
                'intnum'.

      Notes:    _dos_getvect() can be used to preserve an interrupt
                vector before setting it to a different value. It can
                also be used to see if the default vector has been
                changed.

   Portability:     MS-DOS only, version 2.0 or higher


See Also: _dos_setvect()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson