#include <umtypes.h>
//#include <pstypes.h>
+#ifndef NTOS_MODE_USER
+
+//
+// Kernel Exported Object Types
+//
+extern POBJECT_TYPE NTSYSAPI LpcPortObjectType;
+
+#endif // !NTOS_MODE_USER
+
//
// Internal helper macro
//
SECURITY_CLIENT_CONTEXT StaticSecurity;
LIST_ENTRY LpcReplyChainHead;
LIST_ENTRY LpcDataInfoChainHead;
- PEPROCESS ServerProcess;
- PEPROCESS MappingProcess;
+ union
+ {
+ PEPROCESS ServerProcess;
+ PEPROCESS MappingProcess;
+ };
ULONG MaxMessageLength;
ULONG MaxConnectionInfoLength;
ULONG Flags;