## Presentation Device Driver Reference for OS/2

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

### OS2_PM_DRV_ENABLE: Subfunction 07h - SaveDCState

Select an item:

    Syntax
    Parameters
    Returns
    Remarks
    Glossary

OS2_PM_DRV_ENABLE: SaveDCState requests the presentation driver to save all the information that it has about the device context.

    #include <os2.h>

    ULONG     ulSubfunction;  /*  07h. */

    PULONG    pParam1;

    PLONG     pParam2;        /*  Not used. */

    LONG      rc;             /*  Return codes. */

    rc = SaveDCState(ulSubfunction, pParam1, pParam2);