ReactOS 0.4.16-dev-21-g2af6fd4
|
Go to the source code of this file.
Classes | |
struct | _PATCH_IGNORE_RANGE |
struct | _PATCH_RETAIN_RANGE |
Macros | |
#define | APPLY_OPTION_FAIL_IF_EXACT 0x00000001 |
#define | APPLY_OPTION_FAIL_IF_CLOSE 0x00000002 |
#define | APPLY_OPTION_TEST_ONLY 0x00000004 |
#define | APPLY_OPTION_VALID_FLAGS 0x00000007 |
#define | ERROR_PATCH_DECODE_FAILURE 0xC00E4101 |
#define | ERROR_PATCH_CORRUPT 0xC00E4102 |
#define | ERROR_PATCH_NEWER_FORMAT 0xC00E4103 |
#define | ERROR_PATCH_WRONG_FILE 0xC00E4104 |
#define | ERROR_PATCH_NOT_NECESSARY 0xC00E4105 |
#define | ERROR_PATCH_NOT_AVAILABLE 0xC00E4106 |
#define | TestApplyPatchToFile WINELIB_NAME_AW(TestApplyPatchToFile) |
#define | ApplyPatchToFile WINELIB_NAME_AW(ApplyPatchToFile) |
#define | GetFilePatchSignature WINELIB_NAME_AW(GetFilePatchSignature) |
Typedefs | |
typedef struct _PATCH_IGNORE_RANGE | PATCH_IGNORE_RANGE |
typedef struct _PATCH_IGNORE_RANGE * | PPATCH_IGNORE_RANGE |
typedef struct _PATCH_RETAIN_RANGE | PATCH_RETAIN_RANGE |
typedef struct _PATCH_RETAIN_RANGE * | PPATCH_RETAIN_RANGE |
typedef ULONG | CurrentPosition |
typedef ULONG ULONG | MaximumPosition |
typedef PATCH_PROGRESS_CALLBACK * | PPATCH_PROGRESS_CALLBACK |
Functions | |
typedef | WINBOOL (CALLBACK PATCH_PROGRESS_CALLBACK)(PVOID CallbackContext |
BOOL WINAPI | TestApplyPatchToFileA (LPCSTR PatchFileName, LPCSTR OldFileName, ULONG ApplyOptionFlags) |
BOOL WINAPI | TestApplyPatchToFileW (LPCWSTR PatchFileName, LPCWSTR OldFileName, ULONG ApplyOptionFlags) |
BOOL WINAPI | TestApplyPatchToFileByHandles (HANDLE PatchFileHandle, HANDLE OldFileHandle, ULONG ApplyOptionFlags) |
BOOL WINAPI | ApplyPatchToFileA (LPCSTR PatchFileName, LPCSTR OldFileName, LPCSTR NewFileName, ULONG ApplyOptionFlags) |
BOOL WINAPI | ApplyPatchToFileW (LPCWSTR PatchFileName, LPCWSTR OldFileName, LPCWSTR NewFileName, ULONG ApplyOptionFlags) |
BOOL WINAPI | ApplyPatchToFileByHandles (HANDLE PatchFileHandle, HANDLE OldFileHandle, HANDLE NewFileHandle, ULONG ApplyOptionFlags) |
BOOL WINAPI | GetFilePatchSignatureA (LPCSTR FileName, ULONG OptionFlags, PVOID OptionData, ULONG IgnoreRangeCount, PPATCH_IGNORE_RANGE IgnoreRangeArray, ULONG RetainRangeCount, PPATCH_RETAIN_RANGE RetainRangeArray, ULONG SignatureBufferSize, PVOID SignatureBuffer) |
BOOL WINAPI | GetFilePatchSignatureW (LPCWSTR FileName, ULONG OptionFlags, PVOID OptionData, ULONG IgnoreRangeCount, PPATCH_IGNORE_RANGE IgnoreRangeArray, ULONG RetainRangeCount, PPATCH_RETAIN_RANGE RetainRangeArray, ULONG SignatureBufferSize, PVOID SignatureBuffer) |
BOOL WINAPI | GetFilePatchSignatureByHandle (HANDLE FileHandle, ULONG OptionFlags, PVOID OptionData, ULONG IgnoreRangeCount, PPATCH_IGNORE_RANGE IgnoreRangeArray, ULONG RetainRangeCount, PPATCH_RETAIN_RANGE RetainRangeArray, ULONG SignatureBufferSize, PVOID SignatureBuffer) |
#define APPLY_OPTION_FAIL_IF_CLOSE 0x00000002 |
Definition at line 27 of file patchapi.h.
#define APPLY_OPTION_FAIL_IF_EXACT 0x00000001 |
Definition at line 26 of file patchapi.h.
#define APPLY_OPTION_TEST_ONLY 0x00000004 |
Definition at line 28 of file patchapi.h.
#define APPLY_OPTION_VALID_FLAGS 0x00000007 |
Definition at line 29 of file patchapi.h.
#define ApplyPatchToFile WINELIB_NAME_AW(ApplyPatchToFile) |
Definition at line 69 of file patchapi.h.
#define ERROR_PATCH_CORRUPT 0xC00E4102 |
Definition at line 36 of file patchapi.h.
#define ERROR_PATCH_DECODE_FAILURE 0xC00E4101 |
Definition at line 35 of file patchapi.h.
#define ERROR_PATCH_NEWER_FORMAT 0xC00E4103 |
Definition at line 37 of file patchapi.h.
#define ERROR_PATCH_NOT_AVAILABLE 0xC00E4106 |
Definition at line 40 of file patchapi.h.
#define ERROR_PATCH_NOT_NECESSARY 0xC00E4105 |
Definition at line 39 of file patchapi.h.
#define ERROR_PATCH_WRONG_FILE 0xC00E4104 |
Definition at line 38 of file patchapi.h.
#define GetFilePatchSignature WINELIB_NAME_AW(GetFilePatchSignature) |
Definition at line 81 of file patchapi.h.
#define TestApplyPatchToFile WINELIB_NAME_AW(TestApplyPatchToFile) |
Definition at line 63 of file patchapi.h.
typedef ULONG CurrentPosition |
Definition at line 57 of file patchapi.h.
typedef ULONG ULONG MaximumPosition |
Definition at line 57 of file patchapi.h.
typedef struct _PATCH_IGNORE_RANGE * PPATCH_IGNORE_RANGE |
typedef PATCH_PROGRESS_CALLBACK* PPATCH_PROGRESS_CALLBACK |
Definition at line 58 of file patchapi.h.
typedef struct _PATCH_RETAIN_RANGE * PPATCH_RETAIN_RANGE |
BOOL WINAPI ApplyPatchToFileA | ( | LPCSTR | PatchFileName, |
LPCSTR | OldFileName, | ||
LPCSTR | NewFileName, | ||
ULONG | ApplyOptionFlags | ||
) |
Definition at line 230 of file mspatcha_main.c.
Referenced by apply_patch().
BOOL WINAPI ApplyPatchToFileByHandles | ( | HANDLE | PatchFileHandle, |
HANDLE | OldFileHandle, | ||
HANDLE | NewFileHandle, | ||
ULONG | ApplyOptionFlags | ||
) |
Definition at line 388 of file mspatcha_main.c.
Referenced by ApplyPatchToFileA(), ApplyPatchToFileW(), and TestApplyPatchToFileByHandles().
BOOL WINAPI ApplyPatchToFileW | ( | LPCWSTR | PatchFileName, |
LPCWSTR | OldFileName, | ||
LPCWSTR | NewFileName, | ||
ULONG | ApplyOptionFlags | ||
) |
Definition at line 445 of file mspatcha_main.c.
Referenced by msi_apply_filepatch().
BOOL WINAPI GetFilePatchSignatureA | ( | LPCSTR | FileName, |
ULONG | OptionFlags, | ||
PVOID | OptionData, | ||
ULONG | IgnoreRangeCount, | ||
PPATCH_IGNORE_RANGE | IgnoreRangeArray, | ||
ULONG | RetainRangeCount, | ||
PPATCH_RETAIN_RANGE | RetainRangeArray, | ||
ULONG | SignatureBufferSize, | ||
PVOID | SignatureBuffer | ||
) |
Definition at line 476 of file mspatcha_main.c.
Referenced by validate_signature().
BOOL WINAPI GetFilePatchSignatureByHandle | ( | HANDLE | FileHandle, |
ULONG | OptionFlags, | ||
PVOID | OptionData, | ||
ULONG | IgnoreRangeCount, | ||
PPATCH_IGNORE_RANGE | IgnoreRangeArray, | ||
ULONG | RetainRangeCount, | ||
PPATCH_RETAIN_RANGE | RetainRangeArray, | ||
ULONG | SignatureBufferSize, | ||
PVOID | SignatureBuffer | ||
) |
Definition at line 498 of file mspatcha_main.c.
Referenced by GetFilePatchSignatureA(), GetFilePatchSignatureW(), and validate_signature().
BOOL WINAPI GetFilePatchSignatureW | ( | LPCWSTR | FileName, |
ULONG | OptionFlags, | ||
PVOID | OptionData, | ||
ULONG | IgnoreRangeCount, | ||
PPATCH_IGNORE_RANGE | IgnoreRangeArray, | ||
ULONG | RetainRangeCount, | ||
PPATCH_RETAIN_RANGE | RetainRangeArray, | ||
ULONG | SignatureBufferSize, | ||
PVOID | SignatureBuffer | ||
) |
Definition at line 544 of file mspatcha_main.c.
Referenced by validate_signature().
BOOL WINAPI TestApplyPatchToFileA | ( | LPCSTR | PatchFileName, |
LPCSTR | OldFileName, | ||
ULONG | ApplyOptionFlags | ||
) |
Definition at line 577 of file mspatcha_main.c.
Referenced by apply_patch().
BOOL WINAPI TestApplyPatchToFileByHandles | ( | HANDLE | PatchFileHandle, |
HANDLE | OldFileHandle, | ||
ULONG | ApplyOptionFlags | ||
) |
Definition at line 602 of file mspatcha_main.c.
Referenced by apply_patch(), TestApplyPatchToFileA(), and TestApplyPatchToFileW().
BOOL WINAPI TestApplyPatchToFileW | ( | LPCWSTR | PatchFileName, |
LPCWSTR | OldFileName, | ||
ULONG | ApplyOptionFlags | ||
) |
Definition at line 610 of file mspatcha_main.c.