DrvGetTrueTypeFile

PVOID DrvGetTrueTypeFile(

    IN ULONG iFile,

    IN ULONG *pcj

   );

DrvGetTrueTypeFile accesses a memory-mapped TrueType font file.

Parameters

iFile
Identifies a driver TrueType font file.
pcj
Points to a ULONG value that specifies the size, in bytes, of the font file. This parameter cannot be null.

Return Value

The return value is a pointer to the memory-mapped TrueType font file if the function is successful. Otherwise, it is null.

Comments

This private entry point is provided by the TrueType driver to allow GDI efficient access to the memory-mapped TrueType font file.

DrvGetTrueTypeFile is required for TrueType font drivers.

See Also

DrvLoadFontFile