How To Detect the Number of Colors Available in a DC
Article ID: 139202
Article Last Modified on 11/21/2006
APPLIES TO
- Microsoft Windows Software Development Kit 3.1
- Microsoft Win32 Application Programming Interface, when used with:
- Microsoft Windows NT Server 3.5
- Microsoft Windows NT Server 3.51
- Microsoft Windows NT Workstation 3.5
- Microsoft Windows NT Workstation 3.51
This article was previously published under Q139202
SUMMARY
When writing an application that uses the GDI, you may sometimes need to
detect how many colors are available in the current video mode.
Additional query words: 1.20 3.10 4.00 3.50 colorref rgb bpp
Keywords: kbhowto KB139202