ReactOS 0.4.15-dev-7788-g1ad9096
xlateobj.h
Go to the documentation of this file.
1 /*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS kernel
4 * PURPOSE: XLATEOBJ structures and functions
5 * FILE: win32ss/gdi/eng/xlateobj.h
6 * PROGRAMER: Timo Kreuzer
7 *
8 */
9
10struct _EXLATEOBJ;
11
13typedef
16 _In_ struct _EXLATEOBJ *pexlo,
18
19typedef struct _EXLATEOBJ
20{
22
24
28
30
31 union
32 {
34 struct
35 {
42 };
43 };
45
47
53{
54 return ((PEXLATEOBJ)pxlo)->pfnXlate;
55}
56
57VOID
60 _Out_ PEXLATEOBJ pexlo,
61 _In_opt_ PPALETTE ppalSrc,
62 _In_opt_ PPALETTE ppalDst,
63 _In_ COLORREF crSrcBackColor,
64 _In_ COLORREF crDstBackColor,
65 _In_ COLORREF crDstForeColor);
66
67VOID
70 _Out_ PEXLATEOBJ pexlo,
71 _In_ PDC pdcSrc,
72 _In_ PDC pdcDst);
73
74VOID
77 _Out_ PEXLATEOBJ pexlo,
78 _In_ PPALETTE ppalDst,
79 _In_ COLORREF crBackgroundClr,
80 _In_ COLORREF crForegroundClr);
81
82VOID
85 _Inout_ PEXLATEOBJ pexlo);
86
ULONG(FASTCALL * PFN_XLATE)(XLATEOBJ *pxlo, ULONG ulColor)
Definition: DibLib.h:23
#define _Function_class_(x)
Definition: ms_sal.h:2946
#define _Notnull_
Definition: ms_sal.h:658
#define _Inout_
Definition: ms_sal.h:378
#define _Out_
Definition: ms_sal.h:345
#define _In_
Definition: ms_sal.h:308
#define _In_opt_
Definition: ms_sal.h:309
#define FASTCALL
Definition: nt_native.h:50
Definition: polytest.cpp:41
ULONG ulGreenShift
Definition: xlateobj.h:40
XLATEOBJ xlo
Definition: xlateobj.h:21
ULONG ulBlueMask
Definition: xlateobj.h:38
PPALETTE ppalDst
Definition: xlateobj.h:26
PPALETTE ppalSrc
Definition: xlateobj.h:25
ULONG ulGreenMask
Definition: xlateobj.h:37
ULONG ulBlueShift
Definition: xlateobj.h:41
ULONG ulRedMask
Definition: xlateobj.h:36
HANDLE hColorTransform
Definition: xlateobj.h:29
PFN_XLATE pfnXlate
Definition: xlateobj.h:23
PPALETTE ppalDstDc
Definition: xlateobj.h:27
ULONG ulRedShift
Definition: xlateobj.h:39
ULONG aulXlate[6]
Definition: xlateobj.h:33
#define NTAPI
Definition: typedefs.h:36
uint32_t ULONG
Definition: typedefs.h:59
#define FORCEINLINE
Definition: wdftypes.h:67
_In_ SURFOBJ _In_ CLIPOBJ _In_opt_ XLATEOBJ * pxlo
Definition: winddi.h:3416
DWORD COLORREF
Definition: windef.h:300
VOID NTAPI EXLATEOBJ_vInitSrcMonoXlate(_Out_ PEXLATEOBJ pexlo, _In_ PPALETTE ppalDst, _In_ COLORREF crBackgroundClr, _In_ COLORREF crForegroundClr)
VOID NTAPI EXLATEOBJ_vCleanup(_Inout_ PEXLATEOBJ pexlo)
Definition: xlateobj.c:649
_In_ ULONG iColor
Definition: xlateobj.h:17
EXLATEOBJ gexloTrivial
VOID NTAPI EXLATEOBJ_vInitXlateFromDCs(_Out_ PEXLATEOBJ pexlo, _In_ PDC pdcSrc, _In_ PDC pdcDst)
struct _EXLATEOBJ EXLATEOBJ
VOID NTAPI EXLATEOBJ_vInitialize(_Out_ PEXLATEOBJ pexlo, _In_opt_ PPALETTE ppalSrc, _In_opt_ PPALETTE ppalDst, _In_ COLORREF crSrcBackColor, _In_ COLORREF crDstBackColor, _In_ COLORREF crDstForeColor)
_Notnull_ FORCEINLINE PFN_XLATE XLATEOBJ_pfnXlate(_In_ XLATEOBJ *pxlo)
Definition: xlateobj.h:51
struct _EXLATEOBJ * PEXLATEOBJ