## Presentation Device Driver Reference for OS/2

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

### OS2_PM_DRV_ENABLE: Subfunction 0Bh - BeginCloseDC - Syntax

Description:

OS2_PM_DRV_ENABLE: BeginCloseDC is called to inform the presentation driver that the device context is being closed.

    #include <os2.h>

    ULONG    ulSubfunction;  /*  0Bh. */

    HDC      hdcParam1;

    PLONG    pParam2;        /*  A pointer (pInstance) to the DC instance data. */

    LONG     rc;             /*  Return codes. */

    rc = BeginCloseDC(ulSubfunction, hdcParam1,

           pParam2);