Getting Desktop Color Depth.

Started by
1 comment, last by Daishim 20 years, 4 months ago
I know this has been asked before, in fact I''m almost positive that it''s been asked many times... but every time I try to search for something the script keeps erroring out on me. So... I guess I''ll have to be another statistic. Is there a Win32 function for obtaining the color depth of the desktop? I''ve got the resolution via GetSystemMetrics(), but I can''t find anything that would pull the color depth. Thanks.
I know only that which I know, but I do not know what I know.

I know only that which I know, but I do not know what I know.
Advertisement
Call EnumDisplaySettings with the ENUM_CURRENT_SETTINGS or ENUM_REGISTRY_SETTINGS flag to get the resolution, bitdepth, display frequency, and a whole load of other info.
Wow, that is exactly what I''m looking for.

Thanks.


I know only that which I know, but I do not know what I know.

I know only that which I know, but I do not know what I know.

This topic is closed to new replies.

Advertisement