Source code of Windows XP (NT5)
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.6 KiB

  1. /*++
  2. WARNING!!!
  3. This file is automatically generated and should never be changed.
  4. All changes should be made to the NTFRSCON.int file.
  5. Copyright (c) 1998-1999 Microsoft Corporation
  6. Module Name:
  7. REPCONN.h
  8. Abstract
  9. This is the header file for the REPLICACONN 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 _REPCONN_H_
  17. #define _REPCONN_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 REPLICACONN_NUM_PERF_OBJECT_TYPES 1
  25. //
  26. // Size of DWORD
  27. //
  28. #define CSIZEOFDWORD sizeof(DWORD)
  29. //
  30. // Number of ReplicaConn Counters
  31. //
  32. #define FRC_NUMOFCOUNTERS 24
  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 _REPLICACONN_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. } ReplicaConnValues;
  47. //
  48. // Counter Structure returned by the REPLICACONN Object
  49. //
  50. typedef struct _REPLICACONN_DATA_DEFINITION {
  51. PERF_OBJECT_TYPE ReplicaConnObjectType; // ReplicaConn Object
  52. PERF_COUNTER_DEFINITION NumStat[FRC_NUMOFCOUNTERS]; // The array of PERF_COUNTER_DEFINITION structures
  53. } REPLICACONN_DATA_DEFINITION;
  54. #endif