This commit is contained in:
Bill Zissimopoulos 2015-11-18 21:53:53 -08:00
parent 9fe93bfb5d
commit 1a07196686
2 changed files with 3 additions and 2 deletions

View File

@ -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))

View File

@ -9,7 +9,8 @@
#include <ntifs.h>
#define DRIVER_NAME "winfsp"
#define DRIVER_NAME "WinFsp"
#define DEVICE_NAME "WinFsp"
/* DEBUGLOG */
#if DBG