Export (0) Print
Expand All

IOCTL_DISK_SET_CACHE_INFORMATION control code

Sets disk cache configuration data.

Input Parameters

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.

Output Parameters

None.

I/O Status Block

The Information field is set to zero. The Status field can be set to STATUS_SUCCESS or STATUS_INFO_LENGTH_MISMATCH if the input buffer is not large enough.

Requirements

Header

Ntdddisk.h (include Ntdddisk.h)

See also

DISK_CACHE_INFORMATION

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft