OEMQueryFont - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// printoem.h

PIFIMETRICS OEMQueryFont(
  DHPDEV    dhpdev,
  ULONG_PTR iFile,
  ULONG     iFace,
  ULONG_PTR *pid
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-printoem-oemqueryfont)

Description

The OEMQueryFont function is used by GDI to get the IFIMETRICS structure for a given font.

Parameters

dhpdev

Defines the DHPDEV parameter dhpdev.

iFile

Defines the ULONG_PTR parameter iFile.

iFace

Defines the ULONG parameter iFace.

pid

Defines the ULONG_PTR parameter pid.

Return value

Returns a PIFIMETRICS value.