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
c9751d36
Commit
c9751d36
authored
Mar 04, 2010
by
Nikolay Sivov
Committed by
Alexandre Julliard
Mar 05, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Cast to class data pointer IShellView2 vtable as it's a first member.
parent
8032ae70
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
12 deletions
+13
-12
shlview.c
dlls/shell32/shlview.c
+13
-12
No files found.
dlls/shell32/shlview.c
View file @
c9751d36
...
...
@@ -2180,7 +2180,7 @@ static HRESULT WINAPI ISVOleCmdTarget_QueryInterface(
{
IShellViewImpl
*
This
=
impl_from_IOleCommandTarget
(
iface
);
return
IShell
Folder_QueryInterface
((
IShellFolder
*
)
This
,
iid
,
ppvObj
);
return
IShell
View2_QueryInterface
((
IShellView2
*
)
This
,
iid
,
ppvObj
);
}
/**********************************************************
...
...
@@ -2191,7 +2191,7 @@ static ULONG WINAPI ISVOleCmdTarget_AddRef(
{
IShellViewImpl
*
This
=
impl_from_IOleCommandTarget
(
iface
);
return
IShell
Folder_AddRef
((
IShellFolder
*
)
This
);
return
IShell
View2_AddRef
((
IShellView2
*
)
This
);
}
/**********************************************************
...
...
@@ -2202,7 +2202,7 @@ static ULONG WINAPI ISVOleCmdTarget_Release(
{
IShellViewImpl
*
This
=
impl_from_IOleCommandTarget
(
iface
);
return
IShell
Folder_Release
((
IShellFolder
*
)
This
);
return
IShell
View2_Release
((
IShellView2
*
)
This
);
}
/**********************************************************
...
...
@@ -2283,7 +2283,7 @@ static HRESULT WINAPI ISVDropTarget_QueryInterface(
TRACE
(
"(%p)->(
\n\t
IID:
\t
%s,%p)
\n
"
,
This
,
debugstr_guid
(
riid
),
ppvObj
);
return
IShell
Folder_QueryInterface
((
IShellFolder
*
)
This
,
riid
,
ppvObj
);
return
IShell
View2_QueryInterface
((
IShellView2
*
)
This
,
riid
,
ppvObj
);
}
static
ULONG
WINAPI
ISVDropTarget_AddRef
(
IDropTarget
*
iface
)
...
...
@@ -2292,7 +2292,7 @@ static ULONG WINAPI ISVDropTarget_AddRef( IDropTarget *iface)
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
This
->
ref
);
return
IShell
Folder_AddRef
((
IShellFolder
*
)
This
);
return
IShell
View2_AddRef
((
IShellView2
*
)
This
);
}
static
ULONG
WINAPI
ISVDropTarget_Release
(
IDropTarget
*
iface
)
...
...
@@ -2301,7 +2301,7 @@ static ULONG WINAPI ISVDropTarget_Release( IDropTarget *iface)
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
This
->
ref
);
return
IShell
Folder_Release
((
IShellFolder
*
)
This
);
return
IShell
View2_Release
((
IShellView2
*
)
This
);
}
/******************************************************************************
...
...
@@ -2463,7 +2463,7 @@ static HRESULT WINAPI ISVDropSource_QueryInterface(
TRACE
(
"(%p)->(
\n\t
IID:
\t
%s,%p)
\n
"
,
This
,
debugstr_guid
(
riid
),
ppvObj
);
return
IShell
Folder_QueryInterface
((
IShellFolder
*
)
This
,
riid
,
ppvObj
);
return
IShell
View2_QueryInterface
((
IShellView2
*
)
This
,
riid
,
ppvObj
);
}
static
ULONG
WINAPI
ISVDropSource_AddRef
(
IDropSource
*
iface
)
...
...
@@ -2472,7 +2472,7 @@ static ULONG WINAPI ISVDropSource_AddRef( IDropSource *iface)
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
This
->
ref
);
return
IShell
Folder_AddRef
((
IShellFolder
*
)
This
);
return
IShell
View2_AddRef
((
IShellView2
*
)
This
);
}
static
ULONG
WINAPI
ISVDropSource_Release
(
IDropSource
*
iface
)
...
...
@@ -2481,8 +2481,9 @@ static ULONG WINAPI ISVDropSource_Release( IDropSource *iface)
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
This
->
ref
);
return
IShell
Folder_Release
((
IShellFolder
*
)
This
);
return
IShell
View2_Release
((
IShellView2
*
)
This
);
}
static
HRESULT
WINAPI
ISVDropSource_QueryContinueDrag
(
IDropSource
*
iface
,
BOOL
fEscapePressed
,
...
...
@@ -2530,7 +2531,7 @@ static HRESULT WINAPI ISVViewObject_QueryInterface(
TRACE
(
"(%p)->(
\n\t
IID:
\t
%s,%p)
\n
"
,
This
,
debugstr_guid
(
riid
),
ppvObj
);
return
IShell
Folder_QueryInterface
((
IShellFolder
*
)
This
,
riid
,
ppvObj
);
return
IShell
View2_QueryInterface
((
IShellView2
*
)
This
,
riid
,
ppvObj
);
}
static
ULONG
WINAPI
ISVViewObject_AddRef
(
IViewObject
*
iface
)
...
...
@@ -2539,7 +2540,7 @@ static ULONG WINAPI ISVViewObject_AddRef( IViewObject *iface)
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
This
->
ref
);
return
IShell
Folder_AddRef
((
IShellFolder
*
)
This
);
return
IShell
View2_AddRef
((
IShellView2
*
)
This
);
}
static
ULONG
WINAPI
ISVViewObject_Release
(
IViewObject
*
iface
)
...
...
@@ -2548,7 +2549,7 @@ static ULONG WINAPI ISVViewObject_Release( IViewObject *iface)
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
This
->
ref
);
return
IShell
Folder_Release
((
IShellFolder
*
)
This
);
return
IShell
View2_Release
((
IShellView2
*
)
This
);
}
static
HRESULT
WINAPI
ISVViewObject_Draw
(
...
...
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