Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Blinker 5.10 Online Reference - <b> dossetrealvec()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 DosSetRealVec()
------------------------------------------------------------------------------
 Purpose:
 Install a real mode interrupt handler.

 Syntax:
 USHORT BLXAPI DosSetRealVec(USHORT intno,
                             REALPTR newhandler,
                             REALPTR __far *prevhandler);

 Parameters:
 intno        Interrupt number.
 newhandler   Pointer to new handler.
 prevhandler  Pointer to a function pointer to receive the address of the
              previous interrupt handler.

 Returns:
 Address of the previous interrupt handler.

 Description:
 DosSetRealVec() sets the pointer for the specified real mode interrupt in
 the real mode interrupt vector table. DosSetRealVec() also returns a pointer
 to the previous interrupt handler.

 An example of how to use this function can be found in the files INTMAIN.C,
 INTHAND.ASM and INTMAIN.LNK in the C subdirectory of the Blinker
 installation directory.

 Example:
 See INTMAIN.C

See Also: DosGetRealVec() DosGetRealProtVec() DosSetProtVec()

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