Re: Cloning WinCE 5.0 component
- From: paolo patierno <paolopatierno@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 26 Nov 2008 07:49:01 -0800
The mouhid don't have a GUID (a IClass definition) and I want notifications
only when a mouse is connected. If I use RequestDeviceNotifications and pass
NULL for the first parameter, I will receive notification for all device
connected to my hardware platform. My goal is that when a mouse is attached,
the cursor pointer is showed and when the mouse is deattached the cursor is
hide. If I pass NULL to RequestDeviceNotifications, I don't know that a mouse
is connected and it should be a USB mass storage !
Thanks
"Rob" wrote:
I would be very surprised if you need to clone the thing to achieve your goal..
I'm sure you can get a notification if a HID device is added without any
modifiication.
I'm pretty sure you can narrow this down further.
With the notification comes some data, you can use this to get more detail
about the device. It was some time ago I used this, so I have no details for
you right now, I know i't a bit tricky/vague at first time use.
If all else fails : How about calling the driver that was loaded to get more
info ?
(can you perform a call (or mis-use some call) on for example kbdhid.dll to
determine what exactly was connected? kbd or mouse...)
Kind regards,
Rob.
"paolo patierno" wrote:
Thank you very much.......these article are very useful !
thanks
"Erwin Zwart" <"erwin AT GuruCE DOT COM" wrote:
http://www.guruce.com/blogpost/cloningpubliccodeanexample
and
http://www.guruce.com/blogpost/manualcloneofpubliccode
Good luck,
Erwin Zwart,
Check out my blog: http://GuruCE.com/blog
GuruCE
Microsoft Embedded Partner
http://GuruCE.com
Consultancy, training and development services.
paolo patierno schreef:
Hi,
what is the right way to clone a component in Platform Builder (WinCE 5.0) ?
I must cloning mouhid.dll e I have to add a IClass (#define...etc etc) to
it, because I want notified when a usb mouse is attached/deattached.
Thanks,
PS. excuse for my english
- Follow-Ups:
- Re: Cloning WinCE 5.0 component
- From: Rob
- Re: Cloning WinCE 5.0 component
- From: Rob
- Re: Cloning WinCE 5.0 component
- From: Paul G. Tobey [eMVP]
- Re: Cloning WinCE 5.0 component
- References:
- Cloning WinCE 5.0 component
- From: paolo patierno
- Re: Cloning WinCE 5.0 component
- From: Erwin Zwart
- Re: Cloning WinCE 5.0 component
- From: paolo patierno
- Re: Cloning WinCE 5.0 component
- From: Rob
- Cloning WinCE 5.0 component
- Prev by Date: Re: Cloning WinCE 5.0 component
- Next by Date: Re: Cloning WinCE 5.0 component
- Previous by thread: Re: Cloning WinCE 5.0 component
- Next by thread: Re: Cloning WinCE 5.0 component
- Index(es):
Relevant Pages
|