[LT2013]
[reactos.git] / dll / win32 / rpcrt4 / ndr_contexthandle.c
index 15192a7..c63e20f 100644 (file)
 
 #include "ndr_misc.h"
 #include "rpc_assoc.h"
-#include "rpcndr.h"
+//#include "rpcndr.h"
 
-#include "wine/rpcfc.h"
+//#include "wine/rpcfc.h"
 
-#include "wine/debug.h"
-#include "wine/list.h"
+#include <wine/debug.h>
+//#include "wine/list.h"
+
+#ifdef __REACTOS__
+DEFINE_GUID(GUID_NULL,0,0,0,0,0,0,0,0,0,0,0);
+#endif
 
 WINE_DEFAULT_DEBUG_CHANNEL(ole);
 
@@ -59,7 +63,7 @@ static CRITICAL_SECTION ndr_context_cs = { &ndr_context_debug, -1, 0, 0, 0, 0 };
 
 static struct context_handle_entry *get_context_entry(NDR_CCONTEXT CContext)
 {
-    struct context_handle_entry *che = (struct context_handle_entry*) CContext;
+    struct context_handle_entry *che = CContext;
 
     if (che->magic != NDR_CONTEXT_HANDLE_MAGIC)
         return NULL;
@@ -111,7 +115,7 @@ void WINAPI NDRCContextMarshall(NDR_CCONTEXT CContext, void *pBuff)
     }
     else
     {
-        ndr_context_handle *wire_data = (ndr_context_handle *)pBuff;
+        ndr_context_handle *wire_data = pBuff;
         wire_data->attributes = 0;
         wire_data->uuid = GUID_NULL;
     }