Files
2018-09-03 23:48:47 -07:00

26 lines
472 B
C++

#pragma once
#include <functional>
#include "structs.h"
using namespace native::structs;
namespace capcom::wrapper
{
static const std::string device_name = "\\\\.\\Htsysm72FB";
static const DWORD ioctl_x64 = 0xAA013044u;
class capcom_wrapper
{
private:
HANDLE driver_handle;
public:
capcom_wrapper();
void open_driver_handle();
void close_driver_handle();
void execute_in_kernel(std::function<void(MmGetSystemRoutineAddress_t)> user_function);
};
}