## Presentation Device Driver Reference for OS/2

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

### GreGetProcessControl - Syntax

Description

GreGetProcessControl returns the process control flags.

This function is supported by the graphics engine.

    #define INCL_GRE_DCS

    #include <os2.h>

    HDC      hdc;        /*  Device context handle. */

    PVOID    pInstance;  /*  Pointer to instance data. */

    ULONG    lFunction;  /*  High-order WORD=flags; low-order WORD=NGreGetProcessControl. */

    LONG     rc;         /*  Return codes. */

    rc = GreGetProcessControl(hdc, pInstance,

           lFunction);