source: trunk/src/win32k/include/OS2KTCB.h@ 5087

Last change on this file since 5087 was 4787, checked in by bird, 25 years ago

Changed email address... (may some dll fixes changes too.)

File size: 1.2 KB
Line 
1/* $Id: OS2KTCB.h,v 1.2 2000-12-11 06:53:50 bird Exp $
2 *
3 * TCB - Thread Control Block access methods.
4 *
5 * Copyright (c) 2000 knut st. osmundsen (knut.stange.osmundsen@mynd.no)
6 *
7 * Project Odin Software License can be found in LICENSE.TXT
8 *
9 */
10#ifndef _tcb_h_
11#define _tcb_h_
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17
18/*******************************************************************************
19* Structures and Typedefs *
20*******************************************************************************/
21typedef struct _TCB
22{
23 char dummy;
24} TCB, *PTCB, **PPTCB;
25
26
27
28extern PPTCB ppTCBCur;
29
30
31/*******************************************************************************
32* Defined Constants And Macros *
33*******************************************************************************/
34
35/**
36 * Gets pointer to the current TCB.
37 * @returns Pointer to the current thread control block (TCB).
38 * NULL if not task-time.
39 */
40#define tcbGetCur() *ppTCBCur
41
42
43USHORT tcbGetTCBFailErr(PTCB pTCB);
44USHORT tcbSetTCBFailErr(PTCB pTCB, USHORT TCBFailErr);
45
46
47
48#ifdef __cplusplus
49}
50#endif
51
52#endif
Note: See TracBrowser for help on using the repository browser.