mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-23 00:43:00 -05:00
sys: WIP
This commit is contained in:
parent
9fe93bfb5d
commit
1a07196686
@ -23,7 +23,7 @@ DriverEntry(
|
|||||||
|
|
||||||
/* create the file system device object */
|
/* create the file system device object */
|
||||||
UNICODE_STRING DeviceName;
|
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,
|
Result = IoCreateDevice(DriverObject, 0, &DeviceName, FILE_DEVICE_FILE_SYSTEM, 0, FALSE,
|
||||||
&FspDeviceObject);
|
&FspDeviceObject);
|
||||||
if (!NT_SUCCESS(Result))
|
if (!NT_SUCCESS(Result))
|
||||||
|
@ -9,7 +9,8 @@
|
|||||||
|
|
||||||
#include <ntifs.h>
|
#include <ntifs.h>
|
||||||
|
|
||||||
#define DRIVER_NAME "winfsp"
|
#define DRIVER_NAME "WinFsp"
|
||||||
|
#define DEVICE_NAME "WinFsp"
|
||||||
|
|
||||||
/* DEBUGLOG */
|
/* DEBUGLOG */
|
||||||
#if DBG
|
#if DBG
|
||||||
|
Loading…
x
Reference in New Issue
Block a user