## Presentation Device Driver Reference for OS/2

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

### GreEscape DEVESC_VIDEOHIDDEN

Select an item:

    Syntax
    Parameters
    Returns
    Remarks
    Glossary

Simulation support:

None.

Description

GreEscape DEVESC_VIDEOHIDDEN is called by EnDIVE users to specify that the video is hidden whenever the video is completely occluded (for example, clipped out, minimized, and so on). This will give the driver a chance to turn off video acceleration if necessary.

    #define INCL_GRE_DEVICE

    #include <os2.h>

    HDC      hdc;         /*  Device context handle */

    LONG     ICODE;       /*  DEVESC_VIDEOHIDDEN escape code */

    LONG     lInCount;    /*  sizeof(ULONG) */

    PUCHAR   pbInData;    /*  fBlitterEnabled  (TRUE or FALSE) */

    PLONG    plOutCount;  /*  Zero  */

    PBYTE    pbOutData;   /*  Zero  */

    LONG     rc;          /*  Return Codes */

    rc = GreEscape(hdc, ICODE, lInCount, pbInData,

           plOutCount, pbOutData);