#ifndef _NTEXAPI_H
#if (PHNT_MODE != PHNT_MODE_KERNEL)
/**
* The MANAGE_HOT_PATCH_APPLY_IMAGE_PATCH structure describes parameters for applying a hot patch to an image.
*/
typedef struct _MANAGE_HOT_PATCH_APPLY_IMAGE_PATCH
{
ULONG Version; // Structure version. Must be MANAGE_HOT_PATCH_APPLY_IMAGE_PATCH_VERSION.
union
{
ULONG AllFlags; // All flags as a ULONG.
struct
{
ULONG ApplyReversePatches : 1; // If set, apply reverse patches.
ULONG ApplyForwardPatches : 1; // If set, apply forward patches.
ULONG Spare : 29;
};
};
HANDLE ProcessHandle; // Handle to the process to patch.
PVOID BaseImageAddress; // Base address of the image to patch.
PVOID PatchImageAddress; // Address of the patch image.
} MANAGE_HOT_PATCH_APPLY_IMAGE_PATCH, *PMANAGE_HOT_PATCH_APPLY_IMAGE_PATCH;
View code on GitHubNo description available.