[PSAPI_WINETEST]

* 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
This commit is contained in:
Amine Khaldi 2013-09-30 08:10:07 +00:00
parent 659cf6ca5f
commit 2d1542bad0
3 changed files with 5 additions and 13 deletions

View file

@ -102,12 +102,12 @@ static void test_EnumProcesses(void)
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());