FONTOBJ_pjOpenTypeTablePointer function (winddi.h)

The FONTOBJ_pjOpenTypeTablePointer function returns a pointer to a view of an OpenType table.

Syntax

PBYTE FONTOBJ_pjOpenTypeTablePointer(
  FONTOBJ *pfo,
  ULONG   ulTag,
  ULONG   *pcjTable
);

Parameters

pfo

Pointer to the FONTOBJ that identifies the font whose OpenType table is being queried.

ulTag

Identifies the font table whose pointer is to be returned.

pcjTable

Pointer to the location in which GDI returns the size in bytes of the table being queried.

Return value

FONTOBJ_pjOpenTypeTablePointer returns a pointer to a view of the OpenType table. A return value of NULL indicates that the requested table is not present in this font.

Remarks

FONTOBJ_pjOpenTypeTablePointer can be called by printer drivers that can download OpenType fonts or parts of OpenType fonts to the printer.

The pointer to a table returned by FONTOBJ_pjOpenTypeTablePointer is guaranteed to be valid only during the scope of the DrvTextOut call to which pfo is passed as a parameter.

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

DrvTextOut

FONTOBJ