Commit Graph

11 Commits

Author SHA1 Message Date
James Hawkins a37bb2a033 Returned versions are always initialized to zero, even on failure.
Function always returns S_OK, even on failure.
Copy the file to the temp directory if the file exists but isn't found
by GetFileVersionInfoSize.
If bVersion is FALSE, return the language and code page identifiers of
the file, not the system.
2005-11-29 11:25:51 +01:00
Francois Gouget bcac03453a Add trailing '\n' to trace() call. 2005-11-23 19:44:20 +01:00
Saulius Krasuckas 426cc7fe3f Exit test after first TranslateInfString() failure, which seems to be
NT3.51 specific.
2005-11-22 11:58:25 +00:00
Saulius Krasuckas 22a314e751 Get the version and language ID of ADVPACK.DLL too. 2005-11-14 12:27:39 +00:00
Saulius Krasuckas 39e11022e8 WinME fixes:
- don't fail on WriteFile(),
- add valid error codes,
- empty buffer to avoid printing garbage,
- remove bogus inf-file which TranslateInfString() creates here.
2005-11-10 11:37:03 +00:00
James Hawkins e2b8b43b7f Implement TranslateInfString with tests. 2005-11-08 12:43:35 +00:00
Saulius Krasuckas 7284e6d419 Remove trailing backslash. 2005-08-15 10:47:31 +00:00
Stefan Huehner ac6f562b52 Fix more -Wstrict-prototypes warnings. 2005-06-20 14:18:03 +00:00
Sami Aario c7bd5fb16d Added initial version of Delnode plus some tests. 2005-04-27 09:37:25 +00:00
Francois Gouget fe2b31a569 Load advpack.dll at runtime to avoid link problems with the platform
sdk.
2005-02-14 11:02:46 +00:00
Robert Reif 97199823bf Added stubs for NeedRebootInit and NeedReboot.
Added implementations for GetVersionFromFile and
GetVersionFromFileEx.
Added test for GetVersionFromFile.
2005-01-20 20:03:13 +00:00