## Virtual Device Driver Reference for OS/2

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

### VDHArmReturnHook

Select an item:

    Format
    Parameters
    Return Codes
    Purpose
    Glossary

This function sets a service to receive control when an Interrupt Return ( IRET) or Far Return (RETF) instruction is executed in V86 mode or when VDHPopInt is executed.

    #include mvdm.h

    HHOOK    HookHandle;   /*  Hook handle */

    ULONG    RetHookType;  /*  Return hook type */

    BOOL     rc;

    rc = VDHArmReturnHook(HookHandle, RetHookType);