Windows NT 4.0 source code leak
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.

33 lines
1.3 KiB

4 years ago
  1. /***************************************************************************\
  2. * data.h
  3. *
  4. * Microsoft Confidential
  5. * Copyright (c) 1991 Microsoft Corporation
  6. *
  7. * Structure definitions for WINMETER database
  8. * These structures will hold the general data for the winmeter "Tasks" display
  9. * this includes a linked list of processes and owned threads, as well as
  10. * a linked list of modules - The three main lists, the lists of processes,
  11. * threads, and modules, will have header nodes. The linked list of threads
  12. * within a process will have no header nodes
  13. *
  14. * History:
  15. * Written by Hadi Partovi (t-hadip) summer 1991
  16. *
  17. * Re-written and adapted for NT by Fran Borda (v-franb) Nov.1991
  18. * for Newman Consulting
  19. * Took out all WIN-specific and bargraph code. Added 3 new
  20. * linegraphs (Mem/Paging, Process/Threads/Handles, IO), and
  21. * tailored info to that available under NT.
  22. \***************************************************************************/
  23. // Data structure for storing module info as linked list
  24. // Definitions for fMark field
  25. #define MK_BLANK 0 // thread/process not seen in this pass
  26. #define MK_UPDATED 1 // T/P just updated
  27. #define MK_CREATED 2 // T/P just created
  28. // Definitions for data query //
  29. #define INITIALBUFFERSIZE GLOBALSTRSIZE*10 // initial size for query buffer