## Virtual Device Driver Reference for OS/2

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

### VDHKillVDM

Select an item:

    Format
    Parameters
    Return Codes
    Purpose
    Glossary

This function terminates the DOS session at the earliest opportunity. V86 code is no longer executed in the context of the terminated DOS session.

    #include mvdm.h

    HVDM    VDMHandle;  /*  Handle to the DOS session to terminate */

    VDHKillVDM(VDMHandle);