Bump windows-sys version to 0.45 (#2639)

Bump windows-sys version to fix regression
This commit is contained in:
Markus Siglreithmaier 2023-01-23 22:10:28 +01:00 committed by GitHub
parent e423802ed3
commit e1b7fda409
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 27 additions and 29 deletions

View file

@ -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,