Re: NDIS5.1 driver in Vista



Hi mate

I am trying to get the handle using the IoGetDeviceObjectPointer()
function from another driver, But it always returns
STATUS_NOT_SUPPORTED. What could be the reason for such behaviour?

"The reason for such behaviour" is obvious-- you are just not supposed
to access miniport drivers this way. If you want someoene, apart from
NDIS library, to call your miniport driver, you have to register a
standalone device with NdisMRegisterDevice(), and forward all calls to
this device

Anton Bassov

Amit wrote:
Hi All,
I am using my NDIS 5.1 miniport driver written for WinXP prof in
Vista Build 5600 (Vista RC1).
The driver is running fine for it supports the backward compatibility,
but I am unable to get the handle for my network device for the driver
I have.
I am trying to get the handle using the IoGetDeviceObjectPointer()
function from another driver, But it always returns
STATUS_NOT_SUPPORTED. What could be the reason for such behaviour?

The same setup ( NDIS miniport driver and the other driver from which i
am trying to get the NDIS handle ) works fine.

Looking forward for your response.....

.



Relevant Pages

  • Re: Is there an equivalent call in nDIS for KeQueryTimeIncrement?
    ... compatible" for Windows 9x and NT. ... same .SYS driver file on both 9x and NT. ... This is why Microsoft WHQL did not allow NDIS ... miniport driver, everything will be fine and dandy at this point. ...
    (microsoft.public.development.device.drivers)
  • Re: NDIS5.1 driver in Vista
    ... driver to NDIS 6. ... Vista Build 5600. ... The same setup (NDIS miniport driver and the other driver from which i ...
    (microsoft.public.development.device.drivers)
  • NDIS driver with WDM lower edge - a query
    ... I am new to NDIS but from DDK I could gather that I can craete an NDIS ... miniport driver that actually controls a device on a bus in my case a USB ... So my driver is actually a USB function driver as my device sits on ... My question is "does writing an NDIS miniport driver with a WDM lower edge ...
    (microsoft.public.development.device.drivers)
  • Re: Is there an equivalent call in nDIS for KeQueryTimeIncrement?
    ... is just that WHQL will not certify such a driver. ... This is why Microsoft WHQL did not allow NDIS ... miniport driver, everything will be fine and dandy at this point. ...
    (microsoft.public.development.device.drivers)
  • Re: PC Card legacy Miniport NDIS driver doesnt load under CE5.0
    ... miniport driver with the following DebugZones enabled for "NDIS": ... calling Init() for device 0x004b39e0 ... > It should show why NDIS is not loading the miniport driver. ...
    (microsoft.public.windowsce.platbuilder)

Loading