Previous Next

DrvGetTrueTypeFile

The DrvGetTrueTypeFile function accesses a memory-mapped TrueType font file.

PVOID
  DrvGetTrueTypeFile(
    IN ULONG_PTR  iFile,
    IN ULONG  *pcj
    );

Parameters

iFile
Pointer to a driver-defined value that identifies a driver's TrueType font file.
pcj
Pointer 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.

Headers

Declared in winddi.h. Include winddi.h.

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