Bump windows-sys version to 0.45 (#2639)
Bump windows-sys version to fix regression
This commit is contained in:
parent
e423802ed3
commit
e1b7fda409
5 changed files with 27 additions and 29 deletions
|
|
@ -12,8 +12,7 @@ use windows_sys::{
|
|||
Foundation::{DV_E_FORMATETC, HWND, POINTL, S_OK},
|
||||
System::{
|
||||
Com::{IDataObject, DVASPECT_CONTENT, FORMATETC, TYMED_HGLOBAL},
|
||||
Ole::{DROPEFFECT_COPY, DROPEFFECT_NONE},
|
||||
SystemServices::CF_HDROP,
|
||||
Ole::{CF_HDROP, DROPEFFECT_COPY, DROPEFFECT_NONE},
|
||||
},
|
||||
UI::Shell::{DragFinish, DragQueryFileW, HDROP},
|
||||
},
|
||||
|
|
@ -167,7 +166,7 @@ impl FileDropHandler {
|
|||
F: Fn(PathBuf),
|
||||
{
|
||||
let drop_format = FORMATETC {
|
||||
cfFormat: CF_HDROP as u16,
|
||||
cfFormat: CF_HDROP,
|
||||
ptd: ptr::null_mut(),
|
||||
dwAspect: DVASPECT_CONTENT,
|
||||
lindex: -1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue