diff options
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, |