## Presentation Device Driver Reference for OS/2

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

### GreSetProcessControl

Select an item:

    Syntax
    Parameters
    Returns
    Remarks
    Glossary

Description

GreSetProcessControl provides a mechanism to control drawing, boundary computation, and correlation.

This function is supported by the graphics engine.

    #define INCL_GRE_DCS

    #include <os2.h>

    HDC      hdc;        /*  Device context handle. */

    ULONG    flMask;

    ULONG    flProcess;  /*  Indicates which process-control flags to set. */

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

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

    BOOL     fSuccess;   /*  Return codes. */

    fSuccess = GreSetProcessControl(hdc, flMask,

                 flProcess, pInstance, lFunction);