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
3548504c
Commit
3548504c
authored
Nov 15, 2011
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 15, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ieframe: Improved debug traces in IShellBrowser::QueryInterface.
parent
60dc3d62
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
20 deletions
+23
-20
shellbrowser.c
dlls/ieframe/shellbrowser.c
+23
-20
No files found.
dlls/ieframe/shellbrowser.c
View file @
3548504c
...
...
@@ -32,30 +32,33 @@ static inline ShellBrowser *impl_from_IShellBrowser(IShellBrowser *iface)
return
CONTAINING_RECORD
(
iface
,
ShellBrowser
,
IShellBrowser_iface
);
}
static
HRESULT
WINAPI
ShellBrowser_QueryInterface
(
IShellBrowser
*
iface
,
REFIID
riid
,
void
**
ppvObject
)
static
HRESULT
WINAPI
ShellBrowser_QueryInterface
(
IShellBrowser
*
iface
,
REFIID
riid
,
void
**
ppv
)
{
ShellBrowser
*
This
=
impl_from_IShellBrowser
(
iface
);
*
ppvObject
=
NULL
;
if
(
IsEqualGUID
(
&
IID_IShellBrowser
,
riid
)
||
IsEqualGUID
(
&
IID_IOleWindow
,
riid
)
||
IsEqualGUID
(
&
IID_IUnknown
,
riid
))
*
ppvObject
=
&
This
->
IShellBrowser_iface
;
else
if
(
IsEqualGUID
(
&
IID_IBrowserService
,
riid
))
*
ppvObject
=
&
This
->
IBrowserService_iface
;
else
if
(
IsEqualGUID
(
&
IID_IDocObjectService
,
riid
))
*
ppvObject
=
&
This
->
IDocObjectService_iface
;
if
(
*
ppvObject
)
{
TRACE
(
"%p %s %p
\n
"
,
This
,
debugstr_guid
(
riid
),
ppvObject
);
IUnknown_AddRef
((
IUnknown
*
)
*
ppvObject
);
return
S_OK
;
}
FIXME
(
"%p %s %p
\n
"
,
This
,
debugstr_guid
(
riid
),
ppvObject
);
if
(
IsEqualGUID
(
&
IID_IUnknown
,
riid
))
{
TRACE
(
"(%p)->(IID_IUnknown %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IShellBrowser_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IOleWindow
,
riid
))
{
TRACE
(
"(%p)->(IID_IOleWindow %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IShellBrowser_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IShellBrowser
,
riid
))
{
TRACE
(
"(%p)->(IID_IShellBrowser %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IShellBrowser_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IBrowserService
,
riid
))
{
TRACE
(
"(%p)->(IID_IBrowserService %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IBrowserService_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IDocObjectService
,
riid
))
{
TRACE
(
"(%p)->(IID_IDocObjectService %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IDocObjectService_iface
;
}
else
{
FIXME
(
"%p %s %p
\n
"
,
This
,
debugstr_guid
(
riid
),
ppv
);
*
ppv
=
NULL
;
return
E_NOINTERFACE
;
}
IUnknown_AddRef
((
IUnknown
*
)
*
ppv
);
return
S_OK
;
}
static
ULONG
WINAPI
ShellBrowser_AddRef
(
...
...
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