Re: user-defined ioctl handling
- From: brahma <brahma@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 25 Jun 2007 03:36:00 -0700
hi K. S. Huang,
Very thanks for your reply. I used "ndisuio" but when i use user-defined
ioctls in the application, i am getting error "ioctl not supported". So
please tell me how to make the passthru as a dual interface driver (NDIS and
Stream Interface)? Is there any registry settings to be changed? or any
environment varible has to be set?
regards,
brahma.
"K. S. Huang" wrote:
While ndis passthru is a NDIS driver that will not have a regular stream.
interface, and that means there is NO corresponding XXX_IoControl handler
there.
You could make the passthru as a dual interface driver (NDIS and Stream
Interface) so that you could use the Stream Interface for passing your
customer IOCTLs down.
Another apporach might be defined the IOCTL as your private owned OIDs, and
you could still access the passthru driver via NDISUIO with Set/QueeryInfo
handler.
"brahma" <brahma@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:8944277A-57C7-4104-B7E4-486C515F0810@xxxxxxxxxxxxxxxx
hi san,
Thanks for your replay. But in wince 5.0 which routine is called in the
passthru driver when the application sends an ioctl(user-defined)? and how
to
register that(ie., ioctl rotine) routine? i think there is no direct
routine
as such. So i'm using "ndisuio". But in this also i'm getting problems
with
user defined ioctls. So Please tell me any solution to this.
thanQ.
"san" wrote:
brahma,
You have to define your own IOCTL constants and using the switch case you
can define the functionality. The same constants is used from the upper
layer
or other compoents to communicate with your driver.
"brahma" wrote:
hi all,
I'm working on NDIS PASSTHRU driver in wince 5.0. Could anyone tell me
how
to handle the user-defined ioctls in the driver?
thanQ,
regards,
brahma.
- Follow-Ups:
- Re: user-defined ioctl handling
- From: K. S. Huang
- Re: user-defined ioctl handling
- References:
- Re: user-defined ioctl handling
- From: K. S. Huang
- Re: user-defined ioctl handling
- Prev by Date: Re: Multi-touch screens in Windows CE
- Next by Date: Re: Serial Port hangs in release
- Previous by thread: Re: user-defined ioctl handling
- Next by thread: Re: user-defined ioctl handling
- Index(es):
Relevant Pages
|