mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
don't assign DO_DIRECT_IO directly to DeviceObject->Flags
set DRIVER_DISPATCH where needed svn path=/trunk/; revision=30638
This commit is contained in:
parent
e7df482753
commit
13381f6a4b
2 changed files with 13 additions and 1 deletions
|
@ -67,7 +67,7 @@ DriverEntry(PDRIVER_OBJECT DriverObject,
|
|||
}
|
||||
|
||||
/* initialize the device object */
|
||||
DeviceObject->Flags = DO_DIRECT_IO;
|
||||
DeviceObject->Flags |= DO_DIRECT_IO;
|
||||
|
||||
/* initialize device extension */
|
||||
DeviceExtension = DeviceObject->DeviceExtension;
|
||||
|
|
|
@ -76,16 +76,28 @@ typedef struct _MSFS_MESSAGE
|
|||
|
||||
#define KeUnlockMutex(x) KeReleaseMutex(x, FALSE);
|
||||
|
||||
DRIVER_DISPATCH MsfsCreate;
|
||||
NTSTATUS DEFAULTAPI MsfsCreate(PDEVICE_OBJECT DeviceObject, PIRP Irp);
|
||||
|
||||
DRIVER_DISPATCH MsfsCreateMailslot;
|
||||
NTSTATUS DEFAULTAPI MsfsCreateMailslot(PDEVICE_OBJECT DeviceObject, PIRP Irp);
|
||||
|
||||
DRIVER_DISPATCH MsfsClose;
|
||||
NTSTATUS DEFAULTAPI MsfsClose(PDEVICE_OBJECT DeviceObject, PIRP Irp);
|
||||
|
||||
DRIVER_DISPATCH MsfsQueryInformation;
|
||||
NTSTATUS DEFAULTAPI MsfsQueryInformation(PDEVICE_OBJECT DeviceObject, PIRP Irp);
|
||||
|
||||
DRIVER_DISPATCH MsfsSetInformation;
|
||||
NTSTATUS DEFAULTAPI MsfsSetInformation(PDEVICE_OBJECT DeviceObject, PIRP Irp);
|
||||
|
||||
DRIVER_DISPATCH MsfsRead;
|
||||
NTSTATUS DEFAULTAPI MsfsRead(PDEVICE_OBJECT DeviceObject, PIRP Irp);
|
||||
|
||||
DRIVER_DISPATCH MsfsWrite;
|
||||
NTSTATUS DEFAULTAPI MsfsWrite(PDEVICE_OBJECT DeviceObject, PIRP Irp);
|
||||
|
||||
DRIVER_DISPATCH MsfsFileSystemControl;
|
||||
NTSTATUS DEFAULTAPI MsfsFileSystemControl(PDEVICE_OBJECT DeviceObject, PIRP Irp);
|
||||
|
||||
NTSTATUS NTAPI
|
||||
|
|
Loading…
Reference in a new issue