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.

52 lines
891 B

  1. #ifndef _EPP_H
  2. #define _EPP_H
  3. /*++
  4. Copyright (c) 1996 Microsoft Corporation
  5. Module Name:
  6. epp.h
  7. Abstract:
  8. Private header file for the cluster event processor.
  9. Author:
  10. Sunita Shrivastava (sunitas) 24-Apr-1996
  11. Revision History:
  12. --*/
  13. #define UNICODE 1
  14. #include "nt.h"
  15. #include "ntrtl.h"
  16. #include "nturtl.h"
  17. #include "service.h"
  18. #define LOG_CURRENT_MODULE LOG_MODULE_EP
  19. //
  20. // Local Constants
  21. //
  22. #define NUMBER_OF_COMPONENTS 5
  23. #define EP_MAX_CACHED_EVENTS 20
  24. #define EP_MAX_ALLOCATED_EVENTS CLRTL_MAX_POOL_BUFFERS
  25. #define EpQuadAlign(size) ( (((size) / sizeof(DWORDLONG)) + 1) * \
  26. sizeof(DWORDLONG) )
  27. //
  28. // Local Types
  29. //
  30. typedef struct {
  31. CLUSTER_EVENT Id;
  32. DWORD Flags;
  33. PVOID Context;
  34. } EP_EVENT, *PEP_EVENT;
  35. #endif //ifndef _EPP_H