Author: fireball
Date: Fri Apr 18 15:46:48 2008
New Revision: 33027
URL:
http://svn.reactos.org/svn/reactos?rev=33027&view=rev
Log:
- Include tditest in rosapps build.
Added:
trunk/rosapps/net/tditest/tditest.rbuild (with props)
Modified:
trunk/rosapps/net/directory.rbuild
trunk/rosapps/net/tditest/include/tditest.h
trunk/rosapps/net/tditest/tditest/tditest.c
Modified: trunk/rosapps/net/directory.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/net/directory.rbuild?rev=3…
==============================================================================
--- trunk/rosapps/net/directory.rbuild [iso-8859-1] (original)
+++ trunk/rosapps/net/directory.rbuild [iso-8859-1] Fri Apr 18 15:46:48 2008
@@ -11,5 +11,9 @@
<directory name="niclist">
<xi:include href="niclist/niclist.rbuild" />
</directory>
+
+ <directory name="tditest">
+ <xi:include href="tditest/tditest.rbuild" />
+ </directory>
</group>
Modified: trunk/rosapps/net/tditest/include/tditest.h
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/net/tditest/include/tdites…
==============================================================================
--- trunk/rosapps/net/tditest/include/tditest.h [iso-8859-1] (original)
+++ trunk/rosapps/net/tditest/include/tditest.h [iso-8859-1] Fri Apr 18 15:46:48 2008
@@ -7,15 +7,9 @@
#ifndef __TDITEST_H
#define __TDITEST_H
-#ifdef _MSC_VER
#include <ntddk.h>
#include <tdikrnl.h>
#include <tdiinfo.h>
-#else
-#include <ntddk.h>
-#include <net/tdikrnl.h>
-#include <net/tdiinfo.h>
-#endif
#include "debug.h"
Added: trunk/rosapps/net/tditest/tditest.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/net/tditest/tditest.rbuild…
==============================================================================
--- trunk/rosapps/net/tditest/tditest.rbuild (added)
+++ trunk/rosapps/net/tditest/tditest.rbuild [iso-8859-1] Fri Apr 18 15:46:48 2008
@@ -1,0 +1,8 @@
+<module name="tditest" type="kernelmodedriver"
installbase="system32/drivers" installname="tditest.sys">
+ <include base="tditest">include</include>
+ <library>ntoskrnl</library>
+
+ <directory name="tditest">
+ <file>tditest.c</file>
+ </directory>
+</module>
Propchange: trunk/rosapps/net/tditest/tditest.rbuild
------------------------------------------------------------------------------
svn:eol-style = native
Modified: trunk/rosapps/net/tditest/tditest/tditest.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/net/tditest/tditest/tdites…
==============================================================================
--- trunk/rosapps/net/tditest/tditest/tditest.c [iso-8859-1] (original)
+++ trunk/rosapps/net/tditest/tditest/tditest.c [iso-8859-1] Fri Apr 18 15:46:48 2008
@@ -915,7 +915,7 @@
/* Call TdiOpenThread() */
KeInitializeEvent(&Event, SynchronizationEvent, FALSE);
- ExInitializeWorkItem(&WorkItem, TdiOpenThread, &Event);
+ ExInitializeWorkItem(&WorkItem, (PWORKER_THREAD_ROUTINE)TdiOpenThread, &Event);
ExQueueWorkItem(&WorkItem, DelayedWorkQueue);
KeWaitForSingleObject(&Event, Executive, KernelMode, TRUE, NULL);