[NTDLL_APITEST] Add a PCH.

This commit is contained in:
Amine Khaldi 2017-12-02 21:05:46 +01:00
parent aee83c359c
commit 283bbe7346
57 changed files with 71 additions and 272 deletions

View file

@ -55,16 +55,17 @@ list(APPEND SOURCE
StackOverflow.c StackOverflow.c
SystemInfo.c SystemInfo.c
Timer.c Timer.c
testlist.c) precomp.h)
if(ARCH STREQUAL "i386") if(ARCH STREQUAL "i386")
add_asm_files(ntdll_apitest_asm i386/NtContinue.S) add_asm_files(ntdll_apitest_asm i386/NtContinue.S)
endif() endif()
add_executable(ntdll_apitest ${SOURCE} ${ntdll_apitest_asm}) add_executable(ntdll_apitest ${SOURCE} ${ntdll_apitest_asm} testlist.c)
target_link_libraries(ntdll_apitest wine uuid ${PSEH_LIB}) target_link_libraries(ntdll_apitest wine uuid ${PSEH_LIB})
set_module_type(ntdll_apitest win32cui) set_module_type(ntdll_apitest win32cui)
add_importlibs(ntdll_apitest msvcrt advapi32 kernel32 ntdll) add_importlibs(ntdll_apitest msvcrt advapi32 kernel32 ntdll)
add_pch(ntdll_apitest precomp.h SOURCE)
if(NOT MSVC) if(NOT MSVC)
set_source_files_properties(RtlGetFullPathName_UstrEx.c PROPERTIES COMPILE_FLAGS "-Wno-format") set_source_files_properties(RtlGetFullPathName_UstrEx.c PROPERTIES COMPILE_FLAGS "-Wno-format")

View file

