Simulation support:
None. This function is mandatory for all drivers.
Description:
GreGetPairKerningTable stores the kerning pairs of the current font to the buffer addressed by pKernPairs.
This function must be supported by the presentation driver. The call parameters are passed unchanged to the display driver's dispatch table. GreGetPairKerningTable is called from GpiQueryKerningPairs. GreGetPairKerningTable is used to return the kerning data for the currently selected font. This function can be handled by bit-map simulation.
#define INCL_GRE_DEVMISC1 #include <os2.h> HDC hdc; /* Device context handle. */ LONG cKernPairs; /* Number of kerning pairs requested by the application. */ PKERNPAIRS pKernPairs; /* Pointer to kerning pair records. */ PVOID pInstance; /* Pointer to instance data. */ ULONG lFunction; /* High-order WORD=flags;. low-order WORD=NGreGetPairKerningTable. */ LONG rc; /* Return Code. */ rc = GreGetPairKerningTable(hdc, cKernPairs, pKernPairs, pInstance, lFunction);