## Graphics Adapter Device Driver Reference

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

### VMI_CMD_TERMPROC - Syntax

Description:

VMI_CMD_TERMPROC informs VMAN that an existing client process is being terminated. VMAN cleans up all resources owned by this process. VMAN passes this command directly to the GRADD chain identified by the GRADD ID provided by the caller.

    #include <GRADD.h>

    GID      gid;         /*  ID of the GRADD. */

    ULONG    ulFunction;  /*  Set equal to VMI_CMD_TERMPROC. */

    PVOID    pIn;         /*  NULL. */

    PVOID    pOut;        /*  NULL. */

    ULONG    rc;          /*  Return codes. */

    rc = VMIENTRY(gid, ulFunction, pIn, pOut);