金币830
积分1476
注册时间2019-5-11
最后登录2024-9-29
|
- typedef struct _REQUEST_BASE {
- DWORD ProcessId;
- PVOID Base;
- } REQUEST_BASE, * PREQUEST_BASE;
-
- typedef struct _REQUEST_WRITE {
- DWORD ProcessId;
- PVOID Dest;
- PVOID Src;
- DWORD Size;
- } REQUEST_WRITE, * PREQUEST_WRITE;
-
- typedef struct _REQUEST_READ {
- DWORD ProcessId;
- PVOID Dest;
- PVOID Src;
- DWORD Size;
- } REQUEST_READ, * PREQUEST_READ;
复制代码
- #define DRIVER_SVC_NAME L"mstoresvc"
- #define DRIVER_DEVICE_FILE L"\\\\.\" DRIVER_SVC_NAME
-
- #define FILE_DEVICE_DRIVER 0x131120
- #define IOCTL_CORE_BASE (ULONG)CTL_CODE(FILE_DEVICE_DRIVER, 0x810, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
- #define IOCTL_CORE_WRITE (ULONG)CTL_CODE(FILE_DEVICE_DRIVER, 0x811, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
- #define IOCTL_CORE_READ (ULONG)CTL_CODE(FILE_DEVICE_DRIVER, 0x812, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
- #define IOCTL_CORE_SETUP (ULONG)CTL_CODE(FILE_DEVICE_DRIVER, 0x813, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
复制代码
|
|