summaryrefslogtreecommitdiffstats
path: root/winsup/w32api/include/winnt.h
diff options
context:
space:
mode:
authorMumit Khan <khan@@xraylith.wisc.edu>2000-02-29 03:07:07 +0000
committerMumit Khan <khan@@xraylith.wisc.edu>2000-02-29 03:07:07 +0000
commit6dc88be7da2b81513f3bac1d9efcbf8d281839a2 (patch)
treef0fee8359ba72661d20b44807ed9c1a32ccb5f61 /winsup/w32api/include/winnt.h
parent9fbcd67ebc66eef0afe3f78b121ae2e26fa14500 (diff)
downloadcygnal-6dc88be7da2b81513f3bac1d9efcbf8d281839a2.tar.gz
cygnal-6dc88be7da2b81513f3bac1d9efcbf8d281839a2.tar.bz2
cygnal-6dc88be7da2b81513f3bac1d9efcbf8d281839a2.zip
2000-02-28 Mumit Khan <khan@xraylith.wisc.edu>
* include/winbase.h (TLS_MINIMUM_AVAILABLE): Move macro from here * include/winnt.h (TLS_MINIMUM_AVAILABLE): to here. (NT_TIB): Define. * include/tlhelp32.h: New file.
Diffstat (limited to 'winsup/w32api/include/winnt.h')
-rw-r--r--winsup/w32api/include/winnt.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/winsup/w32api/include/winnt.h b/winsup/w32api/include/winnt.h
index 71c0e353a..4574136d2 100644
--- a/winsup/w32api/include/winnt.h
+++ b/winsup/w32api/include/winnt.h
@@ -895,6 +895,7 @@ typedef BYTE BOOLEAN,*PBOOLEAN;
#define ISTAG(x) ((x)==IMAGE_SYM_CLASS_STRUCT_TAG||(x)==IMAGE_SYM_CLASS_UNION_TAG||(x)==IMAGE_SYM_CLASS_ENUM_TAG)
#define INCREF(x) ((((x)&~N_BTMASK)<<N_TSHIFT)|(IMAGE_SYM_DTYPE_POINTER<<N_BTSHFT)|((x)&N_BTMASK))
#define DECREF(x) ((((x)>>N_TSHIFT)&~N_BTMASK)|((x)&N_BTMASK))
+#define TLS_MINIMUM_AVAILABLE 64
#ifndef RC_INVOKED
typedef DWORD ACCESS_MASK;
@@ -2221,7 +2222,18 @@ typedef enum _CM_ERROR_CONTROL_TYPE {
SevereError=SERVICE_ERROR_SEVERE,
CriticalError=SERVICE_ERROR_CRITICAL
} SERVICE_ERROR_TYPE;
-
+typedef struct _NT_TIB {
+ struct _EXCEPTION_REGISTRATION_RECORD *ExceptionList;
+ PVOID StackBase;
+ PVOID StackLimit;
+ PVOID SubSystemTib;
+ union {
+ PVOID FiberData;
+ DWORD Version;
+ } DUMMYUNIONNAME;
+ PVOID ArbitraryUserPointer;
+ struct _NT_TIB *Self;
+} NT_TIB,*PNT_TIB;
PVOID GetCurrentFiber(void);
PVOID GetFiberData(void);
#endif
@@ -2229,3 +2241,4 @@ PVOID GetFiberData(void);
}
#endif
#endif
+