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 API to access a custom driver from a Windows Store device app.
- The Windows Store device app design guide for specialized devices provides design guidance on what types of specialized devices require custom driver access via the Device Access API.
- This Device Experience for Specialized Devices page provides resources for learning more about how to developWindows Store device apps for specialized devices.
- The Device Experience for Windows 8 page provides general resources for Windows Store device app development tasks that are common to all types of devices.