EngComputeGlyphSet function (winddi.h)

The EngComputeGlyphSet function computes the glyph set supported on a device.

Syntax

ENGAPI FD_GLYPHSET * EngComputeGlyphSet(
  [in] INT nCodePage,
  [in] INT nFirstChar,
  [in] INT cChars
);

Parameters

[in] nCodePage

Specifies the code page supported.

[in] nFirstChar

Specifies the character code of the first supported ANSI character.

[in] cChars

Specifies the number of ANSI characters supported.

Return value

If the glyph set is computed successfully, the function returns a pointer to an FD_GLYPHSET structure. If an error occurs, the function returns NULL.

Remarks

A driver can use EngComputeGlyphSet to compute the glyph set for a font that contains only glyphs in the code page described by nCodePage.

The driver must call EngFreeMem to free memory when it is done using the FD_GLYPHSET structure returned by EngComputeGlyphSet.

Requirements

   
Minimum supported client Available in Windows 2000 and later versions of the Windows operating systems.
Target Platform Universal
Header winddi.h (include Winddi.h)
Library Win32k.lib
DLL Win32k.sys

See also

EngFreeMem

FD_GLYPHSET