ReactOS  0.4.15-dev-1197-g8081ba9
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  */
9 BOOL
10 WINAPI
12  HCOLORSPACE a0,
14  DWORD a2
15 )
16 {
19  return FALSE;
20 }
21 
22 
23 /*
24  * @unimplemented
25  */
26 BOOL
27 WINAPI
29  HCOLORSPACE a0,
31  DWORD a2
32 )
33 {
36  return FALSE;
37 }
38 
39 /*
40  * @unimplemented
41  */
42 BOOL
43 WINAPI
45  HDC a0,
46  LPVOID a1,
47  LPVOID a2,
48  DWORD a3
49 )
50 {
53  return FALSE;
54 }
55 
56 
57 /*
58  * @implemented
59  */
60 BOOL
61 WINAPI
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  */
81 BOOL
82 WINAPI
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  */
104 BOOL
105 WINAPI
107  HDC a0,
108  HDC a1,
109  DWORD a2
110 )
111 {
114  return FALSE;
115 }
116 
117 /*
118  * @unimplemented
119  */
120 BOOL
121 WINAPI
123  HDC hdc,
125 )
126 {
129  return FALSE;
130 }
#define ERROR_INVALID_PARAMETER
Definition: compat.h:101
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)
static HDC
Definition: imagelist.c:92
#define FALSE
Definition: types.h:117
unsigned int BOOL
Definition: ntddk_ex.h:94
BOOL WINAPI SetColorAdjustment(HDC hdc, CONST COLORADJUSTMENT *a1)
Definition: colorspace.c:122
smooth NULL
Definition: ftsmooth.c:416
BOOL WINAPI GetLogColorSpaceW(HCOLORSPACE a0, LPLOGCOLORSPACEW a1, DWORD a2)
Definition: colorspace.c:28
BOOL WINAPI GetDeviceGammaRamp(HDC hdc, LPVOID lpGammaRamp)
Definition: colorspace.c:62
BOOL WINAPI ColorMatchToTarget(HDC a0, HDC a1, DWORD a2)
Definition: colorspace.c:106
static const struct update_accum a2
Definition: msg.c:586
#define WINAPI
Definition: msvc.h:6
unsigned long DWORD
Definition: ntddk_ex.h:95
#define SetLastError(x)
Definition: compat.h:500
HDC hdc
Definition: main.c:9
BOOL WINAPI CheckColorsInGamut(HDC a0, LPVOID a1, LPVOID a2, DWORD a3)
Definition: colorspace.c:44
BOOL WINAPI GetLogColorSpaceA(HCOLORSPACE a0, LPLOGCOLORSPACEA a1, DWORD a2)
Definition: colorspace.c:11
BOOL APIENTRY NtGdiGetDeviceGammaRamp(HDC hDC, LPVOID Ramp)
Definition: icm.c:126
#define ERROR_CALL_NOT_IMPLEMENTED
Definition: compat.h:102
#define UNIMPLEMENTED
Definition: debug.h:115
BOOL WINAPI SetDeviceGammaRamp(HDC hdc, LPVOID lpGammaRamp)
Definition: colorspace.c:83
static const struct update_accum a1
Definition: msg.c:578
#define CONST
Definition: pedump.c:81