update for HEAD-2003091401
[reactos.git] / drivers / net / packet / dump.c
index 99f916b..988f561 100644 (file)
 #include <ddk/ntddk.h>
 #include <net/ndis.h>
 //#define PsGetCurrentProcess() IoGetCurrentProcess()
+#ifndef PsGetCurrentThread
 #define PsGetCurrentThread() ((PETHREAD) (KeGetCurrentThread()))
 #endif
+#endif
 
 #include "debug.h"
 #include "packet.h"
@@ -248,7 +250,7 @@ NPF_StartDump(POPEN_INSTANCE Open)
         THREAD_ALL_ACCESS,
         NULL,
         KernelMode,
-        &Open->DumpThreadObject,
+        (VOID **)&Open->DumpThreadObject,
         0);
     if ( !NT_SUCCESS( ntStatus ) )
     {