## Virtual Device Driver Reference for OS/2

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

### VDHArmTimerHook - Format

This function sets a timer handler to be called after a specified period of time has elapsed. The handler is called only once.

    #include mvdm.h

    HHOOK    HookHandle;  /*  Timer hook handle */

    ULONG    Duration;    /*  Duration of the timeout in milliseconds */

    HVDM     VDMHandle;   /*  DOS session handle */

    VDHArmTimerHook(HookHandle, Duration, VDMHandle);