mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 11:11:44 +00:00
[NTOS:RAWFS] LE JOKE! - Commit 7716bddd
(r24564) claimed to "actually create the \\Device names so that user-mode can even talk to it", yet didn't bother to do that!
Certainly due to copy-pasta error from the original code. A consequence of this oversight, was that the IoGetDeviceObjectPointer() calls on these device names, in fltmgr!DriverEntry() couldn't work. (See drivers/filters/fltmgr/Interface.c, line 1880 and below.)
This commit is contained in:
parent
5ccd45ea58
commit
9462350a92
1 changed files with 3 additions and 3 deletions
|
@ -1202,7 +1202,7 @@ RawFsDriverEntry(IN PDRIVER_OBJECT DriverObject,
|
|||
RtlInitUnicodeString(&DeviceName, L"\\Device\\RawDisk");
|
||||
Status = IoCreateDevice(DriverObject,
|
||||
0,
|
||||
NULL,
|
||||
&DeviceName,
|
||||
FILE_DEVICE_DISK_FILE_SYSTEM,
|
||||
0,
|
||||
FALSE,
|
||||
|
@ -1216,7 +1216,7 @@ RawFsDriverEntry(IN PDRIVER_OBJECT DriverObject,
|
|||
RtlInitUnicodeString(&DeviceName, L"\\Device\\RawCdRom");
|
||||
Status = IoCreateDevice(DriverObject,
|
||||
0,
|
||||
NULL,
|
||||
&DeviceName,
|
||||
FILE_DEVICE_CD_ROM_FILE_SYSTEM,
|
||||
0,
|
||||
FALSE,
|
||||
|
@ -1231,7 +1231,7 @@ RawFsDriverEntry(IN PDRIVER_OBJECT DriverObject,
|
|||
RtlInitUnicodeString(&DeviceName, L"\\Device\\RawTape");
|
||||
Status = IoCreateDevice(DriverObject,
|
||||
0,
|
||||
NULL,
|
||||
&DeviceName,
|
||||
FILE_DEVICE_TAPE_FILE_SYSTEM,
|
||||
0,
|
||||
FALSE,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue