## Presentation Device Driver Reference for OS/2

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

### GreQueryCodePageVector - Syntax

Description

GreQueryCodePageVector returns a pointer to a vector of 256 WORDs, which is the code point to the glyph mapping number.

This function is supported by the graphics engine.

    #define INCL_GRE_FONTS

    #include <os2.h>

    ULONG      ulCodePage;  /*  Code page number. */

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

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

    PUSHORT    rc;          /*  Return codes. */

    rc = GreQueryCodePageVector(ulCodePage, pInstance,

           lFunction);