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.

49 lines
999 B

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. ScpLastGood.h
  5. Abstract:
  6. This header contains private information to implement last known good boot
  7. cleanup. This file is mean to be included only by ScLastGood.cxx
  8. Author:
  9. Adrian J. Oney - April 4, 2000
  10. Revision History:
  11. --*/
  12. typedef struct {
  13. LIST_ENTRY Link;
  14. UNICODE_STRING Directory;
  15. WCHAR Name[1];
  16. } DIRWALK_ENTRY, *PDIRWALK_ENTRY;
  17. NTSTATUS
  18. ScpLastGoodWalkDirectoryTreeHelper(
  19. IN PUNICODE_STRING Directory,
  20. IN ULONG Flags,
  21. IN DIRWALK_CALLBACK CallbackFunction OPTIONAL,
  22. IN PVOID Context OPTIONAL,
  23. IN PUCHAR Buffer,
  24. IN ULONG BufferSize,
  25. IN OUT PLIST_ENTRY DirList
  26. );
  27. NTSTATUS
  28. ScpLastGoodDeleteFiles(
  29. IN PUNICODE_STRING FullPathName,
  30. IN PUNICODE_STRING FileName,
  31. IN ULONG FileAttributes,
  32. IN PVOID Context
  33. );