Commit Graph

8 Commits

Author SHA1 Message Date
Alexandre Julliard 9cef8bb6f2 mspatcha: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-23 10:06:56 +01:00
Alexandre Julliard a8732ce638 mspatcha: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-13 14:34:51 +02:00
Conor McCarthy f8c2562826 mspatcha: Add stubs for signature and normalization functions.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=12501
Signed-off-by: Conor McCarthy <conor.mccarthy.444@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-09 08:20:16 -05:00
Conor McCarthy 8695a6986e mspatcha: Partially implement ApplyPatchToFileW and related functions.
This can patch non-executables and 64-bit executable files, but
patching of 32-bit executables is not supported. They are subject to
special processing which alters PE relocations to match with those in
the old file to improve compression. To reverse this, the meaning of
the decoding data must be interpreted. Details, including where to
find that data in the patch file, are included in pa19.c. Interleaved
decompression of large files is also not supported.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=12501
Signed-off-by: Conor McCarthy <conor.mccarthy.444@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-09 08:18:51 -05:00
Alexandre Julliard f02cdd877f Remove empty DLL_PROCESS_DETACH case statements. 2013-04-15 16:45:35 +02:00
Hans Leidekker bf4456df60 mspatcha: Add a stub implementation of GetFilePatchSignatureA/W. 2011-10-08 17:38:43 +02:00
Hans Leidekker 50110d4bbd mspatcha: Forward ApplyPatchToFileA to ApplyPatchToFileW. 2011-10-04 15:44:15 -05:00
David Hedberg 21085edb51 mspatcha: New dll stub. 2011-03-28 17:29:39 +02:00