You do have ability to implement a UWP interact with driver.
For example, in case you search for Printer, you will find UWP for printers and they have ability to check the level of cartridge , status of the printer and so on and this proves , it is possible.
Take a look at:
https://learn.microsoft.com/en-us/windows-hardware/drivers/install/pairing-app-and-driver-versions
Can we create an Universal Windows Apps for applications having driver interaction?
As I know, Microsoft Store hosts only Universal Windows Applications. Also, if my understanding is correct, Universal Windows Applications runs inside a container making driver interaction not possible (is this correct?). So does that mean that any application available on Microsoft Store cannot contain drivers? or cannot have a logic to interact with Windows drivers?
If that is the case, then devices where we rely just on Microsoft Store for any application (like smartphone), how can we install apps that can interact with drivers?
-
Reza-Ameri 16,976 Reputation points
2021-06-10T15:03:56.397+00:00
1 additional answer
Sort by: Most helpful
-
Doron Holan 1,801 Reputation points
2021-06-11T17:11:40.04+00:00 Your UWP can interact with drivers through a custom capability. Your UWP cannot distribute a driver, the driver must come from some other source (Windows Update or a custom installer).
Docs
https://learn.microsoft.com/en-us/windows-hardware/drivers/devapps/hardware-support-app--hsa--steps-for-app-developers
https://learn.microsoft.com/en-us/windows-hardware/drivers/devapps/hardware-support-app--hsa--steps-for-driver-developers
https://learn.microsoft.com/en-us/windows-hardware/drivers/install/pairing-app-and-driver-versionsSample
https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/CustomCapability