IORING_BUFFER_REF structure (ioringapi.h)

Represents a reference to a buffer used in an I/O ring operation.

Syntax

typedef struct IORING_BUFFER_REF {
  void            IORING_BUFFER_REF(
    void *address
  );
  void            IORING_BUFFER_REF(
    IORING_REGISTERED_BUFFER registeredBuffer
  );
  void            IORING_BUFFER_REF(
    UINT32 index,
    UINT32 offset
  );
  IORING_REF_KIND Kind;
  union {
    void                     *Address;
    IORING_REGISTERED_BUFFER IndexAndOffset;
  } BufferUnion;
  BufferUnion     Buffer;
} IORING_BUFFER_REF;

Members

void IORING_BUFFER_REF( void *address)

void IORING_BUFFER_REF( IORING_REGISTERED_BUFFER registeredBuffer)

void IORING_BUFFER_REF( UINT32 index, UINT32 offset)

Kind

A value from the IORING_REF_KIND enumeration specifying the kind of buffer represented by the structure.

BufferUnion

BufferUnion.Address

A void pointer specifying the address of a buffer if the Kind value is IORING_REF_RAW.

BufferUnion.IndexAndOffset

The index and offset of the registered buffer if the Kind value is IORING_REF_REGISTERED.

Buffer

Requirements

Requirement Value
Minimum supported client Windows Build 22000
Minimum supported server Windows Build 22000
Header ioringapi.h