Commit Graph

234 Commits

Author SHA1 Message Date
Dmitry Timoshkov e2791cdfb1 include: Make IMAGE_RESOURCE_DIRECTORY_ENTRY match PSDK definition. 2013-04-29 13:33:54 +02:00
Nikolay Sivov f3f81387f1 version: Remove 'return' from void function. 2012-12-19 14:38:58 +01:00
Michael Stefaniuc d8bc018487 version/tests: Check the correct variable. 2012-05-15 16:26:38 +02:00
Francois Gouget 8eef0cc258 dlls: Remove unneeded include directives in resource files. 2011-11-14 15:25:23 +01:00
Francois Gouget 6a8ba3616c version: Fix printing NULL strings. 2011-09-20 16:21:39 +02:00
Alexandre Julliard 702941eae1 version: Check the Windows directory first in VerFindFileA/W. 2011-09-09 13:27:14 +02:00
André Hentschel 87ebfe5d18 version: Return VIF_CANNOTREADSRC if no source path could be generated. 2011-08-30 11:54:20 +02:00
André Hentschel 89beac4719 version: Don't initialize the variable twice (clang). 2011-07-14 14:45:09 +02:00
Marcus Meissner d8ed83e3c1 version: Merge all 3 C source files into one. 2011-05-25 16:35:05 +02:00
Alexandre Julliard 0136bc27d1 version: Allocate the full virtual size of the section when loading PE resources. 2011-03-14 12:13:39 +01:00
Austin English 35a39e3cf6 version/tests: Remove win9x hacks. 2011-02-24 15:50:50 +01:00
Austin English 121885dd2d version/tests: Make sure return values are used (LLVM/Clang). 2011-02-09 09:26:23 -06:00
Alexandre Julliard deaf2f593d version: Don't bother importing lz32, all the functions are in kernel32. 2010-09-24 15:45:55 +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
Alexandre Julliard c94e7645a4 version: Don't include winbase16.h. 2010-05-27 17:04:12 +02:00
André Hentschel 89f3afb012 version: Fix typo in comment. 2010-05-03 17:34:24 +02:00
Alexandre Julliard 81575421a9 version: Support loading resources from both 32-bit and 64-bit PE binaries. 2010-03-25 10:54:50 +01:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Alexandre Julliard 2b1ff01006 version: Improve detection of builtin libraries. 2010-02-17 09:41:20 +01:00
Alexandre Julliard b4679dc8fd version: Get rid of the 16-bit library loading code for builtins.
We have fake dlls for everything now.
2009-12-29 10:21:06 +01:00
Alexandre Julliard f6fc2dba07 version: Simplify the resource loading since we always load the same type and id now. 2009-10-01 13:58:24 +02:00
Alexandre Julliard 3ed5986dd6 version: Make ver.dll into a stand-alone 16-bit module. 2009-10-01 13:57:08 +02:00
Alexandre Julliard dbbc40affa version: Moved GetFileResourceSize16/GetFileResource16 to ver16.c. 2009-10-01 13:56:13 +02:00
Alexandre Julliard e84c42d92a version: Use the find_resource function instead of the 16-bit entry points to load 16-bit resources. 2009-10-01 13:54:58 +02:00
Alexandre Julliard e04b9984b6 version: Abstract resource finding into a common function. 2009-10-01 13:53:42 +02:00
Michael Stefaniuc 934ed50d49 version: Remove superfluous pointer casts. 2009-01-13 15:26:16 +01:00
Alexandre Julliard b33995eda8 version: Avoid pointer casts in a trace. 2009-01-08 13:13:15 +01:00
Alistair Leslie-Hughes d026b74d79 version: Stop crash under vista and 2k8. 2008-11-26 12:28:05 +01:00
Huw Davies 559112d472 version: Fixed comments. 2008-11-26 12:08:16 +01:00
Francois Gouget 0ee5d57079 version: Remove WINAPI on static functions where not needed. 2008-11-25 11:50:13 +01:00
Alistair Leslie-Hughes 9643411c32 version: VerQueryValueA/W allow blank and NULL strings. 2008-11-21 13:53:12 +01:00
Paul Vriens a7e13f565b version/tests: Use win_skip instead of trace. 2008-10-21 11:43:52 +02:00
Paul Vriens 29360b632f version/tests: Fix a copy-paste mistake. 2008-10-21 11:43:47 +02:00
Lei Zhang 69871bedf1 version: Prevent infinite looping in VersionInfo32_FindChild. 2008-10-14 13:41:55 +02:00
Joris Huizer af08680037 version/tests: Corrected memset placement. 2008-10-08 14:10:50 +02:00
Aric Stewart ea08576820 version: Check for out of memory in VerInstallFileA/W conversion (Coverity 635). 2008-10-06 14:11:04 +02:00
James Hawkins 3550d3bfbc version: Fix tests that fail in win9x and win2k. 2008-04-23 14:29:41 +02:00
Marcus Meissner 0aecedf281 version: LZCopy return value is LONG. 2008-03-24 13:40:57 +01:00
Rob Shearman 48000893f9 makefiles: Simplify the use of the IMPORTLIB variable in the DLL makefiles.
Only specify the root to keep platform-specifics out of the individual 
DLL makefiles.
2008-03-04 20:55:01 +01:00
Paul Vriens d6a8b5024a version/tests: Win98, NT4 and W2K return different errors. 2008-02-25 19:50:19 +01:00
Aric Stewart 1a328d9126 version: Check for 16-bit file format before returning ERROR_RESOURCE_DATA_NOT_FOUND. 2008-02-13 17:25:46 +01:00
James Hawkins 972c61d311 version: Return ERROR_RESOURCE_DATA_NOT_FOUND if the file does not have version information. 2008-02-05 12:19:36 +01:00
Dmitry Timoshkov 09c3d32ff5 version: Use GetModuleHandleEx to increment the module ref count. 2007-11-01 12:41:44 +01:00
Bang Jun-young a290263860 version: Use the official NT macro rather than obsolete one. 2007-10-16 09:38:30 +02:00
Francois Gouget 015dc79cd4 version: Fix some Ver*() prototypes (especially wrt constness).
Better match the PSDK types and fix the winapi_check warnings.
2007-09-10 12:13:41 +02:00
Steven Edwards c9a0da51a5 Remove more unneeded wine 16bit header usage. 2007-08-30 12:31:01 +02:00
Steven Edwards e1347ecdc5 version: VerQueryValueA/W NULL pointer check. 2007-07-27 12:21:56 +02:00
Francois Gouget 96c337f0a1 Assorted spelling fixes. 2007-06-07 19:24:32 +02:00