From: Eliyas Yakub [MSFT] on
I used the testapp of netvmini (network\ndis\netvmini) sample. If you open
the main source file and scroll all the way down, there is a function to
open the device and send ioctl to it.

-Eliyas

"fat_boy" <zzebowa(a)hotmail.com> wrote in message
news:1158753812.002020.155280(a)m73g2000cwd.googlegroups.com...
>
> Eliyas Yakub [MSFT] wrote:
>> I plugged in your code as is in one of my ndis 60 sample and it worked
>> fine.
>> So it's time for you to hook up a debugger, step thru CreateFile fail
>> code
>> and find out why it fails.
>
> Scrub that, it is still broken. I had an Ndis 5.1 driver running by
> mistake.
>
> So, what params did you use to get CreateFile() to work?
>>
>> --
>> -Eliyas
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>> http://www.microsoft.com/whdc/driver/tips/default.mspx
>


From: fat_boy on
Ah, I am using MAXIMUM_ALLOWED because GENERIC_READ | GENERIC_WRITE
fails in a non admin profile on XP.


Eliyas Yakub [MSFT] wrote:
> I used the testapp of netvmini (network\ndis\netvmini) sample. If you open
> the main source file and scroll all the way down, there is a function to
> open the device and send ioctl to it.
>
> -Eliyas
>
> "fat_boy" <zzebowa(a)hotmail.com> wrote in message
> news:1158753812.002020.155280(a)m73g2000cwd.googlegroups.com...
> >
> > Eliyas Yakub [MSFT] wrote:
> >> I plugged in your code as is in one of my ndis 60 sample and it worked
> >> fine.
> >> So it's time for you to hook up a debugger, step thru CreateFile fail
> >> code
> >> and find out why it fails.
> >
> > Scrub that, it is still broken. I had an Ndis 5.1 driver running by
> > mistake.
> >
> > So, what params did you use to get CreateFile() to work?
> >>
> >> --
> >> -Eliyas
> >> This posting is provided "AS IS" with no warranties, and confers no
> >> rights.
> >> http://www.microsoft.com/whdc/driver/tips/default.mspx
> >