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.

66 lines
1.1 KiB

  1. /*++
  2. Copyright (c) Microsoft Corporation. All rights reserved.
  3. Module Name:
  4. ahcache.h
  5. Abstract:
  6. This include file defines the usermode visible portions of the
  7. application compatibility cache support
  8. Author:
  9. VadimB
  10. Revision History:
  11. --*/
  12. /* XLATOFF */
  13. #ifndef _AHCACHE_H_
  14. #define _AHCACHE_H_
  15. typedef enum _APPHELPCACHESERVICECLASS {
  16. ApphelpCacheServiceLookup,
  17. ApphelpCacheServiceRemove,
  18. ApphelpCacheServiceUpdate,
  19. ApphelpCacheServiceFlush,
  20. ApphelpCacheServiceDump
  21. } APPHELPCACHESERVICECLASS;
  22. #if defined (_NTDEF_)
  23. NTSYSCALLAPI
  24. NTSTATUS
  25. NtApphelpCacheControl(
  26. IN APPHELPCACHESERVICECLASS Service,
  27. IN OUT PVOID ServiceData
  28. );
  29. typedef struct tagAHCACHESERVICEDATA {
  30. UNICODE_STRING FileName;
  31. HANDLE FileHandle;
  32. } AHCACHESERVICEDATA, *PAHCACHESERVICEDATA;
  33. #endif
  34. #if defined(_APPHELP_CACHE_INIT_)
  35. NTSTATUS
  36. ApphelpCacheInitialize(
  37. IN PLOADER_PARAMETER_BLOCK pLoaderBlock,
  38. IN ULONG BootPhase
  39. );
  40. NTSTATUS
  41. ApphelpCacheShutdown(
  42. IN ULONG ShutdownPhase
  43. );
  44. #endif
  45. #endif //_AHCACHE_H_