From 487e95bfd9db3fb9e4410bf1adfbae5588ff7f0e Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Thu, 28 Mar 2019 14:13:30 +0100 Subject: initial commit Signed-off-by: Toni Uhlig --- PastDSECtrl/Driver.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 PastDSECtrl/Driver.h (limited to 'PastDSECtrl/Driver.h') diff --git a/PastDSECtrl/Driver.h b/PastDSECtrl/Driver.h new file mode 100644 index 0000000..692dd9d --- /dev/null +++ b/PastDSECtrl/Driver.h @@ -0,0 +1,23 @@ +/****************************************************** +* FILENAME: +* Driver.h +* +* DESCRIPTION: +* Driver utility functions. +* +* Copyright Toni Uhlig 2019. All rights reserved. +* +* AUTHOR: +* Toni Uhlig START DATE : 27 Mar 19 +*/ + +#pragma once + +#define DEVICE_NAME L"PastDSE" +#define PASTDSE_DEVICE 0x9C40 +#define MMAPDRV_MAXPATH 512 +#define IOCTL_PASTDSE_MMAP_DRIVER (ULONG)CTL_CODE(PASTDSE_DEVICE, 0x800, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS) + +typedef struct MMAP_DRIVER_INFO { + wchar_t path[MMAPDRV_MAXPATH]; +} MMAP_DRIVER_INFO; \ No newline at end of file -- cgit v1.2.3