// 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 referenceNo description available.
The IOCTL_STORAGE_MANAGE_BYPASS_IO control code controls BypassIO operations on a given file in all layers of the volume and storage stacks.
The buffer at Irp->AssociatedIrp.SystemBuffer contains a BPIO_INPUT structure with information related to a BypassIO request.
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).
The driver returns information in a BPIO_OUTPUT structure in the buffer at Irp->AssociatedIrp.SystemBuffer.
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).
n/a
n/a
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.
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.