## Presentation Device Driver Reference for OS/2

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

### GreScrollRect

Select an item:

    Syntax
    Parameters
    Returns
    Remarks
    Glossary

Simulation support:

This function is mandatory for display drivers. For other drivers, it is simulated by a handling routine in the graphics engine.

Description:

GreScrollRect scrolls the contents of the LVB through the DC.

    #define INCL_AVIOP

    #include <os2.h>

    HDC                       hdc;           /*  The device context handle. */

    VioPresentationSpace     *pVioPS;        /*  A pointer to the Vio presentation space. */

    LPScrollRectRef           paScrollRect;

    PVOID                     pInstance;     /*  A pointer to instance data. */

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

    LONG                      rc;            /*  Return codes. */

    rc = GreScrollRect(hdc, pVioPS, paScrollRect,

           pInstance, lFunction);