mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +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_NAME = ne2000
|
||||||
|
|
||||||
TARGET_CFLAGS = -I./include -Werror -Wall
|
TARGET_CFLAGS = -I./include -D__USE_W32API -Werror -Wall
|
||||||
|
|
||||||
TARGET_OBJECTS = \
|
TARGET_OBJECTS = \
|
||||||
ne2000/8390.o \
|
ne2000/8390.o \
|
||||||
|
|
|
@ -7,16 +7,7 @@
|
||||||
#ifndef __NE2000_H
|
#ifndef __NE2000_H
|
||||||
#define __NE2000_H
|
#define __NE2000_H
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#include <ddk/ndis.h>
|
||||||
|
|
||||||
#ifndef ULONG_PTR
|
|
||||||
#define ULONG ULONG_PTR
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <ndis.h>
|
|
||||||
#else
|
|
||||||
#include <net/ndis.h>
|
|
||||||
#endif
|
|
||||||
#include <8390.h>
|
#include <8390.h>
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
|
|
|
@ -844,9 +844,9 @@ DriverEntry(
|
||||||
Miniport.QueryInformationHandler = MiniportQueryInformation;
|
Miniport.QueryInformationHandler = MiniportQueryInformation;
|
||||||
Miniport.ReconfigureHandler = MiniportReconfigure;
|
Miniport.ReconfigureHandler = MiniportReconfigure;
|
||||||
Miniport.ResetHandler = MiniportReset;
|
Miniport.ResetHandler = MiniportReset;
|
||||||
Miniport.u1.SendHandler = MiniportSend;
|
Miniport.SendHandler = MiniportSend;
|
||||||
Miniport.SetInformationHandler = MiniportSetInformation;
|
Miniport.SetInformationHandler = MiniportSetInformation;
|
||||||
Miniport.u2.TransferDataHandler = MiniportTransferData;
|
Miniport.TransferDataHandler = MiniportTransferData;
|
||||||
|
|
||||||
NdisMInitializeWrapper(&NdisWrapperHandle,
|
NdisMInitializeWrapper(&NdisWrapperHandle,
|
||||||
DriverObject,
|
DriverObject,
|
||||||
|
|
Loading…
Reference in a new issue