26#define APPLY_OPTION_FAIL_IF_EXACT 0x00000001
27#define APPLY_OPTION_FAIL_IF_CLOSE 0x00000002
28#define APPLY_OPTION_TEST_ONLY 0x00000004
29#define APPLY_OPTION_VALID_FLAGS 0x00000007
35#define ERROR_PATCH_DECODE_FAILURE 0xC00E4101
36#define ERROR_PATCH_CORRUPT 0xC00E4102
37#define ERROR_PATCH_NEWER_FORMAT 0xC00E4103
38#define ERROR_PATCH_WRONG_FILE 0xC00E4104
39#define ERROR_PATCH_NOT_NECESSARY 0xC00E4105
40#define ERROR_PATCH_NOT_AVAILABLE 0xC00E4106
63#define TestApplyPatchToFile WINELIB_NAME_AW(TestApplyPatchToFile)
69#define ApplyPatchToFile WINELIB_NAME_AW(ApplyPatchToFile)
76 PVOID SignatureBuffer);
80 PVOID SignatureBuffer);
81#define GetFilePatchSignature WINELIB_NAME_AW(GetFilePatchSignature)
85 PVOID SignatureBuffer);
_Must_inspect_result_ _In_opt_ PFLT_INSTANCE _Out_ PHANDLE FileHandle
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 TestApplyPatchToFileW(LPCWSTR PatchFileName, LPCWSTR OldFileName, 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)
ULONG ULONG MaximumPosition
struct _PATCH_RETAIN_RANGE PATCH_RETAIN_RANGE
struct _PATCH_IGNORE_RANGE * PPATCH_IGNORE_RANGE
BOOL WINAPI ApplyPatchToFileA(LPCSTR PatchFileName, LPCSTR OldFileName, LPCSTR NewFileName, ULONG ApplyOptionFlags)
struct _PATCH_RETAIN_RANGE * PPATCH_RETAIN_RANGE
BOOL WINAPI TestApplyPatchToFileByHandles(HANDLE PatchFileHandle, HANDLE OldFileHandle, ULONG ApplyOptionFlags)
BOOL WINAPI ApplyPatchToFileByHandles(HANDLE PatchFileHandle, HANDLE OldFileHandle, HANDLE NewFileHandle, ULONG ApplyOptionFlags)
BOOL WINAPI TestApplyPatchToFileA(LPCSTR PatchFileName, LPCSTR OldFileName, ULONG ApplyOptionFlags)
PATCH_PROGRESS_CALLBACK * PPATCH_PROGRESS_CALLBACK
BOOL WINAPI ApplyPatchToFileW(LPCWSTR PatchFileName, LPCWSTR OldFileName, LPCWSTR NewFileName, ULONG ApplyOptionFlags)
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)
struct _PATCH_IGNORE_RANGE PATCH_IGNORE_RANGE
_IRQL_requires_same_ typedef _In_ ULONG _In_ UCHAR _In_ ULONGLONG _In_ ULONGLONG _In_opt_ PEVENT_FILTER_DESCRIPTOR _Inout_opt_ PVOID CallbackContext