Author: cgutman
Date: Sun Apr 19 07:35:06 2009
New Revision: 40586
URL:
http://svn.reactos.org/svn/reactos?rev=40586&view=rev
Log:
- Stub MiniSetComplete and MiniQueryComplete
- Register more handlers
Modified:
trunk/reactos/drivers/network/ndis/include/protocol.h
trunk/reactos/drivers/network/ndis/ndis/miniport.c
Modified: trunk/reactos/drivers/network/ndis/include/protocol.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/ndis/inclu…
==============================================================================
--- trunk/reactos/drivers/network/ndis/include/protocol.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/ndis/include/protocol.h [iso-8859-1] Sun Apr 19 07:35:06
2009
@@ -49,6 +49,12 @@
PLOGICAL_ADAPTER Adapter,
PNDIS_PACKET Packet);
+VOID NTAPI
+ProSendPackets(
+ IN NDIS_HANDLE NdisBindingHandle,
+ IN PPNDIS_PACKET PacketArray,
+ IN UINT NumberOfPackets);
+
#endif /* __PROTOCOL_H */
/* EOF */
Modified: trunk/reactos/drivers/network/ndis/ndis/miniport.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/ndis/ndis/…
==============================================================================
--- trunk/reactos/drivers/network/ndis/ndis/miniport.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/ndis/ndis/miniport.c [iso-8859-1] Sun Apr 19 07:35:06
2009
@@ -257,6 +257,22 @@
KeReleaseSpinLock(&Adapter->NdisMiniportBlock.Lock, OldIrql);
NDIS_DbgPrint(MAX_TRACE, ("Leaving.\n"));
+}
+
+VOID NTAPI
+MiniQueryComplete(
+ IN NDIS_HANDLE MiniportAdapterHandle,
+ IN NDIS_STATUS Status)
+{
+ UNIMPLEMENTED;
+}
+
+VOID NTAPI
+MiniSetComplete(
+ IN NDIS_HANDLE MiniportAdapterHandle,
+ IN NDIS_STATUS Status)
+{
+ UNIMPLEMENTED;
}
@@ -1825,6 +1841,9 @@
Adapter->NdisMiniportBlock.PacketIndicateHandler= MiniIndicateReceivePacket;
Adapter->NdisMiniportBlock.StatusHandler = MiniStatus;
Adapter->NdisMiniportBlock.StatusCompleteHandler= MiniStatusComplete;
+ Adapter->NdisMiniportBlock.SendPacketsHandler = ProSendPackets;
+ Adapter->NdisMiniportBlock.QueryCompleteHandler = MiniQueryComplete;
+ Adapter->NdisMiniportBlock.SetCompleteHandler = MiniSetComplete;
/*
* Call MiniportInitialize.