home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tolkit45.zip / os2tk45 / inc / bsetib.inc < prev    next >
Text File  |  1999-04-30  |  2KB  |  49 lines

  1. ;       SCCSID = @(#)bsetib.h   6.9 92/03/15   
  2. ;****************************************************************************
  3. ; Module Name: BSETIB.H
  4. ;
  5. ; OS/2 Thread Information Block Include File
  6. ;
  7. ; Copyright (c) 1989, 1992  IBM Corporation
  8. ; Copyright (c) 1989  Microsoft Corporation
  9. ;
  10. ;***************************************************************************  
  11. ifndef __BSETIB__
  12. ;*      Thread Information Block (TIB)
  13. ;  
  14.  
  15. tib2_s    STRUC
  16. tib2_ultid    DD    ?             ;  Thread I.D.   
  17. tib2_ulpri    DD    ?             ;  Thread priority   
  18. tib2_version    DD    ?           ;  Version number for this structure   
  19. tib2_usMCCount    DW    ?         ;  Must Complete count   
  20. tib2_fMCForceFlag    DW    ?      ;  Must Complete force flag   
  21. tib2_s    ENDS
  22.  
  23.  
  24. tib_s    STRUC
  25. tib_pexchain    DD    ?           ;  Head of exception handler chain   
  26. tib_pstack    DD    ?             ;  Pointer to base of stack   
  27. tib_pstacklimit    DD    ?        ;  Pointer to end of stack   
  28. tib_ptib2    DD    ?              ;  Pointer to system specific TIB   
  29. tib_version    DD    ?            ;  Version number for this TIB structure   
  30. tib_ordinal    DD    ?            ;  Thread ordinal number          
  31. tib_s    ENDS
  32.  
  33. ;*      Process Information Block (PIB)
  34. ;  
  35.  
  36. pib_s    STRUC
  37. pib_ulpid    DD    ?              ;  Process I.D.   
  38. pib_ulppid    DD    ?             ;  Parent process I.D.   
  39. pib_hmte    DD    ?               ;  Program (.EXE) module handle   
  40. pib_pchcmd    DD    ?             ;  Command line pointer   
  41. pib_pchenv    DD    ?             ;  Environment pointer   
  42. pib_flstatus    DD    ?           ;  Process' status bits   
  43. pib_ultype    DD    ?             ;  Process' type code   
  44. pib_s    ENDS
  45.  
  46. endif ;  __BSETIB__   
  47.