You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IDropSource implements two functions IDropSource::GiveFeedback and IDropSource::QueryContinueDrag
Both return an OK Value other than S_OK, but their rust signature simply returns Result<()> eating up the actual HRESULT code.
This way the DragDrop Operation never finishes because DRAGDROP_S_DROP is never returned.
As far as my understanding goes this is a problem with the metatadata similar to: #1512
Which crate is this about?
windows
Crate version
0.42.0
Summary
IDropSource implements two functions IDropSource::GiveFeedback and IDropSource::QueryContinueDrag
Both return an OK Value other than S_OK, but their rust signature simply returns Result<()> eating up the actual HRESULT code.
This way the DragDrop Operation never finishes because DRAGDROP_S_DROP is never returned.
As far as my understanding goes this is a problem with the metatadata similar to: #1512
I've opened microsoft/win32metadata#1291 with a request to add the PreserveSig metadata to the two functions.
Toolchain version/configuration
No response
Reproducible example
No response
Crate manifest
No response
Expected behavior
return DRAGDROP_S_DROP from IDropSource::QueryContinueDrag to finish the Drag Drop operation and return DRAGDROP_S_USEDEFAULTCURSORS from IDropSource::GiveFeedback in order to update the cursor style.
Actual behavior
Nothing happens and App freezes while the drag drop operation never finishes
Additional comments
No response
The text was updated successfully, but these errors were encountered: