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
0f794f95
Commit
0f794f95
authored
Mar 21, 2010
by
Nikolay Sivov
Committed by
Alexandre Julliard
Mar 22, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Some debug tracing improvements.
parent
1168b792
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
31 additions
and
31 deletions
+31
-31
classes.c
dlls/shell32/classes.c
+1
-1
debughlp.c
dlls/shell32/debughlp.c
+9
-12
shellole.c
dlls/shell32/shellole.c
+6
-4
shlfolder.c
dlls/shell32/shlfolder.c
+9
-8
shlview.c
dlls/shell32/shlview.c
+6
-6
No files found.
dlls/shell32/classes.c
View file @
0f794f95
...
...
@@ -386,7 +386,7 @@ BOOL HCR_GetClassNameA(REFIID riid, LPSTR szDest, DWORD len)
}
}
TRACE
(
"--
%s
\n
"
,
szDest
);
TRACE
(
"--
(%s)
\n
"
,
szDest
);
return
ret
;
}
...
...
dlls/shell32/debughlp.c
View file @
0f794f95
...
...
@@ -422,16 +422,13 @@ const char * shdebugstr_guid( const struct _GUID *id )
if
(
!
id
)
return
"(null)"
;
for
(
i
=
0
;
InterfaceDesc
[
i
].
riid
&&
!
name
;
i
++
)
{
if
(
IsEqualIID
(
InterfaceDesc
[
i
].
riid
,
id
))
name
=
InterfaceDesc
[
i
].
name
;
}
if
(
!
name
)
{
if
(
HCR_GetClassNameA
(
id
,
clsidbuf
,
100
))
name
=
clsidbuf
;
}
return
wine_dbg_sprintf
(
"{%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x} (%s)"
,
id
->
Data1
,
id
->
Data2
,
id
->
Data3
,
id
->
Data4
[
0
],
id
->
Data4
[
1
],
id
->
Data4
[
2
],
id
->
Data4
[
3
],
id
->
Data4
[
4
],
id
->
Data4
[
5
],
id
->
Data4
[
6
],
id
->
Data4
[
7
],
name
?
name
:
"unknown"
);
for
(
i
=
0
;
InterfaceDesc
[
i
].
riid
&&
!
name
;
i
++
)
{
if
(
IsEqualIID
(
InterfaceDesc
[
i
].
riid
,
id
))
name
=
InterfaceDesc
[
i
].
name
;
}
if
(
!
name
)
{
if
(
HCR_GetClassNameA
(
id
,
clsidbuf
,
100
))
name
=
clsidbuf
;
}
return
wine_dbg_sprintf
(
"%s (%s)"
,
debugstr_guid
(
id
),
name
?
name
:
"unknown"
);
}
dlls/shell32/shellole.c
View file @
0f794f95
...
...
@@ -330,14 +330,16 @@ void WINAPI SHFree(LPVOID pv)
*/
HRESULT
WINAPI
SHGetDesktopFolder
(
IShellFolder
**
psf
)
{
HRESULT
hres
=
S_OK
;
TRACE
(
"
\n
"
);
HRESULT
hres
;
TRACE
(
"(%p)
\n
"
,
psf
);
if
(
!
psf
)
return
E_INVALIDARG
;
*
psf
=
NULL
;
hres
=
ISF_Desktop_Constructor
(
NULL
,
&
IID_IShellFolder
,(
LPVOID
*
)
psf
);
hres
=
ISF_Desktop_Constructor
(
NULL
,
&
IID_IShellFolder
,
(
LPVOID
*
)
psf
);
TRACE
(
"-- %p->(%p)
\n
"
,
psf
,
*
psf
);
TRACE
(
"-- %p->(%p)
0x%08x
\n
"
,
psf
,
*
psf
,
hres
);
return
hres
;
}
/**************************************************************************
...
...
dlls/shell32/shlfolder.c
View file @
0f794f95
...
...
@@ -125,9 +125,9 @@ LPCWSTR GetNextElementW (LPCWSTR pszNext, LPWSTR pszOut, DWORD dwOut)
LPCWSTR
pszTail
=
pszNext
;
DWORD
dwCopy
;
TRACE
(
"(%s %p 0x%08x)
\n
"
,
debugstr_w
(
pszNext
),
pszOut
,
dwOut
);
TRACE
(
"(%s %p 0x%08x)
\n
"
,
debugstr_w
(
pszNext
),
pszOut
,
dwOut
);
*
pszOut
=
0
x0000
;
*
pszOut
=
0
;
if
(
!
pszNext
||
!*
pszNext
)
return
NULL
;
...
...
@@ -150,10 +150,9 @@ LPCWSTR GetNextElementW (LPCWSTR pszNext, LPWSTR pszOut, DWORD dwOut)
HRESULT
SHELL32_ParseNextElement
(
IShellFolder2
*
psf
,
HWND
hwndOwner
,
LPBC
pbc
,
LPITEMIDLIST
*
pidlInOut
,
LPOLESTR
szNext
,
DWORD
*
pEaten
,
DWORD
*
pdwAttributes
)
{
HRESULT
hr
=
E_INVALIDARG
;
LPITEMIDLIST
pidlOut
=
NULL
,
pidlTemp
=
NULL
;
LPITEMIDLIST
pidlOut
=
NULL
,
pidlTemp
=
NULL
;
IShellFolder
*
psfChild
;
HRESULT
hr
;
TRACE
(
"(%p, %p, %p, %s)
\n
"
,
psf
,
pbc
,
pidlInOut
?
*
pidlInOut
:
NULL
,
debugstr_w
(
szNext
));
...
...
@@ -197,7 +196,7 @@ static HRESULT SHELL32_CoCreateInitSF (LPCITEMIDLIST pidlRoot, LPCWSTR pathRoot,
{
HRESULT
hr
;
TRACE
(
"
%p %s %p
\n
"
,
pidlRoot
,
debugstr_w
(
pathRoot
),
pidlChild
);
TRACE
(
"
(%p %s %p %s %p)
\n
"
,
pidlRoot
,
debugstr_w
(
pathRoot
),
pidlChild
,
debugstr_guid
(
clsid
),
ppvOut
);
hr
=
SHCoCreateInstance
(
NULL
,
clsid
,
NULL
,
&
IID_IShellFolder
,
ppvOut
);
if
(
SUCCEEDED
(
hr
))
...
...
@@ -268,6 +267,8 @@ HRESULT SHELL32_BindToChild (LPCITEMIDLIST pidlRoot,
HRESULT
hr
;
LPITEMIDLIST
pidlChild
;
TRACE
(
"(%p %s %p %s %p)
\n
"
,
pidlRoot
,
debugstr_w
(
pathRoot
),
pidlComplete
,
debugstr_guid
(
riid
),
ppvOut
);
if
(
!
pidlRoot
||
!
ppvOut
||
!
pidlComplete
||
!
pidlComplete
->
mkid
.
cb
)
return
E_INVALIDARG
;
...
...
@@ -312,7 +313,7 @@ HRESULT SHELL32_BindToChild (LPCITEMIDLIST pidlRoot,
IShellFolder_Release
(
pSF
);
}
TRACE
(
"-- returning (%p) %08x
\n
"
,
*
ppvOut
,
hr
);
TRACE
(
"-- returning (%p)
0x
%08x
\n
"
,
*
ppvOut
,
hr
);
return
hr
;
}
...
...
@@ -335,7 +336,7 @@ HRESULT SHELL32_GetDisplayNameOfChild (IShellFolder2 * psf,
LPCITEMIDLIST
pidl
,
DWORD
dwFlags
,
LPWSTR
szOut
,
DWORD
dwOutLen
)
{
LPITEMIDLIST
pidlFirst
;
HRESULT
hr
=
E_INVALIDARG
;
HRESULT
hr
;
TRACE
(
"(%p)->(pidl=%p 0x%08x %p 0x%08x)
\n
"
,
psf
,
pidl
,
dwFlags
,
szOut
,
dwOutLen
);
pdump
(
pidl
);
...
...
dlls/shell32/shlview.c
View file @
0f794f95
...
...
@@ -2218,16 +2218,16 @@ static ULONG WINAPI ISVOleCmdTarget_Release(
*/
static
HRESULT
WINAPI
ISVOleCmdTarget_QueryStatus
(
IOleCommandTarget
*
iface
,
const
GUID
*
pguidCmdGroup
,
const
GUID
*
pguidCmdGroup
,
ULONG
cCmds
,
OLECMD
*
prgCmds
,
OLECMDTEXT
*
pCmdText
)
OLECMD
*
prgCmds
,
OLECMDTEXT
*
pCmdText
)
{
UINT
i
;
IShellViewImpl
*
This
=
impl_from_IOleCommandTarget
(
iface
);
UINT
i
;
FIXME
(
"(%p)->(%
p(%s) 0x%08x %p %p
\n
"
,
This
,
pguidCmdGroup
,
debugstr_guid
(
pguidCmdGroup
),
cCmds
,
prgCmds
,
pCmdText
);
FIXME
(
"(%p)->(%
s %d %p %p)
\n
"
,
This
,
debugstr_guid
(
pguidCmdGroup
),
cCmds
,
prgCmds
,
pCmdText
);
if
(
!
prgCmds
)
return
E_POINTER
;
...
...
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