|
|
1.1 root 1: /* SCCSID = @(#)tib.h 13.4 90/03/26 */
2: /***************************************************************************\
3: *
4: * Module Name: BSETIB.H
5: *
6: * OS/2 Thread Information Block Include File
7: *
8: * Copyright (c) 1989 Microsoft Corporation
9: * Copyright (c) 1989 IBM Corporation
10: *
11: *****************************************************************************
12:
13:
14: /*
15: * Thread Information Block (TIB)
16: */
17:
18:
19: struct tib_s { /* TIB Thread Information Block */
20: ULONG tib_ultid; /* Thread I.D. */
21: ULONG tib_ulpri; /* Thread priority */
22: PVOID tib_pstack; /* Pointer to base of stack */
23: ULONG tib_cbstack; /* Maximum size of stack */
24: PVOID tib_pexchain; /* Head of exception handler chain */
25: USHORT tib_usMCCount; /* Must Complete count */
26: USHORT tib_fMCForceFlag; /* Must Complete force flag */
27: };
28:
29:
30: /* XLATOFF */
31: typedef struct tib_s tib_t;
32: typedef struct tib_s TIB;
33: typedef struct tib_s *PTIB;
34: /* XLATON */
35:
36:
37: /*
38: * Process Information Block (PIB)
39: */
40:
41:
42: struct pib_s { /* PIB Process Information Block */
43: ULONG pib_ulpid; /* Process I.D. */
44: ULONG pib_ulppid; /* Parent process I.D. */
45: ULONG pib_hmte; /* Program (.EXE) module handle */
46: PCHAR pib_pchcmd; /* Command line pointer */
47: PCHAR pib_pchenv; /* Environment pointer */
48: ULONG pib_flstatus; /* Process' status bits */
49: ULONG pib_ultype; /* Process' type code */
50: };
51:
52:
53: /* XLATOFF */
54: typedef struct pib_s pib_t;
55: typedef struct pib_s PIB;
56: typedef struct pib_s *PPIB;
57: /* XLATON */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.