Accessing Ndis miniport from user mode application



Hi

The NDIS miniport driver my company write should support some custom
features.
Those features can be set and queried by user mode applications. Also
the driver should be able to signal
the application on certain events.

In http://www.ndis.com/faq/QA10290101.htm they describe several ways
to do that:

1. Using a device control object that the miniport creates and the
application IOCTL it
2. Accessing custom OIDs through IOCTL_NDIS_QUERY_GLOBAL_STATS
(support only OID query - so its not good for me)
3. Accessing custom OIDS through Protocol driver
4. Accessing custom OIDS through WMI.

Can anyone tell me what is the preffered/recommended method (I tend to
think that accessing the OIDs through WMI, but I would like to hear
what the pros think)

I am writing both NDIS 5 and NDIS 6 miniport drivers so I preffer a
solution which applies to both


Thanks
Miki

.



Relevant Pages

  • Network data corruption problem !
    ... I have written a socket application like echo server to test my NDIS ... I have TCP client runs on Windows XP and echo server running on WinCE. ... I have debugged my NDIS miniport driver, but the data in my driver ... I use my local buffer in my echo server application for "recvfrom" ...
    (microsoft.public.windowsce.platbuilder)
  • how to use NDIS Ports
    ... controller so the driver that I'm writing is a simple miniport driver. ... In NDIS6, they introduced this thing called NDIS Ports. ... can still use the Port Zero, the Default port, with no problem. ...
    (microsoft.public.development.device.drivers)
  • Re: Ndis names
    ... "A miniport driver uses NdisMQueryAdapterInstanceName to retrieve the ... it seems even the NDIS dev team sometimes doesn't know about ... >There is no guarantee that you can find the ifAlias (connection display ...
    (microsoft.public.development.device.drivers)
  • How ipconfig search for network card information??
    ... registers with NDIS successfully.But card information does ... not come up when we do ipconfig. ... call for SetInformation by NDIS, but other calls like QueryInformation, ... what is wrong with miniport driver or how ipconfig asks for card ...
    (microsoft.public.development.device.drivers)
  • Miniport: DriverObject->DriverUnload should be Chained? or Replaced?
    ... When adding another interface to an existing miniport driver, ... custom IRP handlers are basically replacing those of the miniport - if ... then in the custom DriverUnload call the ...
    (microsoft.public.development.device.drivers)