QueryIoRingCapabilities function (ioringapi.h)

Queries the OS for the supported capabilities for I/O rings.

Syntax

HRESULT QueryIoRingCapabilities(
  IORING_CAPABILITIES *capabilities
);

Parameters

capabilities

Receives a pointer to an IORING_CAPABILITIES representing the I/O ring API capabilities.

Return value

S_OK on success.

Remarks

The results of this call are internally cached per-process, so this is efficient to call multiple times as only the first will transition to the kernel to retrieve the data.Note that the results are not guaranteed to contain the same values between runs of the same process or even between processes on the same system. So applications should not store this information beyond the lifetime of the process and should not assume that other processes have the same support.

Requirements

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