* Use afd.h as a PCH.

svn path=/trunk/; revision=52929
This commit is contained in:
Amine Khaldi 2011-07-27 19:29:34 +00:00
parent 637756876e
commit 6ece3cae14
14 changed files with 6 additions and 38 deletions

View file

@ -23,7 +23,5 @@ target_link_libraries(afd ${PSEH_LIB})
set_module_type(afd kernelmodedriver)
add_importlibs(afd ntoskrnl hal)
add_pch(afd include/afd.h)
add_cd_file(TARGET afd DESTINATION reactos/system32/drivers FOR all)

View file

@ -8,7 +8,7 @@
<library>ntoskrnl</library>
<library>hal</library>
<directory name="include">
<pch>afd.h</pch>
<pch>afd.h</pch>
</directory>
<directory name="afd">
<file>bind.c</file>

View file

@ -9,9 +9,6 @@
*/
#include "afd.h"
#include "tdi_proto.h"
#include "tdiconn.h"
#include "debug.h"
NTSTATUS WarmSocketForBind( PAFD_FCB FCB ) {
NTSTATUS Status;

View file

@ -8,9 +8,6 @@
* 20040708 Created
*/
#include "afd.h"
#include "tdi_proto.h"
#include "tdiconn.h"
#include "debug.h"
NTSTATUS NTAPI
AfdGetConnectOptions(PDEVICE_OBJECT DeviceObject, PIRP Irp,

View file

@ -8,9 +8,6 @@
* 20040708 Created
*/
#include "afd.h"
#include "tdi_proto.h"
#include "tdiconn.h"
#include "debug.h"
NTSTATUS NTAPI
AfdGetContext( PDEVICE_OBJECT DeviceObject, PIRP Irp,

View file

@ -8,10 +8,6 @@
* 20040708 Created
*/
#include "afd.h"
#include "tdi_proto.h"
#include "tdiconn.h"
#include "debug.h"
#include "pseh/pseh2.h"
NTSTATUS NTAPI
AfdGetInfo( PDEVICE_OBJECT DeviceObject, PIRP Irp,

View file

@ -8,9 +8,6 @@
* 20040708 Created
*/
#include "afd.h"
#include "tdi_proto.h"
#include "tdiconn.h"
#include "debug.h"
static NTSTATUS SatisfyAccept( PAFD_DEVICE_EXTENSION DeviceExt,
PIRP Irp,

View file

@ -8,10 +8,6 @@
* 20040708 Created
*/
#include "afd.h"
#include "tdi_proto.h"
#include "tdiconn.h"
#include "debug.h"
#include "pseh/pseh2.h"
PVOID GetLockedData(PIRP Irp, PIO_STACK_LOCATION IrpSp)
{

View file

@ -13,9 +13,6 @@
/* INCLUDES */
#include "afd.h"
#include "tdi_proto.h"
#include "tdiconn.h"
#include "debug.h"
#if DBG

View file

@ -22,9 +22,6 @@
* in flight.
*/
#include "afd.h"
#include "tdi_proto.h"
#include "tdiconn.h"
#include "debug.h"
static VOID HandleEOFOnIrp( PAFD_FCB FCB, NTSTATUS Status, ULONG_PTR Information )
{

View file

@ -8,9 +8,6 @@
* 20040708 Created
*/
#include "afd.h"
#include "tdi_proto.h"
#include "tdiconn.h"
#include "debug.h"
static VOID PrintEvents( ULONG Events ) {
#if DBG

View file

@ -8,9 +8,6 @@
* 20040708 Created
*/
#include <afd.h>
#include <pseh/pseh2.h>
#include "debug.h"
#include "tdiconn.h"
UINT TdiAddressSizeFromType( UINT AddressType ) {
switch( AddressType ) {

View file

@ -8,9 +8,6 @@
* 20040708 Created
*/
#include "afd.h"
#include "tdi_proto.h"
#include "tdiconn.h"
#include "debug.h"
static NTSTATUS NTAPI SendComplete
( PDEVICE_OBJECT DeviceObject,

View file

@ -28,6 +28,11 @@
#include <windef.h>
#include <winsock2.h>
#include <afd/shared.h>
#include <pseh/pseh2.h>
#include "tdi_proto.h"
#include "tdiconn.h"
#include "debug.h"
#ifndef MIN
#define MIN(x,y) (((x)<(y))?(x):(y))