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.

106 lines
2.3 KiB

  1. //+------------------------------------------------------------
  2. //
  3. // Copyright (C) 1999, Microsoft Corporation
  4. //
  5. // File: perfcat.h
  6. //
  7. // Contents: Categorizer performance counter block
  8. //
  9. // History:
  10. // jstamerj 1999/02/26 21:17:46: Created.
  11. //
  12. //-------------------------------------------------------------
  13. #ifndef __PERFCAT_H__
  14. #define __PERFCAT_H__
  15. typedef struct _tagCATLDAPPERFBLOCK
  16. {
  17. //
  18. // LDAP counters
  19. //
  20. DWORD Connections;
  21. DWORD ConnectFailures;
  22. DWORD OpenConnections;
  23. DWORD Binds;
  24. DWORD BindFailures;
  25. DWORD Searches;
  26. DWORD PagedSearches;
  27. DWORD SearchFailures;
  28. DWORD PagedSearchFailures;
  29. DWORD SearchesCompleted;
  30. DWORD PagedSearchesCompleted;
  31. DWORD SearchCompletionFailures;
  32. DWORD PagedSearchCompletionFailures;
  33. DWORD GeneralCompletionFailures;
  34. DWORD AbandonedSearches;
  35. DWORD PendingSearches;
  36. } CATLDAPPERFBLOCK, *PCATLDAPPERFBLOCK;
  37. typedef struct _tagCATPERFBLOCK
  38. {
  39. //
  40. // Counters per-categorization
  41. //
  42. DWORD CatSubmissions;
  43. DWORD CatCompletions;
  44. DWORD CurrentCategorizations;
  45. DWORD SucceededCategorizations;
  46. DWORD HardFailureCategorizations;
  47. DWORD RetryFailureCategorizations;
  48. DWORD RetryOutOfMemory;
  49. DWORD RetryDSLogon;
  50. DWORD RetryDSConnection;
  51. DWORD RetryGeneric;
  52. //
  53. // Counters per message
  54. //
  55. DWORD MessagesSubmittedToQueueing;
  56. DWORD MessagesCreated;
  57. DWORD MessagesAborted;
  58. //
  59. // Counters per recip
  60. //
  61. DWORD PreCatRecipients;
  62. DWORD PostCatRecipients;
  63. DWORD NDRdRecipients;
  64. DWORD UnresolvedRecipients;
  65. DWORD AmbiguousRecipients;
  66. DWORD IllegalRecipients;
  67. DWORD LoopRecipients;
  68. DWORD GenericFailureRecipients;
  69. DWORD RecipsInMemory;
  70. //
  71. // Counters per sender
  72. //
  73. DWORD UnresolvedSenders;
  74. DWORD AmbiguousSenders;
  75. //
  76. // Counters per address lookup
  77. //
  78. DWORD AddressLookups;
  79. DWORD AddressLookupCompletions;
  80. DWORD AddressLookupsNotFound;
  81. //
  82. // Misc counters
  83. //
  84. DWORD MailmsgDuplicateCollisions;
  85. //
  86. // LDAP counters
  87. //
  88. CATLDAPPERFBLOCK LDAPPerfBlock;
  89. } CATPERFBLOCK, *PCATPERFBLOCK;
  90. #endif //__PERCAT_H__