## Virtual Device Driver Reference for OS/2

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

### VDHInstallIntHook - Format

This function sets a handler for a V86 interrupt. The virtual device driver 's interrupt handler gets control after any subsequently hooked DOS interrupt handlers.

    #include mvdm.h

    ULONG      Reserved;    /*  Reserved; must be set to 0 */

    ULONG      Vector;      /*  Number of the interrupt vector to hook */

    PFNHOOK    HookFcn;     /*  Address of the hook routine */

    FLAGS      OptionFlag;  /*  Interface options flag */

    BOOL       rc;

    rc = VDHInstallIntHook(Reserved, Vector, HookFcn,

           OptionFlag);