## Presentation Device Driver Reference for OS/2

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

### GreBeginArea - Syntax

Simulation support:

This function is simulated by a handling routine in the graphics engine.

Description

GreBeginArea indicates the beginning of a set of drawing functions that define the boundary of an area. All of the boundaries of the area are considered to be part of the interior and are filled.

This function can be hooked by the presentation driver.

    #define INCL_GRE_PATHS

    #include <os2.h>

    HDC      hdc;        /*  Device context handle. */

    ULONG    flOptions;

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

    ULONG    lFunction;

    BOOL     fSuccess;

    fSuccess = GreBeginArea(hdc, flOptions, pInstance,

                 lFunction);