HOWTO: How to Determine If a Device Is Palette Capable (72387)
The information in this article applies to:
- Microsoft Windows Software Development Kit (SDK) 3.1
- Microsoft Win32 Application Programming Interface (API), when used with:
- Microsoft Windows NT Server 3.5
- Microsoft Windows NT Server 3.51
- Microsoft Windows NT Server 4.0
- Microsoft Windows NT Workstation 3.5
- Microsoft Windows NT Workstation 3.51
- Microsoft Windows NT Workstation 4.0
This article was previously published under Q72387 SUMMARY
On a device that supports the Windows palette management function, an
application can create a logical palette, select the palette into a
Device Context (DC), and realize the palette, which maps its colors
into the system (hardware) palette. The GetDeviceCaps() API informs
an application whether a given device is capable of performing palette
manipulation and, if so, the size of the palette. This article
discusses the GetDeviceCaps() API and how it is used.
Modification Type: | Minor | Last Reviewed: | 2/11/2005 |
---|
Keywords: | kbhowto KB72387 |
---|
|