1
0
mirror of https://github.com/mastercodeon314/KsDumper-11.git synced 2024-11-12 01:20:51 +01:00
KsDumper-11/KsDumperDriver/UserModeBridge.h
2023-01-22 22:05:57 -06:00

23 lines
714 B
C

#pragma once
#include <ntddk.h>
#define IO_GET_PROCESS_LIST CTL_CODE(FILE_DEVICE_UNKNOWN, 0x1724, METHOD_BUFFERED, FILE_SPECIAL_ACCESS)
#define IO_COPY_MEMORY CTL_CODE(FILE_DEVICE_UNKNOWN, 0x1725, METHOD_BUFFERED, FILE_SPECIAL_ACCESS)
#define IO_UNLOAD_DRIVER CTL_CODE(FILE_DEVICE_UNKNOWN, 0x1726, METHOD_BUFFERED, FILE_SPECIAL_ACCESS)
typedef struct _KERNEL_PROCESS_LIST_OPERATION
{
PVOID bufferAddress;
INT32 bufferSize;
INT32 processCount;
} KERNEL_PROCESS_LIST_OPERATION, *PKERNEL_PROCESS_LIST_OPERATION;
typedef struct _KERNEL_COPY_MEMORY_OPERATION
{
INT32 targetProcessId;
PVOID targetAddress;
PVOID bufferAddress;
INT32 bufferSize;
} KERNEL_COPY_MEMORY_OPERATION, *PKERNEL_COPY_MEMORY_OPERATION;