I need to disable the hard disk cache feature on
Windows. I used this
IOCTL:DeviceIoControl(hPhysicaldrivex,
IOCTL_DISK_GET_CACHE_INFORMATION, NULL, 0, &dskCache,
sizeof(DISK_CACHE_INFORMATION), &dwRetV, NULL ) to
retrieve the
DISK_CACHE_INFORMATION struct before I modify and set
it using
IOCTL_DISK_SET_CACHE_INFORMATION. However, this call
returns error "The
request could not be performed because of an I/O
device error. ".
Do you know how I can disable the disk cache
using Windows SDK API?
Thanks
Robert
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com