Hello, codeproject. I'm in the process of making a WPF C# program that has a UI for users to press buttons that send 'fake' key events to a simultaneously running game (Halo PC, for example). I believe there is some DirectX api that I can use, but I have no idea which one, how to use it, or how tell my program which window to send the events to. If anyone here knows how to do this, or of a source that would help me out, that would be really appreciated :)