home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 March / CHIPCD_3_98.iso / software / testsoft / exchange / connect / msmcon / bin / mtperf.h < prev    next >
Text File  |  1997-08-25  |  2KB  |  36 lines

  1. /* ---------------------------------------------------------------------------- *\
  2.  
  3.     Description:
  4.         Offset definition file for exensible counter objects and counters
  5.  
  6.         These "relative" offsets must start at 0 and be multiples of 2 (i.e.
  7.         even numbers). In the Open Procedure, they will be added to the 
  8.         "First Counter" and "First Help" values fo the device they belong to, 
  9.         in order to determine the  absolute location of the counter and 
  10.         object names and corresponding help text in the registry.
  11.  
  12.         This file is used by the extensible counter DLL code as well as the 
  13.         counter name and help text definition file (.INI) file that is used
  14.         by LODCTR to load the names into the registry.
  15.         
  16.         These are offsets from the "First Counter" value in the registry.
  17.  
  18.         Copyright 1986-1996 Microsoft Corporation. All Rights Reserved.
  19.  
  20. \*============================================================================*/
  21. #if !defined( _MTPERF_H_ )
  22. #define _MT_PERF_H 
  23.  
  24. // 
  25. // indices for counters relative to the base defined by "First Counter"
  26. //
  27. #define OFFSET_OBJECT               0     
  28. #define OFFSET_SFSEMS_TOTAL_MSGS    2       // # of messages from PC Mail to Exchange
  29. #define OFFSET_SFSEMS_MSGS          4       // # of messages/hr from PC Mail to Exchange
  30. #define OFFSET_SFSEMS_KB            6       // # of Kbytes/hr from PC Mail to Exchange /sec
  31. #define OFFSET_EMSSFS_TOTAL_MSGS    8       // # of messages from Exchange from PC Mail
  32. #define OFFSET_EMSSFS_MSGS          10      // # of messages/hr from Exchange from PC Mail
  33. #define OFFSET_EMSSFS_KB            12      // # of Kbytes/hr from Exchange from PC Mail
  34.  
  35. #endif
  36.