ReactOS 0.4.15-dev-8127-g6338913
colorspace.c File Reference
#include <precomp.h>
#include <debug.h>
Include dependency graph for colorspace.c:

Go to the source code of this file.

Macros

#define NDEBUG
 

Functions

BOOL WINAPI GetLogColorSpaceA (HCOLORSPACE a0, LPLOGCOLORSPACEA a1, DWORD a2)
 
BOOL WINAPI GetLogColorSpaceW (HCOLORSPACE a0, LPLOGCOLORSPACEW a1, DWORD a2)
 
BOOL WINAPI CheckColorsInGamut (HDC a0, LPVOID a1, LPVOID a2, DWORD a3)
 
BOOL WINAPI GetDeviceGammaRamp (HDC hdc, LPVOID lpGammaRamp)
 
BOOL WINAPI SetDeviceGammaRamp (HDC hdc, LPVOID lpGammaRamp)
 
BOOL WINAPI ColorMatchToTarget (HDC a0, HDC a1, DWORD a2)
 
BOOL WINAPI SetColorAdjustment (HDC hdc, CONST COLORADJUSTMENT *a1)
 

Macro Definition Documentation

◆ NDEBUG

#define NDEBUG

Definition at line 3 of file colorspace.c.

Function Documentation

◆ CheckColorsInGamut()

BOOL WINAPI CheckColorsInGamut ( HDC  a0,
LPVOID  a1,
LPVOID  a2,
DWORD  a3 
)

Definition at line 44 of file colorspace.c.

50{
53 return FALSE;
54}
#define UNIMPLEMENTED
Definition: debug.h:118
#define FALSE
Definition: types.h:117
#define ERROR_CALL_NOT_IMPLEMENTED
Definition: compat.h:102
#define SetLastError(x)
Definition: compat.h:752

◆ ColorMatchToTarget()

BOOL WINAPI ColorMatchToTarget ( HDC  a0,
HDC  a1,
DWORD  a2 
)

Definition at line 106 of file colorspace.c.

111{
114 return FALSE;
115}

◆ GetDeviceGammaRamp()

BOOL WINAPI GetDeviceGammaRamp ( HDC  hdc,
LPVOID  lpGammaRamp 
)

Definition at line 62 of file colorspace.c.

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}
#define NULL
Definition: types.h:112
#define ERROR_INVALID_PARAMETER
Definition: compat.h:101
unsigned int BOOL
Definition: ntddk_ex.h:94
HDC hdc
Definition: main.c:9
BOOL APIENTRY NtGdiGetDeviceGammaRamp(HDC hDC, LPVOID Ramp)
Definition: icm.c:126

◆ GetLogColorSpaceA()

BOOL WINAPI GetLogColorSpaceA ( HCOLORSPACE  a0,
LPLOGCOLORSPACEA  a1,
DWORD  a2 
)

Definition at line 11 of file colorspace.c.

◆ GetLogColorSpaceW()

BOOL WINAPI GetLogColorSpaceW ( HCOLORSPACE  a0,
LPLOGCOLORSPACEW  a1,
DWORD  a2 
)

Definition at line 28 of file colorspace.c.

◆ SetColorAdjustment()

BOOL WINAPI SetColorAdjustment ( HDC  hdc,
CONST COLORADJUSTMENT a1 
)

Definition at line 122 of file colorspace.c.

126{
129 return FALSE;
130}

◆ SetDeviceGammaRamp()

BOOL WINAPI SetDeviceGammaRamp ( HDC  hdc,
LPVOID  lpGammaRamp 
)

Definition at line 83 of file colorspace.c.

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}
__kernel_entry W32KAPI BOOL APIENTRY NtGdiSetDeviceGammaRamp(_In_ HDC hdc, _In_reads_bytes_(sizeof(GAMMARAMP)) LPVOID lpGammaRamp)