* 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,
(ULONG_PTR)FCB->AddressFile.Handle );
}

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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