[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 DosGetRealVec()               Get real mode pointer to real mode interrupt handler
------------------------------------------------------------------------------

 Function : Get a real mode pointer to a real mode interrupt handler

 Syntax   : USHORT BLXAPI DosGetRealVec( USHORT intno,
            PINTHAN far *handler);

 intno      Interrupt number.

 handler    Pointer to a function pointer to receive the real mode address of
            the interrupt handler.

 Return   : Address of the interrupt handler.

 DosGetRealVec() returns the real mode address of the real mode interrupt
 handler for the specified interrupt number.

 Example:

    #include <stdio.h>
    #include <blx286.h>
    void main(void)
    {
    INTHAN handler;
    if (DosGetRealVec(0x21, &handler) == 0)
       {
       printf("Real mode Int 21 handler : %Fp\n",handler);
       }
    }

See Also: DosGetProtVec() DosSetRealVec()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson