OEMQueryFont function (printoem.h)

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

Syntax

PIFIMETRICS OEMQueryFont(
  DHPDEV    dhpdev,
  ULONG_PTR iFile,
  ULONG     iFace,
  ULONG_PTR *pid
);

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.

Requirements

Requirement Value
Target Platform Windows
Header printoem.h (include Printoem.h)