DGetNumGCTBits | 37
DGetNumGCTBits
(Windows NT, Windows 2000 full Windows NT 4.0 compatible mode)
Purpose Use
DGetNumGCTBits
to return the number of gamma
correction bits.
Syntax
DWORD DGetNumGCTBits (hdc, lpNumRedBits,
lpNumGreenBits, lpNumBlueBits)
Return value
DWORD –
zero (0) if function completed successfully;
otherwise, operating system error code.
Example This example returns the number of gamma correction bits.
#include <mdpcint.h>
{
HDC
hdc
DWORD
dwRetCode;
DWORD
NumRedBits, NumGreenBits, NumBlueBits;
dwRetCode = DGetNumGCTBits (hdc, &NumRedBits,
&NumGreenBits, &NumBlueBits);
return dwRetCode;
}
See also
DGetScreenDimensions, DGetNumGDIBits
Parameter Type
Name
Description
HDC
hdc
Handle to the display-
device context
DWORD FAR *
lpNumRedBits
lpNumGreenBits
lpNumBlueBits
Number of red GCT bits
Number of green GCT bits
Number of blue GCT bits
Содержание Dome DX/PCI
Страница 6: ......