Condividi tramite


IORING_BUFFER_REF struttura (ioringapi.h)

Rappresenta un riferimento a un buffer usato in un'operazione di anello di I/O.

Sintassi

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

Valore dell'enumerazione IORING_REF_KIND che specifica il tipo di buffer rappresentato dalla struttura.

BufferUnion

BufferUnion.Address

Puntatore void che specifica l'indirizzo di un buffer se il valore Kind è IORING_REF_RAW.

BufferUnion.IndexAndOffset

Indice e offset del buffer registrato se il valore Kind è IORING_REF_REGISTERED.

Buffer

Requisiti

Requisito Valore
Client minimo supportato Windows Build 22000
Server minimo supportato Windows Build 22000
Intestazione ioringapi.h