Use W32API.

svn path=/trunk/; revision=15569
This commit is contained in:
Filip Navara 2005-05-28 11:09:34 +00:00
parent e550f533e4
commit 827234d64e
3 changed files with 4 additions and 13 deletions

View file

@ -6,7 +6,7 @@ TARGET_TYPE = driver
TARGET_NAME = ne2000
TARGET_CFLAGS = -I./include -Werror -Wall
TARGET_CFLAGS = -I./include -D__USE_W32API -Werror -Wall
TARGET_OBJECTS = \
ne2000/8390.o \

View file

@ -7,16 +7,7 @@
#ifndef __NE2000_H
#define __NE2000_H
#ifdef _MSC_VER
#ifndef ULONG_PTR
#define ULONG ULONG_PTR
#endif
#include <ndis.h>
#else
#include <net/ndis.h>
#endif
#include <ddk/ndis.h>
#include <8390.h>
#include <debug.h>

View file

@ -844,9 +844,9 @@ DriverEntry(
Miniport.QueryInformationHandler = MiniportQueryInformation;
Miniport.ReconfigureHandler = MiniportReconfigure;
Miniport.ResetHandler = MiniportReset;
Miniport.u1.SendHandler = MiniportSend;
Miniport.SendHandler = MiniportSend;
Miniport.SetInformationHandler = MiniportSetInformation;
Miniport.u2.TransferDataHandler = MiniportTransferData;
Miniport.TransferDataHandler = MiniportTransferData;
NdisMInitializeWrapper(&NdisWrapperHandle,
DriverObject,