mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 16:33:02 -05:00
sys: WIP
This commit is contained in:
parent
9fe93bfb5d
commit
1a07196686
@ -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))
|
||||
|
@ -9,7 +9,8 @@
|
||||
|
||||
#include <ntifs.h>
|
||||
|
||||
#define DRIVER_NAME "winfsp"
|
||||
#define DRIVER_NAME "WinFsp"
|
||||
#define DEVICE_NAME "WinFsp"
|
||||
|
||||
/* DEBUGLOG */
|
||||
#if DBG
|
||||
|
Loading…
x
Reference in New Issue
Block a user