mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 23:23:14 -04:00
Bump windows-sys version to 0.45 (#2639)
Bump windows-sys version to fix regression
This commit is contained in:
committed by
GitHub
parent
e423802ed3
commit
e1b7fda409
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user