Build ntoskrnl with NDK, and don't use rosrtl
[reactos.git] / reactos / ntoskrnl / include / internal / port.h
index 4c6f846..606f150 100644 (file)
@@ -95,6 +95,61 @@ typedef struct _QUEUEDMESSAGE
   UCHAR                MessageData [MAX_MESSAGE_DATA];
 } QUEUEDMESSAGE,  *PQUEUEDMESSAGE;
 
+typedef struct _LPC_DBG_MESSAGE
+{
+   LPC_MESSAGE Header;
+   ULONG Type;
+   ULONG Status;
+   union
+     {
+       struct
+         {
+            EXCEPTION_RECORD ExceptionRecord;
+            ULONG FirstChance;
+         } Exception;
+       struct
+         {
+            ULONG Reserved;
+            PVOID StartAddress;
+         } CreateThread;
+       struct
+         {
+            ULONG Reserved;
+            HANDLE FileHandle;
+            PVOID Base;
+            ULONG PointerToSymbolTable;
+            ULONG NumberOfSymbols;
+            ULONG Reserved2;
+            PVOID EntryPoint;
+         } CreateProcess;
+       struct
+         {
+            ULONG ExitCode;
+         } ExitThread;
+       struct
+         {
+            ULONG ExitCode;
+         } ExitProcess;
+       struct
+         {
+            HANDLE FileHandle;
+            PVOID Base;
+            ULONG PointerToSymbolTable;
+            ULONG NumberOfSymbols;
+         } LoadDll;
+       struct
+         {
+            PVOID Base;
+         } UnloadDll;
+     } Data;
+} LPC_DBG_MESSAGE, *PLPC_DBG_MESSAGE;
+
+typedef struct _LPC_TERMINATION_MESSAGE
+{
+   LPC_MESSAGE Header;
+   LARGE_INTEGER CreationTime;
+} LPC_TERMINATION_MESSAGE, *PLPC_TERMINATION_MESSAGE;
+
 /* Code in ntoskrnl/lpc/close.h */
 
 VOID STDCALL