forked from kalikex1/LyMemory
-
Notifications
You must be signed in to change notification settings - Fork 0
/
struct.h
46 lines (41 loc) · 892 Bytes
/
struct.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// ------------------------------------------------------------------------------
// 内存读写结构定义
// ------------------------------------------------------------------------------
// 读写内存整数结构体
typedef struct
{
DWORD pid;
ULONG64 address;
UINT bytes_toread;
DWORD64 data;
}ProcessIntMemory;
// 读写内存偏移整数型
typedef struct
{
DWORD pid;
ULONG64 base_address;
DWORD offset[32];
DWORD offset_len;
INT64 data;
}ProcessDeviationIntMemory;
// 读写多级偏移内存地址
typedef struct
{
DWORD pid;
ULONG64 base_address;
DWORD offset[32];
DWORD offset_len;
DWORD64 data;
}ProcessDeviationMemory;
// 读写内存字节型
typedef struct
{
DWORD pid;
ULONG64 base_address;
BYTE OpCode;
}ProcessByteMemory;
// 取模块名称结构体
typedef struct ModuleInfoStruct
{
CHAR ModuleName[1024];
}ModuleInfoStruct, *LPModuleInfoStruct;