EngGetType1FontList

BOOL EngGetType1FontList(

    HDEV  hdev,
   TYPE1_FONT  *pType1Buffer,
   ULONG  cjType1Buffer,
   PULONG  pulLocalFonts,
   PULONG  pulRemoteFonts,
   LARGE_INTEGER  *pLastModified
  );

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

Parameters

hdev

Handle to the device for which Type 1 font information will be returned.

pType1Buffer

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

cjType1Buffer

Specifies the size, in bytes, of pType1Buffer.

pulLocalFonts

Address in which the number of Type 1 fonts on the local system will be written.

pulRemoteFonts

Address in which the number of Type 1 fonts on the remote system will be written.

pLastModified

Address in which the time stamp corresponding to the last time a Type 1 font was added or removed from the local system will be written.

Return Value

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

Comments

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.

See Also

TYPE1_FONT