## Virtual Device Driver Reference for OS/2

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

### VDHArmSTIHook - Parameters

HookHandle (HHOOK) Hook handle allocated with VDHAllocHook.

VDMHandle (HVDM) DOS session handle.

Hook routine interface:

     VOID HOOKENTRY fnarm(pRefData, pcrf)

          ENTRY    pRefData - Pointer to reference data

                   pcrf     - Pointer to client register frame

          EXIT     None

          USES     EAX, ECX, EDX, FS, GS, Flags

          CONTEXT  DOS session-task

Success If the function was successful, it returns nothing.

Failure If either HookHandle or VDMHandle is invalid, or if the hook is already armed, a system halt occurs.