mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Use W32API.
svn path=/trunk/; revision=15569
This commit is contained in:
parent
e550f533e4
commit
827234d64e
3 changed files with 4 additions and 13 deletions
|
@ -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 \
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue