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

IDropSource::[QueryContinueDrag|GiveFeedback] needs PreserveSig treatment #1291

Closed
littleBugHunter opened this issue Oct 1, 2022 · 1 comment
Assignees
Labels
rust Critical for Rust adoption usability Touch-up to improve the user experience for a language projection

Comments

@littleBugHunter
Copy link

IDropSource::[QueryContinueDrag|GiveFeedback] methods can return alternative success codes and appear to meet criteria for PreserveSig.
Currently it is impossible to implement a working IDropSource in rust, as the DragDrop Operation never finishes with DRAGDROP_S_DROP or DRAGDROP_S_CANCEL
See:
https://learn.microsoft.com/en-us/windows/win32/api/oleidl/nf-oleidl-idropsource-querycontinuedrag
https://learn.microsoft.com/en-us/windows/win32/api/oleidl/nf-oleidl-idropsource-givefeedback

@kennykerr kennykerr added the rust Critical for Rust adoption label Oct 1, 2022
@mikebattista mikebattista self-assigned this Oct 3, 2022
@mikebattista mikebattista added the usability Touch-up to improve the user experience for a language projection label Oct 3, 2022
@mikebattista
Copy link
Collaborator

Windows.Win32.System.Ole.IDropSource.GiveFeedback : => [PreserveSig]
Windows.Win32.System.Ole.IDropSource.QueryContinueDrag : => [PreserveSig]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rust Critical for Rust adoption usability Touch-up to improve the user experience for a language projection
Projects
None yet
Development

No branches or pull requests

3 participants