[GDI32_APITEST] Add a PCH.

This commit is contained in:
Amine Khaldi 2017-12-02 21:00:06 +01:00
parent c2bdad2981
commit aee83c359c
74 changed files with 106 additions and 307 deletions

View file

@ -9,10 +9,7 @@
* Captured from firefox, embedded on reactos.org * Captured from firefox, embedded on reactos.org
*/ */
#include "precomp.h"
#include <apitest.h>
#include <wingdi.h>
#include <winuser.h>
typedef struct _fnt_res typedef struct _fnt_res
{ {

View file

@ -5,9 +5,7 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <stdio.h> #include "precomp.h"
#include <apitest.h>
#include <wingdi.h>
#define COUNT 26 #define COUNT 26

View file

@ -5,9 +5,7 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
void Test_AddFontResourceExW() void Test_AddFontResourceExW()
{ {

View file

@ -5,9 +5,7 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
void Test_BeginPath() void Test_BeginPath()
{ {

View file

@ -73,10 +73,11 @@ list(APPEND SOURCE
SetWindowExtEx.c SetWindowExtEx.c
SetWorldTransform.c SetWorldTransform.c
init.c init.c
testlist.c) precomp.h)
add_executable(gdi32_apitest ${SOURCE} resource.rc) add_executable(gdi32_apitest ${SOURCE} testlist.c resource.rc)
target_link_libraries(gdi32_apitest ${PSEH_LIB} win32ksys) target_link_libraries(gdi32_apitest ${PSEH_LIB} win32ksys)
set_module_type(gdi32_apitest win32cui) set_module_type(gdi32_apitest win32cui)
add_importlibs(gdi32_apitest gdi32 user32 msvcrt kernel32 ntdll) add_importlibs(gdi32_apitest gdi32 user32 msvcrt kernel32 ntdll)
add_pch(gdi32_apitest precomp.h SOURCE)
add_rostests_file(TARGET gdi32_apitest) add_rostests_file(TARGET gdi32_apitest)

View file

@ -5,8 +5,7 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <windows.h>
typedef struct _RECT_TEST typedef struct _RECT_TEST
{ {

View file

@ -5,10 +5,7 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
#include <winddi.h>
typedef union typedef union
{ {

View file

@ -5,11 +5,7 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
#define DEFAULT_BITMAP 21
void Test_CreateBitmap_Params() void Test_CreateBitmap_Params()
{ {

View file

@ -5,9 +5,7 @@
* PROGRAMMERS: Magnus Olsen * PROGRAMMERS: Magnus Olsen
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
void Test_CreateBitmapIndirect() void Test_CreateBitmapIndirect()
{ {

View file

@ -5,10 +5,7 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
#include <winuser.h>
void Test_CreateCompatibleDC() void Test_CreateCompatibleDC()
{ {

View file

@ -5,9 +5,8 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
#include "init.h" #include "init.h"
/* New color use parameter. See support.microsoft.com/kb/kbview/108497 */ /* New color use parameter. See support.microsoft.com/kb/kbview/108497 */

View file

@ -5,10 +5,7 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
#include <winuser.h>
#include "init.h" #include "init.h"

View file

@ -5,9 +5,7 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
#define INVALIDFONT "ThisFontDoesNotExist" #define INVALIDFONT "ThisFontDoesNotExist"

View file

@ -6,8 +6,7 @@
* Katayama Hirofumi MZ * Katayama Hirofumi MZ
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
#define trace_if(val, msg) do { if (!(val)) trace(msg); } while (0) #define trace_if(val, msg) do { if (!(val)) trace(msg); } while (0)

View file

@ -1,9 +1,5 @@
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
#include <winuser.h>
// FIXME user32 // FIXME user32
@ -204,5 +200,3 @@ START_TEST(CreateIconIndirect)
ok(iconinfo2.hbmColor == NULL, "\n"); ok(iconinfo2.hbmColor == NULL, "\n");
} }

View file

@ -5,12 +5,7 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
#include <winddi.h>
#include <include/ntgdityp.h>
#include <include/ntgdihdl.h>
void Test_CreatePen() void Test_CreatePen()
{ {

View file

@ -5,7 +5,7 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
void Test_CreateRectRgn() void Test_CreateRectRgn()
{ {
@ -16,4 +16,3 @@ START_TEST(CreateRectRgn)
{ {
Test_CreateRectRgn(); Test_CreateRectRgn();
} }

View file

@ -5,10 +5,7 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
#include <winuser.h>
void Test_DPtoLP_Params() void Test_DPtoLP_Params()
{ {

View file

@ -5,10 +5,7 @@
* PROGRAMMERS: Magnus Olsen * PROGRAMMERS: Magnus Olsen
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
#include <winddi.h>
void Test_EngAcquireSemaphore() void Test_EngAcquireSemaphore()
{ {

View file

@ -5,10 +5,7 @@
* PROGRAMMERS: Magnus Olsen * PROGRAMMERS: Magnus Olsen
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
#include <winddi.h>
void Test_EngCreateSemaphore() void Test_EngCreateSemaphore()
{ {

View file

@ -5,10 +5,7 @@
* PROGRAMMERS: Magnus Olsen * PROGRAMMERS: Magnus Olsen
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
#include <winddi.h>
void Test_EngDeleteSemaphore() void Test_EngDeleteSemaphore()
{ {

View file

@ -5,10 +5,7 @@
* PROGRAMMERS: Magnus Olsen * PROGRAMMERS: Magnus Olsen
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
#include <winddi.h>
void Test_EngReleaseSemaphore() void Test_EngReleaseSemaphore()
{ {

View file

@ -5,12 +5,7 @@
* PROGRAMMERS: Thomas Faber <thomas.faber@reactos.org> * PROGRAMMERS: Thomas Faber <thomas.faber@reactos.org>
*/ */
#include <apitest.h> #include "precomp.h"
#include <winnls.h>
#include <wingdi.h>
#include <winddi.h>
#include <strsafe.h>
static BYTE ContextContinue; static BYTE ContextContinue;
static BYTE ContextStop; static BYTE ContextStop;

View file

@ -5,18 +5,7 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
#include <winuser.h>
#define CLIPRGN 1
#define ok_rect(_prc, _left, _top, _right, _bottom) \
ok_int((_prc)->left, _left); \
ok_int((_prc)->top, _top); \
ok_int((_prc)->right, _right); \
ok_int((_prc)->bottom, _bottom); \
void Test_ExcludeClipRect() void Test_ExcludeClipRect()
{ {

View file

@ -5,13 +5,7 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
#include <winddi.h>
#include <include/ntgdityp.h>
#include <include/ntgdihdl.h>
#include <stdio.h>
#define ok_lasterror(err) \ #define ok_lasterror(err) \
ok(GetLastError() == err, "expected last error " #err " but got 0x%lx\n", GetLastError()); ok(GetLastError() == err, "expected last error " #err " but got 0x%lx\n", GetLastError());

View file

@ -5,9 +5,8 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <windows.h>
#include <math.h> #include <math.h>
VOID VOID

View file

@ -5,9 +5,8 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <windows.h>
#include <stdio.h>
#include "init.h" #include "init.h"
#if 0 #if 0

View file

@ -5,9 +5,7 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
HBITMAP WINAPI GdiConvertBitmap(HBITMAP hbm); HBITMAP WINAPI GdiConvertBitmap(HBITMAP hbm);

View file

@ -5,9 +5,7 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
HBRUSH WINAPI GdiConvertBrush(HBRUSH hbr); HBRUSH WINAPI GdiConvertBrush(HBRUSH hbr);

View file

@ -5,9 +5,7 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
HDC WINAPI GdiConvertDC(HDC hdc); HDC WINAPI GdiConvertDC(HDC hdc);

View file

@ -5,9 +5,7 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
HFONT WINAPI GdiConvertFont(HFONT); HFONT WINAPI GdiConvertFont(HFONT);

View file

@ -5,9 +5,7 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
HPALETTE WINAPI GdiConvertPalette(HPALETTE); HPALETTE WINAPI GdiConvertPalette(HPALETTE);

View file

@ -5,9 +5,7 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
HRGN WINAPI GdiConvertRegion(HRGN); HRGN WINAPI GdiConvertRegion(HRGN);

View file

@ -5,9 +5,7 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
BOOL WINAPI GdiDeleteLocalDC(HDC); BOOL WINAPI GdiDeleteLocalDC(HDC);

View file

@ -5,9 +5,7 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
void Test_GdiGetCharDimensions() void Test_GdiGetCharDimensions()
{ {

View file

@ -5,9 +5,7 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
HBRUSH WINAPI GdiGetLocalBrush(HBRUSH hbr); HBRUSH WINAPI GdiGetLocalBrush(HBRUSH hbr);

View file

@ -5,9 +5,7 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
HDC WINAPI GdiGetLocalDC(HDC); HDC WINAPI GdiGetLocalDC(HDC);

View file

@ -5,9 +5,7 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
BOOL WINAPI GdiReleaseLocalDC(HDC); BOOL WINAPI GdiReleaseLocalDC(HDC);

View file

@ -5,9 +5,7 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
BOOL WINAPI GdiSetAttrs(HDC); BOOL WINAPI GdiSetAttrs(HDC);

View file

@ -5,16 +5,7 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
#include <winuser.h>
#define ok_rect(_prc, _left, _top, _right, _bottom) \
ok_int((_prc)->left, _left); \
ok_int((_prc)->top, _top); \
ok_int((_prc)->right, _right); \
ok_int((_prc)->bottom, _bottom); \
void Test_GetClipBox() void Test_GetClipBox()
{ {

View file

@ -5,10 +5,7 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
#include <winuser.h>
void Test_GetClipRgn() void Test_GetClipRgn()
{ {

View file

@ -5,13 +5,7 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
#include <winddi.h>
#include <winuser.h>
#include <include/ntgdityp.h>
#include <include/ntgdihdl.h>
void Test_GetCurrentObject() void Test_GetCurrentObject()
{ {

View file

@ -5,9 +5,7 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
void Test_GetDIBColorTable() void Test_GetDIBColorTable()
{ {

View file

@ -5,10 +5,7 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
#include <winuser.h>
#include "init.h" #include "init.h"

View file

@ -4,11 +4,8 @@
* PURPOSE: Test for GetFontResourceInfoW * PURPOSE: Test for GetFontResourceInfoW
* PROGRAMMERS: Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com> * PROGRAMMERS: Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
*/ */
#include <apitest.h>
#include <winuser.h> #include "precomp.h"
#include <wingdi.h>
#include <winnls.h>
#include <stdio.h>
/* GetFontResourceInfoW is undocumented */ /* GetFontResourceInfoW is undocumented */
BOOL WINAPI GetFontResourceInfoW(LPCWSTR lpFileName, DWORD *pdwBufSize, void* lpBuffer, DWORD dwType); BOOL WINAPI GetFontResourceInfoW(LPCWSTR lpFileName, DWORD *pdwBufSize, void* lpBuffer, DWORD dwType);

View file

@ -5,11 +5,7 @@
* PROGRAMMERS: Ged Murphy * PROGRAMMERS: Ged Murphy
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
#include <winuser.h>
#include <strsafe.h>
#define ok_lasterrornotchanged() \ #define ok_lasterrornotchanged() \
ok_err(0x12345) ok_err(0x12345)

View file

@ -5,13 +5,7 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
#include <winddi.h>
#include <winuser.h>
#include <include/ntgdityp.h>
#include <include/ntgdihdl.h>
void void
Test_General(void) Test_General(void)

View file

@ -5,9 +5,7 @@
* PROGRAMMERS: Jérôme Gardou * PROGRAMMERS: Jérôme Gardou
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
void Test_GetPixel_1bpp() void Test_GetPixel_1bpp()
{ {

View file

@ -5,13 +5,8 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <stdio.h>
#include <wingdi.h>
#include <winuser.h>
#define CLIPRGN 1
#define METARGN 2 #define METARGN 2
#define APIRGN 3 #define APIRGN 3
#define SYSRGN 4 #define SYSRGN 4

View file

@ -5,15 +5,7 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
#include <winddi.h>
#include <include/ntgdityp.h>
#include <include/ntgdihdl.h>
#define TEST(x) ok(x, #x"\n")
#define RTEST(x) ok(x, #x"\n")
void Test_GetStockObject() void Test_GetStockObject()
{ {

View file

@ -5,14 +5,7 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <stdio.h>
#include <wingdi.h>
#include <winuser.h>
#define TEST(x) ok(x, #x"\n")
#define RTEST(x) ok(x, #x"\n")
void Test_GetTextExtentExPoint() void Test_GetTextExtentExPoint()
{ {

View file

@ -5,12 +5,7 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
#define TEST(x) ok(x, #x"\n")
#define RTEST(x) ok(x, #x"\n")
void Test_GetTextFace() void Test_GetTextFace()
{ {

View file

@ -5,10 +5,8 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
#include <winuser.h>
#include "init.h" #include "init.h"
void Test_MaskBlt_1bpp() void Test_MaskBlt_1bpp()

View file

@ -5,11 +5,9 @@
* PROGRAMMERS: Víctor Martínez Calvo ( victor.martinez@reactos.org ) * PROGRAMMERS: Víctor Martínez Calvo ( victor.martinez@reactos.org )
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
#include <ndk/rtlfuncs.h>
#include <strsafe.h>
#include <ndk/rtlfuncs.h>
INT INT
APIENTRY APIENTRY

View file

@ -5,10 +5,7 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
#define CLIPRGN 1
void Test_OffsetClipRgn() void Test_OffsetClipRgn()
{ {

View file

@ -5,10 +5,7 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <windows.h>
#include <stdio.h>
#include "init.h"
void Test_OffsetRgn() void Test_OffsetRgn()
{ {

View file

@ -5,11 +5,9 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <windows.h>
#include <stdio.h>
#include "init.h"
#include "init.h"
void Test_PaintRgn() void Test_PaintRgn()
{ {

View file

@ -5,10 +5,7 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <stdio.h>
#include <wingdi.h>
HBITMAP ghbmpTarget; HBITMAP ghbmpTarget;
PULONG gpulTargetBits; PULONG gpulTargetBits;

View file

@ -5,9 +5,8 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <stdio.h> #include "precomp.h"
#include <wine/test.h>
#include <windows.h>
#include "init.h" #include "init.h"
START_TEST(RealizePalette) START_TEST(RealizePalette)
@ -19,4 +18,3 @@ START_TEST(RealizePalette)
ok_int(RealizePalette(ghdcDIB32), 0); ok_int(RealizePalette(ghdcDIB32), 0);
} }

View file

@ -5,9 +5,7 @@
* PROGRAMMERS: Jérôme Gardou * PROGRAMMERS: Jérôme Gardou
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
void Test_Rectangle(void) void Test_Rectangle(void)
{ {

View file

@ -5,17 +5,7 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <stdio.h>
#include <wingdi.h>
#include <winddi.h>
#include <winuser.h>
#include <include/ntgdityp.h>
#include <include/ntgdihdl.h>
#define TEST(x) ok(x, #x"\n")
#define RTEST(x) ok(x, #x"\n")
HDC hdc1, hdc2; HDC hdc1, hdc2;

View file

@ -5,9 +5,7 @@
* PROGRAMMERS: Thomas Faber <thomas.faber@reactos.org * PROGRAMMERS: Thomas Faber <thomas.faber@reactos.org
*/ */
#include <apitest.h> #include "precomp.h"
#include <winuser.h>
#include <wingdi.h>
START_TEST(SetBoundsRect) START_TEST(SetBoundsRect)
{ {

View file

@ -5,9 +5,7 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
void Test_Set(ULONG ulLine, HDC hdc, INT x, INT y, LPPOINT ppt, BOOL bExp, DWORD dwErrExp) void Test_Set(ULONG ulLine, HDC hdc, INT x, INT y, LPPOINT ppt, BOOL bExp, DWORD dwErrExp)
{ {

View file

@ -5,10 +5,7 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
#include <winuser.h>
void Test_SetDCPenColor() void Test_SetDCPenColor()
{ {

View file

@ -5,9 +5,7 @@
* PROGRAMMERS: Jérôme Gardou * PROGRAMMERS: Jérôme Gardou
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
void Test_SetDIBits() void Test_SetDIBits()
{ {

View file

@ -5,9 +5,8 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
#include "init.h" #include "init.h"
static void static void

View file

@ -5,13 +5,7 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
#include <winuser.h>
#define TEST(x) ok(x, #x"\n")
#define RTEST(x) ok(x, #x"\n")
void Test_SetMapMode() void Test_SetMapMode()
{ {

View file

@ -5,9 +5,8 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
#include <mmsystem.h> #include <mmsystem.h>
static struct static struct

View file

@ -5,12 +5,7 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
#include <winuser.h>
#define TEST(x) ok(x, #x"\n")
#define NUM_SYSCOLORS 31 #define NUM_SYSCOLORS 31

View file

@ -5,13 +5,7 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
#include <winuser.h>
#define TEST(x) ok(x, #x"\n")
#define RTEST(x) ok(x, #x"\n")
void Test_SetWindowExtEx() void Test_SetWindowExtEx()
{ {

View file

@ -5,10 +5,7 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#include <wingdi.h>
#include <winuser.h>
void Test_SetWorldTransform() void Test_SetWorldTransform()
{ {

View file

@ -1,7 +1,6 @@
#include <stdio.h> #include "precomp.h"
#include <windef.h>
#include <wingdi.h>
#include "init.h" #include "init.h"
HBITMAP ghbmp1, ghbmp4, ghbmp8, ghbmp16, ghbmp24, ghbmp32; HBITMAP ghbmp1, ghbmp4, ghbmp8, ghbmp16, ghbmp24, ghbmp32;

View file

@ -1,3 +1,4 @@
#pragma once
extern HBITMAP ghbmp1, ghbmp4, ghbmp8, ghbmp16, ghbmp24, ghbmp32; extern HBITMAP ghbmp1, ghbmp4, ghbmp8, ghbmp16, ghbmp24, ghbmp32;
extern HBITMAP ghbmpDIB1, ghbmpDIB4, ghbmpDIB8, ghbmpDIB16, ghbmpDIB24, ghbmpDIB32; extern HBITMAP ghbmpDIB1, ghbmpDIB4, ghbmpDIB8, ghbmpDIB16, ghbmpDIB24, ghbmpDIB32;

View file

@ -0,0 +1,25 @@
#ifndef _GDI32_APITEST_PRECOMP_H_
#define _GDI32_APITEST_PRECOMP_H_
#include <apitest.h>
#include <wingdi.h>
#include <winuser.h>
#include <winddi.h>
#include <winnls.h>
#include <include/ntgdityp.h>
#include <include/ntgdihdl.h>
#include <stdio.h>
#include <strsafe.h>
#define CLIPRGN 1
#define TEST(x) ok(x, #x"\n")
#define RTEST(x) ok(x, #x"\n")
#define ok_rect(_prc, _left, _top, _right, _bottom) \
ok_int((_prc)->left, _left); \
ok_int((_prc)->top, _top); \
ok_int((_prc)->right, _right); \
ok_int((_prc)->bottom, _bottom); \
#endif /* _GDI32_APITEST_PRECOMP_H_ */