EngMapFontFile

BOOL EngMapFontFile(

    ULONG iFile,

    PULONG *ppjBuf,

    ULONG *pcjBuf

   );

EngMapFontFile returns a pointer to the base location of the font data in a font file.

Parameters

iFile
Identifies the font file that contains the font data. This identifier is the same one sent to DrvLoadFontFile by the graphics engine.
ppjBuf
Pointer to a pointer in which the base address of the font data is returned.
pcjBuf
Pointer to a ULONG in which the font’s data size, in bytes, is returned.

Return Value

EngMapFontFile returns TRUE if it succeeds; otherwise, it returns FALSE.

Comments

Font drivers call this function when they need to access the raw font data in the file identified by iFile. If the font data has not yet been memory-mapped, EngMapFontFile loads the font into system memory before returning ppjBuf and pcjBuf to the driver.

See Also

DrvLoadFontFile