mirror of
https://github.com/Offensive-Panda/ProcessInjectionTechniques
synced 2026-06-06 16:24:33 +00:00
15 lines
358 B
C
15 lines
358 B
C
#pragma once
|
|
#include <Windows.h>
|
|
|
|
typedef NTSTATUS(WINAPI* _NtUnmapViewOfSectionFunc)(HANDLE ProcessHandle, PVOID BaseAddress);
|
|
|
|
typedef struct RELOCATION_BLOCK {
|
|
DWORD PageAddress;
|
|
DWORD BlockSize;
|
|
} RELOCATION_BLOCK, * PRELOCATION_BLOCK;
|
|
|
|
typedef struct RELOCATION_ENTRY {
|
|
USHORT Offset : 12;
|
|
USHORT Type : 4;
|
|
} RELOCATION_ENTRY, * PRELOCATION_ENTRY;
|