home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / os2 / running / running.h < prev    next >
Encoding:
C/C++ Source or Header  |  1989-11-01  |  667 b   |  44 lines

  1. /* running.h
  2. **
  3. ** Copyright (c) 1989, Christopher Laforet
  4. ** All Rights Reserved
  5. **
  6. ** Started: 25 October 1989
  7. **
  8. ** Revision Information:
  9. **
  10. ** $Logfile:   D:/os2/running/vcs/running.h_v  $
  11. ** $Date:   25 Oct 1989 21:28:46  $
  12. ** $Revision:   1.2  $
  13. **
  14. */
  15.  
  16.  
  17. #define MAJOR_VERSION            1
  18. #define MINOR_VERSION            2
  19.  
  20.  
  21. struct id
  22.     {
  23.     USHORT pid;
  24.     USHORT ppid;
  25.     USHORT threads;
  26.     USHORT signiture;
  27.     };
  28.  
  29.  
  30. struct proc
  31.     {
  32.     USHORT pid;
  33.     USHORT ppid;
  34.     USHORT signiture;
  35.     USHORT max_dependents;
  36.     USHORT threads;
  37.     USHORT children;
  38.     USHORT *dependents;
  39.     UCHAR *process;
  40.     };
  41.  
  42.  
  43. extern USHORT APIENTRY DosQProcStatus(PVOID pBuf,USHORT cbBuf);
  44.