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.

84 lines
2.8 KiB

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name:
  4. DATABRWS.h
  5. Abstract:
  6. Header file for the Windows NT Browser Performance counters.
  7. This file contains definitions to construct the dynamic data
  8. which is returned by the Configuration Registry. Data from
  9. various system API calls is placed into the structures shown
  10. here.
  11. Author:
  12. Bob Watson 28-Oct-1996
  13. Revision History:
  14. --*/
  15. #ifndef _DATABRWS_H_
  16. #define _DATABRWS_H_
  17. //
  18. // This is the Browser counter structure presently returned by NT.
  19. //
  20. typedef struct _BROWSER_DATA_DEFINITION {
  21. PERF_OBJECT_TYPE BrowserObjectType;
  22. PERF_COUNTER_DEFINITION ServerAnnounce;
  23. PERF_COUNTER_DEFINITION DomainAnnounce;
  24. PERF_COUNTER_DEFINITION TotalAnnounce;
  25. PERF_COUNTER_DEFINITION ElectionPacket;
  26. PERF_COUNTER_DEFINITION MailslotWrite;
  27. PERF_COUNTER_DEFINITION ServerList;
  28. PERF_COUNTER_DEFINITION ServerEnum;
  29. PERF_COUNTER_DEFINITION DomainEnum;
  30. PERF_COUNTER_DEFINITION OtherEnum;
  31. PERF_COUNTER_DEFINITION TotalEnum;
  32. PERF_COUNTER_DEFINITION ServerAnnounceMiss;
  33. PERF_COUNTER_DEFINITION MailslotDatagramMiss;
  34. PERF_COUNTER_DEFINITION ServerListMiss;
  35. PERF_COUNTER_DEFINITION ServerAnnounceAllocMiss;
  36. PERF_COUNTER_DEFINITION MailslotAllocFail;
  37. PERF_COUNTER_DEFINITION MailslotReceiveFail;
  38. PERF_COUNTER_DEFINITION MailslotWriteFail;
  39. PERF_COUNTER_DEFINITION MailslotOpenFail;
  40. PERF_COUNTER_DEFINITION MasterAnnounceDup;
  41. PERF_COUNTER_DEFINITION DatagramIllegal;
  42. } BROWSER_DATA_DEFINITION, *PBROWSER_DATA_DEFINITION;
  43. typedef struct _BROWSER_COUNTER_DATA{
  44. PERF_COUNTER_BLOCK CounterBlock;
  45. LONGLONG ServerAnnounce;
  46. LONGLONG DomainAnnounce;
  47. LONGLONG TotalAnnounce;
  48. DWORD ElectionPacket;
  49. DWORD MailslotWrite;
  50. DWORD ServerList;
  51. DWORD ServerEnum;
  52. DWORD DomainEnum;
  53. DWORD OtherEnum;
  54. DWORD TotalEnum;
  55. DWORD ServerAnnounceMiss;
  56. DWORD MailslotDatagramMiss;
  57. DWORD ServerListMiss;
  58. DWORD ServerAnnounceAllocMiss;
  59. DWORD MailslotAllocFail;
  60. DWORD MailslotReceiveFail;
  61. DWORD MailslotWriteFail;
  62. DWORD MailslotOpenFail;
  63. DWORD MasterAnnounceDup;
  64. LONGLONG DatagramIllegal;
  65. } BROWSER_COUNTER_DATA, * PBROWSER_COUNTER_DATA;
  66. extern BROWSER_DATA_DEFINITION BrowserDataDefinition;
  67. #endif // _DATABRWS_H_
  68.