[This is preliminary documentation and subject to change.]
FPFilter is a sample disk filter driver that demonstrates how a disk failure prediction filter driver could be implemented. A failure prediction filter driver can predict when a disk may fail and notify the disk driver stack of this condition. The disk driver stack will then alert the operating system to the condition. A failure prediction filter driver can use proprietary hardware requests and/or software algorithms to predict disk failure.
Follow these steps to WMI-enable a driver with the sample code:
1.
Determine the algorithm to use to predict disk failure.
Add code for this in the FpFilterDeviceControl routine where it handles the
IOCTL_STORAGE_FAILURE_PREDICTION I/O control (IOCTL).
Please see the Kernel-Mode Drivers section of Microsoft® Windows® 2000 DDK documentation for more information.
File DescriptionFpfilter.c Failure prediction filter driver code. Fpfilter.rc Resource file containing version information. Fpfilter.inf INF file used to install the filter driver service. Makefile Standard Microsoft® Windows NT®/Windows® 2000 makefile. Sources Sources for build.
© Microsoft Corporation 1999