The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.
Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/
Having a lower level filter driver for HID devices using a raw POD device for sideband communication with the user app (, used a Control Device before but that creates PnP issues discussed in this forum, the advice is to use raw PDO devices).
Both pnpCapabilities.NoDisplayInUI and deviceState.DontDisplayInUI of the PDO device are set to WdfTrue (see code below).
As expected the PDO device does NOT appear in the Device Manager (except you turn on "Show hidden devices"), so far so good!
Nevertheless the PDO device is shown in:
Googled the web and the OSR forums and could not find a hint of an answer.
How can the PDO device be hidden in any Windows user interfaces?
Any help is really appreciated.
// Plug and Play Settings WDF_DEVICE_PNP_CAPABILITIES_INIT(&pnpCapabilities); pnpCapabilities.Removable = WdfTrue; pnpCapabilities.SurpriseRemovalOK = WdfTrue; pnpCapabilities.NoDisplayInUI = WdfTrue; WdfDeviceSetPnpCapabilities(rawPdoDevice, &pnpCapabilities); // Hide it in Device Manager WDF_DEVICE_STATE_INIT(&deviceState); deviceState.DontDisplayInUI = WdfTrue; WdfDeviceSetDeviceState(rawPdoDevice, &deviceState);
|Upcoming OSR Seminars|
|OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!|
|Writing WDF Drivers||7 Dec 2020||LIVE ONLINE|
|Internals & Software Drivers||25 Jan 2021||LIVE ONLINE|
|Developing Minifilters||8 March 2021||LIVE ONLINE|