Add stubs for status indication handlers. Fixes bug #187.
authorFilip Navara <filip.navara@gmail.com>
Tue, 13 Dec 2005 21:48:57 +0000 (21:48 +0000)
committerFilip Navara <filip.navara@gmail.com>
Tue, 13 Dec 2005 21:48:57 +0000 (21:48 +0000)
svn path=/trunk/; revision=20151

reactos/drivers/net/ndis/ndis/miniport.c

index 4b1a309..3a3710b 100644 (file)
@@ -878,6 +878,27 @@ VOID NTAPI MiniportDpc(
 }
 
 \f
+VOID
+NTAPI
+MiniStatus(
+    IN NDIS_HANDLE  MiniportHandle,
+    IN NDIS_STATUS  GeneralStatus,
+    IN PVOID  StatusBuffer,
+    IN UINT  StatusBufferSize)
+{
+    UNIMPLEMENTED
+}
+
+\f
+VOID
+NTAPI
+MiniStatusComplete(
+    IN NDIS_HANDLE  MiniportAdapterHandle)
+{
+    UNIMPLEMENTED
+}
+
+\f
 /*
  * @unimplemented
  */
@@ -1406,6 +1427,8 @@ NdisIPnPStartDevice(
   Adapter->NdisMiniportBlock.ResetCompleteHandler = MiniResetComplete;
   Adapter->NdisMiniportBlock.TDCompleteHandler    = MiniTransferDataComplete;
   Adapter->NdisMiniportBlock.PacketIndicateHandler= MiniIndicateReceivePacket;
+  Adapter->NdisMiniportBlock.StatusHandler        = MiniStatus;
+  Adapter->NdisMiniportBlock.StatusCompleteHandler= MiniStatusComplete;
 
   Adapter->NdisMiniportBlock.MediaType = MediaArray[SelectedMediumIndex];