Michael C said:
Maybe it's possible to hook these calls.
It is possible to "hook" any OS call, given sufficiently elevated privileges
and access to the computer. However, none of the DirectX calls are involved
with (for example) the tachometer output for the game. Hooking those calls
in no way helps you toward your goal of accessing the underlying game data.
Um, no. The drivers for the taco apparently extract information from the
game, the game does not detect this device.
Sorry, I misunderstood your original statement. I thought you were talking
about a game input device. I assume by "taco" you mean a "tachometer", and
not a folded tortilla food item...I completely glossed over that earlier.
My mistake.
Still, as far as your claim that "it's possible to purchase a device that
plugs into USB and drives a standard taco and works with most game"
goes...that may be true, but if it is, the company that makes the device has
done all of the work to reverse engineer the games it works with (or takes
advantage of published APIs, for games that do expose their internals that
way). There is no standard API.
If you want to claim that there is, simply provide a reference to the API.
Saying that it exists over and over doesn't get you any closer to solving
your problem, and the longer you keep believing that there is a standard API
to do what you want, the longer it will take you to get around to finding
out how it's *really* done.
In any case, this has zero to do with C#, and only passing relevance to
Visual Basic (assuming, of course, you can find VB libraries that do what
you want...if you can't, then it has nothing to do with VB at all either).
Since I'm here to discuss C#, at this point I will leave you to your
beliefs, correct or not.
Pete