EngFntCacheLookUp function (winddi.h)

The EngFntCacheLookUp function retrieves the address of cached font file data.

Syntax

ENGAPI PVOID EngFntCacheLookUp(
  [in]  ULONG FastCheckSum,
  [out] ULONG *pulSize
);

Parameters

[in] FastCheckSum

Specifies the checksum for the font.

[out] pulSize

Pointer to a memory location that receives the size, in bytes, of the data.

Return value

On success, this function returns a pointer to the cached data. Otherwise, it returns NULL.

Remarks

The font engine calls the font driver's DrvLoadFontFile entry point when a font file is first loaded. It is in this call that the font driver receives a value for FastCheckSum, which it subsequently uses when it calls this function.

Requirements

Requirement Value
Minimum supported client This function is available in Windows XP and later.
Target Platform Universal
Header winddi.h (include Winddi.h)
Library Win32k.lib
DLL Win32k.sys

See also

DrvLoadFontFile

EngFntCacheAlloc

EngFntCacheFault