Many thanks Micha - in my excitement I initially overlooked the following messages (about mfc dll files) and wondered why it didn't work.. :oops:
I've uploaded version 1.01.
You can receive the devicenumber which generates an event.
Please have a look at the sample-script.
Once I'd installed them it appears to work fine (by copying and modifying the code in the sample script which is different to your post above i.e. using DllCall GetNumberFromHandle rather than an additional parameter in DllCall GetWM_INPUTHIDData).
Many thanks :!: