IOCTL_STORAGE_MANAGE_BYPASS_IO - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntddstor.h

// CTL_CODE(0x002d, 0x230, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_STORAGE_MANAGE_BYPASS_IO 0x002D08C0
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ni-ntddstor-ioctl_storage_manage_bypass_io)

Description

The IOCTL_STORAGE_MANAGE_BYPASS_IO control code controls BypassIO operations on a given file in all layers of the volume and storage stacks.

Parameters

Major code

Input buffer

The buffer at Irp->AssociatedIrp.SystemBuffer contains a BPIO_INPUT structure with information related to a BypassIO request.

Input buffer length

Parameters.DeviceIoControl.InputBufferLength in the I/O stack location of the IRP indicates the size, in bytes, of the buffer, which must be at least sizeof(BPIO_INPUT).

Output buffer

The driver returns information in a BPIO_OUTPUT structure in the buffer at Irp->AssociatedIrp.SystemBuffer.

Output buffer length

Parameters.DeviceIoControl.OutputBufferLength in the I/O stack location of the IRP indicates the size of the output buffer, in bytes. OutputBufferLength must be at least sizeof(BPIO_OUTPUT).

Input/output buffer

n/a

Input/output buffer length

n/a

Status block

The Status field can be set to STATUS_SUCCESS, or an error status such as STATUS_INVALID_PARAMETER, STATUS_INFO_LENGTH_MISMATCH, STATUS_BUFFER_TOO_SMALL, or STATUS_NOT_SUPPORTED.

Remarks

Only file systems send IOCTL_STORAGE_MANAGE_BYPASS_IO. A file system sends this IOCTL as appropriate in response to a FSCTL_MANAGE_BYPASS_IO control code.

See BypassIO for storage drivers for more information.

See also

BPIO_INPUT

BPIO_OUTPUT

FSCTL_MANAGE_BYPASS_IO