Fix usetup. This hack needs to remain even though it's incorrect since it's what ROS expects. I am working on rewriting IoCreateFile so these hacks can go away. Please do not remove it

svn path=/trunk/; revision=15392
This commit is contained in:
Alex Ionescu 2005-05-18 17:17:34 +00:00
parent baed69574e
commit 474cd6a3e3

View file

@ -1148,7 +1148,7 @@ IoCreateStreamFileObject(PFILE_OBJECT FileObject,
CreatedFileObject->Vpb = DeviceObject->Vpb;
CreatedFileObject->Type = IO_TYPE_FILE;
/* HACK */
//CreatedFileObject->Flags |= FO_DIRECT_DEVICE_OPEN;
CreatedFileObject->Flags |= FO_DIRECT_DEVICE_OPEN;
CreatedFileObject->Flags |= FO_STREAM_FILE;
/* Initialize Lock and Event */