Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
12dd1bc1
Commit
12dd1bc1
authored
Nov 28, 2005
by
Michael Jung
Committed by
Alexandre Julliard
Nov 28, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use GetUIObjectOf instead of BindToObject to get a IDropTarget object.
parent
72ed6eae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
shlview.c
dlls/shell32/shlview.c
+3
-3
No files found.
dlls/shell32/shlview.c
View file @
12dd1bc1
...
...
@@ -2223,9 +2223,9 @@ static HRESULT drag_notify_subitem(IShellViewImpl *This, DWORD grfKeyState, POIN
lvItem
.
iItem
=
lResult
;
ListView_GetItemA
(
This
->
hWndList
,
&
lvItem
);
/* ... and bind pCurDropTarget to th
is folder's IDropTarget interface
*/
hr
=
IShellFolder_
BindToObject
(
This
->
pSFParent
,
(
LPITEMIDLIST
)
lvItem
.
lParam
,
NULL
,
&
IID_IDropTarget
,
(
LPVOID
*
)
&
This
->
pCurDropTarget
);
/* ... and bind pCurDropTarget to th
e IDropTarget interface of an UIObject of this object
*/
hr
=
IShellFolder_
GetUIObjectOf
(
This
->
pSFParent
,
This
->
hWndList
,
1
,
(
LPCITEMIDLIST
*
)
&
lvItem
.
lParam
,
&
IID_IDropTarget
,
NULL
,
(
LPVOID
*
)
&
This
->
pCurDropTarget
);
}
/* If anything failed, pCurDropTarget should be NULL now, which ought to be a save state. */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment