summaryrefslogtreecommitdiffstats
path: root/winsup/w32api/include/ddk/ntapi.h
diff options
context:
space:
mode:
authorLuke Dunstan <infidel@users.sourceforge.net>2004-04-18 07:07:57 +0000
committerLuke Dunstan <infidel@users.sourceforge.net>2004-04-18 07:07:57 +0000
commit08ed58a0237aa6266ad332cc8168f80a495ae838 (patch)
tree5c36c0372e66bb239ce5bfcec315b9b94f0ce49f /winsup/w32api/include/ddk/ntapi.h
parent4d60e6d23167f545d8245905397cf528f8f75cd1 (diff)
downloadcygnal-08ed58a0237aa6266ad332cc8168f80a495ae838.tar.gz
cygnal-08ed58a0237aa6266ad332cc8168f80a495ae838.tar.bz2
cygnal-08ed58a0237aa6266ad332cc8168f80a495ae838.zip
Merge numerous changes from ReactOS. Submitted by Filip Navara.
Diffstat (limited to 'winsup/w32api/include/ddk/ntapi.h')
-rw-r--r--winsup/w32api/include/ddk/ntapi.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/winsup/w32api/include/ddk/ntapi.h b/winsup/w32api/include/ddk/ntapi.h
index a9a6b6e5c..c653e765b 100644
--- a/winsup/w32api/include/ddk/ntapi.h
+++ b/winsup/w32api/include/ddk/ntapi.h
@@ -48,6 +48,12 @@ typedef PVOID POBJECT_TYPE_LIST;
typedef PVOID PEXECUTION_STATE;
typedef PVOID PLANGID;
+#ifndef NtCurrentProcess
+#define NtCurrentProcess() ((HANDLE)0xFFFFFFFF)
+#endif /* NtCurrentProcess */
+#ifndef NtCurrentThread
+#define NtCurrentThread() ((HANDLE)0xFFFFFFFE)
+#endif /* NtCurrentThread */
/* System information and control */
@@ -1924,9 +1930,6 @@ NTAPI
ZwStopProfile(
IN HANDLE ProfileHandle);
-
-
-
/* Local Procedure Call (LPC) */
typedef struct _LPC_MESSAGE {
@@ -1940,6 +1943,8 @@ typedef struct _LPC_MESSAGE {
UCHAR Data[ANYSIZE_ARRAY];
} LPC_MESSAGE, *PLPC_MESSAGE;
+#define LPC_MESSAGE_BASE_SIZE 24
+
typedef enum _LPC_TYPE {
LPC_NEW_MESSAGE,
LPC_REQUEST,