Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
478316ce
Commit
478316ce
authored
May 18, 2011
by
Nikolay Sivov
Committed by
Alexandre Julliard
May 20, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
explorerframe: Get rid of interface pointer casts.
parent
f9ca298b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
nstc.c
dlls/explorerframe/nstc.c
+5
-5
No files found.
dlls/explorerframe/nstc.c
View file @
478316ce
...
...
@@ -495,7 +495,7 @@ static LRESULT create_namespacetree(HWND hWnd, CREATESTRUCTW *crs)
ERR
(
"Failed to get the System Image List.
\n
"
);
}
INameSpaceTreeControl
_AddRef
((
INameSpaceTreeControl
*
)
This
);
INameSpaceTreeControl
2_AddRef
(
&
This
->
INameSpaceTreeControl2_iface
);
/* Subclass the treeview to get the keybord events. */
This
->
tv_oldwndproc
=
(
WNDPROC
)
SetWindowLongPtrW
(
This
->
hwnd_tv
,
GWLP_WNDPROC
,
...
...
@@ -528,10 +528,10 @@ static LRESULT destroy_namespacetree(NSTC2Impl *This)
RemovePropA
(
This
->
hwnd_tv
,
"PROP_THIS"
);
}
INameSpaceTreeControl
_RemoveAllRoots
((
INameSpaceTreeControl
*
)
This
);
INameSpaceTreeControl
2_RemoveAllRoots
(
&
This
->
INameSpaceTreeControl2_iface
);
/* This reference was added in create_namespacetree */
INameSpaceTreeControl
_Release
((
INameSpaceTreeControl
*
)
This
);
INameSpaceTreeControl
2_Release
(
&
This
->
INameSpaceTreeControl2_iface
);
return
TRUE
;
}
...
...
@@ -1597,8 +1597,8 @@ HRESULT NamespaceTreeControl_Constructor(IUnknown *pUnkOuter, REFIID riid, void
list_init
(
&
nstc
->
roots
);
ret
=
INameSpaceTreeControl
_QueryInterface
((
INameSpaceTreeControl
*
)
nstc
,
riid
,
ppv
);
INameSpaceTreeControl
_Release
((
INameSpaceTreeControl
*
)
nstc
);
ret
=
INameSpaceTreeControl
2_QueryInterface
(
&
nstc
->
INameSpaceTreeControl2_iface
,
riid
,
ppv
);
INameSpaceTreeControl
2_Release
(
&
nstc
->
INameSpaceTreeControl2_iface
);
TRACE
(
"--(%p)
\n
"
,
ppv
);
return
ret
;
...
...
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