Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

74 lines
1.2 KiB

  1. /*++
  2. Copyright (C) Microsoft Corporation, 2001
  3. Module Name:
  4. disk.h
  5. Abstract:
  6. This utility adds and removes lower filter drivers
  7. for a given disk
  8. Author:
  9. Sidhartha
  10. Environment:
  11. User mode only
  12. Notes:
  13. - the filter is not checked for validity before it is added to the driver
  14. stack; if an invalid filter is added, the device may no longer be
  15. accessible.
  16. - all code works irrespective of character set (ANSI, Unicode, ...)
  17. Revision History:
  18. --*/
  19. #ifndef __VERIFIER_DISK_H__
  20. #define __VERIFIER_DISK_H__
  21. #ifdef __cplusplus
  22. extern "C"
  23. {
  24. #endif //#ifdef __cplusplus
  25. BOOLEAN
  26. DiskEnumerate(
  27. IN LPTSTR Filter,
  28. OUT LPTSTR* DiskDevicesForDisplayP,
  29. OUT LPTSTR* DiskDevicesPDONameP,
  30. OUT LPTSTR* VerifierEnabledP
  31. );
  32. BOOLEAN
  33. AddFilter(
  34. IN LPTSTR Filter,
  35. IN LPTSTR DiskDevicesPDONameP
  36. );
  37. BOOLEAN
  38. DelFilter(
  39. IN LPTSTR Filter,
  40. IN LPTSTR DiskDevicesPDONameP
  41. );
  42. BOOLEAN
  43. FreeDiskMultiSz(
  44. IN LPTSTR MultiSz
  45. );
  46. #ifdef __cplusplus
  47. }; //extern "C"
  48. #endif //#ifdef __cplusplus
  49. #endif // #ifndef __VERIFIER_DISK_H__