## Virtual Device Driver Reference for OS/2

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

### VDHPopup - Format

This function displays a message according to the Message ID, and gets a response from the user.

    #include mvdm.h

    PSZ       ParmTable;    /*  Pointer to a table of substitution strings */

    ULONG     StrCount;     /*  Number of substitution strings */

    ULONG     MsgNumber;    /*  Message number */

    PULONG    RespPtr;      /*  Pointer to a DD to receive the response */

    ULONG     RespAllowed;  /*  Bit field describing the allowed responses */

    PVOID     Reserved;     /*  Reserved; must be set to NULL */

    BOOL      rc;

    rc = VDHPopup(ParmTable, StrCount, MsgNumber,

           RespPtr, RespAllowed, Reserved);