Set the item mask before calling GetItem.
This commit is contained in:
parent
7b94c7e094
commit
c31d413c3c
|
@ -1362,6 +1362,7 @@ static LRESULT ShellView_OnNotify(IShellViewImpl * This, UINT CtlID, LPNMHDR lpn
|
|||
item_index = ListView_GetNextItem(This->hWndList,
|
||||
item_index, LVNI_SELECTED);
|
||||
item.iItem = item_index;
|
||||
item.mask |= LVIF_PARAM;
|
||||
ListView_GetItemA(This->hWndList, &item);
|
||||
|
||||
/* get item pidl */
|
||||
|
|
Loading…
Reference in New Issue