## Presentation Device Driver Reference for OS/2

[prev][next][parent][TOC]

### GreDeviceSetAVIOFont - Parameters

hdc (HDC) - input The device context handle.

pLogFont (PFATTRS) - input A pointer to a logical font.

pFontDef (PBYTE) - input A pointer to a physical font data structure. When the value passed is 0, the handling routine must delete the loaded font corresponding to lLcid. If the high-order bit of the high-order WORD in lLcid is set, the handle is for a device font.

lcid (LONG) - input Local identifier value of -2, -3, or -4.

pInstance (PVOID) - input A pointer to instance data.

lFunction (ULONG) - input High-order WORD=flags; low-order WORD= NGreDeviceSetAVIOFont.

fSuccess (BOOL) - returns Return codes.

On completion, the handling routine must return BOOLEAN (fSuccess).

TRUE Successful. The font is acceptable for use with an AVIO presentation space.
FALSE Error.