io.files.trash.windows: fix SHFILEOPSTRUCTW struct

Fix the incorrect field alignment. SHFileOperationW crashed with a memory
protection error while trying to dereference only part of the string
pointer.
master
Alexander Iljin 2020-04-15 23:28:06 +02:00 committed by John Benediktsson
parent d486e39255
commit 595cf81eb8
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ LIBRARY: shell32
TYPEDEF: WORD FILEOP_FLAGS
PACKED-STRUCT: SHFILEOPSTRUCTW
STRUCT: SHFILEOPSTRUCTW
{ hwnd HWND }
{ wFunc UINT }
{ pFrom LPCWSTR* }