Commit Graph

146 Commits

Author SHA1 Message Date
James Hawkins 0eddf4341f Check the size of the input buffer so we don't write past the end. 2005-10-04 11:30:20 +00:00
Alexandre Julliard 7e22be4d84 We are no longer generating .dbg.c files. 2005-09-29 10:35:58 +00:00
Alexandre Julliard 9f1c6de1ef We are no longer generating .spec.c files. 2005-09-21 14:42:52 +00:00
Alexandre Julliard 7c1925a0f3 Remove the 'L' suffix on a number of constants to avoid comparison
errors on 64-bit platforms.
2005-09-13 15:00:32 +00:00
Alexandre Julliard 261e376495 Fixed a number of pointer to integer conversions that wouldn't work
right on a 64-bit platform.
2005-09-12 15:14:06 +00:00
Alexandre Julliard c6b005ac69 Fixed some more traces to use the right printf format and avoid
typecasts.
2005-09-12 14:12:46 +00:00
Alexandre Julliard 37871ce3f1 Store the result of the A/W conversions in the extra buffer space. 2005-08-29 15:10:02 +00:00
Paul Vriens 31d0e7421e Reserve extra space for conversions. 2005-08-29 14:17:27 +00:00
Alexandre Julliard cc4da88563 Explicitly import kernel32 in tests that use it. 2005-08-27 09:27:09 +00:00
Mike McCormack f49f36f9eb Fix gcc 4.0 warnings. 2005-08-23 09:37:30 +00:00
Alexandre Julliard e9438a87f6 Add an extra test to show failing behavior. 2005-08-22 18:57:22 +00:00
Alexandre Julliard 2bacc4631c Don't convert the return value on failure in VerQueryValueA/W. 2005-08-03 11:04:13 +00:00
Paul Vriens 5b2810bb2b Remove the no longer used ConvertVersionInfo32To16 function.
Add a (forgotten) RtlFreeUnicodeString.
2005-07-30 19:04:01 +00:00
Paul Vriens 111a913d5e Cleanup whitespace.
Conversion fixes.
2005-07-29 14:15:56 +00:00
Paul Vriens 00d8112196 New function VersionInfo32_QueryValue.
Made functions static.
2005-07-28 18:32:32 +00:00
Paul Vriens 72fba73ada VerQueryValue returns BOOL not DWORD. 2005-07-28 10:47:37 +00:00
Paul Vriens c232ce43e2 Cleanup print_vffi_debug. 2005-07-28 10:14:08 +00:00
Paul Vriens e5503f96c1 Remove 32bit references/checks in VERSION_GetFileVersionInfo_16. 2005-07-27 15:14:33 +00:00
Paul Vriens a16fcbe5ba Remove wrong check. 2005-07-27 12:05:38 +00:00
Paul Vriens 98e33334ae Rename bText to wType. 2005-07-26 18:25:34 +00:00
Paul Vriens b296b04230 Forward GetFileVersionInfoA to GetFileVersionInfoW. 2005-07-26 15:50:17 +00:00
Paul Vriens ef1da879df Cleanup and some additional tests. 2005-07-26 10:33:22 +00:00
Paul Vriens 8e541c8aeb Add tests for VerQueryValue[AW].
Don't convert the struct to a win16 one in GetFileVersionInfoA.
Convert the struct to win16 in VerQueryValueA (for now).
2005-07-20 10:29:29 +00:00
Paul Vriens 2509c06e16 Added a test, specifically for NT/W2K/XP/W2K3. 2005-07-15 16:32:53 +00:00
Stefan Leichter e7425a5b7c Test GetFileVersionInfoSizeA with executables. 2005-05-31 09:33:59 +00:00
Alexandre Julliard 34fa35dc99 Added rules for building import libraries in the individual dll
makefiles, and added support for building a .def.a static import
library too.
2005-05-09 14:42:30 +00:00
Alexandre Julliard d62356aa1e Added rules to build import libraries in the individual dll makefiles.
Generate import libraries with the right name right away instead of
using an intermediate .spec.def file.
2005-05-07 12:39:52 +00:00
Jon Griffiths 1174e64928 Avoid a magic number. 2005-03-19 17:03:43 +00:00
Stefan Leichter d55575e976 Exclude two tests crashing on WinNT4. 2005-02-25 16:19:19 +00:00
Stefan Leichter b8ac580ece Fixed GetFileVersionInfoSizeA tests on Win95. 2005-02-08 13:43:41 +00:00
Stefan Leichter 7ed3f41c98 Fixed GetFileVersionInfoSizeA tests on WinME. 2005-01-19 16:59:35 +00:00
Robert Reif 18a1a6e194 Prevent crash from invalid last parameter in GetFileVersionInfo.
Prevent crash in VerQueryValue when return size not requested.
GetFileVersionInfo and VerQueryValue parameter tests added.
2005-01-04 20:35:46 +00:00
Alexandre Julliard 75f87dd43f Get rid of the ThunkData stubs, these are not functions. 2005-01-03 20:47:48 +00:00
Stefan Leichter 6ab1bc9696 Fixed tests of GetFileVersionInfoSizeA for win2k3. 2004-12-16 14:34:18 +00:00
Eric Pouech 0a258964c2 Const correctness fixes. 2004-11-30 21:38:57 +00:00
Stefan Leichter e75f49209f Fixed GetFileVersionInfoSizeA tests on NT. 2004-11-19 18:19:31 +00:00
Stefan Leichter 79cf64681e Fixed GetFileVersionInfoSizeA tests on NT4 platform. 2004-11-09 20:11:07 +00:00
Dmitry Timoshkov 55cc226d82 Set last error values compatible with Win9x implementation
of GetFileVersionInfoSize, Quicken installer depends on it.
2004-08-31 17:31:40 +00:00
Dmitry Timoshkov 97551bcef5 Try to avoid loading 16-bit DLLs into memory for accessing version
info, this might lead to undesired side effects like loading a bunch
of other 16-bit DLLs.
2004-08-26 18:10:24 +00:00
Alexandre Julliard b459952144 Avoid some non-portable makefile constructs, and get rid of the
ALTNAMES variable.
2004-08-11 23:59:06 +00:00
Stefan Leichter ec596c06e9 Fixed tests of GetFileVersionInfoSizeA for win98 / XP. 2004-06-28 23:51:35 +00:00
Eric Pouech df93f2eeee GetModuleFileName[AW] doesn't terminate the string if the buffer is
too small.
2004-05-19 03:22:55 +00:00
Alexandre Julliard 82398e10c1 Set last error to 0 on success in VERSION_GetFileVersionInfo_PE now
that LoadLibraryW doesn't do this anymore.
2004-04-12 23:33:08 +00:00
Hans Leidekker eabafe779c Link to ntdll. 2004-04-09 19:05:47 +00:00
Stefan Leichter 09733db5c5 Added tests for GetFileVersionInfoSizeA. 2004-04-05 22:54:03 +00:00
Stefan Leichter 1ce19853c1 Moved implementation of GetFileVersionInfoSize from ascii to unicode,
fixed failing, crashing test cases.
2004-04-05 22:51:37 +00:00
Alexandre Julliard 9e4ed6460c .spec.c files are no longer used for 32-bit dlls. 2004-03-24 03:36:44 +00:00
Robert Shearman bcc80032ab Allow VerQueryValueW to query 16-bit resources. 2004-01-28 20:06:14 +00:00
Alexandre Julliard 402b79a1e8 Porting fixes. 2003-11-27 00:59:36 +00:00
Rolf Kalbermatter 76f13deb26 Use INVALID_FILE_ATTRIBUTES to test for failure of
GetFileAttributesA/W and not -1 or 0xFFFFFFFF.
2003-10-16 19:12:49 +00:00