EngGetFilePath function (winddi.h)

The EngGetFilePath function determines the file path associated with the specified font file.

Syntax

ENGAPI BOOL EngGetFilePath(
  [in]  HANDLE                  h,
  [out] WCHAR(* )[MAX_PATH + 1] pDest
);

Parameters

[in] h

Handle to the font file.

[out] pDest

Pointer to a buffer that will contain the fully qualified path of the directory containing the font file. The buffer can contain at most MAX_PATH + 1 characters, including the terminating null character. The constant MAX_PATH is defined in windef.h.

Return value

EngGetFilePath returns TRUE if it succeeds in obtaining the file path of the font file. Otherwise, EngGetFilePath returns FALSE.

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

EngMapFontFileFD