FONTOBJ_cGetAllGlyphHandles

ULONG FONTOBJ_cGetAllGlyphHandles(

    IN FONTOBJ *pfo,

    OUT HGLYPH *phg

   );

FONTOBJ_cGetAllGlyphHandles allows the device driver to find every glyph handle of a GDI font. A driver uses this service to download an entire font.

Parameters

pfo
Points to the FONTOBJ that is to be downloaded.
phg
Points to a buffer large enough to hold all the glyph handles in the font. This parameter can be null.

Return Value

The return value is the number of glyph handles supported by the font.

Comments

The driver must provide a buffer large enough to contain the output. GDI copies all glyph handles belonging to the associated font to this buffer.

The number of glyphs in the font can be determined by calling FONTOBJ_vGetInfo, or by calling FONTOBJ_cGetAllGlyphHandles with the phg parameter set to null.

See Also

FONTOBJ