// Узнаём разрешающую способность экрана.
HPS Screen = WinGetScreenPS (HWND_DESKTOP);

ULONG HRes = 0; DevQueryCaps (GpiQueryDevice (Screen), CAPS_HORIZONTAL_FONT_RES, 1, &HRes);
ULONG VRes = 0; DevQueryCaps (GpiQueryDevice (Screen), CAPS_VERTICAL_FONT_RES,   1, &VRes);

WinReleasePS (Screen), Screen = NULLHANDLE;

