Dgetpalettetypemm - Planar DX/PCI User Manual

Display controller
Hide thumbs Also See for DX/PCI:
Table of Contents

Advertisement

46 | DGetPaletteTypeMM

DGetPaletteTypeMM

(Windows 2000, multi-monitor mode only)
Purpose Use
the Windows 2000 display.
Syntax
DGetPaletteTypeMM (hdc, nDisplay, lppalType)
Return value Zero (0) if successful; otherwise, an error message.
Example This example returns the palette type of the display.
#include <mdpcint.h> /* has PALTYPE definitions */
{
HDC
UWORD
DWORD
UWORD
dwRetCode = DGetPaletteTypeMM (NULL,
return dwRetCode;
}
DGetPaletteTypeMM
Parameter Type
Name
HDC
hdc
UWORD
nDisplay
UWORD FAR
*palType
hdc;
nDisplay = (UWORD) Win2000DisplayNum |
WIN2K_DISPLAY_NUMBER;
dwRetCode;
palType;
nDisplay, &palType);
to return the palette type of
Description
Handle to the display-device
context
Target display
Palette type of display; on
successful return, it contains
one of these values:
• PALTYPE_PSEUDOCOLOR
• PALTYPE_DYNAMIC_GRAY
• PALTYPE_STATIC_GRAY
•PALTYPE_NONLINEAR_
STATIC_GRAY
• PALTYPE_TRUECOLOR

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dome m2/pciRx/pciDome dx/pciDome rx/pci

Table of Contents