unsigned get_font_unicode_ranges(handle device, glyph_set* ranges)
This function obtains information about the ranges supported by a unicode font.
The handle of the device context whose current font is being queried.
A pointer to a buffer to hold the glyph set. If this parameter is null, a pointer to the internal structure for the font is returned.
If the parameter ranges is zero the value returned is the required buffer size. If the parameter ranges is non-zero the value returned is the number of bytes written to the buffer. If the function fails, zero is returned.