Yes, Gary, I agree with your “logical” point of view. However I think
that
this is one of those things which are completely hidden to the classic
Plug-and-Play manager. The IrDA communication interface is exposed
through the Winsock - so IrDA bus driver is NDIS driver.
The file af_irda.h contains some constants and structures to enumerate
the IrDA bus and connect to some device. But it doesn’t contain a way
of notification about changes on the bus… :-((.
And if the IrDA bus driver can be opened directly (through CreateFile)
to
be queried by some DeviceIoControl requests, I haven’t found any doc
Paul
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Gary G. Little
Sent: Friday, November 29, 2002 6:48 PM
To: NT Developers Interest List
Subject: [ntdev] Re: Notification from IrDA device arrival
Paul,
I’m going to play the devils advocate. Maybe your concentrating to much
on “IrDA”. This “thing” connects to a bus, does it not? I would assume
then that the signalling you mention is bubbling up from a bus-driver to
the level that some task bar app can use it to toggle that indicator.
Should you be loking at USB, SERIAL or PARALLEL bus-drivers? HID maybe?
I dunno …
–
Gary G. Little
Have Computer, Will Travel …
909-698-3191
909-551-2105
“Paul Hrdina” < xxxxx@compelson.com> wrote in message news:xxxxx@ntdev…
Don’t tell me that there is no one who can throw some light to this
topic!
I’m going more deeply now…There must be some possibility (and I hope
that it’s availbale for non-Microsoft products) to receive notifications
about
IrDA device state changes, however not properly documented.
At least one Windows component uses this feature - I mean the small icon
in taskbar, which:
- appears when the first device starts to be in range
- changes when the communication with the device is in progress or
broken
- disappears when the last device goes out of range.
Paul
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Paul Hrdina
Sent: Wednesday, November 27, 2002 11:24 AM
To: NT Developers Interest List
Subject: [ntdev] Notification from IrDA device arrival
Does anybody know how to know about IrDA device arrival asynchronously?
(i.e. not by periodically calling getsockopt(,IRLMP_ENUMDEVICES,)).
This must be possible, however not properly documented, because some
Windows components use this feature.
Thanks a lot for any information.
Paul
You are currently subscribed to ntdev as: xxxxx@compelson.com
To unsubscribe send a blank email to %%email.unsub%%
You are currently subscribed to ntdev as: xxxxx@compelson.com
To unsubscribe send a blank email to %%email.unsub%%