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.
Getting Desktop Color Depth.
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.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement