* Remove one time inclusions from the main header and put them back where they belong.
* Improve header inclusions.
CORE-7716

svn path=/trunk/; revision=61882
This commit is contained in:
Amine Khaldi 2014-01-29 11:00:53 +00:00
parent 1f2d5bca91
commit ad76a6a077
14 changed files with 15 additions and 20 deletions

View file

@ -105,4 +105,3 @@ AfdBindSocket(PDEVICE_OBJECT DeviceObject, PIRP Irp,
return UnlockAndMaybeComplete( FCB, Status, Irp, return UnlockAndMaybeComplete( FCB, Status, Irp,
(ULONG_PTR)FCB->AddressFile.Handle ); (ULONG_PTR)FCB->AddressFile.Handle );
} }

View file

@ -7,6 +7,7 @@
* UPDATE HISTORY: * UPDATE HISTORY:
* 20040708 Created * 20040708 Created
*/ */
#include "afd.h" #include "afd.h"
NTSTATUS NTSTATUS

View file

@ -7,6 +7,7 @@
* UPDATE HISTORY: * UPDATE HISTORY:
* 20040708 Created * 20040708 Created
*/ */
#include "afd.h" #include "afd.h"
NTSTATUS NTAPI NTSTATUS NTAPI

View file

@ -7,6 +7,7 @@
* REVISIONS: * REVISIONS:
* CSH 01/09-2000 Created * CSH 01/09-2000 Created
*/ */
#include <afd.h> #include <afd.h>
NTSTATUS AfdEventError( NTSTATUS AfdEventError(
@ -307,5 +308,4 @@ NTSTATUS AfdDeregisterEventHandlers(
return STATUS_SUCCESS; return STATUS_SUCCESS;
} }
/* EOF */ /* EOF */

View file

@ -7,6 +7,7 @@
* UPDATE HISTORY: * UPDATE HISTORY:
* 20040708 Created * 20040708 Created
*/ */
#include "afd.h" #include "afd.h"
NTSTATUS NTAPI NTSTATUS NTAPI

View file

@ -7,6 +7,7 @@
* UPDATE HISTORY: * UPDATE HISTORY:
* 20040708 Created * 20040708 Created
*/ */
#include "afd.h" #include "afd.h"
static NTSTATUS SatisfyAccept( PAFD_DEVICE_EXTENSION DeviceExt, static NTSTATUS SatisfyAccept( PAFD_DEVICE_EXTENSION DeviceExt,

View file

@ -7,6 +7,7 @@
* UPDATE HISTORY: * UPDATE HISTORY:
* 20040708 Created * 20040708 Created
*/ */
#include "afd.h" #include "afd.h"
PVOID GetLockedData(PIRP Irp, PIO_STACK_LOCATION IrpSp) PVOID GetLockedData(PIRP Irp, PIO_STACK_LOCATION IrpSp)

View file

@ -7,6 +7,7 @@
* UPDATE HISTORY: * UPDATE HISTORY:
* 20040708 Created * 20040708 Created
*/ */
#include "afd.h" #include "afd.h"
static VOID RefillSocketBuffer( PAFD_FCB FCB ) static VOID RefillSocketBuffer( PAFD_FCB FCB )

View file

@ -7,6 +7,7 @@
* UPDATE HISTORY: * UPDATE HISTORY:
* 20040708 Created * 20040708 Created
*/ */
#include "afd.h" #include "afd.h"
static VOID PrintEvents( ULONG Events ) { static VOID PrintEvents( ULONG Events ) {

View file

@ -7,11 +7,11 @@
* REVISIONS: * REVISIONS:
* CSH 01/09-2000 Created * CSH 01/09-2000 Created
*/ */
#include <afd.h> #include <afd.h>
#include <pseh/pseh2.h>
#include "debug.h" #include <tdikrnl.h>
#include "tdiconn.h" #include <tdiinfo.h>
#include "tdi_proto.h"
#if DBG #if DBG
#if 0 #if 0

View file

@ -7,6 +7,7 @@
* UPDATE HISTORY: * UPDATE HISTORY:
* 20040708 Created * 20040708 Created
*/ */
#include <afd.h> #include <afd.h>
UINT TdiAddressSizeFromType( UINT AddressType ) { UINT TdiAddressSizeFromType( UINT AddressType ) {
@ -261,4 +262,3 @@ TdiBuildConnectionInfo
return Status; return Status;
} }

View file

@ -7,6 +7,7 @@
* UPDATE HISTORY: * UPDATE HISTORY:
* 20040708 Created * 20040708 Created
*/ */
#include "afd.h" #include "afd.h"
static IO_COMPLETION_ROUTINE SendComplete; static IO_COMPLETION_ROUTINE SendComplete;
@ -661,4 +662,3 @@ AfdPacketSocketWriteData(PDEVICE_OBJECT DeviceObject, PIRP Irp,
return UnlockAndMaybeComplete( FCB, Status, Irp, 0 ); return UnlockAndMaybeComplete( FCB, Status, Irp, 0 );
} }
} }

View file

@ -11,16 +11,9 @@
#ifndef _AFD_H #ifndef _AFD_H
#define _AFD_H #define _AFD_H
#include <ntddk.h>
#include <ntifs.h> #include <ntifs.h>
#include <ndk/obtypes.h> #include <ndk/obtypes.h>
#include <ndk/obfuncs.h>
#include <ndk/mmtypes.h>
#include <ndk/mmfuncs.h>
#include <tdi.h> #include <tdi.h>
#include <tdikrnl.h>
#include <tdiinfo.h>
#include <string.h>
#define _WINBASE_ #define _WINBASE_
#define _WINDOWS_H #define _WINDOWS_H
#define _INC_WINDOWS #define _INC_WINDOWS
@ -434,4 +427,4 @@ NTSTATUS NTAPI
AfdPacketSocketWriteData(PDEVICE_OBJECT DeviceObject, PIRP Irp, AfdPacketSocketWriteData(PDEVICE_OBJECT DeviceObject, PIRP Irp,
PIO_STACK_LOCATION IrpSp); PIO_STACK_LOCATION IrpSp);
#endif/*_AFD_H*/ #endif /* _AFD_H */

View file

@ -1,9 +1,5 @@
#pragma once #pragma once
#ifdef _MSC_VER
#include <ntddtdi.h>
#endif
typedef VOID *PTDI_CONNECTION_INFO_PAIR; typedef VOID *PTDI_CONNECTION_INFO_PAIR;
PTRANSPORT_ADDRESS TaCopyTransportAddress( PTRANSPORT_ADDRESS OtherAddress ); PTRANSPORT_ADDRESS TaCopyTransportAddress( PTRANSPORT_ADDRESS OtherAddress );