Device Access Tomas Lukša.

Slides:



Advertisements
Similar presentations
Introduction to the Windows XP Architecture
Advertisements

Introduction Service Activation Device-Based Integration Portal-Based Integration Manual Service Activation Access Point Name (APN) Database (DB) Integration.
COM vs. CORBA.
ANDROID PROGRAMMING MODULE 1 – GETTING STARTED
Installing and Troubleshooting Hardware Device and Drivers Chapter 6 powered by dj.
WINDOWS SERVICES. Introduction You often need programs that run continuously in the background Examples: – servers –Print spooler You often need.
Lesley Bross, August 29, 2010 ArcGIS 10 add-in glossary.
ANSTO E-Science workshop Romain Quilici University of Sydney CIMA CIMA Instrument Remote Control Instrument Remote Control Integration with GridSphere.
Fundamentals of Database Chapter 7 Database Technologies.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 13 Understanding and Installing Windows 2000 and Windows NT.
Firmware Storage : Technical Overview Copyright © Intel Corporation Intel Corporation Software and Services Group.
Mobile Device Programming
Chapter 3 Software. Learning Objectives Upon successful completion of this chapter, you will be able to: Define the term software Describe the two primary.
MIDORI The Post Windows Operating System Microsoft Research’s.
ICT Strategy Intelligent Highways: Endpoint Adapters.
GAM666 – Introduction To Game Programming ● DirectX is implemented as a collection of COM objects ● To use a DirectX program, the user must have the correct.
Easy programmatic access to the file system, file type associations, and new system UI controls for opening files Simple integration with the file.
Understand Windows Services Software Development Fundamentals LESSON 5.3.
Ms. Tracy  Identify the purpose of an operating system.  Identify different operating systems.  Describe computer user interaction with multiple.
丁建文 國立高雄應用科大資管系副教授 兼任計網中心軟體發展組組長 跨平台行動應用軟體開發技術 : HTML5 & Mobile JavaScript Framework 暨南大學.
Fix: Windows 10 Error Code 0x in Mail App u/6/b/ /alexwaston14/reimage-system-repair/ /pages/Reimage-Repair-Tool/
Fixing Windows 10 Automatic Updates Install Problem
Network and Server Basics. Learning Objectives After viewing this presentation, you will be able to: Understand the benefits of a client/server network.
Application Sharing Bhavesh Amin Casey Miller Casey Miller Ajay Patel Ajay Patel Bhavesh Thakker Bhavesh Thakker.
Windows App Development Company India
Introduction to Operating Systems Concepts
Presenter: Tyler Newsome
11/12/ :06 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Windows Communication Foundation and Web Services
Geospatial Research & Solutions GIS.ASU.EDU
Component Object Model(COM)
Mobile Applications (Android Programming)
Development Environment
Operating Systems & System Software
Understanding Android Security
Android Access Control
The Universal Windows Platform
Enable Talk Prepared By: Alaa Mayyaleh Shurouq Abu salhiah.
.NET Framework 2.0 .NET Framework 3.0 .NET Framework 3.5
The Client/Server Database Environment
Android Runtime – Dalvik VM
Mobile App Development
Chapter 1 Introduction to Computers, Programs, and Java
Mobile Application Development
Android.
WinHEC /30/2018 6:37 AM © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE.
Building a great Metro style device app for your printer
Microsoft Build /13/2018 2:24 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Windows Communication Foundation and Web Services
Introduction to Computers
Modernizing App Experiences
Power Apps & Flow for Microsoft Dynamics SL
Building Metro style apps that connect to specialized devices
App-to-app communication
Design Patterns for Connected Specialized Devices
The Application Lifecycle
Building a great Metro style device app for your camera
Architecting and integrating sensor drivers
Building and delivering a great Metro style app for your device
Using connected devices in Metro style apps
Device Apps Joseph Ngari| Program Manager.
Introducing Metro style device apps
Enable Talk Prepared By: Alaa Mayyaleh Shurouq Abu salhiah.
Understanding Android Security
Wireless networking Rytis Garbauskas.
Android bus ticket sale software
Presented By Justas Raslanas
Overview of System Development for Windows CE.NET
WDF Custom Driver Design Pattern
Android Access Control
Presentation transcript:

Device Access Tomas Lukša

Purpose of the Device Access API You can use the Device Access API to write Windows Store device apps for specialized devices that use custom drivers. The API provides methods for sending control codes to communicate with the device's custom driver.

About the Device Access API The Device Access API is for C++ developers who are creating a Windows Store app to interact with specialized devices in Windows 8. The Device Access API is designed for independent hardware vendor (IHV) developers who are familiar with C++ and Component Object Model (COM). Component Object Model (COM) is a binary-interface standard for software components introduced by Microsoft. It is used to enable inter-process communication object creation in a large range of programming languages.

About the Device Access API Developers for independent hardware vendors (IHVs) can build a Windows Store app that's paired with their device and automatically acquired when the device is installed. This app, known as a Windows Store device app, can provide unique device functionality. Devices that don't have built-in class drivers or Windows Runtime APIs for communicating with the device in Windows 8 are known as specialized devices. These devices might require a custom driver.

About the Device Access API The Windows Store device app for a specialized device that must communicate with a device's custom driver can't use Microsoft Win32 APIs like DeviceIoControl and CreateFile to send IOCTLs to the device. The restricted security environment where Windows Store device apps run require that you use the Device Access API to communicate with your custom driver from a Windows Store app. The developer of a custom device restricts access to approved, privileged applications.

When to Use Device Access API These are the main devices that require you to use Device Access API: Sensor; Location; Webcam; Proximity; Short message service (SMS); Mobile broadband; A device that doesn't have a Windows-provided class extension or class driver.

Implementing the Device Access Object: Step 1 To instantiate the device access object, you must first call the CreateDeviceAccessInstance function. If CreateDeviceAccessInstance succeeds, you can then call the Wait method to wait for the asynchronous operation to finish. If Wait succeeds, you can retrieve an IDeviceIoControl object (or the appropriate error) from the GetResult method.

Implementing the Device Access Object: Step 2 Call to the DeviceIoControlSync method. Example can be found here.

Declaring the Device Capability In your application manifest, you'll need to add a device capability, as follows: This is an example of a capability declaration for a custom device. The GUID is the GUID of the device interface class.