## Virtual Device Driver Reference for OS/2

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

### VDHGetCodePageFont

Select an item:

    Format
    Parameters
    Return Codes
    Purpose
    Glossary

This function returns the address of the code page font information, if code page support is active and a font is available for the given character cell dimensions.

    #include mvdm.h

    ULONG     CellWidth;    /*  Width of character cells, in pels */

    ULONG     CellHeight;   /*  Height of character cells, in pels */

    PPVOID    FontAddress;  /*  Address where font table addresses will be copied */

    ULONG     rc;

    rc = VDHGetCodePageFont(CellWidth, CellHeight,

           FontAddress);