## Presentation Device Driver Reference for OS/2

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

### GreQueryEngineVersion

Select an item:

    Syntax
    Parameters
    Returns
    Glossary

Description

GreQueryEngineVersion returns the version number of the graphics engine.

This function is supported by the graphics engine.

    #define INCL_GRE_DCS

    #include <os2.h>

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

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

    LONG     rc;         /*  Return codes. */

    rc = GreQueryEngineVersion(pInstance, lFunction);