Commit Graph

138 Commits

Author SHA1 Message Date
Akihiro Sagawa 844ae22fcf kernel32: Return the list of module handles even if the last argument is null.
Touhou Shinpiroku relies on this behaviour.

Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-19 19:46:19 +01:00
Akihiro Sagawa 97ad2b8b39 psapi/tests: Add more EnumProcessModules tests.
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-11 19:10:59 +01:00
Alex Henrie 4f5342f26b psapi/tests: Increase GetPerformanceInfo error margins for Windows 8.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-02 13:25:20 +01:00
Alex Henrie cf1bbad714 psapi/tests: Increase GetPerformanceInfo error margins for Windows 10.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-18 09:44:52 +02:00
Sebastian Lackner e39d1614a9 psapi/tests: Remove todo_wine from succeeding tests.
These were missed in 19a79f4228.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-10 11:01:47 -05:00
Hugh McMaster 11669fa5e2 Assorted spelling and grammar fixes.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-17 22:56:40 +09:00
André Hentschel 4d98658621 psapi/tests: Also accept strlen as return value.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
2015-10-05 19:32:30 +09:00
André Hentschel c789554786 psapi/tests: Adjust margin for win10.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
2015-10-05 19:32:27 +09:00
André Hentschel 9182d5b541 psapi/tests: Remove bad test.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
2015-10-05 19:32:23 +09:00
André Hentschel d33984e6ba psapi/tests: Disable tests which crash on win10.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
2015-10-05 19:32:16 +09:00
André Hentschel a3ab34b419 psapi/tests: Don't check for exact value.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
2015-09-25 21:00:11 +02:00
Olivier F. R. Dierick 9effcc98f9 psapi/tests: Add test for EnumProcessModules with NULL pointer. 2015-07-06 17:09:49 +09:00
Sebastian Lackner cacc9ae888 psapi: Implement semi-stub for K32EnumProcessModulesEx. 2014-12-16 17:25:36 +01:00
Sebastian Lackner 4032eef90f kernel32: Fix implementation of K32GetPerformanceInfo. 2014-11-14 17:11:38 +09:00
Sebastian Lackner 4297046d01 psapi/tests: Add tests for GetPerformanceInfo function. 2014-11-14 17:10:57 +09:00
Bruno Jesus 78eac8156e psapi/tests: Free buffer on error (valgrind). 2014-07-14 17:22:46 +02:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
André Hentschel 3df00e29ee psapi/tests: Fix tests compilation with __WINESRC__ defined. 2013-10-25 13:36:01 +02:00
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Alexandre Julliard ab2eb34a82 psapi/tests: Define the required Windows version before including anything. 2013-02-20 13:17:12 +01:00
André Hentschel cd465edb00 psapi/tests: Fix test on win8. 2012-12-04 00:03:39 +01:00
Stefan Leichter 0773ed8d27 psapi/tests: Added tests for EnumProcessModules with last parameter NULL. 2012-06-22 14:09:51 +02:00
Alexandre Julliard d08f34cd8e kernel32: Fix buffer overflows in K32GetModuleFileNameExA/W. 2012-04-30 14:27:13 +02:00
Dmitry Timoshkov 4c6a19837b psapi: Add missing return value checks. 2012-03-27 18:01:00 +02:00
Dmitry Timoshkov 48a2a467cd psapi: Make sure that NtQueryVirtualMemory(MemorySectionName) succeeds under Windows 2000 too. 2012-02-07 09:31:14 -06:00
Dmitry Timoshkov 2a0de94844 psapi: Add a test for NtQueryVirtualMemory(MemorySectionName). 2012-02-06 10:19:30 -06:00
Alexandre Julliard 773c46b929 psapi/tests: Don't check data returned from a failing call. 2012-01-31 15:38:01 +01:00
Dmitry Timoshkov 7705ad45c9 psapi: Add more GetMappedFileName tests. 2012-01-27 18:05:46 +01:00
Francois Gouget 187de1794e psapi/tests: Fix the EnumProcessModules() test and provide more diagnostic information if it fails.
On some Windows systems aclayers.dll gets injected into the process and brings in a lot of extra dlls.
2011-08-26 16:33:52 +02:00
Francois Gouget 3b239dbc62 kernel32: Implement K32GetProcessImageFileNameA(). 2011-08-05 15:22:47 +02:00
Jacek Caban e4ffd1f834 kernel32: Moved GetPerformanceInfo implementation to kernel32. 2011-05-16 16:35:36 +02:00
Jacek Caban 595521bc95 kernel32: Moved GetWsChanges and InitializeProcessForWsWatch implementations to kernel32. 2011-05-16 16:35:35 +02:00
Jacek Caban 827e852166 kernel32: Moved EnumPageFiles[AW] implementation to kernel32. 2011-05-16 16:35:34 +02:00
Jacek Caban 0909f2e054 kernel32: Moved device-related stubs from psapi to kernel32. 2011-05-16 16:35:34 +02:00
Jacek Caban 772da9baae kernel32: Moved GetMappedFileName[AW] stubs to kernel32. 2011-05-13 16:45:21 +02:00
Jacek Caban 0d0f2fa4a9 kernel32: Moved GetModuleInformation implementation to kernel32. 2011-05-12 14:29:21 +02:00
Jacek Caban 9bbf3f9075 kernel32: Moved GetModuleFileNameEx[AW] to kernel32. 2011-05-12 14:29:14 +02:00
Jacek Caban e6dd213d52 kernel32: Moved GetModuleBaseName[AW] implementation to kernel32. 2011-05-12 14:29:07 +02:00
Jacek Caban 4ed94f7939 kernel32: Moved GetProcessMemoryInfo implementation to kernel32. 2011-05-12 14:28:45 +02:00
Jacek Caban c1c70c62cb kernel32: Moved QueryWorkingSet and QueryWorkingSetEx implementation to kernel32. 2011-05-11 14:56:49 +02:00
Jacek Caban 362a7d571e kernel32: Moved EnumProcessModules implementation to kernel32. 2011-05-10 14:04:55 +02:00
Jacek Caban 1fa36c85bd kernel32: Moved EnumProcesses implementation to kernel32. 2011-05-04 17:26:45 +02:00
Jacek Caban 25023c1302 psapi: Forward EmptyWorkingSet implementation to kernel32. 2011-04-19 18:29:24 +02:00
Jacek Caban 81aa05eab6 kernel32: Moved GetProcessImageFileName implementation from psapi to kernel32. 2011-04-08 17:06:46 +02:00
Austin English db27d9afa9 psapi/tests: Get rid of an ugly test macro. 2010-10-08 11:02:27 +02:00
Austin English f2d1145142 psapi/tests: Macro cleanup. 2010-10-05 12:07:37 +02:00
Austin English cad2aaff2b psapi/tests: Remove an ugly macro. 2010-10-04 15:00:05 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00