mirror of
https://github.com/reactos/reactos.git
synced 2024-06-30 09:50:07 +00:00
- Include tditest in rosapps build.
svn path=/trunk/; revision=33027
This commit is contained in:
parent
05c051a5d4
commit
6ef8c13ebf
|
@ -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>
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
||||
|
|
8
rosapps/net/tditest/tditest.rbuild
Normal file
8
rosapps/net/tditest/tditest.rbuild
Normal file
|
@ -0,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>
|
|
@ -915,7 +915,7 @@ DriverEntry(
|
|||
|
||||
/* 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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue