Thank you very much.
I think you have reason.
Sorry if I answer heare, but I no found any way to make a personal message.
I see the WinBatch language is not very good to launch API functions; this is the first time I need to solve a similar problem, and I think I will no have any other similar problem.
I can no learn a language everytime I have a problem no suited to the language I know; then I must know a language very versatile.
To learn a language is no simple: it is necessary many engagement and many time: I used many engagement and many time to learn WinBatch and other ( AutoHotKey, that seem similar to WinBatch, but it allow the automation of existing program that WinBatch can no make ).
With your help I made a WinBatch utility to list all HID devices, divided by type, everyone with the handle.
Now I need only to detect what key is down on every specific HID ( keyboard ).
I think you have absolutely reason, but I think, with some small forcing, is possible to obtain the result: really, I can no learn a language to every different type of problem... :-(
Obviously, I red your link and, for what I understand, I think it is very interesting; but, after that, there is the problem to interface that solution ( on a different language ) with other WinBatch programs...
For example, with WinBatch I made a command prompt program executor function very much powerful than all Run (...) WinBatch functions, and I used it into many WinBatch programs I made...
If you like, I can send it here.
I need a similar thing, but for HID detect by API functions, to use it into one or much WinBatch programs.
I know it is messed up, no ideal; but from the function extern, it will works and it can be called from other WinBatch functions...
The list of all HID with name, type and handle is very good to now; it is 50% of the work made.
Thank you very much for patience.