@ -5,10 +5,7 @@
* PROGRAMMER: Timo Kreuzer * PROGRAMMER: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#define WIN32_NO_STATUS
#include <ndk/ldrfuncs.h>
typedef struct _TEST_RESOURCES typedef struct _TEST_RESOURCES
{ {

View file

@ -5,12 +5,8 @@
* PROGRAMMERS: Thomas Faber <thomas.faber@reactos.org> * PROGRAMMERS: Thomas Faber <thomas.faber@reactos.org>
*/ */
#include <apitest.h> #include "precomp.h"
#define WIN32_NO_STATUS
#include <ndk/lpcfuncs.h>
#include <ndk/obfuncs.h>
#include <ndk/rtlfuncs.h>
#include <process.h> #include <process.h>
#define TEST_CONNECTION_INFO_SIGNATURE1 0xaabb0123 #define TEST_CONNECTION_INFO_SIGNATURE1 0xaabb0123

View file

@ -5,11 +5,7 @@
* PROGRAMMER: Thomas Faber <thomas.faber@reactos.org> * PROGRAMMER: Thomas Faber <thomas.faber@reactos.org>
*/ */
#include <apitest.h> #include "precomp.h"
#define WIN32_NO_STATUS
#include <ndk/rtlfuncs.h>
#include <ndk/mmfuncs.h>
static PVOID Allocations[4096] = { NULL }; static PVOID Allocations[4096] = { NULL };
static ULONG CurrentAllocation = 0; static ULONG CurrentAllocation = 0;

View file

@ -5,12 +5,9 @@
* PROGRAMMER: Mark Jansen * PROGRAMMER: Mark Jansen
*/ */
#include <apitest.h> #include "precomp.h"
#include <windows.h> #include <winsvc.h>
#define WIN32_NO_STATUS
#include <ntndk.h>
enum ServiceCommands enum ServiceCommands
{ {

View file

@ -5,8 +5,7 @@
* PROGRAMMER: * PROGRAMMER:
*/ */
#include <apitest.h> #include "precomp.h"
#include <ndk/kefuncs.h>
#include <setjmp.h> #include <setjmp.h>
#include <time.h> #include <time.h>

View file

@ -5,12 +5,7 @@
* PROGRAMMER: Aleksandar Andrejevic <theflash AT sdf DOT lonestar DOT org> * PROGRAMMER: Aleksandar Andrejevic <theflash AT sdf DOT lonestar DOT org>
*/ */
#define WIN32_NO_STATUS #include "precomp.h"
#include <wine/test.h>
//#include <ndk/iotypes.h>
#include <ndk/iofuncs.h>
//#include <ndk/obtypes.h>
//#include <ndk/obfuncs.h>
START_TEST(NtCreateFile) START_TEST(NtCreateFile)
{ {

View file

@ -5,11 +5,7 @@
* PROGRAMMER: Thomas Faber <thomas.faber@reactos.org> * PROGRAMMER: Thomas Faber <thomas.faber@reactos.org>
*/ */
#include <apitest.h> #include "precomp.h"
#include <winreg.h>
#include <ndk/cmfuncs.h>
#include <ndk/obfuncs.h>
static static
VOID VOID

View file

@ -5,10 +5,7 @@
* PROGRAMMER: Aleksandar Andrejevic <theflash AT sdf DOT lonestar DOT org> * PROGRAMMER: Aleksandar Andrejevic <theflash AT sdf DOT lonestar DOT org>
*/ */
#define WIN32_NO_STATUS #include "precomp.h"
#include <wine/test.h>
#include <ndk/pstypes.h>
#include <ndk/psfuncs.h>
START_TEST(NtCreateThread) START_TEST(NtCreateThread)
{ {

View file

@ -4,14 +4,7 @@
* PURPOSE: Test for NtDeleteKey * PURPOSE: Test for NtDeleteKey
*/ */
#include <apitest.h> #include "precomp.h"
#define WIN32_NO_STATUS
#include <stdio.h>
#include <ndk/rtlfuncs.h>
#include <ndk/cmfuncs.h>
#include <ndk/obfuncs.h>
#include <ndk/setypes.h>
static static
NTSTATUS NTSTATUS

View file

@ -1,9 +1,5 @@
#include <apitest.h> #include "precomp.h"
#define WIN32_NO_STATUS
#include <ndk/pstypes.h>
#include <ndk/mmfuncs.h>
static void Test_NtFreeVirtualMemory(void) static void Test_NtFreeVirtualMemory(void)
{ {

View file

@ -5,18 +5,7 @@
* PROGRAMMERS: Hermes Belusca-Maito (hermes.belusca@sfr.fr) * PROGRAMMERS: Hermes Belusca-Maito (hermes.belusca@sfr.fr)
*/ */
#include <stdio.h> #include "precomp.h"
#include <apitest.h>
#include <strsafe.h>
#define WIN32_NO_STATUS
#include <ndk/rtlfuncs.h>
#include <ndk/cmfuncs.h>
#include <ndk/cmtypes.h>
#include <ndk/iofuncs.h>
#include <ndk/obfuncs.h>
#include <ndk/setypes.h>
/* See xdk/cmtypes.h */ /* See xdk/cmtypes.h */
#define REG_CREATED_NEW_KEY 1 #define REG_CREATED_NEW_KEY 1

View file

@ -6,10 +6,7 @@
* Thomas Faber * Thomas Faber
*/ */
#include <apitest.h> #include "precomp.h"
#include <strsafe.h>
#define WIN32_NO_STATUS
#include <ndk/ntndk.h>
void void
Test_PageFileSection(void) Test_PageFileSection(void)

View file

@ -1,8 +1,5 @@
#include <apitest.h> #include "precomp.h"
#include <ndk/exfuncs.h>
VOID VOID
Test_Release(VOID) Test_Release(VOID)

View file

@ -5,15 +5,10 @@
* PROGRAMMER: Mark Jansen (mark.jansen@reactos.org) * PROGRAMMER: Mark Jansen (mark.jansen@reactos.org)
*/ */
#include <apitest.h> #include "precomp.h"
#include <ntndk.h>
#define TEST_STR L"\\Registry\\Machine\\SOFTWARE" #define TEST_STR L"\\Registry\\Machine\\SOFTWARE"
START_TEST(NtOpenKey) START_TEST(NtOpenKey)
{ {
OBJECT_ATTRIBUTES Object; OBJECT_ATTRIBUTES Object;

View file

@ -5,11 +5,7 @@
* PROGRAMMER: Thomas Faber <thomas.faber@reactos.org> * PROGRAMMER: Thomas Faber <thomas.faber@reactos.org>
*/ */
#include <apitest.h> #include "precomp.h"
#include <ndk/obfuncs.h>
#include <ndk/psfuncs.h>
#include <ndk/sefuncs.h>
START_TEST(NtOpenProcessToken) START_TEST(NtOpenProcessToken)
{ {

View file

@ -5,11 +5,7 @@
* PROGRAMMER: Thomas Faber <thomas.faber@reactos.org> * PROGRAMMER: Thomas Faber <thomas.faber@reactos.org>
*/ */
#include <apitest.h> #include "precomp.h"
#include <ndk/obfuncs.h>
#include <ndk/psfuncs.h>
#include <ndk/rtlfuncs.h>
START_TEST(NtOpenThreadToken) START_TEST(NtOpenThreadToken)
{ {

View file

@ -6,11 +6,7 @@
* Thomas Faber <thomas.faber@reactos.org> * Thomas Faber <thomas.faber@reactos.org>
*/ */
#include <apitest.h> #include "precomp.h"
#define WIN32_NO_STATUS
#include <ndk/rtlfuncs.h>
#include <ndk/mmfuncs.h>
static static
void void

View file

@ -5,12 +5,7 @@
* PROGRAMMER: Thomas Faber <thomas.faber@reactos.org> * PROGRAMMER: Thomas Faber <thomas.faber@reactos.org>
*/ */
#include <apitest.h> #include "precomp.h"
#define WIN32_NO_STATUS
#include <ndk/rtlfuncs.h>
#include <ndk/kefuncs.h>
#include <ndk/psfuncs.h>
static LARGE_INTEGER TestStartTime; static LARGE_INTEGER TestStartTime;

View file

@ -6,13 +6,7 @@
* Thomas Faber <thomas.faber@reactos.org> * Thomas Faber <thomas.faber@reactos.org>
*/ */
#include <apitest.h> #include "precomp.h"
#define WIN32_NO_STATUS
#include <ndk/rtlfuncs.h>
#include <ndk/cmfuncs.h>
#include <ndk/cmtypes.h>
#include <ndk/obfuncs.h>
static static
void void

View file

@ -5,12 +5,7 @@
* PROGRAMMER: Hermès BÉLUSCA - MAÏTO <hermes.belusca@sfr.fr> * PROGRAMMER: Hermès BÉLUSCA - MAÏTO <hermes.belusca@sfr.fr>
*/ */
#include <apitest.h> #include "precomp.h"
#define WIN32_NO_STATUS
#include <ndk/setypes.h>
#include <ndk/rtlfuncs.h>
#include <ndk/exfuncs.h>
// Arbitrary-defined constants // Arbitrary-defined constants
#define MIN_BUFFER_LENGTH 4L #define MIN_BUFFER_LENGTH 4L

View file

@ -5,10 +5,7 @@
* PROGRAMMER: Víctor Martínez Calvo <vicmarcal@gmail.com> * PROGRAMMER: Víctor Martínez Calvo <vicmarcal@gmail.com>
*/ */
#define WIN32_NO_STATUS #include "precomp.h"
#include <stdio.h>
#include <wine/test.h>
#include <ndk/ntndk.h>
static static
VOID VOID

View file

@ -5,16 +5,7 @@
* PROGRAMMER: Thomas Faber <thomas.faber@reactos.org> * PROGRAMMER: Thomas Faber <thomas.faber@reactos.org>
*/ */
#include <apitest.h> #include "precomp.h"
#define WIN32_NO_STATUS
#include <winreg.h>
#include <ndk/cmfuncs.h>
#include <ndk/iofuncs.h>
#include <ndk/mmfuncs.h>
#include <ndk/obfuncs.h>
#include <ndk/psfuncs.h>
#include <ndk/rtlfuncs.h>
static static
BOOL BOOL

View file

@ -5,13 +5,7 @@
* PROGRAMMERS: Aleksandar Andrejevic <theflash AT sdf DOT lonestar DOT org> * PROGRAMMERS: Aleksandar Andrejevic <theflash AT sdf DOT lonestar DOT org>
*/ */
#include <apitest.h> #include "precomp.h"
#define WIN32_NO_STATUS
#include <ndk/rtlfuncs.h>
#include <ndk/cmfuncs.h>
#include <ndk/obfuncs.h>
#include <ndk/setypes.h>
static static
NTSTATUS NTSTATUS

View file

@ -5,14 +5,7 @@
* PROGRAMMER: Thomas Faber <thomas.faber@reactos.org> * PROGRAMMER: Thomas Faber <thomas.faber@reactos.org>
*/ */
#include <apitest.h> #include "precomp.h"
#include <winreg.h>
#define WIN32_NO_STATUS
#include <ndk/cmfuncs.h>
#include <ndk/obfuncs.h>
#include <ndk/rtlfuncs.h>
#include <strsafe.h>
START_TEST(NtSetValueKey) START_TEST(NtSetValueKey)
{ {

View file

@ -5,16 +5,7 @@
* PROGRAMMER: Thomas Faber <thomas.faber@reactos.org> * PROGRAMMER: Thomas Faber <thomas.faber@reactos.org>
*/ */
#include <apitest.h> #include "precomp.h"
#define WIN32_NO_STATUS
#include <winreg.h>
#include <ndk/cmfuncs.h>
#include <ndk/iofuncs.h>
#include <ndk/mmfuncs.h>
#include <ndk/obfuncs.h>
#include <ndk/psfuncs.h>
#include <ndk/rtlfuncs.h>
static static
BOOL BOOL

View file

@ -5,10 +5,7 @@
* PROGRAMMER: Pierre Schweitzer <pierre@reactos.org> * PROGRAMMER: Pierre Schweitzer <pierre@reactos.org>
*/ */
#include <apitest.h> #include "precomp.h"
#define WIN32_NO_STATUS
#include <ndk/rtlfuncs.h>
PVOID Buffers[0x100]; PVOID Buffers[0x100];

View file

@ -1,9 +1,5 @@
#include <apitest.h> #include "precomp.h"
#define WIN32_NO_STATUS
#include <ndk/mmfuncs.h>
#include <ndk/rtlfuncs.h>
static static
PVOID PVOID

View file

@ -5,10 +5,7 @@
* PROGRAMMERS: Thomas Faber <thomas.faber@reactos.org> * PROGRAMMERS: Thomas Faber <thomas.faber@reactos.org>
*/ */
#include <apitest.h> #include "precomp.h"
#define WIN32_NO_STATUS
#include <ndk/rtlfuncs.h>
START_TEST(RtlCopyMappedMemory) START_TEST(RtlCopyMappedMemory)
{ {

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 <ndk/mmfuncs.h>
#include <ndk/rtlfuncs.h>
static static
PVOID PVOID

View file

@ -5,11 +5,7 @@
* PROGRAMMER: Thomas Faber <thomas.faber@reactos.org> * PROGRAMMER: Thomas Faber <thomas.faber@reactos.org>
*/ */
#include <apitest.h> #include "precomp.h"
#define WIN32_NO_STATUS
#include <ndk/mmfuncs.h>
#include <ndk/rtlfuncs.h>
/* /*
ULONG ULONG

View file

@ -5,11 +5,7 @@
* PROGRAMMER: Thomas Faber <thomas.faber@reactos.org> * PROGRAMMER: Thomas Faber <thomas.faber@reactos.org>
*/ */
#include <apitest.h> #include "precomp.h"
#define WIN32_NO_STATUS
#include <stdio.h>
#include <ndk/rtlfuncs.h>
#define ok_bool_file(value, expected, file) do { \ #define ok_bool_file(value, expected, file) do { \
if (expected) \ if (expected) \

View file

@ -5,10 +5,7 @@
* PROGRAMMER: Giannis Adamopoulos * PROGRAMMER: Giannis Adamopoulos
*/ */
#include <apitest.h> #include "precomp.h"
#define WIN32_NO_STATUS
#include <ndk/rtlfuncs.h>
#define ok_eq_hex(value, expected) ok((value) == (expected), #value " = 0x%lx, expected 0x%lx\n", value, expected) #define ok_eq_hex(value, expected) ok((value) == (expected), #value " = 0x%lx, expected 0x%lx\n", value, expected)
#define ok_eq_pointer(value, expected) ok((value) == (expected), #value " = %p, expected %p\n", value, expected) #define ok_eq_pointer(value, expected) ok((value) == (expected), #value " = %p, expected %p\n", value, expected)

View file

@ -39,10 +39,7 @@
# include <stdio.h> # include <stdio.h>
# include <stddef.h> # include <stddef.h>
#else /* Compile for ReactOS or wine */ #else /* Compile for ReactOS or wine */
# include <apitest.h> # include "precomp.h"
# define WIN32_NO_STATUS
# include <stdio.h>
# include <ndk/rtlfuncs.h>
#endif #endif
/* /*

View file

@ -5,11 +5,7 @@
* PROGRAMMER: Thomas Faber <thomas.faber@reactos.org> * PROGRAMMER: Thomas Faber <thomas.faber@reactos.org>
*/ */
#include <apitest.h> #include "precomp.h"
#define WIN32_NO_STATUS
#include <stdio.h>
#include <ndk/rtlfuncs.h>
/* /*
ULONG ULONG

View file

@ -5,10 +5,7 @@
* PROGRAMMER: Thomas Faber <thomas.faber@reactos.org> * PROGRAMMER: Thomas Faber <thomas.faber@reactos.org>
*/ */
#include <apitest.h> #include "precomp.h"
#define WIN32_NO_STATUS
#include <ndk/rtlfuncs.h>
/* /*
NTSTATUS NTSTATUS

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 <ndk/mmfuncs.h>
#include <ndk/rtlfuncs.h>
static static
PVOID PVOID

View file

@ -5,11 +5,7 @@
* PROGRAMMER: Pierre Schweitzer <pierre@reactos.org> * PROGRAMMER: Pierre Schweitzer <pierre@reactos.org>
*/ */
#include <apitest.h> #include "precomp.h"
#define WIN32_NO_STATUS
#include <ndk/rtlfuncs.h>
#include <stdio.h>
NTSYSAPI NTSYSAPI
VOID VOID

View file

@ -5,10 +5,7 @@
* PROGRAMMER: Thomas Faber <thomas.faber@reactos.org> * PROGRAMMER: Thomas Faber <thomas.faber@reactos.org>
*/ */
#include <apitest.h> #include "precomp.h"
#define WIN32_NO_STATUS
#include <ndk/rtlfuncs.h>
/* /*
ULONG ULONG

View file

@ -5,10 +5,7 @@
* PROGRAMMER: Thomas Faber <thomas.faber@reactos.org> * PROGRAMMER: Thomas Faber <thomas.faber@reactos.org>
*/ */
#include <apitest.h> #include "precomp.h"
#define WIN32_NO_STATUS
#include <ndk/rtlfuncs.h>
/* /*
ULONG ULONG

View file

@ -5,10 +5,7 @@
* PROGRAMMER: Thomas Faber <thomas.faber@reactos.org> * PROGRAMMER: Thomas Faber <thomas.faber@reactos.org>
*/ */
#include <apitest.h> #include "precomp.h"
#define WIN32_NO_STATUS
#include <ndk/rtlfuncs.h>
/* /*
NTSTATUS NTSTATUS

View file

@ -5,9 +5,7 @@
* PROGRAMMER: David Quintana <gigaherz@gmail.com> * PROGRAMMER: David Quintana <gigaherz@gmail.com>
*/ */
#define WIN32_NO_STATUS #include "precomp.h"
#include <apitest.h>
#include <ndk/rtlfuncs.h>
#define MakeTestEntry_Success(str, expect) \ #define MakeTestEntry_Success(str, expect) \
{ str, expect, STATUS_SUCCESS, __LINE__ } { str, expect, STATUS_SUCCESS, __LINE__ }

View file

@ -5,10 +5,7 @@
* PROGRAMMER: Thomas Faber <thomas.faber@reactos.org> * PROGRAMMER: Thomas Faber <thomas.faber@reactos.org>
*/ */
#include <apitest.h> #include "precomp.h"
#define WIN32_NO_STATUS
#include <ndk/rtlfuncs.h>
/* /*
ULONG ULONG

View file

@ -5,11 +5,7 @@
* PROGRAMMER: Thomas Faber <thomas.faber@reactos.org> * PROGRAMMER: Thomas Faber <thomas.faber@reactos.org>
*/ */
#include <apitest.h> #include "precomp.h"
#define WIN32_NO_STATUS
#include <ndk/rtlfuncs.h>
#include <stdio.h>
typedef struct _TEST_HANDLE_ENTRY typedef struct _TEST_HANDLE_ENTRY
{ {

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 <ndk/mmfuncs.h>
#include <ndk/rtlfuncs.h>
static static
PVOID PVOID

View file

@ -5,10 +5,7 @@
* PROGRAMMERS: Timo Kreuzer * PROGRAMMERS: Timo Kreuzer
*/ */
#include <apitest.h> #include "precomp.h"
#define WIN32_NO_STATUS
#include <ndk/rtlfuncs.h>
void Test_RtlInitializeBitmap() void Test_RtlInitializeBitmap()
{ {

View file

@ -5,10 +5,7 @@
* PROGRAMMER: Thomas Faber <thomas.faber@reactos.org> * PROGRAMMER: Thomas Faber <thomas.faber@reactos.org>
*/ */
#include <apitest.h> #include "precomp.h"
#define WIN32_NO_STATUS
#include <ndk/rtlfuncs.h>
START_TEST(RtlIsNameLegalDOS8Dot3) START_TEST(RtlIsNameLegalDOS8Dot3)
{ {

View file

@ -5,10 +5,9 @@
* PROGRAMMER: David Quintana <gigaherz@gmail.com> * PROGRAMMER: David Quintana <gigaherz@gmail.com>
*/ */
#define COBJMACROS #include "precomp.h"
#include <apitest.h> #define COBJMACROS
#include <ndk/rtlfuncs.h>
#include <ole2.h> #include <ole2.h>
#include <wtypes.h> #include <wtypes.h>

View file

@ -5,10 +5,7 @@
* PROGRAMMER: Mark Jansen * PROGRAMMER: Mark Jansen
*/ */
#include <apitest.h> #include "precomp.h"
#define WIN32_NO_STATUS
#include <ndk/rtlfuncs.h>
NTSTATUS (NTAPI *pRtlNtPathNameToDosPathName)(ULONG Flags, PRTL_UNICODE_STRING_BUFFER Path, PULONG Type, PULONG Unknown4); NTSTATUS (NTAPI *pRtlNtPathNameToDosPathName)(ULONG Flags, PRTL_UNICODE_STRING_BUFFER Path, PULONG Type, PULONG Unknown4);

View file

@ -5,8 +5,7 @@
* PROGRAMMERS: Thomas Faber <thomas.faber@reactos.org> * PROGRAMMERS: Thomas Faber <thomas.faber@reactos.org>
*/ */
#include <apitest.h> #include "precomp.h"
#include <ndk/rtlfuncs.h>
static static
BOOLEAN BOOLEAN

View file

@ -5,8 +5,7 @@
* PROGRAMMERS: Pierre Schweitzer <pierre@reactos.org> * PROGRAMMERS: Pierre Schweitzer <pierre@reactos.org>
*/ */
#include <apitest.h> #include "precomp.h"
#include <ndk/rtlfuncs.h>
START_TEST(RtlUnicodeStringToAnsiString) START_TEST(RtlUnicodeStringToAnsiString)
{ {

View file

@ -5,10 +5,7 @@
* PROGRAMMER: Thomas Faber <thomas.faber@reactos.org> * PROGRAMMER: Thomas Faber <thomas.faber@reactos.org>
*/ */
#include <apitest.h> #include "precomp.h"
#define WIN32_NO_STATUS
#include <ndk/rtlfuncs.h>
START_TEST(RtlUpcaseUnicodeStringToCountedOemString) START_TEST(RtlUpcaseUnicodeStringToCountedOemString)
{ {

View file

@ -5,10 +5,8 @@
* PROGRAMMER: Mark Jansen * PROGRAMMER: Mark Jansen
*/ */
#include <apitest.h> #include "precomp.h"
#define WIN32_NO_STATUS
#include <ndk/rtlfuncs.h>
#include <tlhelp32.h> #include <tlhelp32.h>

View file

@ -5,11 +5,7 @@
* PROGRAMMER: Jérôme Gardou * PROGRAMMER: Jérôme Gardou
*/ */
#define WIN32_NO_STATUS #include "precomp.h"
#include <apitest.h>
#include <stdio.h>
#include <ndk/rtlfuncs.h>
#include <ndk/mmfuncs.h>
static int iteration = 0; static int iteration = 0;
static PVOID StackAllocationBase; static PVOID StackAllocationBase;

View file

@ -6,12 +6,7 @@
* Thomas Faber <thomas.faber@reactos.org> * Thomas Faber <thomas.faber@reactos.org>
*/ */
#include <apitest.h> #include "precomp.h"
#define WIN32_NO_STATUS
#include <ndk/exfuncs.h>
#include <ndk/rtlfuncs.h>
#include <ndk/setypes.h>
#define ntv6(x) (LOBYTE(LOWORD(GetVersion())) >= 6 ? (x) : 0) #define ntv6(x) (LOBYTE(LOWORD(GetVersion())) >= 6 ? (x) : 0)

View file

@ -5,13 +5,7 @@
* PROGRAMMER: Aleksandar Andrejevic <theflash AT sdf DOT lonestar DOT org> * PROGRAMMER: Aleksandar Andrejevic <theflash AT sdf DOT lonestar DOT org>
*/ */
#include <apitest.h> #include "precomp.h"
#define WIN32_NO_STATUS
#include <ndk/ketypes.h>
#include <ndk/kefuncs.h>
#include <stdio.h>
START_TEST(TimerResolution) START_TEST(TimerResolution)
{ {

View file

@ -0,0 +1,11 @@
#ifndef _NTDLL_APITEST_PRECOMP_H_
#define _NTDLL_APITEST_PRECOMP_H_
#include <stdio.h>
#include <apitest.h>
#define WIN32_NO_STATUS
#include <ndk/ntndk.h>
#include <winreg.h>
#include <strsafe.h>
#endif /* _NTDLL_APITEST_PRECOMP_H_ */