## Virtual Device Driver Reference for OS/2

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

### VDHArmSTIHook - Format

This function sets a handler to receive control when the current DOS session enables simulated interrupts. This handler is called only once. If interrupts are already enabled in the DOS session, the handler is called immediately.

    #include mvdm.h

    HHOOK    HookHandle;  /*  Hook handle allocated with VDHAllocHook */

    HVDM     VDMHandle;   /*  DOS session handle */

    VDHArmSTIHook(HookHandle, VDMHandle);