Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Throw Win32Exception with last error code when Sendinput fails #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Giorgi
Copy link

@Giorgi Giorgi commented Jun 18, 2013

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant