Re: Cloning WinCE 5.0 component

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hello

I have the same problem as Paolo and would like to implement the solution
with RequestDeviceNotifications and NULL.
But what I found so far is that I only get the USB mouse notifications if
there is no USB keyboard connected.

If I connect a USB mouse I get notification for DEVCLASS_STREAM_GUID.

If I connect a USB keyboard I get notifications for DEVCLASS_STREAM_GUID and
DEVCLASS_KEYBOARD_GUID.

If I connect a USB mouse after a USB keyboard was connected I get no
notification.

So is there a method to always be notified, when a USB mouse is connected or
disconnected?

TIA
--
Michael Reim
Michael DOT Reim AT helmut-fischer DOT de



"Valter Minute" <v_a_l_t_e_r.m_i_n_u_t_e@xxxxxxxxxxxxx> schrieb im
Newsbeitrag news:Xns9B629C404169CVALTERMINUTE@xxxxxxxxxxxxxxxx
=?Utf-8?B?cGFvbG8gcGF0aWVybm8=?=
<paolopatierno@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
news:80B46282-F79F-40BB-AB12-E20CB9998C35@xxxxxxxxxxxxx:

Yes, I want to use RequestDeviceNotifications but I read that I
must define a GUID (IClass) for mouhid to receive notification. Is
it correct ?

You may set it to NULL to receive notification about any device
connected to your system.

--
Valter Minute
www.fortechembeddedlabs.it
Training, support and development for Windows CE
(the reply address of this message is invalid)


.



Relevant Pages

  • Re: Cloning WinCE 5.0 component
    ... My target hardware doesn't have PS/2 connector, only USB. ... I will receive notification for all device ...
    (microsoft.public.windowsce.platbuilder)
  • USB RNDIS and no Device Notifications
    ... Notification queue to "listen to" all the devices that get plugged/ ... removed from the machine, it's working great for USB printers, USB / ... receive any notification in my listening queue. ... usual notifications system when creating the network interface. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Cloning WinCE 5.0 component
    ... USB and generically looking for a particular class: ... PS/2 mice on our devices, ... I will receive notification for all device ... "paolo patierno" wrote: ...
    (microsoft.public.windowsce.platbuilder)
  • RE: USB Device Interface
    ... I also need other's help on this because i dont have all kinds of USB flash ... 1> monitor for registry changes under the registry key: ... or ur service app will have DBT_DEVICEARRIVAL notification. ... to produce the drive letter assignment. ...
    (microsoft.public.development.device.drivers)
  • Re: USB Device Interface
    ... is absolutely no reason to play with the registry. ... I also need other's help on this because i dont have all kinds of USB flash storage device to test my service application. ... or ur service app will have DBT_DEVICEARRIVAL notification. ... to produce the drive letter assignment. ...
    (microsoft.public.development.device.drivers)