The Disk sample is used with Classpnp.sys as disk driver. The sample supports Plug and Play, Power Management, WMI, and failure prediction (S.M.A.R.T.), and it is 64-bit compliant.
To build the sample, run the build command. Once built, this sample will create one binary: Disk.sys.
File DescriptionData.c List of workarounds for some drives (no code) Disk.c Main code base Disk.h Private header files Disk.rc Resource file Diskwmi.c S.M.A.R.T. WMI implementation Drivesup.c No longer used Drivesup.h No longer used Enum.c Enumeration routines for disk drives Makefile Makefile Pnp.c Start/add/pnp code Sources Sources
© 1999 Microsoft Corporation