Edit

Device Access API

Overview of the Device Access API technology.

To develop Device Access API, you need these headers:

For programming guidance for this technology, see:

Functions

 
Cancel

The Cancel method attempts to cancel an asynchronous operation that is in progress.
CancelOperation

The CancelOperation method attempts to cancel a previously issued call by using the DeviceIoControlAsync method.
Close

The Close method performs cleanup after the asynchronous operation is completed and you retrieve the results.
CreateDeviceAccessInstance

Creates the object that's used to access a device. The instantiated object implements the IDeviceIoControl and ICreateDeviceAccessAsync interfaces.
DeviceIoControlAsync

The DeviceIoControlAsync method sends an asynchronous device input/output (I/O) control request to the device interface that the call to the CreateDeviceAccessInstance function specified.
DeviceIoControlSync

The DeviceIoControlSync method sends a synchronous device input/output (I/O) control request to the device interface that the call to the CreateDeviceAccessInstance function specified.
GetResult

Retrieves an IDeviceIoControl object that's bound to the device interface that's specified in a call to the CreateDeviceAccessInstance function.
RequestCompletion

Implement the RequestCompletion method to handle the completion of calls to the DeviceIoControlAsyncmethod.
Wait

The Wait method waits a specified length of time for an asynchronous bind operation that is in progress to finish.

Interfaces

 
ICreateDeviceAccessAsync

The ICreateDeviceAccessAsync interface is returned from a call to CreateDeviceAccessInstance.
IDeviceIoControl

Sends a control code to a device driver.This action causes the device to perform the corresponding operation.
IDeviceRequestCompletionCallback

Provides a method to handle the completion of calls to the DeviceIoControlAsyncmethod.