mirror of
https://github.com/momo5502/hypervisor.git
synced 2025-07-03 01:31:51 +00:00
More irp implementation
This commit is contained in:
14
src/shared/irp_data.hpp
Normal file
14
src/shared/irp_data.hpp
Normal file
@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
|
||||
#define HELLO_DRV_IOCTL CTL_CODE(FILE_DEVICE_UNKNOWN, 0x800, METHOD_NEITHER, FILE_ANY_ACCESS)
|
||||
#define HOOK_DRV_IOCTL CTL_CODE(FILE_DEVICE_UNKNOWN, 0x801, METHOD_NEITHER, FILE_ANY_ACCESS)
|
||||
|
||||
static_assert(sizeof(void*) == 8);
|
||||
|
||||
struct hook_request
|
||||
{
|
||||
uint32_t process_id{};
|
||||
const void* target_address{};
|
||||
const void* source_data{};
|
||||
uint64_t source_data_size{};
|
||||
};
|
Reference in New Issue
Block a user