Skip to content

Provide meaningful error message when clipboard format is unavailble#56

Open
scottkipferOlive wants to merge 2 commits into
atotto:masterfrom
scottkipferOlive:master
Open

Provide meaningful error message when clipboard format is unavailble#56
scottkipferOlive wants to merge 2 commits into
atotto:masterfrom
scottkipferOlive:master

Conversation

@scottkipferOlive

Copy link
Copy Markdown

When isClipboardFormatAvailable.Call(...) fails, the error operation completed successfully is returned. This happens because of the way calls to the Win32 API handles successes/errors.

This PR provides the user of this package more context into what when wrong.

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