Driver Problems? Questions? Issues?
Put OSR's experience to work for you! Contact us for assistance with:
  • Creating the right design for your requirements
  • Reviewing your existing driver code
  • Analyzing driver reliability/performance issues
  • Custom training mixed with consulting and focused directly on your specific areas of interest/concern.
Check us out. OSR, the Windows driver experts.

OSR Seminars


Go Back   OSR Online Lists > ntdev
Welcome, Guest
You must login to post to this list
  Message 1 of 5  
13 Feb 18 17:04
makrurisan makkeln
xxxxxx@x-publisher.com
Join Date: 12 Jan 2018
Posts To This List: 84
dual role filter driver

Is it possible that a keyboard filter driver can support keyboard and mice filtering with the same code base?
  Message 2 of 5  
13 Feb 18 17:17
Doron Holan
xxxxxx@microsoft.com
Join Date: 08 Sep 2005
Posts To This List: 10202
dual role filter driver

Yes. At runtime you need to figure which stack you are filtering. If you are filtering below kbdclass/mouclass you can immediately by which IOCTLs are sent to you. d -----Original Message----- From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@x-publisher.com Sent: Tuesday, February 13, 2018 2:04 PM To: Windows System Software Devs Interest List <xxxxx@lists.osr.com> Subject: [ntdev] dual role filter driver Is it possible that a keyboard filter driver can support keyboard and mice filtering with the same code base? --- NTDEV is sponsored by OSR Visit the list online at: <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.osronline.co m%2Fshowlists.cfm%3Flist%3Dntdev&data=04%7C01%7CDoron.Holan%40microsoft.com%7C8fa 6178ccde94fbc3a5708d5732da561%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636541 562253776221%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6 Ik1haWwifQ%3D%3D%7C-1&sdata=lfg5O9obPfXspzzCAnw4QpUC7tHjrKqvI6YwvZCvUbI%3D&reserv ed=0> MONTHLY seminars on crash dump analysis, WDF, Windows internals and software drivers! Details at <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.osr.com%2Fse minars&data=04%7C01%7CDoron.Holan%40microsoft.com%7C8fa6178ccde94fbc3a5708d5732da 561%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636541562253776221%7CUnknown%7CT WFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwifQ%3D%3D%7C-1&sdat a=5ibP5mSVM3Ph5qU6mVmt8%2BOfne3qu%2BFcbSDtnu7vwAE%3D&reserved=0> To unsubscribe, visit the List Server section of OSR Online at <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.osronline.co m%2Fpage.cfm%3Fname%3DListServer&data=04%7C01%7CDoron.Holan%40microsoft.com%7C8fa 6178ccde94fbc3a5708d5732da561%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636541 562253776221%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6 Ik1haWwifQ%3D%3D%7C-1&sdata=883DfLsPt6iE4NgjbotGUqIisfkpH03D6gbi516SAdU%3D&reserv ed=0>
  Message 3 of 5  
14 Feb 18 11:21
Jamey Kirby
xxxxxx@gmail.com
Join Date: 31 Dec 2014
Posts To This List: 276
dual role filter driver

yes On Tue, Feb 13, 2018 at 5:17 PM xxxxx@microsoft.com < xxxxx@lists.osr.com> wrote: > Yes. At runtime you need to figure which stack you are filtering. If you > are filtering below kbdclass/mouclass you can immediately by which IOCTLs > are sent to you. > > d > > -----Original Message----- > From: xxxxx@lists.osr.com [mailto: > xxxxx@lists.osr.com] On Behalf Of > xxxxx@x-publisher.com <...excess quoted lines suppressed...> --
  Message 4 of 5  
16 Feb 18 16:36
makrurisan makkeln
xxxxxx@x-publisher.com
Join Date: 12 Jan 2018
Posts To This List: 84
dual role filter driver

Now I want to do this but what should I do with a function like that WdfDeviceInitSetDeviceType(DeviceInit, FILE_DEVICE_MOUSE); Should I call it or should I change the parameter to FILE_DEVICE_UNKNOWN?
  Message 5 of 5  
16 Feb 18 17:49
Doron Holan
xxxxxx@microsoft.com
Join Date: 08 Sep 2005
Posts To This List: 10202
dual role filter driver

Just use file_device_unknown. The file_device value is pretty meaningless for a filter. d -----Original Message----- From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@x-publisher.com Sent: Friday, February 16, 2018 1:36 PM To: Windows System Software Devs Interest List <xxxxx@lists.osr.com> Subject: RE:[ntdev] dual role filter driver Now I want to do this but what should I do with a function like that WdfDeviceInitSetDeviceType(DeviceInit, FILE_DEVICE_MOUSE); Should I call it or should I change the parameter to FILE_DEVICE_UNKNOWN? --- NTDEV is sponsored by OSR Visit the list online at: <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.osronline.co m%2Fshowlists.cfm%3Flist%3Dntdev&data=04%7C01%7CDoron.Holan%40microsoft.com%7Ce6b 8fed711684683360008d5758545e6%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636544 137835851311%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6 Ik1haWwifQ%3D%3D%7C-1&sdata=QzbQqJSq05ddj0e5C3hW9vrSaYZ9Lj0lTBP3CoPzxx4%3D&reserv ed=0> MONTHLY seminars on crash dump analysis, WDF, Windows internals and software drivers! Details at <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.osr.com%2Fse minars&data=04%7C01%7CDoron.Holan%40microsoft.com%7Ce6b8fed711684683360008d575854 5e6%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636544137835851311%7CUnknown%7CT WFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwifQ%3D%3D%7C-1&sdat a=F8PcjifVLsVtwT4CrK1AW7l%2F%2BrnEVj%2FURvhszqnXfb8%3D&reserved=0> To unsubscribe, visit the List Server section of OSR Online at <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.osronline.co m%2Fpage.cfm%3Fname%3DListServer&data=04%7C01%7CDoron.Holan%40microsoft.com%7Ce6b 8fed711684683360008d5758545e6%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636544 137835851311%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6 Ik1haWwifQ%3D%3D%7C-1&sdata=8dCR03Kp%2BSsL5QlJSKdDLkrChFpfmoLqBwJh1Kx%2Bksg%3D&re served=0>
Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You must login to OSR Online AND be a member of the ntdev list to be able to post.

All times are GMT -5. The time now is 15:31.


Copyright ©2015, OSR Open Systems Resources, Inc.
Based on vBulletin Copyright ©2000 - 2005, Jelsoft Enterprises Ltd.
Modified under license