EngComputeGlyphSet function

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

Syntax


FD_GLYPHSET* EngComputeGlyphSet(
  _In_ INT nCodePage,
  _In_ INT nFirstChar,
  _In_ INT cChars
);

Parameters

nCodePage [in]

Specifies the code page supported.

nFirstChar [in]

Specifies the character code of the first supported ANSI character.

cChars [in]

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

Target platform

Universal

Version

Available in Windows 2000 and later versions of the Windows operating systems.

Header

Winddi.h (include Winddi.h)

Library

Win32k.lib

DLL

Win32k.sys

See also

EngFreeMem
FD_GLYPHSET

 

 

Send comments about this topic to Microsoft

Show: