ReactOS 0.4.16-dev-306-g647d351
colorspace.c
Go to the documentation of this file.
1#include <precomp.h>
2
3#define NDEBUG
4#include <debug.h>
5
6/*
7 * @unimplemented
8 */
12 HCOLORSPACE a0,
14 DWORD a2
15)
16{
19 return FALSE;
20}
21
22
23/*
24 * @unimplemented
25 */
26BOOL
29 HCOLORSPACE a0,
31 DWORD a2
32)
33{
36 return FALSE;
37}
38
39/*
40 * @unimplemented
41 */
42BOOL
45 HDC a0,
46 LPVOID a1,
47 LPVOID a2,
48 DWORD a3
49)
50{
53 return FALSE;
54}
55
56
57/*
58 * @implemented
59 */
60BOOL
63 LPVOID lpGammaRamp)
64{
65 BOOL retValue = FALSE;
66 if (lpGammaRamp == NULL)
67 {
69 }
70 else
71 {
72 retValue = NtGdiGetDeviceGammaRamp(hdc,lpGammaRamp);
73 }
74
75 return retValue;
76}
77
78/*
79 * @implemented
80 */
81BOOL
84 LPVOID lpGammaRamp)
85{
86 BOOL retValue = FALSE;
87
88 if (lpGammaRamp)
89 {
90 retValue = NtGdiSetDeviceGammaRamp(hdc, lpGammaRamp);
91 }
92 else
93 {
95 }
96
97 return retValue;
98}
99
100
101/*
102 * @unimplemented
103 */
104BOOL
105WINAPI
107 HDC a0,
108 HDC a1,
109 DWORD a2
110)
111{
114 return FALSE;
115}
116
117/*
118 * @unimplemented
119 */
120BOOL
121WINAPI
123 HDC hdc,
125)
126{
129 return FALSE;
130}
#define UNIMPLEMENTED
Definition: ntoskrnl.c:15
BOOL WINAPI CheckColorsInGamut(HDC a0, LPVOID a1, LPVOID a2, DWORD a3)
Definition: colorspace.c:44
BOOL WINAPI GetLogColorSpaceW(HCOLORSPACE a0, LPLOGCOLORSPACEW a1, DWORD a2)
Definition: colorspace.c:28
BOOL WINAPI ColorMatchToTarget(HDC a0, HDC a1, DWORD a2)
Definition: colorspace.c:106
BOOL WINAPI SetColorAdjustment(HDC hdc, CONST COLORADJUSTMENT *a1)
Definition: colorspace.c:122
BOOL WINAPI GetLogColorSpaceA(HCOLORSPACE a0, LPLOGCOLORSPACEA a1, DWORD a2)
Definition: colorspace.c:11
BOOL WINAPI SetDeviceGammaRamp(HDC hdc, LPVOID lpGammaRamp)
Definition: colorspace.c:83
BOOL WINAPI GetDeviceGammaRamp(HDC hdc, LPVOID lpGammaRamp)
Definition: colorspace.c:62
#define NULL
Definition: types.h:112
#define FALSE
Definition: types.h:117
#define ERROR_CALL_NOT_IMPLEMENTED
Definition: compat.h:102
#define ERROR_INVALID_PARAMETER
Definition: compat.h:101
#define SetLastError(x)
Definition: compat.h:752
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
HDC hdc
Definition: main.c:9
static HDC
Definition: imagelist.c:88
static const struct update_accum a1
Definition: msg.c:578
static const struct update_accum a2
Definition: msg.c:586
static const struct update_accum a3
Definition: msg.c:600
__kernel_entry W32KAPI BOOL APIENTRY NtGdiSetDeviceGammaRamp(_In_ HDC hdc, _In_reads_bytes_(sizeof(GAMMARAMP)) LPVOID lpGammaRamp)
#define CONST
Definition: pedump.c:81
BOOL APIENTRY NtGdiGetDeviceGammaRamp(HDC hDC, LPVOID Ramp)
Definition: icm.c:126
#define WINAPI
Definition: msvc.h:6