GetDeviceCaps
This method retrieves a wide range of device-specific information about the display device.
int GetDeviceCaps( int nIndex )const
The value of the requested capability if the function is successful.
EX1
int DeviceContext_GetDeviceCaps_ex1() { Window wnd1 = GetWindow(); DeviceContext dc; dc = wnd1.GetDC(); int iRet = dc.GetDeviceCaps(0); out_int("Device version number is ", iRet); return 0; }
origin.h