From 1a071966866ce40ddb2b4a697eed0b91b7ca7c58 Mon Sep 17 00:00:00 2001 From: Bill Zissimopoulos Date: Wed, 18 Nov 2015 21:53:53 -0800 Subject: [PATCH] sys: WIP --- src/sys/driver.c | 2 +- src/sys/driver.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/sys/driver.c b/src/sys/driver.c index 7a76d495..59e525ac 100644 --- a/src/sys/driver.c +++ b/src/sys/driver.c @@ -23,7 +23,7 @@ DriverEntry( /* create the file system device object */ UNICODE_STRING DeviceName; - RtlInitUnicodeString(&DeviceName, L"\\" DRIVER_NAME); + RtlInitUnicodeString(&DeviceName, L"\\Device\\" DEVICE_NAME); Result = IoCreateDevice(DriverObject, 0, &DeviceName, FILE_DEVICE_FILE_SYSTEM, 0, FALSE, &FspDeviceObject); if (!NT_SUCCESS(Result)) diff --git a/src/sys/driver.h b/src/sys/driver.h index 8a8ff57a..bb26ca77 100644 --- a/src/sys/driver.h +++ b/src/sys/driver.h @@ -9,7 +9,8 @@ #include -#define DRIVER_NAME "winfsp" +#define DRIVER_NAME "WinFsp" +#define DEVICE_NAME "WinFsp" /* DEBUGLOG */ #if DBG