How are DirectInput and WinAPI input functions can communicate?

437 views Asked by At

I wrote a simple program, which simulate mouse input by using WinAPI SendInput() function and then test it on the game which use DirectInput to control all input. As result, this program simulate mouse click. But, as I know, DirectInput communicate directly with input devices hardware, and WinAPI use message loop. So, how do DirectInput and WinAPI communicate?

0

There are 0 answers