OEMQueryFontData function (printoem.h)

The OEMQueryFontData function retrieves information about a realized font.

Syntax

LONG OEMQueryFontData(
        DHPDEV    dhpdev,
        FONTOBJ   *pfo,
        ULONG     iMode,
        HGLYPH    hg,
        GLYPHDATA *pgd,
  [out] PVOID     pv,
        ULONG     cjSize
);

Parameters

dhpdev

Defines the DHPDEV parameter dhpdev.

pfo

Defines the FONTOBJ parameter pfo.

iMode

Defines the ULONG parameter iMode.

hg

Defines the HGLYPH parameter hg.

pgd

Defines the GLYPHDATA parameter pgd.

[out] pv

Defines the PVOID parameter pv.

cjSize

Defines the ULONG parameter cjSize.

Return value

Returns a LONG value.

Requirements

Requirement Value
Target Platform Windows
Header printoem.h (include Printoem.h)