Rediger

Del via


How to Use the Device Access API

This topic contains tasks and design considerations for using the Device Access API.

Steps

Topic Description
Design Considerations for Custom Devices
This topic describes design considerations that can help you determine whether your device needs a custom driver.
Implement the Device Access Object
This topic explains how to instantiate the device access object and use it to access a device.
Declaring the Device Capability
This topic explains how to declare the device capability GUID.
Register the device interface as restricted to privileged apps
This topic shows how to add the Restricted property that indicates that only privileged apps can access a device interface class.
Create a Windows Runtime Extension
You can create a Windows Runtime component to wrap the component that accesses your driver. You can then write a Windows Store device app for your device in C# or JavaScript.

Additional resources

  • The Custom Driver Access Sample demonstrates how to use the Device Access APIs to access a custom driver from a Windows Store device app.
  • UWP device apps for internal devices provides resources for learning more about how to design and develop Windows Store device apps for specialized devices.
  • The Hardware Dev Center provides general resources for Windows Store device app development tasks that are common to all types of devices.