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.

Monthly Seminars at OSR Headquarters

East Coast USA
Windows Internals and SW Drivers, Dulles (Sterling) VA, 13 November 2017

Kernel Debugging & Crash Analysis for Windows, Nashua (Amherst) NH, 4 December 2017

Writing WDF Drivers I: Core Concepts, Nashua (Amherst) NH, 8 January 2018

WDF Drivers II: Advanced Implementation Techniques, Nashua (Amherst) NH, 15 January 2018


Go Back   OSR Online Lists > ntdev
Welcome, Guest
You must login to post to this list
  Message 1 of 5  
12 Nov 17 10:24
siddu khed
xxxxxx@gmail.com
Join Date: 12 Nov 2017
Posts To This List: 4
KbFilter Driver PDO not appearing

Hi All I am trying to develop the filter driver for HID stack and want to create PDO also, I am referring the KBfilter which is not creating PDO. Even after setting the WDFFALSE to NoDisplayInUI and DontDisplayInUI. Is there any additional code to be added ? WDF_DEVICE_PNP_CAPABILITIES_INIT(&pnpCaps); pnpCaps.Removable = WdfTrue; pnpCaps.SurpriseRemovalOK = WdfTrue; pnpCaps.NoDisplayInUI = WdfFalse; pnpCaps.Address = InstanceNo; pnpCaps.UINumber = InstanceNo; WdfDeviceSetPnpCapabilities(hChild, &pnpCaps); // // TODO: In addition to setting NoDisplayInUI in DeviceCaps, we // have to do the following to hide the device. Following call // tells the framework to report the device state in // IRP_MN_QUERY_DEVICE_STATE request. // WDF_DEVICE_STATE_INIT(&deviceState); deviceState.DontDisplayInUI = WdfFalse; WdfDeviceSetDeviceState(hChild, &deviceState); Thanks and Regards, Siddaram.
  Message 2 of 5  
13 Nov 17 00:41
Tim Roberts
xxxxxx@probo.com
Join Date: 28 Jan 2005
Posts To This List: 11654
KbFilter Driver PDO not appearing

On Nov 12, 2017, at 7:23 AM, xxxxx@gmail.com wrote: >=20 > I am trying to develop the filter driver for HID stack and want to = create PDO also,=20 > I am referring the KBfilter which is not creating PDO. Even after = setting the WDFFALSE to NoDisplayInUI and DontDisplayInUI. > Is there any additional code to be added ? How do you know it is not creating the PDO? Are you creating a control = PDO? Did you get errors? You really have provided no information at = all for us to go on here. =E2=80=94=20 Tim Roberts, xxxxx@probo.com Providenza & Boekelheide, Inc.
  Message 3 of 5  
13 Nov 17 02:40
Doron Holan
xxxxxx@microsoft.com
Join Date: 08 Sep 2005
Posts To This List: 10097
KbFilter Driver PDO not appearing

How did you install the filter driver ? Devcon install is not what you want, you need devcon update instead. d Bent from my phone ________________________________ From: xxxxx@lists.osr.com <xxxxx@lists.osr.com> on behalf of xxxxx@probo.com <xxxxx@lists.osr.com> Sent: Sunday, November 12, 2017 9:41:06 PM To: Windows System Software Devs Interest List Subject: Re: [ntdev] KbFilter Driver PDO not appearing On Nov 12, 2017, at 7:23 AM, xxxxx@gmail.com wrote: > > I am trying to develop the filter driver for HID stack and want to create PDO also, > I am referring the KBfilter which is not creating PDO. Even after setting the WDFFALSE to NoDisplayInUI and DontDisplayInUI. > Is there any additional code to be added ? How do you know it is not creating the PDO? Are you creating a control PDO? Did you get errors? You really have provided no information at all for us to go on here. ? Tim Roberts, xxxxx@probo.com Providenza & Boekelheide, Inc. --- 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=02%7C01%7CDoron.Holan%40microsoft.com%7Caab 561cdd93640418cff08d52a59288c%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636461 484784904674&sdata=yMBcHlTz1pWeHftn3uZAznpkFjXXea2iPWgLr0gT0gw%3D&reserved=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=02%7C01%7CDoron.Holan%40microsoft.com%7Caab561cdd93640418cff08d52a592 88c%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636461484784904674&sdata=YkIdh0A f4IbIVSMkxnrbTnB%2BSrzw6QyEzl3JbFO3Kkg%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=02%7C01%7CDoron.Holan%40microsoft.com%7Caab 561cdd93640418cff08d52a59288c%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636461 484784904674&sdata=3TYuIfIuKdCfT0skptb0F0I3giroJRC86k8t8GDjDxQ%3D&reserved=0> --
  Message 4 of 5  
13 Nov 17 04:32
siddu khed
xxxxxx@gmail.com
Join Date: 12 Nov 2017
Posts To This List: 4
KbFilter Driver PDO not appearing

Thanks Doron and Tim for reply. I am installing driver on real hardware Id f (on PS/2 keyboard) there is no issue in installation. But i did not see the PDO created in device manager after deviceState.DontDisplayInUI = WdfFalse; and pnpCaps.NoDisplayInUI = WdfFalse; My final target is to create the complete PDO from raw PDO in a kbfilter driver is that possible ?
  Message 5 of 5  
13 Nov 17 10:12
Doron Holan
xxxxxx@microsoft.com
Join Date: 08 Sep 2005
Posts To This List: 10097
KbFilter Driver PDO not appearing

Installing on a real hardware id is not the question (but the kbdfiltr inf in the sample doesn't), you can mistakenly create a root device with a real hardware id with devcon install. The sample works and does create a pdo, so something is going wrong in your environment. Have you connected a debugger and stepped through? Run !devnode ? Bent from my phone ________________________________ From: xxxxx@lists.osr.com <xxxxx@lists.osr.com> on behalf of xxxxx@gmail.com <xxxxx@lists.osr.com> Sent: Monday, November 13, 2017 1:31:29 AM To: Windows System Software Devs Interest List Subject: RE:[ntdev] KbFilter Driver PDO not appearing Thanks Doron and Tim for reply. I am installing driver on real hardware Id f (on PS/2 keyboard) there is no issue in installation. But i did not see the PDO created in device manager after deviceState.DontDisplayInUI = WdfFalse; and pnpCaps.NoDisplayInUI = WdfFalse; My final target is to create the complete PDO from raw PDO in a kbfilter driver is that possible ? --- 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=02%7C01%7CDoron.Holan%40microsoft.com%7Ce4c b23a82a934f91dab708d52a7965fe%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636461 623250200109&sdata=pbzRzxGS1QpbsHcjinP8Rm3PuZ3dEhPH2ilv7Uu3%2Bvs%3D&reserved=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=02%7C01%7CDoron.Holan%40microsoft.com%7Ce4cb23a82a934f91dab708d52a796 5fe%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636461623250200109&sdata=uQm%2BU RGY7iLA1bwHkvhrk%2B2Gw5XDdg3r%2B7oo4HU0XIQ%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=02%7C01%7CDoron.Holan%40microsoft.com%7Ce4c b23a82a934f91dab708d52a7965fe%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636461 623250200109&sdata=%2FF12X2mx%2B8gf0r06BEWQogJCTvUKR1RI3svzAOBpLjw%3D&reserved=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 00:32.


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