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

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

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

 intno      Interrupt number.

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

 Return   : Address of the interrupt handler.

 DosGetProtVec() returns the protected mode address of the protected mode
 interrupt handler for the specified interrupt number.

 Example:

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

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