home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / odtlktv4.zip / ODTLKT / TOOLKIT / INC / BSETIB.INC < prev    next >
Text File  |  1995-12-04  |  2KB  |  57 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. ifdef __IBMC__
  12. ifndef __CHKHDR__
  13. endif
  14. endif
  15. ifndef __BSETIB__
  16. ;*      Thread Information Block (TIB)
  17. ;  
  18.  
  19. tib2_s    STRUC
  20. tib2_ultid    DD    ?             ;  Thread I.D.   
  21. tib2_ulpri    DD    ?             ;  Thread priority   
  22. tib2_version    DD    ?           ;  Version number for this structure   
  23. tib2_usMCCount    DW    ?         ;  Must Complete count   
  24. tib2_fMCForceFlag    DW    ?      ;  Must Complete force flag   
  25. tib2_s    ENDS
  26.  
  27.  
  28. tib_s    STRUC
  29. tib_pexchain    DD    ?           ;  Head of exception handler chain   
  30. tib_pstack    DD    ?             ;  Pointer to base of stack   
  31. tib_pstacklimit    DD    ?        ;  Pointer to end of stack   
  32. tib_ptib2    DD    ?              ;  Pointer to system specific TIB   
  33. tib_version    DD    ?            ;  Version number for this TIB structure   
  34. tib_ordinal    DD    ?            ;  Thread ordinal number          
  35. tib_s    ENDS
  36.  
  37. ;*      Process Information Block (PIB)
  38. ;  
  39.  
  40. pib_s    STRUC
  41. pib_ulpid    DD    ?              ;  Process I.D.   
  42. pib_ulppid    DD    ?             ;  Parent process I.D.   
  43. pib_hmte    DD    ?               ;  Program (.EXE) module handle   
  44. pib_pchcmd    DD    ?             ;  Command line pointer   
  45. pib_pchenv    DD    ?             ;  Environment pointer   
  46. pib_flstatus    DD    ?           ;  Process' status bits   
  47. pib_ultype    DD    ?             ;  Process' type code   
  48. pib_s    ENDS
  49.  
  50. endif ;  __BSETIB__   
  51. ifdef __IBMC__
  52. ifndef __CHKHDR__
  53. endif
  54. endif
  55.