#include "../win32nt.h"
#include <gditools.h>
Go to the source code of this file.
◆ DIBINDEX
◆ START_TEST()
Definition at line 342 of file NtGdiSetPixel.c.
343{
345 {
346 skip(
"GdiToolsInit failed\n");
347 return;
348 }
349
353}
static void Test_NtGdiSetPixel_32Bpp(void)
static void Test_NtGdiSetPixel_generic(void)
static void Test_NtGdiSetPixel_1Bpp(void)
◆ Test_NtGdiSetPixel_1Bpp()
| static void Test_NtGdiSetPixel_1Bpp |
( |
void |
| ) |
|
|
static |
Definition at line 96 of file NtGdiSetPixel.c.
97{
99
104
108
112
113
122
123
136
137
147
148
158
159
169
170
183
184
189
190
195
197
198
207
208
215
216
221
222
238
239
251
253
254
265
266
286}
#define ok_eq_hex(value, expected)
__kernel_entry W32KAPI COLORREF APIENTRY NtGdiSetPixel(_In_ HDC hdcDst, _In_ INT x, _In_ INT y, _In_ COLORREF crColor)
COLORREF WINAPI SetDCPenColor(_In_ HDC hdc, _In_ COLORREF crColor)
COLORREF WINAPI SetBkColor(_In_ HDC, _In_ COLORREF)
HPALETTE WINAPI SelectPalette(_In_ HDC, _In_ HPALETTE, _In_ BOOL)
#define PALETTERGB(r, g, b)
int WINAPI SetBkMode(_In_ HDC, _In_ int)
COLORREF WINAPI SetTextColor(_In_ HDC, _In_ COLORREF)
Referenced by START_TEST().
◆ Test_NtGdiSetPixel_32Bpp()
| static void Test_NtGdiSetPixel_32Bpp |
( |
void |
| ) |
|
|
static |
◆ Test_NtGdiSetPixel_generic()
| static void Test_NtGdiSetPixel_generic |
( |
void |
| ) |
|
|
static |
Definition at line 13 of file NtGdiSetPixel.c.
14{
16
17
22
23
28
29
35
36
39
40
56
57
66
67
76
77
79 XFORM xformOld, xform = { 0 };
81 xform.
eM11 = 1.5f; xform.
eM12 = 0.5f;
82 xform.
eM21 = -0.5f; xform.
eM22 = 1.0f;
83 xform.
eDx = 2.0f; xform.
eDy = 1.0f;
94}
#define ok_eq_ulong(value, expected)
#define _WIN32_WINNT_VISTA
DWORD WINAPI GetLastError(void)
int WINAPI SetGraphicsMode(_In_ HDC, _In_ int)
BOOL WINAPI SetWindowOrgEx(_In_ HDC, _In_ int, _In_ int, _Out_opt_ LPPOINT)
BOOL WINAPI SetViewportOrgEx(_In_ HDC, _In_ int, _In_ int, _Out_opt_ LPPOINT)
HDC WINAPI CreateCompatibleDC(_In_opt_ HDC hdc)
BOOL WINAPI GetWorldTransform(_In_ HDC, _Out_ LPXFORM)
BOOL WINAPI SetWorldTransform(_In_ HDC, _In_ const XFORM *)
Referenced by START_TEST().