home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / winbase / winnt / perftool / perfdlls / perfgen / genctrnm.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-06-21  |  795 b   |  21 lines

  1. //
  2. //  genctrnm.h
  3. //
  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. #define SIGGEN_OBJ      0
  17. #define SINE_WAVE       2
  18. #define TRIANGLE_WAVE   4
  19. #define SQUARE_WAVE     6
  20. #define CONSTANT_VALUE  8
  21.