## Virtual Device Driver Reference for OS/2

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

### VDHArmTimerHook Parameter - VDMHandle

VDMHandle (HVDM) DOS session handle.

Possible values are:

DOS Session Handle or 0 When the specified time duration expires, a local context hook is automatically armed by using the specified HookHandle.

VDH_TIMER_GLOBAL_CONTEXT When the specified time duration expires, a global context hook is automatically armed by using the specified HookHandle.

VDH_TIMER_INTERRUPT_HOOK When the specified time duration expires, the timer hook specified by HookHandle is called at interrupt time.

Hook routine interface:

    VOID HOOKENTRY  pfn(pRefData)

         ENTRY      pRefData - Pointer to reference data

         EXIT       None

         CONTEXT    Interrupt

    Note:  This hook routine interface is for interrupt-type hooks only.

           For context-type hooks, see hook routine interface listed under

           VDHArmContextHook.