Files
TaxiDriver/src/client/communication_struct.h
2023-10-22 12:59:33 +02:00

24 lines
366 B
C

#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;