hdc (HDC) - input
cmdCommand (ULONG) - input
Valid commands are:
RF_DEVICE_FONT
pLogFont (PFATTRS) - input
The initial value of cmdCommand determines the nature of this parameter:
RF_DEVICE_FONT
pFont (PULONG) - input
The initial value of cmdCommand determines the nature of this parameter:
RF_DEVICE_FONT
pInstance (PVOID) - input
lFunction (ULONG) - input
rc (ULONG) - returns
The value returned by this function depends on whether the presentation driver is requested to realize or to delete the font. When realizing or loading a font, the handling routine must return a 32-bit logical font handle (GPI_ALTERROR), or 0 if the match (or load) was unsuccessful.
When deleting a font, the handling routine must return:
GPI_OK
PMERR_COORDINATE_OVERFLOW PMERR_DEV_FUNC_NOT_INSTALLED
PMERR_HDC_BUSY
PMERR_INV_COORD_SPACE
PMERR_INV_HDC
PMERR_INV_LENGTH_OR_COUNT