1.1.1 Common Driver Library
Common driver library provides the following data types and constants that are shared and common to all drivers
Data types and constants
Name | Type | Description |
---|---|---|
DRV_CLIENT_STATUS | Enum | Identifies the current status/state of a client's connection to a driver |
DRV_HANDLE | Typedef | Handle to an opened device driver |
DRV_HANDLE_INVALID | Macro | Invalid device handle |
DRV_IO_INTENT | Enum | Identifies the intended usage of the device when it is opened |
DRV_IO_ISBLOCKING | Macro | Returns if the I/O intent provided is blocking |
DRV_IO_ISNONBLOCKING | Macro | Returns if the I/O intent provided is non-blocking |
DRV_IO_ISEXCLUSIVE | Macro | Returns if the I/O intent provided is non-blocking |
DRV_IO_BUFFER_TYPES | Enum | Identifies to which buffer a device operation will apply |