## Graphics Adapter Device Driver Reference

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

### GreEscape DEVESC_QUERYDRIVERCAPS

Select an item:

    Syntax
    Parameters
    Returns
    Glossary

Simulation support:

This function is optional for display drivers and has no simulation support .

Description:

GreEscape DEVESC_QUERYDRIVERCAPS returns the capabilities descriptions. The values for each capability are not yet allocated and are queried later. The #define DEVESC_QUERYDRIVERCAPS (4010L) is defined in SVGADEFS.H.

    #define INCL_GRE_DEVICE

    #include <GRADD.h>

    HDC      hdc;         /*  A handle to the device context. */

    LONG     lCode;       /*  DEVESC_QUERYDRIVERCAPS */

    LONG     lInCount;    /*  Not used. */

    PBYTE    pbInData;    /*  Not used. */

    PLONG    plOutCount;  /*  The number of bytes of data pointed to by pbOutData. */

    PBYTE    pbOutData;   /*  The address of a buffer that will contain a ULONG variable specifying the number of capabilities. */

    LONG     rc;          /*  Return Code. */

    rc = GreEscape(hdc, lCode, lInCount, pbInData,

           plOutCount, pbOutData);