DrvUnloadFontFile function (winddi.h)

The DrvUnloadFontFile function informs a font driver that the specified font file is no longer needed.

Syntax

BOOL DrvUnloadFontFile(
  ULONG_PTR iFile
);

Parameters

iFile

Pointer to a driver-defined value that identifies the font file to be removed. The iFile parameter is the value returned by DrvLoadFontFile.

Return value

The return value is TRUE if the function is successful, and FALSE otherwise.

Remarks

The driver should delete all scratch files, unload all DLLs that were loaded, and free all allocated system resources at this time.

This function is required for font drivers.

Requirements

Requirement Value
Target Platform Desktop
Header winddi.h (include Winddi.h)

See also

DrvLoadFontFile