Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IOCTL_DISK_GET_CACHE_INFORMATION control code

Returns disk cache configuration data.

Input Parameters

Parameters.DeviceIoControl.OutputBufferLength 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_BUFFER_TOO_SMALL.

Output Parameters

The device driver returns the DISK_CACHE_INFORMATION in the buffer at Irp->AssociatedIrp.SystemBuffer.

I/O Status Block

The Information field is set to the size of the block of status information being returned, sizeof(DISK_CACHE_INFORMATION). The Status field is set to STATUS_SUCCESS, or possibly to STATUS_DEVICE_NOT_READY, STATUS_BUFFER_TOO_SMALL, STATUS_INSUFFICIENT_RESOURCES, STATUS_IO_DEVICE_ERROR, or STATUS_NOT_SUPPORTED.

Requirements

Header

Ntdddisk.h (include Ntdddisk.h)

See also

DISK_CACHE_INFORMATION

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft