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.

76 lines
1.7 KiB

  1. /*++
  2. WARNING!!!
  3. This file is automatically generated and should never be changed.
  4. All changes should be made to the NTFRSREP.int file.
  5. Copyright (c) 1998-1999 Microsoft Corporation
  6. Module Name:
  7. REPSET.h
  8. Abstract
  9. This is the header file for the REPLICASET Object data definition.
  10. It contains definitions to construct the dynamic data which is returned
  11. by the Configuration Registry.
  12. Environment:
  13. User Mode Service
  14. Revision History:
  15. --*/
  16. #ifndef _REPSET_H_
  17. #define _REPSET_H_
  18. #include <perrepsr.h> // The counter structures header file
  19. #include <perffrs.h> // The RPC generated header file
  20. #include <winperf.h> // The PERFMON header file
  21. //
  22. // Number of objects being monitored
  23. //
  24. #define REPLICASET_NUM_PERF_OBJECT_TYPES 1
  25. //
  26. // Size of DWORD
  27. //
  28. #define SSIZEOFDWORD sizeof(DWORD)
  29. //
  30. // Number of ReplicaSet Counters
  31. //
  32. #define FRS_NUMOFCOUNTERS 91
  33. //
  34. // Flag bit defs
  35. //
  36. #define PM_RS_FLAG_SVC_WIDE 0x00000001
  37. //
  38. // Structure which is used in the Open function Initialization
  39. //
  40. typedef struct _REPLICASET_VALUES {
  41. PWCHAR name; // name of the counter
  42. DWORD size; // size of the counter type
  43. DWORD offset; // offset of the counter in the structure
  44. DWORD counterType; // Type of (PERFMON) counter
  45. DWORD Flags; // Flags. see def above.
  46. } ReplicaSetValues;
  47. //
  48. // Counter Structure returned by the REPLICASET Object
  49. //
  50. typedef struct _REPLICASET_DATA_DEFINITION {
  51. PERF_OBJECT_TYPE ReplicaSetObjectType; // ReplicaSet Object
  52. PERF_COUNTER_DEFINITION NumStat[FRS_NUMOFCOUNTERS]; // The array of PERF_COUNTER_DEFINITION structures
  53. } REPLICASET_DATA_DEFINITION;
  54. #endif