- request for info
- Posted by Deanna Delapasse on July 18th, 2004
Hi,
I'm hoping to find some help from you device experts. I need to find a
way to catch events from a bar code scanner that is confiured as a keyboard
wedge. It shows up in my device manager as a HID and I can open it using
the HID functions. However, since it's a keyboard device I can't get read
or write access (it's already locked by the OS).
Can I still get notifications of events from this device after opening it
(CreateFile) without read/write permissions? If so, please give me a hint.
thanks very much,
Deanna
- Posted by Maxim S. Shatskih on July 18th, 2004
Create a second non-keyboard HID collection in the device. The user apps
will talk to it.
--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com
"Deanna Delapasse" <ddelapasse@iname.com> wrote in message
news:HnlKc.5925$mL5.5305@newsread1.news.pas.earthl ink.net...
- Posted by Doron Holan [MS] on July 18th, 2004
WM_INPUT might be what you want. Alternatively, you can register for a
low level keyboard hook (See SetWindowsHookEx)
with these scanner/wedges, they just post a predefined header, ie a well
known scancode sequence, and then the data. The application with the
current focus gets these messages.
d
--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.
"Deanna Delapasse" <ddelapasse@iname.com> wrote in message
news:HnlKc.5925$mL5.5305@newsread1.news.pas.earthl ink.net...