Author: cgutman
Date: Fri Mar 20 06:26:12 2009
New Revision: 40112
URL:
http://svn.reactos.org/svn/reactos?rev=40112&view=rev
Log:
- Implement NdisGetDriverHandle
Modified:
trunk/reactos/drivers/network/ndis/ndis/stubs.c
Modified: trunk/reactos/drivers/network/ndis/ndis/stubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/ndis/ndis/…
==============================================================================
--- trunk/reactos/drivers/network/ndis/ndis/stubs.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/ndis/ndis/stubs.c [iso-8859-1] Fri Mar 20 06:26:12 2009
@@ -488,7 +488,7 @@
/*
- * @unimplemented
+ * @implemented
*/
VOID
EXPORT
@@ -502,7 +502,15 @@
* NDIS 5.0
*/
{
- UNIMPLEMENTED
+ PADAPTER_BINDING Binding = (PADAPTER_BINDING)NdisBindingHandle;
+
+ if (!Binding)
+ {
+ *NdisDriverHandle = NULL;
+ return;
+ }
+
+ *NdisDriverHandle = Binding->Adapter->NdisMiniportBlock.DriverHandle;
}