DrvFontManagement function (winddi.h)

The DrvFontManagement function is an optional entry point provided for PostScript devices.

Syntax

ULONG DrvFontManagement(
  [in]           SURFOBJ *pso,
  [in, optional] FONTOBJ *pfo,
  [in]           ULONG   iMode,
  [in]           ULONG   cjIn,
  [in]           PVOID   pvIn,
  [in]           ULONG   cjOut,
  [out]          PVOID   pvOut
);

Parameters

[in] pso

Pointer to a SURFOBJ structure.

[in, optional] pfo

Pointer to a FONTOBJ structure.

[in] iMode

Specifies the escape number to be performed. This must either be equal to QUERYESCSUPPORT (defined in wingdi.h), or in the range 0x100 through 0x3FE.

[in] cjIn

Specifies the size, in bytes, of the buffer pointed to by the pvIn parameter.

[in] pvIn

Pointer to an input buffer. If the iMode parameter is QUERYESCSUPPORT, pvIn points to a ULONG value in the range 0x100 through 0x3FE.

[in] cjOut

Specifies the size, in bytes, of the output buffer pointed to by the pvOut parameter.

[out] pvOut

Pointer to the output data buffer.

Return value

If this function is hooked by the device driver then GDI will pass calls made by an application to ExtEscape for escape numbers 0x100 through 0x3fe, or for the QUERYESCSUPPORT escape when the first DWORD pointed to by pvIn is in the range 0x100 through 0x3fe.

Requirements

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

See also

FONTOBJ

SURFOBJ