- CreateClassDeviceObject: Add flag DO_BUFFERED_IO to match windows behavior. Revealed by mouse spying utility that expected that IO method. These mouse spying drivers should now work.

svn path=/trunk/; revision=41081
This commit is contained in:
Michael Martin 2009-05-23 22:50:07 +00:00
parent 25e390f1bd
commit e139612450

View file

@ -368,6 +368,7 @@ cleanup:
DeviceExtension->DeviceName = DeviceNameU.Buffer;
Fdo->Flags |= DO_POWER_PAGABLE;
Fdo->Flags &= ~DO_DEVICE_INITIALIZING;
Fdo->Flags |= DO_BUFFERED_IO;
/* Add entry entry to HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\[DeviceBaseName] */
RtlWriteRegistryValue(