(1) When we are initialising DeviceObject flags, should we choose only
one of three I/O options. What if I ORed them?
DeviceObject->Flags |= deviceExtension->StackDeviceObject->Flags &
(DO_BUFFERED_IO | DO_DIRECT_IO );
(2) Some IOCTLs I use buffered I/O and some I use Direct I/O. They are
working fine.
What is the purpose of initialising in DeviceObject? We are anyway
pointing in IOCTL.
Thanks.