feat: initial commit
This commit is contained in:
23
src/client/communication_struct.h
Normal file
23
src/client/communication_struct.h
Normal file
@@ -0,0 +1,23 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef DRIVER
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
#define IOCTL_OPENPROC _IOW('k', 1, int)
|
||||
#define IOCTL_RPM _IOW('k', 1, t_RPM)
|
||||
#define IOCTL_WPM _IOW('k', 2, t_WPM)
|
||||
|
||||
typedef struct s_RPM
|
||||
{
|
||||
uintptr_t addr;
|
||||
ssize_t size;
|
||||
} t_RPM;
|
||||
|
||||
typedef struct s_WPM
|
||||
{
|
||||
uintptr_t addr;
|
||||
ssize_t size;
|
||||
uintptr_t value;
|
||||
} t_WPM;
|
||||
Reference in New Issue
Block a user