The SendInput function is guaranteed to completely play all the input you pass. However, that has no guarantee that you are playing the input back to the correct locations or windows on the machine. It's up to you to ensure the application(s) state(s) are set exactly as you expect them before calling SendInput.
Dig Deeper on Windows client management
Related Q&A from John Robbins
What is a JAD session? This term is referred to often in job postings and seems like some kind of brainstorm you carry out with a client to define IT... Continue Reading