Commit Graph

29 Commits

Author SHA1 Message Date
Eric Pouech 0bf6066b2b kernel32/tests: Remove temporary defines for long types migration.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-10 18:27:43 +01:00
Eric Pouech 9ed10e4841 kernel32/tests: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-09 19:11:43 +01:00
Ziqing Hui 2698591a19 kernel32: Use uppercase name in UpdateResourceW().
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-25 20:52:16 +02:00
Ziqing Hui a9d73e97f2 kernel32/tests: Add more tests for UpdateResource.
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-25 20:52:16 +02:00
Jacek Caban 90f81e6198 kernel32/tests: Remove workaround for NT4.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-28 20:10:53 +02:00
Jon Doron ba9f3dc198 kernel32: Fix BeginUpdateResource structure layout.
The utility muirct.exe for some reason accesses the opaque
HANDLE that is returned by BeginUpdateResource, it assumes
a certain structure in which (on 32bit systems) there is a
pointer to the wide repesentation of the file name in offset
0x18 (0x30 on 64bit).

Signed-off-by: Jon Doron <arilou@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 14:59:48 +02:00
Michael Stefaniuc 80be3a460b kernel32/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-27 22:02:48 +02:00
André Hentschel 7b318b1700 kernel32/tests: Remove unused code (Clang). 2014-12-04 14:03:24 +01:00
Sebastian Lackner 270d66efc7 kernel32: Update VirtualAddress of resource section in write_raw_resources. 2014-06-17 09:04:15 +02:00
Dmitry Timoshkov a18087e5d1 kernel32/tests: Fix resource tests compilation with __WINESRC__ defined. 2013-10-22 16:37:39 +02:00
Alexandre Julliard 7064e8838c kernel32/tests: Make some variables static. 2010-10-01 13:36:35 +02:00
Andrey Turkin a610fc17d8 kernel32: Enhance EndUpdateResource. 2010-07-22 11:41:41 +02:00
André Hentschel 2d956be11d kernel32/tests: Fix header comments. 2010-01-25 12:46:00 +01:00
Ge van Geldorp 63d77d07dc kernel32/tests: Skip some resource tests on Win7. 2009-10-07 15:20:57 +02:00
Francois Gouget 5989534540 kernel32/tests: Use win_skip() to skip over unimplemented functionality. 2009-02-24 16:57:26 +01:00
Alexandre Julliard 220a2c2c0b kernel32/tests: Fix some resource test failures on NT4. 2008-11-10 11:09:11 +01:00
Alexandre Julliard b1412422ad kernel32/tests: Comment out an UpdateResource call that causes failures. 2008-09-16 22:36:58 +02:00
James Hawkins 7d7d799284 kernel32: Trace the last error on failure. 2008-08-29 13:23:03 +02:00
Alexandre Julliard 9879f78c13 kernel32/tests: Added some tests for FindResource. 2008-03-22 13:09:44 +01:00
Francois Gouget d0794c4aeb Assorted spelling fixes. 2008-01-23 21:16:22 +01:00
Paul Vriens 87e8204365 kernel32/tests: Resource functions are not implemented on win98. 2007-04-26 14:25:04 +02:00
Stefan Huehner 4d1d01f266 Mark several functions as static. 2007-03-13 13:35:12 +01:00
Mike McCormack f01707dfc1 kernel32: Merge existing resources in EndUpdateResource. 2007-01-11 12:12:00 +01:00
Mike McCormack 4d72d7897f kernel32: Implement EndUpdateResource for the case existing resources are deleted. 2007-01-09 12:22:21 +01:00
Mike McCormack b4bc2c3628 kernel32: Don't try update version resources with invalid data, as it fails on Windows 2003. 2007-01-04 09:56:00 +01:00
Rob Shearman 140a610e2a kernel32: Be more verbose about the expected and received values for failures in the resource function tests. 2007-01-04 09:50:25 +01:00
Mike McCormack 9196a37201 kernel32: Store resources to be updated in a tree. 2007-01-03 11:54:41 +01:00
Mike McCormack 794dbe4f93 kernel32: Remove incorrect and incomplete implementation of BeginResourceUpdate. 2007-01-02 13:20:21 +01:00
Mike McCormack 1cd16ed7f3 kernel32: Add a short test for Begin/EndUpdateResource. 2007-01-02 13:20:11 +01:00