## Presentation Device Driver Reference for OS/2

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

### GreEscape DEVESC_DBE_FONTMANAGEMENT

Select an item:

    Syntax
    Parameters
    Returns
    Remarks
    Glossary

Simulation support: NONE

This function is mandatory for display drivers supporting the Double-Byte Character Set (DBCS). For other drivers, DEVESC_NOTIMPLEMENTED should be returned.

Description

GreEscape DEVESC_DBE_FONTMANAGEMENT is the entry point to sub-functions to support DBCS device font.

    #define INCL_GRE_DEVICE

    #include <os2.h>

    HDC      hdc;         /*  Device context handle. */

    LONG     lEscape;     /*  DEVESC_DBE_FONTMANAGEMENT (24450) escape code. */

    LONG     cInCount;    /*  The number of bytes pointed to by pInData. */

    PBYTE    pInData;     /*  Pointer to the FONTMGRPARM structure. */

    PLONG    pcOutCount;  /*  The handling routine ignores this parameter. */

    PLONG    pOutData;

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

    ULONG    lFunction;

    LONG     rc;          /*  Return Code. */

    rc = GreEscape(hdc, lEscape, cInCount, pInData,

           pcOutCount, pOutData, pInstance, lFunction);