Source code of Windows XP (NT5)
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.

62 lines
1.2 KiB

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. ScLastGood.h
  5. Abstract:
  6. This header exposes routines neccessary for cleaning up last known good
  7. information.
  8. Author:
  9. Adrian J. Oney - April 4, 2000
  10. Revision History:
  11. --*/
  12. #define DIRWALK_INCLUDE_FILES 0x00000001
  13. #define DIRWALK_INCLUDE_DIRECTORIES 0x00000002
  14. #define DIRWALK_CULL_DOTPATHS 0x00000004
  15. #define DIRWALK_TRAVERSE 0x00000008
  16. #define DIRWALK_TRAVERSE_MOUNTPOINTS 0x00000010
  17. typedef NTSTATUS (*DIRWALK_CALLBACK)(
  18. IN PUNICODE_STRING FullPathName,
  19. IN PUNICODE_STRING FileName,
  20. IN ULONG FileAttributes,
  21. IN PVOID Context
  22. );
  23. DWORD
  24. ScLastGoodWalkDirectoryTreeTopDown(
  25. IN PUNICODE_STRING Directory,
  26. IN ULONG Flags,
  27. IN DIRWALK_CALLBACK CallbackFunction,
  28. IN PVOID Context
  29. );
  30. DWORD
  31. ScLastGoodWalkDirectoryTreeBottomUp(
  32. IN PUNICODE_STRING Directory,
  33. IN ULONG Flags,
  34. IN DIRWALK_CALLBACK CallbackFunction,
  35. IN PVOID Context
  36. );
  37. NTSTATUS
  38. ScLastGoodClearAttributes(
  39. IN PUNICODE_STRING FullPathName,
  40. IN ULONG FileAttributes
  41. );
  42. DWORD
  43. ScLastGoodFileCleanup(
  44. VOID
  45. );