To get the display bit (colour) depth on Windows, you can use: ---------------------------------------------------------------------------- HWND hDesktop = GetDesktopWindow(); HDC hdc = GetDC(hDesktop); int bpp = GetDeviceCaps(hdc, PLANES) * GetDeviceCaps(hdc, BITSPIXEL); ReleaseDC(hDesktop, hdc); ---------------------------------------------------------------------------- bpp will contain 16, 32 etc.