EngGetType1FontList function (winddi.h)

The EngGetType1FontList function retrieves a list of PostScript Type 1 fonts that are installed both locally and remotely.

Syntax

ENGAPI BOOL EngGetType1FontList(
  [in]            HDEV          hdev,
  [out, optional] TYPE1_FONT    *pType1Buffer,
  [in]            ULONG         cjType1Buffer,
  [out]           PULONG        pulLocalFonts,
  [out]           PULONG        pulRemoteFonts,
  [out]           LARGE_INTEGER *pLastModified
);

Parameters

[in] hdev

Handle to the device. This is the GDI handle received by the driver as the hdev parameter for DrvCompletePDEV.

[out, optional] pType1Buffer

Pointer to an array of TYPE1_FONT structures in which to store the Type 1 font list. This parameter can be NULL.

[in] cjType1Buffer

Specifies the size, in bytes, of pType1Buffer.

[out] pulLocalFonts

Pointer to a memory location that receives the number of Type 1 fonts on the local system.

[out] pulRemoteFonts

Pointer to a memory location that receives the number of Type 1 fonts on the remote system.

[out] pLastModified

Pointer to a memory location that receives the time stamp corresponding to the last time a Type 1 font was added or removed from the local system.

Return value

EngGetType1FontList returns TRUE if it succeeds; otherwise, it returns FALSE.

Remarks

PostScript printer drivers can call EngGetType1FontList to obtain a list of Type 1 fonts available to them. These fonts can then be accessed through the handles returned in the TYPE1_FONT structure.

If pType1Buffer is NULL, EngGetType1FontList returns only the number of local and remote Type 1 fonts, as well as the time stamp corresponding to the last time a Type 1 font was added or removed locally from the system.

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

TYPE1_FONT