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

NameTypeDescription
DRV_CLIENT_STATUSEnumIdentifies the current status/state of a client's connection to a driver
DRV_HANDLETypedefHandle to an opened device driver
DRV_HANDLE_INVALIDMacroInvalid device handle
DRV_IO_INTENTEnumIdentifies the intended usage of the device when it is opened
DRV_IO_ISBLOCKINGMacroReturns if the I/O intent provided is blocking
DRV_IO_ISNONBLOCKINGMacroReturns if the I/O intent provided is non-blocking
DRV_IO_ISEXCLUSIVEMacroReturns if the I/O intent provided is non-blocking
DRV_IO_BUFFER_TYPESEnumIdentifies to which buffer a device operation will apply