home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / stattype.h < prev    next >
C/C++ Source or Header  |  1998-04-25  |  918b  |  30 lines

  1. // --stattype.h-----------------------------------------------------------------
  2. //
  3. // Defines types used in the stats component.
  4. // 
  5. // Copyright 1986 - 1998 Microsoft Corporation.  All Rights Reserved.
  6. // -----------------------------------------------------------------------------
  7.  
  8. #ifndef __stattype_h
  9. #define __stattype_h
  10.  
  11. // Flags for metric to calculate.
  12. // ------------------------------
  13. #define FM_CMESSAGES        0x00000001
  14. #define FM_LONGEST_WAIT     0x00000002
  15. #define FM_TOTAL_WAIT       0x00000004
  16.  
  17.  
  18.  
  19. typedef enum _jswindowtype
  20. {
  21.     JSWINDOW_MIN = 0,       // calculate the minimum in a window
  22.     JSWINDOW_MAX,           // calculate the maximum in a window
  23.     JSWINDOW_AVERAGE,       // calculate the average of a window
  24.     JSWINDOW_TOTAL_RATE,    // calculate the total of a window
  25.     JSWINDOW_LAST           // all types are less than this
  26. } JSWINDOWTYPE;
  27.  
  28. #endif
  29.  
  30.