Sets disk cache configuration data.
Parameters.DeviceIoControl.InputBufferLength in the I/O stack location of the IRP indicates the size in bytes of the buffer made available to the driver, which must be >= sizeof(DISK_CACHE_INFORMATION). Otherwise, the driver returns with an error status of STATUS_INFO_LENGTH_MISMATCH.
The device driver returns disk cache data in the buffer at Irp->AssociatedIrp.SystemBuffer. The data is structured as follows:
The device driver returns the DISK_CACHE_INFORMATION in the buffer at Irp->AssociatedIrp.SystemBuffer.
The Information field is set to sizeof(DISK_CACHE_INFORMATION). The Status field can be set to STATUS_SUCCESS or STATUS_INFO_LENGTH_MISMATCH if the input buffer is not large enough.
Defined in ntdddisk.h. Include ntdddisk.h.