## Presentation Device Driver Reference for OS/2

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

### GreNotifyTransformChange

Select an item:

    Syntax
    Parameters
    Returns
    Remarks
    Glossary

Simulation support:

None. This function is mandatory for all drivers.

Description:

GreNotifyTransformChange notifies the presentation driver of a change in the transform from world coordinates to device coordinates.

This function must be supported by the presentation driver.

    #define INCL_GRE_DEVMISC2

    #include <os2.h>

    HDC                     hdc;         /*  Device context handle. */

    ULONG                   flFlags;     /*  Flags. */

    PNOTIFYTRANSFORMDATA    pXformdata;  /*  Pointer to NOTIFYTRANSFORMDATA structure: */

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

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

    BOOL                    rc;          /*  Return Code. */

    rc = GreNotifyTransformChange(hdc, flFlags,

           pXformdata, pInstance, lFunction);