Re: NDIS5.1 driver in Vista
- From: "Amit" <amit.anchi@xxxxxxxxx>
- Date: 13 Oct 2006 03:27:51 -0700
You should use NdisRegisterDeviceEx() on Vista. It is quite a bit
more advanced than the older funbction, you can set the security
yourself to govern what can and cant open the handle, and what access
you provide.
Hi,
I agree with your above statement, But it is not just
NdisRegisterDeviceEx() which, I have to change in the code, I have to
modify even the way the miniport is registered with NDIS...and that
goes on...where in finally i will end up with porting my miniport
driver to NDIS 6.
I am in a search for the reason for failure in getting the handle. Is
that the new NDIS 6 dosent support this way of accessing its device
object? Which is that interface I have to look for to get this done in
Vista?
The workaround is not a stable solution I guess...I am still in dark
for if it has any side effects....
Unfortunately, it is broken on RC1. The symbolic link cant be opened
form user land.
The DeviceObject is not even accessible in kernel mode...
fat_boy wrote:
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.....
Hi
You should use NdisRegisterDeviceEx() on Vista. It is quite a bit
more advanced than the older funbction, you can set the security
yourself to govern what can and cant open the handle, and what access
you provide.
Unfortunately, it is broken on RC1. The symbolic link cant be opened
form user land.
.
- Follow-Ups:
- Re: NDIS5.1 driver in Vista
- From: Amit
- Re: NDIS5.1 driver in Vista
- References:
- NDIS5.1 driver in Vista
- From: Amit
- Re: NDIS5.1 driver in Vista
- From: fat_boy
- NDIS5.1 driver in Vista
- Prev by Date: Queries About Multiple Device Objects...Please Help...
- Next by Date: Re: USB Device Change Notification
- Previous by thread: Re: NDIS5.1 driver in Vista
- Next by thread: Re: NDIS5.1 driver in Vista
- Index(es):
Relevant Pages
|