Description
This function loads fonts from a resource file. All fonts in the file are private and are only available to the process that called this function.
This function is supported by the graphics engine.
#define INCL_GRE_FONTS
#include <os2.h>
PSZ pszFilename; /* Pointer. */
PVOID pInstance; /* Pointer to instance data. */
ULONG lFunction; /* High-order WORD=flags; low-order WORD=NGreLoadFont. */
BOOL fSuccess; /* Return codes. */
fSuccess = GreLoadFont(pszFilename, pInstance,
lFunction);