diff options
author | Luke Dunstan <infidel@users.sourceforge.net> | 2004-04-18 07:07:57 +0000 |
---|---|---|
committer | Luke Dunstan <infidel@users.sourceforge.net> | 2004-04-18 07:07:57 +0000 |
commit | 08ed58a0237aa6266ad332cc8168f80a495ae838 (patch) | |
tree | 5c36c0372e66bb239ce5bfcec315b9b94f0ce49f /winsup/w32api/include/ddk/ntapi.h | |
parent | 4d60e6d23167f545d8245905397cf528f8f75cd1 (diff) | |
download | cygnal-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.h | 11 |
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, |