* Fix MSVC build.
* Speedup build.
* Pierre, can you please consult with me before stepping on my toes (with improper syncs) ?
svn path=/trunk/; revision=60471
-add_definitions(
- -D__ROS_LONG64__
- -D_DLL -D__USE_CRTIMP)
-
add_executable(psapi_winetest psapi_main.c testlist.c)
-target_link_libraries(psapi_winetest wine)
set_module_type(psapi_winetest win32cui)
-add_importlibs(psapi_winetest psapi msvcrt kernel32 ntdll)
+add_importlibs(psapi_winetest msvcrt kernel32)
add_cd_file(TARGET psapi_winetest DESTINATION reactos/bin FOR all)
static void test_EnumProcessModules(void)
{
- win_skip("Stack corruption - ROSTEST-122\n");
- return;
-
HMODULE hMod = GetModuleHandle(NULL);
DWORD ret, cbNeeded = 0xdeadbeef;
+ win_skip("Stack corruption - ROSTEST-122\n");
+ return;
+
SetLastError(0xdeadbeef);
pEnumProcessModules(NULL, NULL, 0, &cbNeeded);
ok(GetLastError() == ERROR_INVALID_HANDLE, "expected error=ERROR_INVALID_HANDLE but got %d\n", GetLastError());
/* Automatically generated file; DO NOT EDIT!! */
-#define WIN32_LEAN_AND_MEAN
-#include <windows.h>
-
#define STANDALONE
-#include "wine/test.h"
+#include <wine/test.h>
extern void func_psapi_main(void);