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

Replaced a NullReferedeException that was lost in the interop layer w… #12528

Merged
merged 1 commit into from
Nov 22, 2024

Commits on Nov 21, 2024

  1. Replaced a NullReferedeException that was lost in the interop layer w…

    …ith an HRESULT error code recommended in the docs - https://learn.microsoft.com/en-us/windows/win32/api/objidl/nf-objidl-idataobject-getdatahere#return-value. The HRESULT is not bubbled up through OleFlushClipboard either, this API returns S_OK even when the data wasn't set. In this case we end up with format being set successfully, but data actually missing.
    Tanya-Solyanik committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    a5b9e87 View commit details
    Browse the repository at this point in the history