The app is declared as privileged apps in device metadata by the OEM.įilter driver can be present in the kernel mode device stack as long as it doesn't block access to Winusb.sys.
If filter drivers are present, access is limited to privileged apps. Microsoft-provided Winusb.sys (kernel-mode driver). If your device does not belong to one the preceding device classes, write a Windows desktop app. If your device belongs to DeviceFirmwareUpdate class, your app must be a privileged app.
If you install Winusb.sys, here are the programming model options: Instead, you can install WinUSB (Winusb.sys) as the device driver. "Custom device" in this context means, a device for which Microsoft does not provide an in-box class driver. The API performs common USB-related tasks such as, finding the device, data transfers. Windows provides API sets that you can use to write apps that talk to a custom USB devices. This topic provides guidelines for deciding whether you should write a UWP app or a Windows desktop app to communicate with a USB device.