## Presentation Device Driver Reference for OS/2

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

### GreGetArcParameters

Select an item:

    Syntax
    Parameters
    Returns
    Glossary

Simulation support:

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

Description

GreGetArcParameters stores the current arc parameters in the buffer addressed by pArcParms.

This function can be hooked by the presentation driver.

    #define INCL_GRE_ARCS

    #include <os2.h>

    HDC           hdc;        /*  Device context handle. */

    PARCPARAMS    pArcParms;  /*  Pointer to ARCPARAMS structure. */

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

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

    BOOL          fSuccess;   /*  Return codes. */

    fSuccess = GreGetArcParameters(hdc, pArcParms,

                 pInstance, lFunction);