1.1.1.8 DRV_IO_BUFFER_TYPES Enum

C

typedef enum
{
    // Operation does not apply to any buffer
    DRV_IO_BUFFER_TYPE_NONE = 0x00,

    // Operation applies to read buffer
    DRV_IO_BUFFER_TYPE_READ = 0x01,

    // Operation applies to write buffer
    DRV_IO_BUFFER_TYPE_WRITE = 0x02,

    // Operation applies to both read and write buffers
    DRV_IO_BUFFER_TYPE_RW = DRV_IO_BUFFER_TYPE_READ|DRV_IO_BUFFER_TYPE_WRITE

} DRV_IO_BUFFER_TYPES;

Summary

Identifies to which buffer a device operation will apply.

Description

This enumeration identifies to which buffer (read, write, both, or neither) a device operation will apply. This is used for "flush" (or similar) operations.