FONTOBJ_pwszFontFilePaths function (winddi.h)

The FONTOBJ_pwszFontFilePaths function retrieves the file path(s) associated with a font.

Syntax

LPWSTR FONTOBJ_pwszFontFilePaths(
  FONTOBJ *pfo,
  ULONG   *pcwc
);

Parameters

pfo

Pointer to the FONTOBJ structure being queried.

pcwc

Pointer to the location in which GDI returns the number of Unicode characters, including terminating zeros, found in all the returned font file path strings.

Return value

FONTOBJ_pwszFontFilePaths returns a pointer to an array of font file path strings upon success. Each string is null terminated by a single Unicode zero. This function returns NULL upon failure or when the paths are not available for the specified font; that is, when the font is a temporary font added from a memory image.

Remarks

Printer drivers can call FONTOBJ_pwszFontFilePaths when they want to do their own file mapping. File mapping is performed by calling EngMapFile.

Typically, there is only one file per font. For example, a TrueType font has only one file, whereas Type 1 fonts might require two files (a .pfm and .pfb).

Requirements

Requirement Value
Minimum supported client Available in Windows 2000 and later versions of the Windows operating systems.
Target Platform Universal
Header winddi.h (include Winddi.h)
Library Win32k.lib
DLL Win32k.sys

See also

EngMapFile

FONTOBJ