Font smoothing

2008-01-15 04:56:49 AM
How do I get information about font smoothing on the system,
if it is turned on and if so which type is active cleartype
or standard.
I can see it in the registry looking at these keys
HKEY_CURRENT_USER\Control Panel\Desktop\FontSmoothing
HKEY_CURRENT_USER\Control Panel\Desktop\FontSmoothingType
but maybe there is a function that I can call to get
the information ?
Thanks in advance