Hi,
Greetings.
In the firefly example, the Fileobject handle of PDO was acquired using
ZwOpenFile() and ObReferenceObjectByHandle() for each Set Feature, and was
released immediately after every Set Feature.
But if I save the Fileobject handle in my device extension during the first
Set Feature and use it for all subsequent Set Feature calls, after which
Dereference it during my Remove Device, the mouse seems not to respond to
any physical movement. The Service_CallBack() routine in Firefly is never
triggered.
Anyone can enlighten me is it compulsory that the FileObject handle must be
released immediately after every set feature, and the reason behind it if it
is true?
Thanks in advance.
Regards,
Angela