Screen color resolution

Hi all,
How do I get the screen color resolution
256 colors/ 16bit/24 bit /32 bit color??
I prefer an answer that uses directshow interface but its not neccary.
donnerjackAsked:
Who is Participating?
 
WynCommented:
And try:

SystemParametersInfo()
0
 
WynCommented:
And you can use Registry.

continue
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
ShaunWildeCommented:
you may also wish to look at EnumDisplaySettings API
0
 
WynCommented:
Try use:

GetSystemMetrics()
0
 
WynCommented:
And
0
 
WynCommented:
Yes,ShaunWilde's comment is right.
0
 
WynCommented:
Sorry ShaunWilder for rashness:)
0
 
WynCommented:
Sorry ShaunWilder for my rashness:)
0
 
WynCommented:
?
Blush to get this.
Thanks
0
 
ShaunWildeCommented:
ah well - to the winner the spoils
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.