Description
GreCreateLogicalFont sets the local identifier (lcid) for a logical font.
This function is supported by the graphics engine.
#define INCL_GRE_FONTS #include <os2.h> HDC hdc; /* Device context handle. */ LONG lcid; /* Local identifier that is to be assigned to the font. */ PSTR8 pchName; /* Pointer. */ PFATTRS pAttrs; /* Pointer. */ PVOID pInstance; /* Pointer to instance data. */ ULONG lFunction; /* High-order WORD=flags; low-order WORD=NGreCreateLogicalFont. */ LONG rc; /* Return Codes. */ rc = GreCreateLogicalFont(hdc, lcid, pchName, pAttrs, pInstance, lFunction);