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.

53 lines
792 B

  1. /*++
  2. Copyright (C) 2001 Microsoft Corporation
  3. All rights reserved.
  4. Module Name:
  5. cleanup.hxx
  6. Abstract:
  7. This module provides several utility functions for clean up of
  8. the resources used by the spooler on each node.
  9. Author:
  10. Felix Maxa (AMaxa) 16-August-2001
  11. Revision History:
  12. --*/
  13. #ifndef _CLEANUP_HXX_
  14. #define _CLEANUP_HXX_
  15. DWORD
  16. CleanSpoolerUnusedFilesAndKeys(
  17. VOID
  18. );
  19. DWORD
  20. CleanClusterSpoolerData(
  21. IN HRESOURCE hResource,
  22. IN LPCWSTR pszRemovedOwnerName
  23. );
  24. DWORD
  25. CleanPrinterDriverRepository(
  26. IN HKEY hKey
  27. );
  28. DWORD
  29. CleanUnusedClusDriverRegistryKey(
  30. IN LPCWSTR pszName
  31. );
  32. DWORD
  33. CleanUnusedClusDriverDirectory(
  34. IN LPCWSTR pszDir
  35. );
  36. #endif // _CLEANUP_HXX_