[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 DosGetExceptionHandler()      Get protected mode address of exception handler
------------------------------------------------------------------------------

 Function : Get the protected mode address of an exception handler

 Syntax   : USHORT BLXAPI DosGetExceptionHandler( USHORT exception,
            PEXCHAN far *handler);

 exception  Exception number (0-13).

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

 Return   : Address of the exception handler.

 DosGetExceptionHandler() returns the address of the current handler for the
 specified exception number.

 Example:

    #include <stdio.h>
    #include <blx286.h>
    void main(void)
    {
    EXCHAN   handler;
    /* Get current exception handler */
    if (DosGetExceptionHandler(0x0D, &handler) == 0)
       printf("Exception 13 handler : %Fp\n",handler);
    }

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