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 ?
pnpCaps.Removable = WdfTrue;
pnpCaps.SurpriseRemovalOK = WdfTrue;
pnpCaps.NoDisplayInUI = WdfFalse;
pnpCaps.Address = InstanceNo;
pnpCaps.UINumber = InstanceNo;
// 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.
deviceState.DontDisplayInUI = WdfFalse;
Thanks and Regards,