mirror of
https://github.com/reactos/reactos.git
synced 2024-09-28 13:34:53 +00:00
[AFD]
* Use afd.h as a PCH. svn path=/trunk/; revision=52929
This commit is contained in:
parent
637756876e
commit
6ece3cae14
|
@ -23,7 +23,5 @@ target_link_libraries(afd ${PSEH_LIB})
|
||||||
|
|
||||||
set_module_type(afd kernelmodedriver)
|
set_module_type(afd kernelmodedriver)
|
||||||
add_importlibs(afd ntoskrnl hal)
|
add_importlibs(afd ntoskrnl hal)
|
||||||
|
|
||||||
add_pch(afd include/afd.h)
|
add_pch(afd include/afd.h)
|
||||||
|
|
||||||
add_cd_file(TARGET afd DESTINATION reactos/system32/drivers FOR all)
|
add_cd_file(TARGET afd DESTINATION reactos/system32/drivers FOR all)
|
||||||
|
|
|
@ -9,9 +9,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "afd.h"
|
#include "afd.h"
|
||||||
#include "tdi_proto.h"
|
|
||||||
#include "tdiconn.h"
|
|
||||||
#include "debug.h"
|
|
||||||
|
|
||||||
NTSTATUS WarmSocketForBind( PAFD_FCB FCB ) {
|
NTSTATUS WarmSocketForBind( PAFD_FCB FCB ) {
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
|
|
|
@ -8,9 +8,6 @@
|
||||||
* 20040708 Created
|
* 20040708 Created
|
||||||
*/
|
*/
|
||||||
#include "afd.h"
|
#include "afd.h"
|
||||||
#include "tdi_proto.h"
|
|
||||||
#include "tdiconn.h"
|
|
||||||
#include "debug.h"
|
|
||||||
|
|
||||||
NTSTATUS NTAPI
|
NTSTATUS NTAPI
|
||||||
AfdGetConnectOptions(PDEVICE_OBJECT DeviceObject, PIRP Irp,
|
AfdGetConnectOptions(PDEVICE_OBJECT DeviceObject, PIRP Irp,
|
||||||
|
|
|
@ -8,9 +8,6 @@
|
||||||
* 20040708 Created
|
* 20040708 Created
|
||||||
*/
|
*/
|
||||||
#include "afd.h"
|
#include "afd.h"
|
||||||
#include "tdi_proto.h"
|
|
||||||
#include "tdiconn.h"
|
|
||||||
#include "debug.h"
|
|
||||||
|
|
||||||
NTSTATUS NTAPI
|
NTSTATUS NTAPI
|
||||||
AfdGetContext( PDEVICE_OBJECT DeviceObject, PIRP Irp,
|
AfdGetContext( PDEVICE_OBJECT DeviceObject, PIRP Irp,
|
||||||
|
|
|
@ -8,10 +8,6 @@
|
||||||
* 20040708 Created
|
* 20040708 Created
|
||||||
*/
|
*/
|
||||||
#include "afd.h"
|
#include "afd.h"
|
||||||
#include "tdi_proto.h"
|
|
||||||
#include "tdiconn.h"
|
|
||||||
#include "debug.h"
|
|
||||||
#include "pseh/pseh2.h"
|
|
||||||
|
|
||||||
NTSTATUS NTAPI
|
NTSTATUS NTAPI
|
||||||
AfdGetInfo( PDEVICE_OBJECT DeviceObject, PIRP Irp,
|
AfdGetInfo( PDEVICE_OBJECT DeviceObject, PIRP Irp,
|
||||||
|
|
|
@ -8,9 +8,6 @@
|
||||||
* 20040708 Created
|
* 20040708 Created
|
||||||
*/
|
*/
|
||||||
#include "afd.h"
|
#include "afd.h"
|
||||||
#include "tdi_proto.h"
|
|
||||||
#include "tdiconn.h"
|
|
||||||
#include "debug.h"
|
|
||||||
|
|
||||||
static NTSTATUS SatisfyAccept( PAFD_DEVICE_EXTENSION DeviceExt,
|
static NTSTATUS SatisfyAccept( PAFD_DEVICE_EXTENSION DeviceExt,
|
||||||
PIRP Irp,
|
PIRP Irp,
|
||||||
|
|
|
@ -8,10 +8,6 @@
|
||||||
* 20040708 Created
|
* 20040708 Created
|
||||||
*/
|
*/
|
||||||
#include "afd.h"
|
#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)
|
PVOID GetLockedData(PIRP Irp, PIO_STACK_LOCATION IrpSp)
|
||||||
{
|
{
|
||||||
|
|
|
@ -13,9 +13,6 @@
|
||||||
/* INCLUDES */
|
/* INCLUDES */
|
||||||
|
|
||||||
#include "afd.h"
|
#include "afd.h"
|
||||||
#include "tdi_proto.h"
|
|
||||||
#include "tdiconn.h"
|
|
||||||
#include "debug.h"
|
|
||||||
|
|
||||||
#if DBG
|
#if DBG
|
||||||
|
|
||||||
|
|
|
@ -22,9 +22,6 @@
|
||||||
* in flight.
|
* in flight.
|
||||||
*/
|
*/
|
||||||
#include "afd.h"
|
#include "afd.h"
|
||||||
#include "tdi_proto.h"
|
|
||||||
#include "tdiconn.h"
|
|
||||||
#include "debug.h"
|
|
||||||
|
|
||||||
static VOID HandleEOFOnIrp( PAFD_FCB FCB, NTSTATUS Status, ULONG_PTR Information )
|
static VOID HandleEOFOnIrp( PAFD_FCB FCB, NTSTATUS Status, ULONG_PTR Information )
|
||||||
{
|
{
|
||||||
|
|
|
@ -8,9 +8,6 @@
|
||||||
* 20040708 Created
|
* 20040708 Created
|
||||||
*/
|
*/
|
||||||
#include "afd.h"
|
#include "afd.h"
|
||||||
#include "tdi_proto.h"
|
|
||||||
#include "tdiconn.h"
|
|
||||||
#include "debug.h"
|
|
||||||
|
|
||||||
static VOID PrintEvents( ULONG Events ) {
|
static VOID PrintEvents( ULONG Events ) {
|
||||||
#if DBG
|
#if DBG
|
||||||
|
|
|
@ -8,9 +8,6 @@
|
||||||
* 20040708 Created
|
* 20040708 Created
|
||||||
*/
|
*/
|
||||||
#include <afd.h>
|
#include <afd.h>
|
||||||
#include <pseh/pseh2.h>
|
|
||||||
#include "debug.h"
|
|
||||||
#include "tdiconn.h"
|
|
||||||
|
|
||||||
UINT TdiAddressSizeFromType( UINT AddressType ) {
|
UINT TdiAddressSizeFromType( UINT AddressType ) {
|
||||||
switch( AddressType ) {
|
switch( AddressType ) {
|
||||||
|
|
|
@ -8,9 +8,6 @@
|
||||||
* 20040708 Created
|
* 20040708 Created
|
||||||
*/
|
*/
|
||||||
#include "afd.h"
|
#include "afd.h"
|
||||||
#include "tdi_proto.h"
|
|
||||||
#include "tdiconn.h"
|
|
||||||
#include "debug.h"
|
|
||||||
|
|
||||||
static NTSTATUS NTAPI SendComplete
|
static NTSTATUS NTAPI SendComplete
|
||||||
( PDEVICE_OBJECT DeviceObject,
|
( PDEVICE_OBJECT DeviceObject,
|
||||||
|
|
|
@ -28,6 +28,11 @@
|
||||||
#include <windef.h>
|
#include <windef.h>
|
||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
#include <afd/shared.h>
|
#include <afd/shared.h>
|
||||||
|
#include <pseh/pseh2.h>
|
||||||
|
|
||||||
|
#include "tdi_proto.h"
|
||||||
|
#include "tdiconn.h"
|
||||||
|
#include "debug.h"
|
||||||
|
|
||||||
#ifndef MIN
|
#ifndef MIN
|
||||||
#define MIN(x,y) (((x)<(y))?(x):(y))
|
#define MIN(x,y) (((x)<(y))?(x):(y))
|
||||||
|
|
Loading…
Reference in a new issue