home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ddkx86v2.zip / DDKX86 / DBCSDD / INC32 / BSETIB.INC < prev    next >
Text File  |  1995-04-14  |  2KB  |  68 lines

  1. ;*DDK*************************************************************************/
  2. ;
  3. ; COPYRIGHT (C) Microsoft Corporation, 1989
  4. ; COPYRIGHT    Copyright (C) 1995 IBM Corporation
  5. ;
  6. ;    The following IBM OS/2 WARP source code is provided to you solely for
  7. ;    the purpose of assisting you in your development of OS/2 WARP device
  8. ;    drivers. You may use this code in accordance with the IBM License
  9. ;    Agreement provided in the IBM Device Driver Source Kit for OS/2. This
  10. ;    Copyright statement may not be removed.;
  11. ;*****************************************************************************/
  12. ;       SCCSID = @(#)bsetib.h   6.9 92/03/15   
  13. ;****************************************************************************
  14. ; Module Name: BSETIB.H
  15. ;
  16. ; OS/2 Thread Information Block Include File
  17. ;
  18. ;
  19. ;***************************************************************************  
  20. ifdef __IBMC__
  21. ifndef __CHKHDR__
  22. endif
  23. endif
  24. ifndef __BSETIB__
  25. __BSETIB__    EQU    1
  26.  
  27. ;*      Thread Information Block (TIB)
  28. ;  
  29.  
  30. tib2_s    STRUC
  31. tib2_ultid    DD    ?             ;  Thread I.D.   
  32. tib2_ulpri    DD    ?             ;  Thread priority   
  33. tib2_version    DD    ?           ;  Version number for this structure   
  34. tib2_usMCCount    DW    ?         ;  Must Complete count   
  35. tib2_fMCForceFlag    DW    ?      ;  Must Complete force flag   
  36. tib2_s    ENDS
  37.  
  38.  
  39. tib_s    STRUC
  40. tib_pexchain    DD    ?           ;  Head of exception handler chain   
  41. tib_pstack    DD    ?             ;  Pointer to base of stack   
  42. tib_pstacklimit    DD    ?        ;  Pointer to end of stack   
  43. tib_ptib2    DD    ?              ;  Pointer to system specific TIB   
  44. tib_version    DD    ?            ;  Version number for this TIB structure   
  45. tib_ordinal    DD    ?            ;  Thread ordinal number          
  46. tib_s    ENDS
  47.  
  48. ;*      Process Information Block (PIB)
  49. ;  
  50.  
  51. pib_s    STRUC
  52. pib_ulpid    DD    ?              ;  Process I.D.   
  53. pib_ulppid    DD    ?             ;  Parent process I.D.   
  54. pib_hmte    DD    ?               ;  Program (.EXE) module handle   
  55. pib_pchcmd    DD    ?             ;  Command line pointer   
  56. pib_pchenv    DD    ?             ;  Environment pointer   
  57. pib_flstatus    DD    ?           ;  Process' status bits   
  58. pib_ultype    DD    ?             ;  Process' type code   
  59. pib_s    ENDS
  60.  
  61. endif ;  __BSETIB__   
  62. ifdef __IBMC__
  63. ifndef __CHKHDR__
  64. endif
  65. endif
  66.