inputsimulator icon indicating copy to clipboard operation
inputsimulator copied to clipboard

Throw Win32Exception with last error code when Sendinput fails

Open Giorgi opened this issue 12 years ago • 0 comments

Throwing Win32Exception exception has an advantage that it won't swallow the error code and it will automatically get the user friendly error message for the error that happened.

See https://blogs.msdn.com/b/adam_nathan/archive/2003/04/25/56643.aspx for details.

Giorgi avatar Jun 18 '13 19:06 Giorgi