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.

67 lines
874 B

  1. #ifndef _W3_CACHE_HXX_
  2. #define _W3_CACHE_HXX_
  3. #include "usercache.hxx"
  4. //
  5. // Global cache initialization
  6. //
  7. dllexp
  8. HRESULT
  9. W3CacheInitialize(
  10. IMSAdminBase * pAdminBase
  11. );
  12. //
  13. // Global cache cleanup
  14. //
  15. dllexp
  16. VOID
  17. W3CacheTerminate(
  18. VOID
  19. );
  20. //
  21. // Register a new cache with manager
  22. //
  23. dllexp
  24. HRESULT
  25. W3CacheRegisterCache(
  26. OBJECT_CACHE * pObjectCache
  27. );
  28. //
  29. // Unregister cache with manager
  30. //
  31. dllexp
  32. HRESULT
  33. W3CacheUnregisterCache(
  34. OBJECT_CACHE * pObjectCache
  35. );
  36. //
  37. // Drive metadata invalidation
  38. //
  39. dllexp
  40. HRESULT
  41. W3CacheDoMetadataInvalidation(
  42. WCHAR * pszPath,
  43. DWORD cchPath
  44. );
  45. //
  46. // Flush all the caches in preparation for shutdown
  47. //
  48. dllexp
  49. VOID
  50. W3CacheFlushAllCaches(
  51. VOID
  52. );
  53. #endif