## Virtual Device Driver Reference for OS/2

[prev][next][parent][TOC]

### VDHRaiseException - Format

This function is used to raise an exception, which is reflected to a DOS session as if the exception were caused by the hardware.

    #include mvdm.h

    ULONG    Exception;  /*  An exception number */

    ULONG    ErrorCode;  /*  Error code for the exception */

    ULONG    ExtraCode;  /*  Extra error code */

    BOOL     rc;

    rc = VDHRaiseException(Exception, ErrorCode,

           ExtraCode);