Gets the size of a desktop workspace
RECT rcMax; SystemParametersInfo(SPI_GETWORKAREA, NULL, (PVOID)&rcMax, 0);