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
89e1d294
Commit
89e1d294
authored
Oct 07, 2006
by
Hans Leidekker
Committed by
Alexandre Julliard
Oct 09, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Win64 printf format warning fixes.
parent
66ef2f25
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
33 changed files
with
271 additions
and
271 deletions
+271
-271
Makefile.in
dlls/shell32/Makefile.in
+1
-1
autocomplete.c
dlls/shell32/autocomplete.c
+5
-5
brsfolder.c
dlls/shell32/brsfolder.c
+5
-5
changenotify.c
dlls/shell32/changenotify.c
+11
-11
classes.c
dlls/shell32/classes.c
+1
-1
clipboard.c
dlls/shell32/clipboard.c
+1
-1
control.c
dlls/shell32/control.c
+4
-4
cpanelfolder.c
dlls/shell32/cpanelfolder.c
+16
-16
dataobject.c
dlls/shell32/dataobject.c
+7
-7
debughlp.c
dlls/shell32/debughlp.c
+2
-2
dialogs.c
dlls/shell32/dialogs.c
+1
-1
dragdrophelper.c
dlls/shell32/dragdrophelper.c
+5
-5
enumidlist.c
dlls/shell32/enumidlist.c
+5
-5
folders.c
dlls/shell32/folders.c
+2
-2
pidl.c
dlls/shell32/pidl.c
+13
-13
shell32_main.c
dlls/shell32/shell32_main.c
+8
-8
shelllink.c
dlls/shell32/shelllink.c
+18
-18
shellole.c
dlls/shell32/shellole.c
+5
-5
shellord.c
dlls/shell32/shellord.c
+39
-39
shellpath.c
dlls/shell32/shellpath.c
+21
-21
shellstring.c
dlls/shell32/shellstring.c
+4
-4
shfldr_desktop.c
dlls/shell32/shfldr_desktop.c
+11
-11
shfldr_fs.c
dlls/shell32/shfldr_fs.c
+16
-16
shfldr_mycomp.c
dlls/shell32/shfldr_mycomp.c
+12
-12
shfldr_unixfs.c
dlls/shell32/shfldr_unixfs.c
+8
-8
shlexec.c
dlls/shell32/shlexec.c
+5
-5
shlfolder.c
dlls/shell32/shlfolder.c
+10
-10
shlfsbind.c
dlls/shell32/shlfsbind.c
+2
-2
shlmenu.c
dlls/shell32/shlmenu.c
+8
-8
shlview.c
dlls/shell32/shlview.c
+19
-19
shv_bg_cmenu.c
dlls/shell32/shv_bg_cmenu.c
+3
-3
shv_item_cmenu.c
dlls/shell32/shv_item_cmenu.c
+2
-2
systray.c
dlls/shell32/systray.c
+1
-1
No files found.
dlls/shell32/Makefile.in
View file @
89e1d294
EXTRADEFS
=
-D_SHELL32_
-DCOM_NO_WINDOWS_H
-DWINE_NO_LONG_AS_INT
EXTRADEFS
=
-D_SHELL32_
-DCOM_NO_WINDOWS_H
TOPSRCDIR
=
@top_srcdir@
TOPOBJDIR
=
../..
SRCDIR
=
@srcdir@
...
...
dlls/shell32/autocomplete.c
View file @
89e1d294
...
...
@@ -174,7 +174,7 @@ static ULONG WINAPI IAutoComplete_fnAddRef(
IAutoCompleteImpl
*
This
=
(
IAutoCompleteImpl
*
)
iface
;
ULONG
refCount
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(%
l
u)
\n
"
,
This
,
refCount
-
1
);
TRACE
(
"(%p)->(%u)
\n
"
,
This
,
refCount
-
1
);
return
refCount
;
}
...
...
@@ -188,7 +188,7 @@ static ULONG WINAPI IAutoComplete_fnRelease(
IAutoCompleteImpl
*
This
=
(
IAutoCompleteImpl
*
)
iface
;
ULONG
refCount
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(%
l
u)
\n
"
,
This
,
refCount
+
1
);
TRACE
(
"(%p)->(%u)
\n
"
,
This
,
refCount
+
1
);
if
(
!
refCount
)
{
TRACE
(
" destroying IAutoComplete(%p)
\n
"
,
This
);
...
...
@@ -347,7 +347,7 @@ static ULONG WINAPI IAutoComplete2_fnAddRef(
{
IAutoCompleteImpl
*
This
=
impl_from_IAutoComplete2
(
iface
);
TRACE
(
"(%p)->(count=%
l
u)
\n
"
,
This
,
This
->
ref
);
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
This
->
ref
);
return
IAutoComplete2_AddRef
((
IAutoComplete
*
)
This
);
}
...
...
@@ -360,7 +360,7 @@ static ULONG WINAPI IAutoComplete2_fnRelease(
{
IAutoCompleteImpl
*
This
=
impl_from_IAutoComplete2
(
iface
);
TRACE
(
"(%p)->(count=%
l
u)
\n
"
,
This
,
This
->
ref
);
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
This
->
ref
);
return
IAutoComplete_Release
((
IAutoComplete
*
)
This
);
}
...
...
@@ -425,7 +425,7 @@ static HRESULT WINAPI IAutoComplete2_fnSetOptions(
IAutoCompleteImpl
*
This
=
impl_from_IAutoComplete2
(
iface
);
TRACE
(
"(%p) -> (0x%
l
x)
\n
"
,
This
,
dwFlag
);
TRACE
(
"(%p) -> (0x%x)
\n
"
,
This
,
dwFlag
);
This
->
options
=
dwFlag
;
...
...
dlls/shell32/brsfolder.c
View file @
89e1d294
...
...
@@ -132,7 +132,7 @@ static void InitializeTreeView( browse_info *info )
IShellFolder
*
lpsfDesktop
;
hr
=
SHGetDesktopFolder
(
&
lpsfDesktop
);
if
(
!
SUCCEEDED
(
hr
))
{
WARN
(
"SHGetDesktopFolder failed! hr = %08
l
x
\n
"
,
hr
);
WARN
(
"SHGetDesktopFolder failed! hr = %08x
\n
"
,
hr
);
return
;
}
hr
=
IShellFolder_BindToObject
(
lpsfDesktop
,
pidlParent
,
0
,
&
IID_IShellFolder
,
(
LPVOID
*
)
&
lpsfParent
);
...
...
@@ -140,7 +140,7 @@ static void InitializeTreeView( browse_info *info )
}
if
(
!
SUCCEEDED
(
hr
))
{
WARN
(
"Could not bind to parent shell folder! hr = %08
l
x
\n
"
,
hr
);
WARN
(
"Could not bind to parent shell folder! hr = %08x
\n
"
,
hr
);
return
;
}
...
...
@@ -152,7 +152,7 @@ static void InitializeTreeView( browse_info *info )
}
if
(
!
SUCCEEDED
(
hr
))
{
WARN
(
"Could not bind to root shell folder! hr = %08
l
x
\n
"
,
hr
);
WARN
(
"Could not bind to root shell folder! hr = %08x
\n
"
,
hr
);
IShellFolder_Release
(
lpsfParent
);
return
;
}
...
...
@@ -160,7 +160,7 @@ static void InitializeTreeView( browse_info *info )
flags
=
BrowseFlagsToSHCONTF
(
info
->
lpBrowseInfo
->
ulFlags
);
hr
=
IShellFolder_EnumObjects
(
lpsfRoot
,
info
->
hWnd
,
flags
,
&
pEnumChildren
);
if
(
!
SUCCEEDED
(
hr
))
{
WARN
(
"Could not get child iterator! hr = %08
l
x
\n
"
,
hr
);
WARN
(
"Could not get child iterator! hr = %08x
\n
"
,
hr
);
IShellFolder_Release
(
lpsfParent
);
IShellFolder_Release
(
lpsfRoot
);
return
;
...
...
@@ -225,7 +225,7 @@ static BOOL GetName(LPSHELLFOLDER lpsf, LPCITEMIDLIST lpi, DWORD dwFlags, LPWSTR
BOOL
bSuccess
=
TRUE
;
STRRET
str
;
TRACE
(
"%p %p %
l
x %p
\n
"
,
lpsf
,
lpi
,
dwFlags
,
lpFriendlyName
);
TRACE
(
"%p %p %x %p
\n
"
,
lpsf
,
lpi
,
dwFlags
,
lpFriendlyName
);
if
(
SUCCEEDED
(
IShellFolder_GetDisplayNameOf
(
lpsf
,
lpi
,
dwFlags
,
&
str
)))
bSuccess
=
StrRetToStrNW
(
lpFriendlyName
,
MAX_PATH
,
&
str
,
lpi
);
else
...
...
dlls/shell32/changenotify.c
View file @
89e1d294
...
...
@@ -200,7 +200,7 @@ SHChangeNotifyRegister(
item
=
SHAlloc
(
sizeof
(
NOTIFICATIONLIST
));
TRACE
(
"(%p,0x%08x,0x%08
l
x,0x%08x,%d,%p) item=%p
\n
"
,
TRACE
(
"(%p,0x%08x,0x%08x,0x%08x,%d,%p) item=%p
\n
"
,
hwnd
,
fSources
,
wEventMask
,
uMsg
,
cItems
,
lpItems
,
item
);
item
->
next
=
NULL
;
...
...
@@ -236,7 +236,7 @@ BOOL WINAPI SHChangeNotifyDeregister(ULONG hNotify)
{
LPNOTIFICATIONLIST
node
;
TRACE
(
"(0x%08
l
x)
\n
"
,
hNotify
);
TRACE
(
"(0x%08x)
\n
"
,
hNotify
);
EnterCriticalSection
(
&
SHELL32_ChangenotifyCS
);
...
...
@@ -255,7 +255,7 @@ BOOL WINAPI SHChangeNotifyDeregister(ULONG hNotify)
BOOL
WINAPI
SHChangeNotifyUpdateEntryList
(
DWORD
unknown1
,
DWORD
unknown2
,
DWORD
unknown3
,
DWORD
unknown4
)
{
FIXME
(
"(0x%08
lx, 0x%08lx, 0x%08lx, 0x%08l
x)
\n
"
,
FIXME
(
"(0x%08
x, 0x%08x, 0x%08x, 0x%08
x)
\n
"
,
unknown1
,
unknown2
,
unknown3
,
unknown4
);
return
-
1
;
...
...
@@ -285,7 +285,7 @@ void WINAPI SHChangeNotify(LONG wEventId, UINT uFlags, LPCVOID dwItem1, LPCVOID
Pidls
[
0
]
=
NULL
;
Pidls
[
1
]
=
NULL
;
TRACE
(
"(0x%08
l
x,0x%08x,%p,%p):stub.
\n
"
,
wEventId
,
uFlags
,
dwItem1
,
dwItem2
);
TRACE
(
"(0x%08x,0x%08x,%p,%p):stub.
\n
"
,
wEventId
,
uFlags
,
dwItem1
,
dwItem2
);
if
(
(
wEventId
&
SHCNE_NOITEMEVENTS
)
&&
(
dwItem1
||
dwItem2
)
)
{
...
...
@@ -341,10 +341,10 @@ void WINAPI SHChangeNotify(LONG wEventId, UINT uFlags, LPCVOID dwItem1, LPCVOID
WCHAR
path
[
MAX_PATH
];
if
(
Pidls
[
0
]
&&
SHGetPathFromIDListW
(
Pidls
[
0
],
path
))
TRACE
(
"notify %08
l
x on item1 = %s
\n
"
,
wEventId
,
debugstr_w
(
path
));
TRACE
(
"notify %08x on item1 = %s
\n
"
,
wEventId
,
debugstr_w
(
path
));
if
(
Pidls
[
1
]
&&
SHGetPathFromIDListW
(
Pidls
[
1
],
path
))
TRACE
(
"notify %08
l
x on item2 = %s
\n
"
,
wEventId
,
debugstr_w
(
path
));
TRACE
(
"notify %08x on item2 = %s
\n
"
,
wEventId
,
debugstr_w
(
path
));
}
EnterCriticalSection
(
&
SHELL32_ChangenotifyCS
);
...
...
@@ -382,7 +382,7 @@ void WINAPI SHChangeNotify(LONG wEventId, UINT uFlags, LPCVOID dwItem1, LPCVOID
ptr
->
pidlSignaled
=
ILClone
(
Pidls
[
0
]);
TRACE
(
"notifying %s, event %s(%
l
x) before
\n
"
,
NodeName
(
ptr
),
DumpEvent
(
TRACE
(
"notifying %s, event %s(%x) before
\n
"
,
NodeName
(
ptr
),
DumpEvent
(
wEventId
),
wEventId
);
ptr
->
wSignalledEvent
|=
wEventId
;
...
...
@@ -392,7 +392,7 @@ void WINAPI SHChangeNotify(LONG wEventId, UINT uFlags, LPCVOID dwItem1, LPCVOID
else
SendMessageA
(
ptr
->
hwnd
,
ptr
->
uMsg
,
(
WPARAM
)
Pidls
,
wEventId
);
TRACE
(
"notifying %s, event %s(%
l
x) after
\n
"
,
NodeName
(
ptr
),
DumpEvent
(
TRACE
(
"notifying %s, event %s(%x) after
\n
"
,
NodeName
(
ptr
),
DumpEvent
(
wEventId
),
wEventId
);
}
...
...
@@ -421,7 +421,7 @@ DWORD WINAPI NTSHChangeNotifyRegister(
int
count
,
SHChangeNotifyEntry
*
idlist
)
{
FIXME
(
"(%p,0x%08
lx,0x%08lx,0x%08l
x,0x%08x,%p):semi stub.
\n
"
,
FIXME
(
"(%p,0x%08
x,0x%08x,0x%08
x,0x%08x,%p):semi stub.
\n
"
,
hwnd
,
events1
,
events2
,
msg
,
count
,
idlist
);
return
(
DWORD
)
SHChangeNotifyRegister
(
hwnd
,
events1
,
events2
,
msg
,
count
,
idlist
);
...
...
@@ -440,7 +440,7 @@ HANDLE WINAPI SHChangeNotification_Lock(
LPNOTIFICATIONLIST
node
;
LPCITEMIDLIST
*
idlist
;
TRACE
(
"%p %08
l
x %p %p
\n
"
,
hChange
,
dwProcessId
,
lppidls
,
lpwEventId
);
TRACE
(
"%p %08x %p %p
\n
"
,
hChange
,
dwProcessId
,
lppidls
,
lpwEventId
);
/* EnterCriticalSection(&SHELL32_ChangenotifyCS); */
...
...
@@ -476,7 +476,7 @@ BOOL WINAPI SHChangeNotification_Unlock ( HANDLE hLock)
*/
DWORD
WINAPI
NTSHChangeNotifyDeregister
(
ULONG
x1
)
{
FIXME
(
"(0x%08
l
x):semi stub.
\n
"
,
x1
);
FIXME
(
"(0x%08x):semi stub.
\n
"
,
x1
);
return
SHChangeNotifyDeregister
(
x1
);
}
dlls/shell32/classes.c
View file @
89e1d294
...
...
@@ -479,7 +479,7 @@ BOOL HCR_GetFolderAttributes(LPCITEMIDLIST pidlFolder, LPDWORD pdwAttributes)
}
}
TRACE
(
"-- *pdwAttributes == 0x%08
l
x
\n
"
,
*
pdwAttributes
);
TRACE
(
"-- *pdwAttributes == 0x%08x
\n
"
,
*
pdwAttributes
);
return
TRUE
;
}
dlls/shell32/clipboard.c
View file @
89e1d294
...
...
@@ -239,7 +239,7 @@ HGLOBAL RenderPREFEREDDROPEFFECT (DWORD dwFlags)
DWORD
*
pdwFlag
;
HGLOBAL
hGlobal
;
TRACE
(
"(0x%08
l
x)
\n
"
,
dwFlags
);
TRACE
(
"(0x%08x)
\n
"
,
dwFlags
);
hGlobal
=
GlobalAlloc
(
GHND
|
GMEM_SHARE
,
sizeof
(
DWORD
));
if
(
!
hGlobal
)
return
hGlobal
;
...
...
dlls/shell32/control.c
View file @
89e1d294
...
...
@@ -410,7 +410,7 @@ void WINAPI Control_RunDLLW(HWND hWnd, HINSTANCE hInst, LPCWSTR cmd, DWORD nCmdS
{
CPanel
panel
;
TRACE
(
"(%p, %p, %s, 0x%08
l
x)
\n
"
,
TRACE
(
"(%p, %p, %s, 0x%08x)
\n
"
,
hWnd
,
hInst
,
debugstr_w
(
cmd
),
nCmdShow
);
memset
(
&
panel
,
0
,
sizeof
(
panel
));
...
...
@@ -443,7 +443,7 @@ void WINAPI Control_RunDLLA(HWND hWnd, HINSTANCE hInst, LPCSTR cmd, DWORD nCmdSh
*/
HRESULT
WINAPI
Control_FillCache_RunDLLW
(
HWND
hWnd
,
HANDLE
hModule
,
DWORD
w
,
DWORD
x
)
{
FIXME
(
"%p %p 0x%08
lx 0x%08l
x stub
\n
"
,
hWnd
,
hModule
,
w
,
x
);
FIXME
(
"%p %p 0x%08
x 0x%08
x stub
\n
"
,
hWnd
,
hModule
,
w
,
x
);
return
0
;
}
...
...
@@ -467,7 +467,7 @@ void WINAPI RunDLL_CallEntry16( DWORD proc, HWND hwnd, HINSTANCE inst,
WORD
args
[
5
];
SEGPTR
cmdline_seg
;
TRACE
(
"proc %
l
x hwnd %p inst %p cmdline %s cmdshow %d
\n
"
,
TRACE
(
"proc %x hwnd %p inst %p cmdline %s cmdshow %d
\n
"
,
proc
,
hwnd
,
inst
,
debugstr_a
(
cmdline
),
cmdshow
);
cmdline_seg
=
MapLS
(
cmdline
);
...
...
@@ -489,6 +489,6 @@ void WINAPI RunDLL_CallEntry16( DWORD proc, HWND hwnd, HINSTANCE inst,
*/
DWORD
WINAPI
CallCPLEntry16
(
HMODULE
hMod
,
FARPROC
pFunc
,
DWORD
dw3
,
DWORD
dw4
,
DWORD
dw5
,
DWORD
dw6
)
{
FIXME
(
"(%p, %p, %08
lx, %08lx, %08lx, %08l
x): stub.
\n
"
,
hMod
,
pFunc
,
dw3
,
dw4
,
dw5
,
dw6
);
FIXME
(
"(%p, %p, %08
x, %08x, %08x, %08
x): stub.
\n
"
,
hMod
,
pFunc
,
dw3
,
dw4
,
dw5
,
dw6
);
return
0x0deadbee
;
}
dlls/shell32/cpanelfolder.c
View file @
89e1d294
...
...
@@ -189,7 +189,7 @@ static ULONG WINAPI ISF_ControlPanel_fnAddRef(IShellFolder2 * iface)
ICPanelImpl
*
This
=
(
ICPanelImpl
*
)
iface
;
ULONG
refCount
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(count=%
l
u)
\n
"
,
This
,
refCount
-
1
);
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
refCount
-
1
);
return
refCount
;
}
...
...
@@ -199,7 +199,7 @@ static ULONG WINAPI ISF_ControlPanel_fnRelease(IShellFolder2 * iface)
ICPanelImpl
*
This
=
(
ICPanelImpl
*
)
iface
;
ULONG
refCount
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(count=%
l
u)
\n
"
,
This
,
refCount
+
1
);
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
refCount
+
1
);
if
(
!
refCount
)
{
TRACE
(
"-- destroying IShellFolder(%p)
\n
"
,
This
);
...
...
@@ -230,7 +230,7 @@ ISF_ControlPanel_fnParseDisplayName(IShellFolder2 * iface,
if
(
pchEaten
)
*
pchEaten
=
0
;
TRACE
(
"(%p)->(-- ret=0x%08
l
x)
\n
"
,
This
,
hr
);
TRACE
(
"(%p)->(-- ret=0x%08x)
\n
"
,
This
,
hr
);
return
hr
;
}
...
...
@@ -409,7 +409,7 @@ static BOOL CreateCPanelEnumList(
WIN32_FIND_DATAA
wfd
;
HANDLE
hFile
;
TRACE
(
"(%p)->(flags=0x%08
l
x)
\n
"
,
iface
,
dwFlags
);
TRACE
(
"(%p)->(flags=0x%08x)
\n
"
,
iface
,
dwFlags
);
/* enumerate control panel folders folders */
if
(
dwFlags
&
SHCONTF_FOLDERS
)
...
...
@@ -456,7 +456,7 @@ ISF_ControlPanel_fnEnumObjects(IShellFolder2 * iface, HWND hwndOwner, DWORD dwFl
{
ICPanelImpl
*
This
=
(
ICPanelImpl
*
)
iface
;
TRACE
(
"(%p)->(HWND=%p flags=0x%08
l
x pplist=%p)
\n
"
,
This
,
hwndOwner
,
dwFlags
,
ppEnumIDList
);
TRACE
(
"(%p)->(HWND=%p flags=0x%08x pplist=%p)
\n
"
,
This
,
hwndOwner
,
dwFlags
,
ppEnumIDList
);
*
ppEnumIDList
=
IEnumIDList_Constructor
();
if
(
*
ppEnumIDList
)
...
...
@@ -557,7 +557,7 @@ ISF_ControlPanel_fnGetAttributesOf(IShellFolder2 * iface, UINT cidl, LPCITEMIDLI
HRESULT
hr
=
S_OK
;
TRACE
(
"(%p)->(cidl=%d apidl=%p mask=%p (0x%08
l
x))
\n
"
,
TRACE
(
"(%p)->(cidl=%d apidl=%p mask=%p (0x%08x))
\n
"
,
This
,
cidl
,
apidl
,
rgfInOut
,
rgfInOut
?
*
rgfInOut
:
0
);
if
(
!
rgfInOut
)
...
...
@@ -577,7 +577,7 @@ ISF_ControlPanel_fnGetAttributesOf(IShellFolder2 * iface, UINT cidl, LPCITEMIDLI
/* make sure SFGAO_VALIDATE is cleared, some apps depend on that */
*
rgfInOut
&=
~
SFGAO_VALIDATE
;
TRACE
(
"-- result=0x%08
l
x
\n
"
,
*
rgfInOut
);
TRACE
(
"-- result=0x%08x
\n
"
,
*
rgfInOut
);
return
hr
;
}
...
...
@@ -640,7 +640,7 @@ ISF_ControlPanel_fnGetUIObjectOf(IShellFolder2 * iface,
*
ppvOut
=
pObj
;
}
TRACE
(
"(%p)->hr=0x%08
l
x
\n
"
,
This
,
hr
);
TRACE
(
"(%p)->hr=0x%08x
\n
"
,
This
,
hr
);
return
hr
;
}
...
...
@@ -657,7 +657,7 @@ static HRESULT WINAPI ISF_ControlPanel_fnGetDisplayNameOf(IShellFolder2 * iface,
*
szPath
=
'\0'
;
TRACE
(
"(%p)->(pidl=%p,0x%08
l
x,%p)
\n
"
,
This
,
pidl
,
dwFlags
,
strRet
);
TRACE
(
"(%p)->(pidl=%p,0x%08x,%p)
\n
"
,
This
,
pidl
,
dwFlags
,
strRet
);
pdump
(
pidl
);
if
(
!
pidl
||
!
strRet
)
...
...
@@ -718,7 +718,7 @@ static HRESULT WINAPI ISF_ControlPanel_fnSetNameOf(IShellFolder2 * iface, HWND h
LPCOLESTR
lpName
,
DWORD
dwFlags
,
LPITEMIDLIST
*
pPidlOut
)
{
ICPanelImpl
*
This
=
(
ICPanelImpl
*
)
iface
;
FIXME
(
"(%p)->(%p,pidl=%p,%s,%
l
u,%p)
\n
"
,
This
,
hwndOwner
,
pidl
,
debugstr_w
(
lpName
),
dwFlags
,
pPidlOut
);
FIXME
(
"(%p)->(%p,pidl=%p,%s,%u,%p)
\n
"
,
This
,
hwndOwner
,
pidl
,
debugstr_w
(
lpName
),
dwFlags
,
pPidlOut
);
return
E_FAIL
;
}
...
...
@@ -846,7 +846,7 @@ static ULONG WINAPI ICPanel_PersistFolder2_AddRef(IPersistFolder2 * iface)
{
ICPanelImpl
*
This
=
impl_from_IPersistFolder2
(
iface
);
TRACE
(
"(%p)->(count=%
l
u)
\n
"
,
This
,
This
->
ref
);
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
This
->
ref
);
return
IUnknown_AddRef
(
_IUnknown_
(
This
));
}
...
...
@@ -858,7 +858,7 @@ static ULONG WINAPI ICPanel_PersistFolder2_Release(IPersistFolder2 * iface)
{
ICPanelImpl
*
This
=
impl_from_IPersistFolder2
(
iface
);
TRACE
(
"(%p)->(count=%
l
u)
\n
"
,
This
,
This
->
ref
);
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
This
->
ref
);
return
IUnknown_Release
(
_IUnknown_
(
This
));
}
...
...
@@ -941,7 +941,7 @@ static HRESULT WINAPI IShellExecuteHookW_fnQueryInterface(
{
ICPanelImpl
*
This
=
impl_from_IShellExecuteHookW
(
iface
);
TRACE
(
"(%p)->(count=%
l
u)
\n
"
,
This
,
This
->
ref
);
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
This
->
ref
);
return
IUnknown_QueryInterface
(
This
->
pUnkOuter
,
riid
,
ppvObject
);
}
...
...
@@ -950,7 +950,7 @@ static ULONG STDMETHODCALLTYPE IShellExecuteHookW_fnAddRef(IShellExecuteHookW* i
{
ICPanelImpl
*
This
=
impl_from_IShellExecuteHookW
(
iface
);
TRACE
(
"(%p)->(count=%
l
u)
\n
"
,
This
,
This
->
ref
);
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
This
->
ref
);
return
IUnknown_AddRef
(
This
->
pUnkOuter
);
}
...
...
@@ -1029,7 +1029,7 @@ static HRESULT WINAPI IShellExecuteHookA_fnQueryInterface(IShellExecuteHookA* if
{
ICPanelImpl
*
This
=
impl_from_IShellExecuteHookA
(
iface
);
TRACE
(
"(%p)->(count=%
l
u)
\n
"
,
This
,
This
->
ref
);
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
This
->
ref
);
return
IUnknown_QueryInterface
(
This
->
pUnkOuter
,
riid
,
ppvObject
);
}
...
...
@@ -1038,7 +1038,7 @@ static ULONG STDMETHODCALLTYPE IShellExecuteHookA_fnAddRef(IShellExecuteHookA* i
{
ICPanelImpl
*
This
=
impl_from_IShellExecuteHookA
(
iface
);
TRACE
(
"(%p)->(count=%
l
u)
\n
"
,
This
,
This
->
ref
);
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
This
->
ref
);
return
IUnknown_AddRef
(
This
->
pUnkOuter
);
}
...
...
dlls/shell32/dataobject.c
View file @
89e1d294
...
...
@@ -82,7 +82,7 @@ static ULONG WINAPI IEnumFORMATETC_fnAddRef(LPENUMFORMATETC iface)
IEnumFORMATETCImpl
*
This
=
(
IEnumFORMATETCImpl
*
)
iface
;
ULONG
refCount
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(count=%
l
u)
\n
"
,
This
,
refCount
-
1
);
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
refCount
-
1
);
return
refCount
;
}
...
...
@@ -92,7 +92,7 @@ static ULONG WINAPI IEnumFORMATETC_fnRelease(LPENUMFORMATETC iface)
IEnumFORMATETCImpl
*
This
=
(
IEnumFORMATETCImpl
*
)
iface
;
ULONG
refCount
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(%
l
u)
\n
"
,
This
,
refCount
+
1
);
TRACE
(
"(%p)->(%u)
\n
"
,
This
,
refCount
+
1
);
if
(
!
refCount
)
{
...
...
@@ -109,7 +109,7 @@ static HRESULT WINAPI IEnumFORMATETC_fnNext(LPENUMFORMATETC iface, ULONG celt, F
IEnumFORMATETCImpl
*
This
=
(
IEnumFORMATETCImpl
*
)
iface
;
UINT
i
;
TRACE
(
"(%p)->(%
l
u,%p)
\n
"
,
This
,
celt
,
rgelt
);
TRACE
(
"(%p)->(%u,%p)
\n
"
,
This
,
celt
,
rgelt
);
if
(
!
This
->
pFmt
)
return
S_FALSE
;
if
(
!
rgelt
)
return
E_INVALIDARG
;
...
...
@@ -128,7 +128,7 @@ static HRESULT WINAPI IEnumFORMATETC_fnNext(LPENUMFORMATETC iface, ULONG celt, F
static
HRESULT
WINAPI
IEnumFORMATETC_fnSkip
(
LPENUMFORMATETC
iface
,
ULONG
celt
)
{
IEnumFORMATETCImpl
*
This
=
(
IEnumFORMATETCImpl
*
)
iface
;
TRACE
(
"(%p)->(num=%
l
u)
\n
"
,
This
,
celt
);
TRACE
(
"(%p)->(num=%u)
\n
"
,
This
,
celt
);
if
((
This
->
posFmt
+
celt
)
>=
This
->
countFmt
)
return
S_FALSE
;
This
->
posFmt
+=
celt
;
...
...
@@ -253,7 +253,7 @@ static ULONG WINAPI IDataObject_fnAddRef(LPDATAOBJECT iface)
IDataObjectImpl
*
This
=
(
IDataObjectImpl
*
)
iface
;
ULONG
refCount
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(count=%
l
u)
\n
"
,
This
,
refCount
-
1
);
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
refCount
-
1
);
return
refCount
;
}
...
...
@@ -266,7 +266,7 @@ static ULONG WINAPI IDataObject_fnRelease(LPDATAOBJECT iface)
IDataObjectImpl
*
This
=
(
IDataObjectImpl
*
)
iface
;
ULONG
refCount
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(%
l
u)
\n
"
,
This
,
refCount
+
1
);
TRACE
(
"(%p)->(%u)
\n
"
,
This
,
refCount
+
1
);
if
(
!
refCount
)
{
...
...
@@ -337,7 +337,7 @@ static HRESULT WINAPI IDataObject_fnQueryGetData(LPDATAOBJECT iface, LPFORMATETC
IDataObjectImpl
*
This
=
(
IDataObjectImpl
*
)
iface
;
UINT
i
;
TRACE
(
"(%p)->(fmt=0x%08x tym=0x%08
l
x)
\n
"
,
This
,
pformatetc
->
cfFormat
,
pformatetc
->
tymed
);
TRACE
(
"(%p)->(fmt=0x%08x tym=0x%08x)
\n
"
,
This
,
pformatetc
->
cfFormat
,
pformatetc
->
tymed
);
if
(
!
(
DVASPECT_CONTENT
&
pformatetc
->
dwAspect
))
return
DV_E_DVASPECT
;
...
...
dlls/shell32/debughlp.c
View file @
89e1d294
...
...
@@ -205,7 +205,7 @@ void pdump (LPCITEMIDLIST pidl)
if
(
pData
&&
(
PT_FOLDER
==
type
||
PT_VALUE
==
type
)
)
dwAttrib
=
pData
->
u
.
file
.
uFileAttribs
;
MESSAGE
(
"[%p] size=%04u type=%
lx attr=0x%08l
x name=%s (%s,%s)
\n
"
,
MESSAGE
(
"[%p] size=%04u type=%
x attr=0x%08
x name=%s (%s,%s)
\n
"
,
pidltemp
,
pidltemp
->
mkid
.
cb
,
type
,
dwAttrib
,
debugstr_a
(
szName
),
debugstr_a
(
szLongName
),
debugstr_a
(
szShortName
));
...
...
@@ -276,7 +276,7 @@ BOOL pcheck( LPCITEMIDLIST pidl )
case
PT_SHARE
:
break
;
default:
ERR
(
"unknown IDLIST %p [%p] size=%u type=%
l
x
\n
"
,
ERR
(
"unknown IDLIST %p [%p] size=%u type=%x
\n
"
,
pidl
,
pidltemp
,
pidltemp
->
mkid
.
cb
,
type
);
dump_pidl_hex
(
pidltemp
);
return
FALSE
;
...
...
dlls/shell32/dialogs.c
View file @
89e1d294
...
...
@@ -66,7 +66,7 @@ BOOL WINAPI PickIconDlg(
DWORD
nMaxFile
,
LPDWORD
lpdwIconIndex
)
{
FIXME
(
"(%p,%s,%08
l
x,%p):stub.
\n
"
,
FIXME
(
"(%p,%s,%08x,%p):stub.
\n
"
,
hwndOwner
,
lpstrFile
,
nMaxFile
,
lpdwIconIndex
);
return
0xffffffff
;
}
...
...
dlls/shell32/dragdrophelper.c
View file @
89e1d294
...
...
@@ -115,7 +115,7 @@ static ULONG WINAPI IDropTargetHelper_fnAddRef (IDropTargetHelper * iface)
IDropTargetHelperImpl
*
This
=
(
IDropTargetHelperImpl
*
)
iface
;
ULONG
refCount
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(count=%
l
u)
\n
"
,
This
,
refCount
-
1
);
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
refCount
-
1
);
return
refCount
;
}
...
...
@@ -125,7 +125,7 @@ static ULONG WINAPI IDropTargetHelper_fnRelease (IDropTargetHelper * iface)
IDropTargetHelperImpl
*
This
=
(
IDropTargetHelperImpl
*
)
iface
;
ULONG
refCount
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(count=%
l
u)
\n
"
,
This
,
refCount
+
1
);
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
refCount
+
1
);
if
(
!
refCount
)
{
TRACE
(
"-- destroying (%p)
\n
"
,
This
);
...
...
@@ -143,7 +143,7 @@ static HRESULT WINAPI IDropTargetHelper_fnDragEnter (
DWORD
dwEffect
)
{
IDropTargetHelperImpl
*
This
=
(
IDropTargetHelperImpl
*
)
iface
;
FIXME
(
"(%p)->(%p %p %p 0x%08
l
x)
\n
"
,
This
,
hwndTarget
,
pDataObject
,
ppt
,
dwEffect
);
FIXME
(
"(%p)->(%p %p %p 0x%08x)
\n
"
,
This
,
hwndTarget
,
pDataObject
,
ppt
,
dwEffect
);
return
E_NOTIMPL
;
}
...
...
@@ -157,14 +157,14 @@ static HRESULT WINAPI IDropTargetHelper_fnDragLeave (IDropTargetHelper * iface)
static
HRESULT
WINAPI
IDropTargetHelper_fnDragOver
(
IDropTargetHelper
*
iface
,
POINT
*
ppt
,
DWORD
dwEffect
)
{
IDropTargetHelperImpl
*
This
=
(
IDropTargetHelperImpl
*
)
iface
;
FIXME
(
"(%p)->(%p 0x%08
l
x)
\n
"
,
This
,
ppt
,
dwEffect
);
FIXME
(
"(%p)->(%p 0x%08x)
\n
"
,
This
,
ppt
,
dwEffect
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
IDropTargetHelper_fnDrop
(
IDropTargetHelper
*
iface
,
IDataObject
*
pDataObject
,
POINT
*
ppt
,
DWORD
dwEffect
)
{
IDropTargetHelperImpl
*
This
=
(
IDropTargetHelperImpl
*
)
iface
;
FIXME
(
"(%p)->(%p %p 0x%08
l
x)
\n
"
,
This
,
pDataObject
,
ppt
,
dwEffect
);
FIXME
(
"(%p)->(%p %p 0x%08x)
\n
"
,
This
,
pDataObject
,
ppt
,
dwEffect
);
return
E_NOTIMPL
;
}
...
...
dlls/shell32/enumidlist.c
View file @
89e1d294
...
...
@@ -116,7 +116,7 @@ BOOL CreateFolderEnumList(
static
const
WCHAR
dot
[]
=
{
'.'
,
0
};
static
const
WCHAR
dotdot
[]
=
{
'.'
,
'.'
,
0
};
TRACE
(
"(%p)->(path=%s flags=0x%08
l
x)
\n
"
,
list
,
debugstr_w
(
lpszPath
),
dwFlags
);
TRACE
(
"(%p)->(path=%s flags=0x%08x)
\n
"
,
list
,
debugstr_w
(
lpszPath
),
dwFlags
);
if
(
!
lpszPath
||
!
lpszPath
[
0
])
return
FALSE
;
...
...
@@ -246,7 +246,7 @@ static ULONG WINAPI IEnumIDList_fnAddRef(
IEnumIDListImpl
*
This
=
(
IEnumIDListImpl
*
)
iface
;
ULONG
refCount
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(%
l
u)
\n
"
,
This
,
refCount
-
1
);
TRACE
(
"(%p)->(%u)
\n
"
,
This
,
refCount
-
1
);
return
refCount
;
}
...
...
@@ -259,7 +259,7 @@ static ULONG WINAPI IEnumIDList_fnRelease(
IEnumIDListImpl
*
This
=
(
IEnumIDListImpl
*
)
iface
;
ULONG
refCount
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(%
l
u)
\n
"
,
This
,
refCount
+
1
);
TRACE
(
"(%p)->(%u)
\n
"
,
This
,
refCount
+
1
);
if
(
!
refCount
)
{
TRACE
(
" destroying IEnumIDList(%p)
\n
"
,
This
);
...
...
@@ -285,7 +285,7 @@ static HRESULT WINAPI IEnumIDList_fnNext(
HRESULT
hr
=
S_OK
;
LPITEMIDLIST
temp
;
TRACE
(
"(%p)->(%
l
d,%p, %p)
\n
"
,
This
,
celt
,
rgelt
,
pceltFetched
);
TRACE
(
"(%p)->(%d,%p, %p)
\n
"
,
This
,
celt
,
rgelt
,
pceltFetched
);
/* It is valid to leave pceltFetched NULL when celt is 1. Some of explorer's
* subsystems actually use it (and so may a third party browser)
...
...
@@ -329,7 +329,7 @@ static HRESULT WINAPI IEnumIDList_fnSkip(
DWORD
dwIndex
;
HRESULT
hr
=
S_OK
;
TRACE
(
"(%p)->(%
l
u)
\n
"
,
This
,
celt
);
TRACE
(
"(%p)->(%u)
\n
"
,
This
,
celt
);
for
(
dwIndex
=
0
;
dwIndex
<
celt
;
dwIndex
++
)
{
if
(
!
This
->
mpCurrent
)
...
...
dlls/shell32/folders.c
View file @
89e1d294
...
...
@@ -138,7 +138,7 @@ static ULONG WINAPI IExtractIconW_fnAddRef(IExtractIconW * iface)
IExtractIconWImpl
*
This
=
(
IExtractIconWImpl
*
)
iface
;
ULONG
refCount
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(count=%
l
u)
\n
"
,
This
,
refCount
-
1
);
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
refCount
-
1
);
return
refCount
;
}
...
...
@@ -150,7 +150,7 @@ static ULONG WINAPI IExtractIconW_fnRelease(IExtractIconW * iface)
IExtractIconWImpl
*
This
=
(
IExtractIconWImpl
*
)
iface
;
ULONG
refCount
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(count=%
l
u)
\n
"
,
This
,
refCount
+
1
);
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
refCount
+
1
);
if
(
!
refCount
)
{
...
...
dlls/shell32/pidl.c
View file @
89e1d294
...
...
@@ -78,7 +78,7 @@ BOOL WINAPI ILGetDisplayNameExA(LPSHELLFOLDER psf, LPCITEMIDLIST pidl, LPSTR pat
BOOL
ret
=
FALSE
;
WCHAR
wPath
[
MAX_PATH
];
TRACE
(
"%p %p %p %
l
d
\n
"
,
psf
,
pidl
,
path
,
type
);
TRACE
(
"%p %p %p %d
\n
"
,
psf
,
pidl
,
path
,
type
);
if
(
!
pidl
||
!
path
)
return
FALSE
;
...
...
@@ -98,7 +98,7 @@ BOOL WINAPI ILGetDisplayNameExW(LPSHELLFOLDER psf, LPCITEMIDLIST pidl, LPWSTR pa
STRRET
strret
;
DWORD
flag
;
TRACE
(
"%p %p %p %
l
d
\n
"
,
psf
,
pidl
,
path
,
type
);
TRACE
(
"%p %p %p %d
\n
"
,
psf
,
pidl
,
path
,
type
);
if
(
!
pidl
||
!
path
)
return
FALSE
;
...
...
@@ -124,7 +124,7 @@ BOOL WINAPI ILGetDisplayNameExW(LPSHELLFOLDER psf, LPCITEMIDLIST pidl, LPWSTR pa
flag
=
SHGDN_INFOLDER
;
break
;
default:
FIXME
(
"Unknown type parameter = %
l
x
\n
"
,
type
);
FIXME
(
"Unknown type parameter = %x
\n
"
,
type
);
flag
=
SHGDN_FORPARSING
|
SHGDN_FORADDRESSBAR
;
break
;
}
...
...
@@ -162,7 +162,7 @@ BOOL WINAPI ILGetDisplayNameExW(LPSHELLFOLDER psf, LPCITEMIDLIST pidl, LPWSTR pa
BOOL
WINAPI
ILGetDisplayNameEx
(
LPSHELLFOLDER
psf
,
LPCITEMIDLIST
pidl
,
LPVOID
path
,
DWORD
type
)
{
TRACE_
(
shell
)(
"%p %p %p %
l
d
\n
"
,
psf
,
pidl
,
path
,
type
);
TRACE_
(
shell
)(
"%p %p %p %d
\n
"
,
psf
,
pidl
,
path
,
type
);
if
(
SHELL_OsIsUnicode
())
return
ILGetDisplayNameExW
(
psf
,
pidl
,
path
,
type
);
...
...
@@ -388,7 +388,7 @@ HRESULT WINAPI SHILCreateFromPathA(LPCSTR path, LPITEMIDLIST * ppidl, DWORD * at
{
WCHAR
lpszDisplayName
[
MAX_PATH
];
TRACE_
(
shell
)(
"%s %p 0x%08
l
x
\n
"
,
path
,
ppidl
,
attributes
?
*
attributes
:
0
);
TRACE_
(
shell
)(
"%s %p 0x%08x
\n
"
,
path
,
ppidl
,
attributes
?
*
attributes
:
0
);
if
(
!
MultiByteToWideChar
(
CP_ACP
,
0
,
path
,
-
1
,
lpszDisplayName
,
MAX_PATH
))
lpszDisplayName
[
MAX_PATH
-
1
]
=
0
;
...
...
@@ -402,7 +402,7 @@ HRESULT WINAPI SHILCreateFromPathW(LPCWSTR path, LPITEMIDLIST * ppidl, DWORD * a
DWORD
pchEaten
;
HRESULT
ret
=
E_FAIL
;
TRACE_
(
shell
)(
"%s %p 0x%08
l
x
\n
"
,
debugstr_w
(
path
),
ppidl
,
attributes
?
*
attributes
:
0
);
TRACE_
(
shell
)(
"%s %p 0x%08x
\n
"
,
debugstr_w
(
path
),
ppidl
,
attributes
?
*
attributes
:
0
);
if
(
SUCCEEDED
(
SHGetDesktopFolder
(
&
sf
)))
{
...
...
@@ -441,7 +441,7 @@ HRESULT WINAPI SHILCreateFromPathAW (LPCVOID path, LPITEMIDLIST * ppidl, DWORD *
LPITEMIDLIST
WINAPI
SHCloneSpecialIDList
(
HWND
hwndOwner
,
DWORD
nFolder
,
BOOL
fCreate
)
{
LPITEMIDLIST
ppidl
;
TRACE_
(
shell
)(
"(hwnd=%p,csidl=0x%
l
x,%s).
\n
"
,
hwndOwner
,
nFolder
,
fCreate
?
"T"
:
"F"
);
TRACE_
(
shell
)(
"(hwnd=%p,csidl=0x%x,%s).
\n
"
,
hwndOwner
,
nFolder
,
fCreate
?
"T"
:
"F"
);
if
(
fCreate
)
nFolder
|=
CSIDL_FLAG_CREATE
;
...
...
@@ -1002,7 +1002,7 @@ static HRESULT WINAPI _ILParsePathW(LPCWSTR path, LPWIN32_FIND_DATAW lpFindFile,
LPBC
pBC
=
NULL
;
HRESULT
ret
;
TRACE
(
"%s %p %d (%p)->%p (%p)->0x%
l
x
\n
"
,
debugstr_w
(
path
),
lpFindFile
,
bBindCtx
,
TRACE
(
"%s %p %d (%p)->%p (%p)->0x%x
\n
"
,
debugstr_w
(
path
),
lpFindFile
,
bBindCtx
,
ppidl
,
ppidl
?
*
ppidl
:
NULL
,
prgfInOut
,
prgfInOut
?
*
prgfInOut
:
0
);
...
...
@@ -1029,7 +1029,7 @@ static HRESULT WINAPI _ILParsePathW(LPCWSTR path, LPWIN32_FIND_DATAW lpFindFile,
if
(
!
SUCCEEDED
(
ret
)
&&
ppidl
)
*
ppidl
=
NULL
;
TRACE
(
"%s %p 0x%
l
x
\n
"
,
debugstr_w
(
path
),
ppidl
?
*
ppidl
:
NULL
,
prgfInOut
?
*
prgfInOut
:
0
);
TRACE
(
"%s %p 0x%x
\n
"
,
debugstr_w
(
path
),
ppidl
?
*
ppidl
:
NULL
,
prgfInOut
?
*
prgfInOut
:
0
);
return
ret
;
}
...
...
@@ -1276,7 +1276,7 @@ BOOL WINAPI SHGetPathFromIDListW(LPCITEMIDLIST pidl, LPWSTR pszPath)
hr
=
StrRetToBufW
(
&
strret
,
pidlLast
,
pszPath
,
MAX_PATH
);
TRACE_
(
shell
)(
"-- %s, 0x%08
l
x
\n
"
,
debugstr_w
(
pszPath
),
hr
);
TRACE_
(
shell
)(
"-- %s, 0x%08x
\n
"
,
debugstr_w
(
pszPath
),
hr
);
return
SUCCEEDED
(
hr
);
}
...
...
@@ -1320,7 +1320,7 @@ HRESULT WINAPI SHBindToParent(LPCITEMIDLIST pidl, REFIID riid, LPVOID *ppv, LPCI
if
(
SUCCEEDED
(
hr
)
&&
ppidlLast
)
*
ppidlLast
=
ILFindLastID
(
pidl
);
TRACE_
(
shell
)(
"-- psf=%p pidl=%p ret=0x%08
l
x
\n
"
,
*
ppv
,
(
ppidlLast
)
?*
ppidlLast
:
NULL
,
hr
);
TRACE_
(
shell
)(
"-- psf=%p pidl=%p ret=0x%08x
\n
"
,
*
ppv
,
(
ppidlLast
)
?*
ppidlLast
:
NULL
,
hr
);
return
hr
;
}
...
...
@@ -1801,7 +1801,7 @@ DWORD _ILSimpleGetText (LPCITEMIDLIST pidl, LPSTR szOut, UINT uOutSize)
ERR
(
"-- no text
\n
"
);
}
TRACE
(
"-- (%p=%s 0x%08
l
x)
\n
"
,
szOut
,
debugstr_a
(
szOut
),
dwReturn
);
TRACE
(
"-- (%p=%s 0x%08x)
\n
"
,
szOut
,
debugstr_a
(
szOut
),
dwReturn
);
return
dwReturn
;
}
...
...
@@ -1830,7 +1830,7 @@ DWORD _ILSimpleGetTextW (LPCITEMIDLIST pidl, LPWSTR szOut, UINT uOutSize)
*
szOut
=
0
;
}
TRACE
(
"-- (%p=%s 0x%08
l
x)
\n
"
,
szOut
,
debugstr_w
(
szOut
),
dwReturn
);
TRACE
(
"-- (%p=%s 0x%08x)
\n
"
,
szOut
,
debugstr_w
(
szOut
),
dwReturn
);
return
dwReturn
;
}
...
...
dlls/shell32/shell32_main.c
View file @
89e1d294
...
...
@@ -348,7 +348,7 @@ DWORD_PTR WINAPI SHGetFileInfoW(LPCWSTR path,DWORD dwFileAttributes,
BOOL
IconNotYetLoaded
=
TRUE
;
UINT
uGilFlags
=
0
;
TRACE
(
"%s fattr=0x%
lx sfi=%p(attr=0x%08l
x) size=0x%x flags=0x%x
\n
"
,
TRACE
(
"%s fattr=0x%
x sfi=%p(attr=0x%08
x) size=0x%x flags=0x%x
\n
"
,
(
flags
&
SHGFI_PIDL
)
?
"pidl"
:
debugstr_w
(
path
),
dwFileAttributes
,
psfi
,
psfi
->
dwAttributes
,
sizeofpsfi
,
flags
);
...
...
@@ -617,7 +617,7 @@ DWORD_PTR WINAPI SHGetFileInfoW(LPCWSTR path,DWORD dwFileAttributes,
SHFree
(
pidlLast
);
#ifdef MORE_DEBUG
TRACE
(
"icon=%p index=0x%08x attr=0x%08
l
x name=%s type=%s ret=0x%08lx
\n
"
,
TRACE
(
"icon=%p index=0x%08x attr=0x%08x name=%s type=%s ret=0x%08lx
\n
"
,
psfi
->
hIcon
,
psfi
->
iIcon
,
psfi
->
dwAttributes
,
debugstr_w
(
psfi
->
szDisplayName
),
debugstr_w
(
psfi
->
szTypeName
),
ret
);
#endif
...
...
@@ -793,7 +793,7 @@ VOID WINAPI Printer_LoadIconsW(LPCWSTR wsPrinterName, HICON * pLargeIcon, HICON
BOOL
WINAPI
Printers_RegisterWindowW
(
LPCWSTR
wsPrinter
,
DWORD
dwType
,
HANDLE
*
phClassPidl
,
HWND
*
phwnd
)
{
FIXME
(
"(%s, %
l
x, %p (%p), %p (%p)) stub!
\n
"
,
debugstr_w
(
wsPrinter
),
dwType
,
FIXME
(
"(%s, %x, %p (%p), %p (%p)) stub!
\n
"
,
debugstr_w
(
wsPrinter
),
dwType
,
phClassPidl
,
(
phClassPidl
!=
NULL
)
?
*
(
phClassPidl
)
:
NULL
,
phwnd
,
(
phwnd
!=
NULL
)
?
*
(
phwnd
)
:
NULL
);
...
...
@@ -896,7 +896,7 @@ UINT WINAPI SHAppBarMessage(DWORD msg, PAPPBARDATA data)
*/
DWORD
WINAPI
SHHelpShortcuts_RunDLLA
(
DWORD
dwArg1
,
DWORD
dwArg2
,
DWORD
dwArg3
,
DWORD
dwArg4
)
{
FIXME
(
"(%
lx, %lx, %lx, %l
x) stub!
\n
"
,
dwArg1
,
dwArg2
,
dwArg3
,
dwArg4
);
FIXME
(
"(%
x, %x, %x, %
x) stub!
\n
"
,
dwArg1
,
dwArg2
,
dwArg3
,
dwArg4
);
return
0
;
}
...
...
@@ -906,7 +906,7 @@ DWORD WINAPI SHHelpShortcuts_RunDLLA(DWORD dwArg1, DWORD dwArg2, DWORD dwArg3, D
*/
DWORD
WINAPI
SHHelpShortcuts_RunDLLW
(
DWORD
dwArg1
,
DWORD
dwArg2
,
DWORD
dwArg3
,
DWORD
dwArg4
)
{
FIXME
(
"(%
lx, %lx, %lx, %l
x) stub!
\n
"
,
dwArg1
,
dwArg2
,
dwArg3
,
dwArg4
);
FIXME
(
"(%
x, %x, %x, %
x) stub!
\n
"
,
dwArg1
,
dwArg2
,
dwArg3
,
dwArg4
);
return
0
;
}
...
...
@@ -1073,7 +1073,7 @@ BOOL WINAPI ShellAboutW( HWND hWnd, LPCWSTR szApp, LPCWSTR szOtherStuff,
*/
void
WINAPI
FreeIconList
(
DWORD
dw
)
{
FIXME
(
"%
l
x: stub
\n
"
,
dw
);
FIXME
(
"%x: stub
\n
"
,
dw
);
}
...
...
@@ -1113,7 +1113,7 @@ HRESULT WINAPI DllGetVersion (DLLVERSIONINFO *pdvi)
WINE_FILEVERSION_BUILD
,
WINE_FILEVERSION_PLATFORMID
);
}
TRACE
(
"%
lu.%lu.%lu.%l
u
\n
"
,
TRACE
(
"%
u.%u.%u.%
u
\n
"
,
pdvi
->
dwMajorVersion
,
pdvi
->
dwMinorVersion
,
pdvi
->
dwBuildNumber
,
pdvi
->
dwPlatformID
);
return
S_OK
;
...
...
@@ -1143,7 +1143,7 @@ HIMAGELIST ShellBigIconList = 0;
*/
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
fImpLoad
)
{
TRACE
(
"%p 0x%
l
x %p
\n
"
,
hinstDLL
,
fdwReason
,
fImpLoad
);
TRACE
(
"%p 0x%x %p
\n
"
,
hinstDLL
,
fdwReason
,
fImpLoad
);
switch
(
fdwReason
)
{
...
...
dlls/shell32/shelllink.c
View file @
89e1d294
...
...
@@ -280,7 +280,7 @@ static ULONG ShellLink_AddRef( IShellLinkImpl *This )
{
ULONG
refCount
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(count=%
l
u)
\n
"
,
This
,
refCount
-
1
);
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
refCount
-
1
);
return
refCount
;
}
...
...
@@ -292,7 +292,7 @@ static ULONG ShellLink_Release( IShellLinkImpl *This )
{
ULONG
refCount
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(count=%
l
u)
\n
"
,
This
,
refCount
+
1
);
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
refCount
+
1
);
if
(
refCount
)
return
refCount
;
...
...
@@ -379,7 +379,7 @@ static HRESULT WINAPI IPersistFile_fnLoad(IPersistFile* iface, LPCOLESTR pszFile
HRESULT
r
;
IStream
*
stm
;
TRACE
(
"(%p, %s, %
l
x)
\n
"
,
This
,
debugstr_w
(
pszFileName
),
dwMode
);
TRACE
(
"(%p, %s, %x)
\n
"
,
This
,
debugstr_w
(
pszFileName
),
dwMode
);
if
(
dwMode
==
0
)
dwMode
=
STGM_READ
|
STGM_SHARE_DENY_WRITE
;
...
...
@@ -391,7 +391,7 @@ static HRESULT WINAPI IPersistFile_fnLoad(IPersistFile* iface, LPCOLESTR pszFile
IStream_Release
(
stm
);
This
->
bDirty
=
FALSE
;
}
TRACE
(
"-- returning hr %08
l
x
\n
"
,
r
);
TRACE
(
"-- returning hr %08x
\n
"
,
r
);
return
r
;
}
...
...
@@ -628,7 +628,7 @@ static HRESULT Stream_ReadChunk( IStream* stm, LPVOID *data )
return
E_FAIL
;
}
TRACE
(
"Read %
l
d bytes
\n
"
,
chunk
->
size
);
TRACE
(
"Read %d bytes
\n
"
,
chunk
->
size
);
*
data
=
(
LPVOID
)
chunk
;
...
...
@@ -707,7 +707,7 @@ static HRESULT Stream_LoadLocation( IStream *stm,
if
(
n
&&
(
n
<
loc
->
dwTotalSize
)
)
*
path
=
Stream_LoadPath
(
&
p
[
n
],
loc
->
dwTotalSize
-
n
);
TRACE
(
"type %
ld serial %08l
x name %s path %s
\n
"
,
volume
->
type
,
TRACE
(
"type %
d serial %08
x name %s path %s
\n
"
,
volume
->
type
,
volume
->
serial
,
debugstr_w
(
volume
->
label
),
debugstr_w
(
*
path
));
HeapFree
(
GetProcessHeap
(),
0
,
p
);
...
...
@@ -756,11 +756,11 @@ static HRESULT Stream_LoadAdvertiseInfo( IStream* stm, LPWSTR *str )
if
(
count
!=
size
)
return
E_FAIL
;
TRACE
(
"magic %08
l
x string = %s
\n
"
,
buffer
.
dbh
.
dwSignature
,
debugstr_w
(
buffer
.
szwDarwinID
));
TRACE
(
"magic %08x string = %s
\n
"
,
buffer
.
dbh
.
dwSignature
,
debugstr_w
(
buffer
.
szwDarwinID
));
if
(
(
buffer
.
dbh
.
dwSignature
&
0xffff0000
)
!=
0xa0000000
)
{
ERR
(
"Unknown magic number %08
l
x in advertised shortcut
\n
"
,
buffer
.
dbh
.
dwSignature
);
ERR
(
"Unknown magic number %08x in advertised shortcut
\n
"
,
buffer
.
dbh
.
dwSignature
);
return
E_FAIL
;
}
...
...
@@ -1351,7 +1351,7 @@ static HRESULT WINAPI IShellLinkA_fnGetPath(IShellLinkA * iface, LPSTR pszFile,
{
IShellLinkImpl
*
This
=
(
IShellLinkImpl
*
)
iface
;
TRACE
(
"(%p)->(pfile=%p len=%u find_data=%p flags=%
l
u)(%s)
\n
"
,
TRACE
(
"(%p)->(pfile=%p len=%u find_data=%p flags=%u)(%s)
\n
"
,
This
,
pszFile
,
cchMaxPath
,
pfd
,
fFlags
,
debugstr_w
(
This
->
sPath
));
if
(
This
->
sComponent
||
This
->
sProduct
)
...
...
@@ -1623,7 +1623,7 @@ static HRESULT WINAPI IShellLinkA_fnSetRelativePath(IShellLinkA * iface, LPCSTR
{
IShellLinkImpl
*
This
=
(
IShellLinkImpl
*
)
iface
;
TRACE
(
"(%p)->(path=%s %
l
x)
\n
"
,
This
,
pszPathRel
,
dwReserved
);
TRACE
(
"(%p)->(path=%s %x)
\n
"
,
This
,
pszPathRel
,
dwReserved
);
HeapFree
(
GetProcessHeap
(),
0
,
This
->
sPathRel
);
This
->
sPathRel
=
HEAP_strdupAtoW
(
GetProcessHeap
(),
0
,
pszPathRel
);
...
...
@@ -1636,7 +1636,7 @@ static HRESULT WINAPI IShellLinkA_fnResolve(IShellLinkA * iface, HWND hwnd, DWOR
{
IShellLinkImpl
*
This
=
(
IShellLinkImpl
*
)
iface
;
TRACE
(
"(%p)->(hwnd=%p flags=%
l
x)
\n
"
,
This
,
hwnd
,
fFlags
);
TRACE
(
"(%p)->(hwnd=%p flags=%x)
\n
"
,
This
,
hwnd
,
fFlags
);
return
IShellLinkW_Resolve
(
(
IShellLinkW
*
)
&
(
This
->
lpvtblw
),
hwnd
,
fFlags
);
}
...
...
@@ -1721,7 +1721,7 @@ static HRESULT WINAPI IShellLinkW_fnGetPath(IShellLinkW * iface, LPWSTR pszFile,
{
IShellLinkImpl
*
This
=
impl_from_IShellLinkW
(
iface
);
TRACE
(
"(%p)->(pfile=%p len=%u find_data=%p flags=%
l
u)(%s)
\n
"
,
TRACE
(
"(%p)->(pfile=%p len=%u find_data=%p flags=%u)(%s)
\n
"
,
This
,
pszFile
,
cchMaxPath
,
pfd
,
fFlags
,
debugstr_w
(
This
->
sPath
));
if
(
This
->
sComponent
||
This
->
sProduct
)
...
...
@@ -2000,7 +2000,7 @@ static HRESULT WINAPI IShellLinkW_fnSetRelativePath(IShellLinkW * iface, LPCWSTR
{
IShellLinkImpl
*
This
=
impl_from_IShellLinkW
(
iface
);
TRACE
(
"(%p)->(path=%s %
l
x)
\n
"
,
This
,
debugstr_w
(
pszPathRel
),
dwReserved
);
TRACE
(
"(%p)->(path=%s %x)
\n
"
,
This
,
debugstr_w
(
pszPathRel
),
dwReserved
);
HeapFree
(
GetProcessHeap
(),
0
,
This
->
sPathRel
);
This
->
sPathRel
=
HeapAlloc
(
GetProcessHeap
(),
0
,
...
...
@@ -2020,7 +2020,7 @@ static HRESULT WINAPI IShellLinkW_fnResolve(IShellLinkW * iface, HWND hwnd, DWOR
IShellLinkImpl
*
This
=
impl_from_IShellLinkW
(
iface
);
TRACE
(
"(%p)->(hwnd=%p flags=%
l
x)
\n
"
,
This
,
hwnd
,
fFlags
);
TRACE
(
"(%p)->(hwnd=%p flags=%x)
\n
"
,
This
,
hwnd
,
fFlags
);
/*FIXME: use IResolveShellLink interface */
...
...
@@ -2147,7 +2147,7 @@ static BOOL ShellLink_GetVolumeInfo(LPWSTR path, volume_info *volume)
volume
->
type
=
GetDriveTypeW
(
drive
);
r
=
GetVolumeInformationW
(
drive
,
volume
->
label
,
label_sz
,
&
volume
->
serial
,
NULL
,
NULL
,
NULL
,
0
);
TRACE
(
"r = %d type %
ld serial %08l
x name %s
\n
"
,
r
,
TRACE
(
"r = %d type %
d serial %08
x name %s
\n
"
,
r
,
volume
->
type
,
volume
->
serial
,
debugstr_w
(
volume
->
label
));
return
r
;
}
...
...
@@ -2274,7 +2274,7 @@ ShellLink_CopyDataBlock( IShellLinkDataList* iface, DWORD dwSig, void** ppDataBl
LPVOID
block
=
NULL
;
HRESULT
r
=
E_FAIL
;
TRACE
(
"%p %08
l
x %p
\n
"
,
iface
,
dwSig
,
ppDataBlock
);
TRACE
(
"%p %08x %p
\n
"
,
iface
,
dwSig
,
ppDataBlock
);
switch
(
dwSig
)
{
...
...
@@ -2289,10 +2289,10 @@ ShellLink_CopyDataBlock( IShellLinkDataList* iface, DWORD dwSig, void** ppDataBl
case
NT_FE_CONSOLE_PROPS_SIG
:
case
EXP_SPECIAL_FOLDER_SIG
:
case
EXP_SZ_ICON_SIG
:
FIXME
(
"valid but unhandled datablock %08
l
x
\n
"
,
dwSig
);
FIXME
(
"valid but unhandled datablock %08x
\n
"
,
dwSig
);
break
;
default:
ERR
(
"unknown datablock %08
l
x
\n
"
,
dwSig
);
ERR
(
"unknown datablock %08x
\n
"
,
dwSig
);
}
*
ppDataBlock
=
block
;
return
r
;
...
...
dlls/shell32/shellole.c
View file @
89e1d294
...
...
@@ -195,7 +195,7 @@ HRESULT WINAPI SHCoCreateInstance(
hres
=
E_ACCESSDENIED
;
goto
end
;
}
else
if
(
!
SUCCEEDED
(
hres
=
DllGetClassObject
(
myclsid
,
&
IID_IClassFactory
,
(
LPVOID
*
)
&
pcf
)))
{
TRACE
(
"GetClassObject failed 0x%08
l
x
\n
"
,
hres
);
TRACE
(
"GetClassObject failed 0x%08x
\n
"
,
hres
);
goto
end
;
}
...
...
@@ -214,7 +214,7 @@ HRESULT WINAPI SHCoCreateInstance(
end:
if
(
hres
!=
S_OK
)
{
ERR
(
"failed (0x%08
l
x) to create CLSID:%s IID:%s
\n
"
,
ERR
(
"failed (0x%08x) to create CLSID:%s IID:%s
\n
"
,
hres
,
shdebugstr_guid
(
myclsid
),
shdebugstr_guid
(
refiid
));
ERR
(
"class not found in registry
\n
"
);
}
...
...
@@ -333,7 +333,7 @@ LPVOID WINAPI SHAlloc(DWORD len)
LPVOID
ret
;
ret
=
CoTaskMemAlloc
(
len
);
TRACE
(
"%
l
u bytes at %p
\n
"
,
len
,
ret
);
TRACE
(
"%u bytes at %p
\n
"
,
len
,
ret
);
return
ret
;
}
...
...
@@ -443,7 +443,7 @@ static ULONG WINAPI IDefClF_fnAddRef(LPCLASSFACTORY iface)
IDefClFImpl
*
This
=
(
IDefClFImpl
*
)
iface
;
ULONG
refCount
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(count=%
l
u)
\n
"
,
This
,
refCount
-
1
);
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
refCount
-
1
);
return
refCount
;
}
...
...
@@ -455,7 +455,7 @@ static ULONG WINAPI IDefClF_fnRelease(LPCLASSFACTORY iface)
IDefClFImpl
*
This
=
(
IDefClFImpl
*
)
iface
;
ULONG
refCount
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(count=%
l
u)
\n
"
,
This
,
refCount
+
1
);
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
refCount
+
1
);
if
(
!
refCount
)
{
...
...
dlls/shell32/shellord.c
View file @
89e1d294
This diff is collapsed.
Click to expand it.
dlls/shell32/shellpath.c
View file @
89e1d294
...
...
@@ -488,7 +488,7 @@ BOOL WINAPI PathMakeUniqueNameA(
LPCSTR
lpszLongName
,
LPCSTR
lpszPathName
)
{
FIXME
(
"%p %
l
u %s %s %s stub
\n
"
,
FIXME
(
"%p %u %s %s %s stub
\n
"
,
lpszBuffer
,
dwBuffSize
,
debugstr_a
(
lpszShortName
),
debugstr_a
(
lpszLongName
),
debugstr_a
(
lpszPathName
));
return
TRUE
;
...
...
@@ -504,7 +504,7 @@ BOOL WINAPI PathMakeUniqueNameW(
LPCWSTR
lpszLongName
,
LPCWSTR
lpszPathName
)
{
FIXME
(
"%p %
l
u %s %s %s stub
\n
"
,
FIXME
(
"%p %u %s %s %s stub
\n
"
,
lpszBuffer
,
dwBuffSize
,
debugstr_w
(
lpszShortName
),
debugstr_w
(
lpszLongName
),
debugstr_w
(
lpszPathName
));
return
TRUE
;
...
...
@@ -667,7 +667,7 @@ BOOL WINAPI PathResolveA(
LPCSTR
*
alpszPaths
,
DWORD
dwFlags
)
{
FIXME
(
"(%s,%p,0x%08
l
x),stub!
\n
"
,
FIXME
(
"(%s,%p,0x%08x),stub!
\n
"
,
lpszPath
,
*
alpszPaths
,
dwFlags
);
return
0
;
}
...
...
@@ -680,7 +680,7 @@ BOOL WINAPI PathResolveW(
LPCWSTR
*
alpszPaths
,
DWORD
dwFlags
)
{
FIXME
(
"(%s,%p,0x%08
l
x),stub!
\n
"
,
FIXME
(
"(%s,%p,0x%08x),stub!
\n
"
,
debugstr_w
(
lpszPath
),
debugstr_w
(
*
alpszPaths
),
dwFlags
);
return
0
;
}
...
...
@@ -707,7 +707,7 @@ LONG WINAPI PathProcessCommandA (
DWORD
dwBuffSize
,
DWORD
dwFlags
)
{
FIXME
(
"%s %p 0x%04
lx 0x%04l
x stub
\n
"
,
FIXME
(
"%s %p 0x%04
x 0x%04
x stub
\n
"
,
lpszPath
,
lpszBuff
,
dwBuffSize
,
dwFlags
);
if
(
!
lpszPath
)
return
-
1
;
if
(
lpszBuff
)
strcpy
(
lpszBuff
,
lpszPath
);
...
...
@@ -723,7 +723,7 @@ LONG WINAPI PathProcessCommandW (
DWORD
dwBuffSize
,
DWORD
dwFlags
)
{
FIXME
(
"(%s, %p, 0x%04
lx, 0x%04l
x) stub
\n
"
,
FIXME
(
"(%s, %p, 0x%04
x, 0x%04
x) stub
\n
"
,
debugstr_w
(
lpszPath
),
lpszBuff
,
dwBuffSize
,
dwFlags
);
if
(
!
lpszPath
)
return
-
1
;
if
(
lpszBuff
)
strcpyW
(
lpszBuff
,
lpszPath
);
...
...
@@ -1226,7 +1226,7 @@ static HRESULT _SHGetUserShellFolderPath(HKEY rootKey, LPCWSTR userPrefix,
hr
=
E_FAIL
;
RegCloseKey
(
shellFolderKey
);
RegCloseKey
(
userShellFolderKey
);
TRACE
(
"returning 0x%08
l
x
\n
"
,
hr
);
TRACE
(
"returning 0x%08x
\n
"
,
hr
);
return
hr
;
}
...
...
@@ -1300,7 +1300,7 @@ static HRESULT _SHGetDefaultValue(BYTE folder, LPWSTR pszPath)
strcatW
(
pszPath
,
pDefaultPath
);
}
}
TRACE
(
"returning 0x%08
l
x
\n
"
,
hr
);
TRACE
(
"returning 0x%08x
\n
"
,
hr
);
return
hr
;
}
...
...
@@ -1315,7 +1315,7 @@ static HRESULT _SHGetCurrentVersionPath(DWORD dwFlags, BYTE folder,
{
HRESULT
hr
;
TRACE
(
"0x%08
l
x,0x%02x,%p
\n
"
,
dwFlags
,
folder
,
pszPath
);
TRACE
(
"0x%08x,0x%02x,%p
\n
"
,
dwFlags
,
folder
,
pszPath
);
if
(
folder
>=
sizeof
(
CSIDL_Data
)
/
sizeof
(
CSIDL_Data
[
0
]))
return
E_INVALIDARG
;
...
...
@@ -1355,7 +1355,7 @@ static HRESULT _SHGetCurrentVersionPath(DWORD dwFlags, BYTE folder,
RegCloseKey
(
hKey
);
}
}
TRACE
(
"returning 0x%08
l
x (output path is %s)
\n
"
,
hr
,
debugstr_w
(
pszPath
));
TRACE
(
"returning 0x%08x (output path is %s)
\n
"
,
hr
,
debugstr_w
(
pszPath
));
return
hr
;
}
...
...
@@ -1372,7 +1372,7 @@ static HRESULT _SHGetUserProfilePath(HANDLE hToken, DWORD dwFlags, BYTE folder,
{
HRESULT
hr
;
TRACE
(
"%p,0x%08
l
x,0x%02x,%p
\n
"
,
hToken
,
dwFlags
,
folder
,
pszPath
);
TRACE
(
"%p,0x%08x,0x%02x,%p
\n
"
,
hToken
,
dwFlags
,
folder
,
pszPath
);
if
(
folder
>=
sizeof
(
CSIDL_Data
)
/
sizeof
(
CSIDL_Data
[
0
]))
return
E_INVALIDARG
;
...
...
@@ -1417,7 +1417,7 @@ static HRESULT _SHGetUserProfilePath(HANDLE hToken, DWORD dwFlags, BYTE folder,
if
(
FAILED
(
hr
))
hr
=
_SHGetDefaultValue
(
folder
,
pszPath
);
}
TRACE
(
"returning 0x%08
l
x (output path is %s)
\n
"
,
hr
,
debugstr_w
(
pszPath
));
TRACE
(
"returning 0x%08x (output path is %s)
\n
"
,
hr
,
debugstr_w
(
pszPath
));
return
hr
;
}
...
...
@@ -1431,7 +1431,7 @@ static HRESULT _SHGetAllUsersProfilePath(DWORD dwFlags, BYTE folder,
{
HRESULT
hr
;
TRACE
(
"0x%08
l
x,0x%02x,%p
\n
"
,
dwFlags
,
folder
,
pszPath
);
TRACE
(
"0x%08x,0x%02x,%p
\n
"
,
dwFlags
,
folder
,
pszPath
);
if
(
folder
>=
sizeof
(
CSIDL_Data
)
/
sizeof
(
CSIDL_Data
[
0
]))
return
E_INVALIDARG
;
...
...
@@ -1449,7 +1449,7 @@ static HRESULT _SHGetAllUsersProfilePath(DWORD dwFlags, BYTE folder,
if
(
FAILED
(
hr
))
hr
=
_SHGetDefaultValue
(
folder
,
pszPath
);
}
TRACE
(
"returning 0x%08
l
x (output path is %s)
\n
"
,
hr
,
debugstr_w
(
pszPath
));
TRACE
(
"returning 0x%08x (output path is %s)
\n
"
,
hr
,
debugstr_w
(
pszPath
));
return
hr
;
}
...
...
@@ -1500,7 +1500,7 @@ static HRESULT _SHGetProfilesValue(HKEY profilesKey, LPCWSTR szValueName,
else
hr
=
S_OK
;
}
TRACE
(
"returning 0x%08
l
x (output value is %s)
\n
"
,
hr
,
debugstr_w
(
szValue
));
TRACE
(
"returning 0x%08x (output value is %s)
\n
"
,
hr
,
debugstr_w
(
szValue
));
return
hr
;
}
...
...
@@ -1606,7 +1606,7 @@ static HRESULT _SHExpandEnvironmentStrings(LPCWSTR szSrc, LPWSTR szDest)
end:
if
(
key
)
RegCloseKey
(
key
);
TRACE
(
"returning 0x%08
l
x (input was %s, output is %s)
\n
"
,
hr
,
TRACE
(
"returning 0x%08x (input was %s, output is %s)
\n
"
,
hr
,
debugstr_w
(
szSrc
),
debugstr_w
(
szDest
));
return
hr
;
}
...
...
@@ -1741,7 +1741,7 @@ HRESULT WINAPI SHGetFolderPathW(
TRACE
(
"Created missing system directory '%s'
\n
"
,
debugstr_w
(
szBuildPath
));
end:
TRACE
(
"returning 0x%08
l
x (final path is %s)
\n
"
,
hr
,
debugstr_w
(
szBuildPath
));
TRACE
(
"returning 0x%08x (final path is %s)
\n
"
,
hr
,
debugstr_w
(
szBuildPath
));
return
hr
;
}
...
...
@@ -1847,7 +1847,7 @@ static HRESULT _SHRegisterFolders(HKEY hRootKey, HANDLE hToken,
if
(
hKey
)
RegCloseKey
(
hKey
);
TRACE
(
"returning 0x%08
l
x
\n
"
,
hr
);
TRACE
(
"returning 0x%08x
\n
"
,
hr
);
return
hr
;
}
...
...
@@ -1905,7 +1905,7 @@ static HRESULT _SHRegisterUserShellFolders(BOOL bDefault)
hr
=
_SHRegisterFolders
(
hRootKey
,
hToken
,
pUserShellFolderPath
,
pShellFolderPath
,
folders
,
sizeof
(
folders
)
/
sizeof
(
folders
[
0
]));
TRACE
(
"returning 0x%08
l
x
\n
"
,
hr
);
TRACE
(
"returning 0x%08x
\n
"
,
hr
);
return
hr
;
}
...
...
@@ -1926,7 +1926,7 @@ static HRESULT _SHRegisterCommonShellFolders(void)
TRACE
(
"
\n
"
);
hr
=
_SHRegisterFolders
(
HKEY_LOCAL_MACHINE
,
NULL
,
szSHUserFolders
,
szSHFolders
,
folders
,
sizeof
(
folders
)
/
sizeof
(
folders
[
0
]));
TRACE
(
"returning 0x%08
l
x
\n
"
,
hr
);
TRACE
(
"returning 0x%08x
\n
"
,
hr
);
return
hr
;
}
...
...
@@ -2210,7 +2210,7 @@ HRESULT WINAPI SHGetFolderLocation(
{
HRESULT
hr
=
E_INVALIDARG
;
TRACE
(
"%p 0x%08x %p 0x%08
l
x %p
\n
"
,
TRACE
(
"%p 0x%08x %p 0x%08x %p
\n
"
,
hwndOwner
,
nFolder
,
hToken
,
dwReserved
,
ppidl
);
if
(
!
ppidl
)
...
...
dlls/shell32/shellstring.c
View file @
89e1d294
...
...
@@ -46,7 +46,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(shell);
BOOL
WINAPI
StrRetToStrNA
(
LPSTR
dest
,
DWORD
len
,
LPSTRRET
src
,
const
ITEMIDLIST
*
pidl
)
{
TRACE
(
"dest=%p len=0x%
l
x strret=%p(%s) pidl=%p
\n
"
,
TRACE
(
"dest=%p len=0x%x strret=%p(%s) pidl=%p
\n
"
,
dest
,
len
,
src
,
(
src
->
uType
==
STRRET_WSTR
)
?
"STRRET_WSTR"
:
(
src
->
uType
==
STRRET_CSTR
)
?
"STRRET_CSTR"
:
...
...
@@ -84,7 +84,7 @@ BOOL WINAPI StrRetToStrNA(LPSTR dest, DWORD len, LPSTRRET src, const ITEMIDLIST
BOOL
WINAPI
StrRetToStrNW
(
LPWSTR
dest
,
DWORD
len
,
LPSTRRET
src
,
const
ITEMIDLIST
*
pidl
)
{
TRACE
(
"dest=%p len=0x%
l
x strret=%p(%s) pidl=%p
\n
"
,
TRACE
(
"dest=%p len=0x%x strret=%p(%s) pidl=%p
\n
"
,
dest
,
len
,
src
,
(
src
->
uType
==
STRRET_WSTR
)
?
"STRRET_WSTR"
:
(
src
->
uType
==
STRRET_CSTR
)
?
"STRRET_CSTR"
:
...
...
@@ -243,7 +243,7 @@ DWORD WINAPI CheckEscapesA(
LPWSTR
wString
;
DWORD
ret
=
0
;
TRACE
(
"(%s %
l
d)
\n
"
,
debugstr_a
(
string
),
len
);
TRACE
(
"(%s %d)
\n
"
,
debugstr_a
(
string
),
len
);
wString
=
(
LPWSTR
)
LocalAlloc
(
LPTR
,
len
*
sizeof
(
WCHAR
));
if
(
wString
)
{
...
...
@@ -269,7 +269,7 @@ DWORD WINAPI CheckEscapesW(
DWORD
size
=
lstrlenW
(
string
);
LPWSTR
s
,
d
;
TRACE
(
"(%s %
l
d) stub
\n
"
,
debugstr_w
(
string
),
len
);
TRACE
(
"(%s %d) stub
\n
"
,
debugstr_w
(
string
),
len
);
if
(
StrPBrkW
(
string
,
strEscapedChars
)
&&
size
+
2
<=
len
)
{
...
...
dlls/shell32/shfldr_desktop.c
View file @
89e1d294
...
...
@@ -122,7 +122,7 @@ static ULONG WINAPI ISF_Desktop_fnAddRef (IShellFolder2 * iface)
IGenericSFImpl
*
This
=
(
IGenericSFImpl
*
)
iface
;
ULONG
refCount
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(count=%
l
u)
\n
"
,
This
,
refCount
-
1
);
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
refCount
-
1
);
return
refCount
;
}
...
...
@@ -132,7 +132,7 @@ static ULONG WINAPI ISF_Desktop_fnRelease (IShellFolder2 * iface)
IGenericSFImpl
*
This
=
(
IGenericSFImpl
*
)
iface
;
ULONG
refCount
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(count=%
l
u)
\n
"
,
This
,
refCount
+
1
);
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
refCount
+
1
);
if
(
!
refCount
)
{
...
...
@@ -247,7 +247,7 @@ static HRESULT WINAPI ISF_Desktop_fnParseDisplayName (IShellFolder2 * iface,
*
ppidl
=
pidlTemp
;
TRACE
(
"(%p)->(-- ret=0x%08
l
x)
\n
"
,
This
,
hr
);
TRACE
(
"(%p)->(-- ret=0x%08x)
\n
"
,
This
,
hr
);
return
hr
;
}
...
...
@@ -266,7 +266,7 @@ static BOOL CreateDesktopEnumList(IEnumIDList *list, DWORD dwFlags)
BOOL
ret
=
TRUE
;
WCHAR
szPath
[
MAX_PATH
];
TRACE
(
"(%p)->(flags=0x%08
l
x)
\n
"
,
list
,
dwFlags
);
TRACE
(
"(%p)->(flags=0x%08x)
\n
"
,
list
,
dwFlags
);
/* enumerate the root folders */
if
(
dwFlags
&
SHCONTF_FOLDERS
)
...
...
@@ -321,7 +321,7 @@ static HRESULT WINAPI ISF_Desktop_fnEnumObjects (IShellFolder2 * iface,
{
IGenericSFImpl
*
This
=
(
IGenericSFImpl
*
)
iface
;
TRACE
(
"(%p)->(HWND=%p flags=0x%08
l
x pplist=%p)
\n
"
,
TRACE
(
"(%p)->(HWND=%p flags=0x%08x pplist=%p)
\n
"
,
This
,
hwndOwner
,
dwFlags
,
ppEnumIDList
);
*
ppEnumIDList
=
IEnumIDList_Constructor
();
...
...
@@ -433,7 +433,7 @@ static HRESULT WINAPI ISF_Desktop_fnGetAttributesOf (IShellFolder2 * iface,
SFGAO_CANRENAME
|
SFGAO_CANDELETE
|
SFGAO_HASPROPSHEET
|
SFGAO_DROPTARGET
|
SFGAO_FILESYSANCESTOR
|
SFGAO_FOLDER
|
SFGAO_HASSUBFOLDER
;
TRACE
(
"(%p)->(cidl=%d apidl=%p mask=%p (0x%08
l
x))
\n
"
,
TRACE
(
"(%p)->(cidl=%d apidl=%p mask=%p (0x%08x))
\n
"
,
This
,
cidl
,
apidl
,
rgfInOut
,
rgfInOut
?
*
rgfInOut
:
0
);
if
(
!
rgfInOut
)
...
...
@@ -463,7 +463,7 @@ static HRESULT WINAPI ISF_Desktop_fnGetAttributesOf (IShellFolder2 * iface,
/* make sure SFGAO_VALIDATE is cleared, some apps depend on that */
*
rgfInOut
&=
~
SFGAO_VALIDATE
;
TRACE
(
"-- result=0x%08
l
x
\n
"
,
*
rgfInOut
);
TRACE
(
"-- result=0x%08x
\n
"
,
*
rgfInOut
);
return
hr
;
}
...
...
@@ -545,7 +545,7 @@ static HRESULT WINAPI ISF_Desktop_fnGetUIObjectOf (IShellFolder2 * iface,
hr
=
E_OUTOFMEMORY
;
*
ppvOut
=
pObj
;
TRACE
(
"(%p)->hr=0x%08
l
x
\n
"
,
This
,
hr
);
TRACE
(
"(%p)->hr=0x%08x
\n
"
,
This
,
hr
);
return
hr
;
}
...
...
@@ -562,7 +562,7 @@ static HRESULT WINAPI ISF_Desktop_fnGetDisplayNameOf (IShellFolder2 * iface,
HRESULT
hr
=
S_OK
;
WCHAR
wszPath
[
MAX_PATH
];
TRACE
(
"(%p)->(pidl=%p,0x%08
l
x,%p)
\n
"
,
This
,
pidl
,
dwFlags
,
strRet
);
TRACE
(
"(%p)->(pidl=%p,0x%08x,%p)
\n
"
,
This
,
pidl
,
dwFlags
,
strRet
);
pdump
(
pidl
);
if
(
!
strRet
)
...
...
@@ -693,7 +693,7 @@ static HRESULT WINAPI ISF_Desktop_fnGetDisplayNameOf (IShellFolder2 * iface,
}
}
TRACE
(
"-- (%p)->(%s,0x%08
l
x)
\n
"
,
This
,
TRACE
(
"-- (%p)->(%s,0x%08x)
\n
"
,
This
,
strRet
->
uType
==
STRRET_CSTR
?
strRet
->
u
.
cStr
:
debugstr_w
(
strRet
->
u
.
pOleStr
),
hr
);
return
hr
;
...
...
@@ -717,7 +717,7 @@ static HRESULT WINAPI ISF_Desktop_fnSetNameOf (IShellFolder2 * iface,
{
IGenericSFImpl
*
This
=
(
IGenericSFImpl
*
)
iface
;
FIXME
(
"(%p)->(%p,pidl=%p,%s,%
l
u,%p)
\n
"
,
This
,
hwndOwner
,
pidl
,
FIXME
(
"(%p)->(%p,pidl=%p,%s,%u,%p)
\n
"
,
This
,
hwndOwner
,
pidl
,
debugstr_w
(
lpName
),
dwFlags
,
pPidlOut
);
return
E_FAIL
;
...
...
dlls/shell32/shfldr_fs.c
View file @
89e1d294
...
...
@@ -179,7 +179,7 @@ static ULONG WINAPI IUnknown_fnAddRef (IUnknown * iface)
IGenericSFImpl
*
This
=
(
IGenericSFImpl
*
)
iface
;
ULONG
refCount
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(count=%
l
u)
\n
"
,
This
,
refCount
-
1
);
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
refCount
-
1
);
return
refCount
;
}
...
...
@@ -189,7 +189,7 @@ static ULONG WINAPI IUnknown_fnRelease (IUnknown * iface)
IGenericSFImpl
*
This
=
(
IGenericSFImpl
*
)
iface
;
ULONG
refCount
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(count=%
l
u)
\n
"
,
This
,
refCount
+
1
);
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
refCount
+
1
);
if
(
!
refCount
)
{
TRACE
(
"-- destroying IShellFolder(%p)
\n
"
,
This
);
...
...
@@ -283,7 +283,7 @@ static ULONG WINAPI IShellFolder_fnAddRef (IShellFolder2 * iface)
{
IGenericSFImpl
*
This
=
impl_from_IShellFolder2
(
iface
);
TRACE
(
"(%p)->(count=%
l
u)
\n
"
,
This
,
This
->
ref
);
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
This
->
ref
);
return
IUnknown_AddRef
(
This
->
pUnkOuter
);
}
...
...
@@ -295,7 +295,7 @@ static ULONG WINAPI IShellFolder_fnRelease (IShellFolder2 * iface)
{
IGenericSFImpl
*
This
=
impl_from_IShellFolder2
(
iface
);
TRACE
(
"(%p)->(count=%
l
u)
\n
"
,
This
,
This
->
ref
);
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
This
->
ref
);
return
IUnknown_Release
(
This
->
pUnkOuter
);
}
...
...
@@ -431,7 +431,7 @@ IShellFolder_fnParseDisplayName (IShellFolder2 * iface,
else
*
ppidl
=
NULL
;
TRACE
(
"(%p)->(-- pidl=%p ret=0x%08
l
x)
\n
"
,
This
,
ppidl
?
*
ppidl
:
0
,
hr
);
TRACE
(
"(%p)->(-- pidl=%p ret=0x%08x)
\n
"
,
This
,
ppidl
?
*
ppidl
:
0
,
hr
);
return
hr
;
}
...
...
@@ -449,7 +449,7 @@ IShellFolder_fnEnumObjects (IShellFolder2 * iface, HWND hwndOwner,
{
IGenericSFImpl
*
This
=
impl_from_IShellFolder2
(
iface
);
TRACE
(
"(%p)->(HWND=%p flags=0x%08
l
x pplist=%p)
\n
"
,
This
,
hwndOwner
,
TRACE
(
"(%p)->(HWND=%p flags=0x%08x pplist=%p)
\n
"
,
This
,
hwndOwner
,
dwFlags
,
ppEnumIDList
);
*
ppEnumIDList
=
IEnumIDList_Constructor
();
...
...
@@ -573,7 +573,7 @@ IShellFolder_fnGetAttributesOf (IShellFolder2 * iface, UINT cidl,
HRESULT
hr
=
S_OK
;
TRACE
(
"(%p)->(cidl=%d apidl=%p mask=%p (0x%08
l
x))
\n
"
,
This
,
cidl
,
apidl
,
TRACE
(
"(%p)->(cidl=%d apidl=%p mask=%p (0x%08x))
\n
"
,
This
,
cidl
,
apidl
,
rgfInOut
,
rgfInOut
?
*
rgfInOut
:
0
);
if
(
!
rgfInOut
)
...
...
@@ -605,7 +605,7 @@ IShellFolder_fnGetAttributesOf (IShellFolder2 * iface, UINT cidl,
/* make sure SFGAO_VALIDATE is cleared, some apps depend on that */
*
rgfInOut
&=
~
SFGAO_VALIDATE
;
TRACE
(
"-- result=0x%08
l
x
\n
"
,
*
rgfInOut
);
TRACE
(
"-- result=0x%08x
\n
"
,
*
rgfInOut
);
return
hr
;
}
...
...
@@ -686,7 +686,7 @@ IShellFolder_fnGetUIObjectOf (IShellFolder2 * iface,
*
ppvOut
=
pObj
;
}
TRACE
(
"(%p)->hr=0x%08
l
x
\n
"
,
This
,
hr
);
TRACE
(
"(%p)->hr=0x%08x
\n
"
,
This
,
hr
);
return
hr
;
}
...
...
@@ -776,7 +776,7 @@ IShellFolder_fnGetDisplayNameOf (IShellFolder2 * iface, LPCITEMIDLIST pidl,
HRESULT
hr
=
S_OK
;
int
len
=
0
;
TRACE
(
"(%p)->(pidl=%p,0x%08
l
x,%p)
\n
"
,
This
,
pidl
,
dwFlags
,
strRet
);
TRACE
(
"(%p)->(pidl=%p,0x%08x,%p)
\n
"
,
This
,
pidl
,
dwFlags
,
strRet
);
pdump
(
pidl
);
if
(
!
pidl
||
!
strRet
)
...
...
@@ -842,7 +842,7 @@ static HRESULT WINAPI IShellFolder_fnSetNameOf (IShellFolder2 * iface,
LPWSTR
ptr
;
BOOL
bIsFolder
=
_ILIsFolder
(
ILFindLastID
(
pidl
));
TRACE
(
"(%p)->(%p,pidl=%p,%s,%
l
u,%p)
\n
"
,
This
,
hwndOwner
,
pidl
,
TRACE
(
"(%p)->(%p,pidl=%p,%s,%u,%p)
\n
"
,
This
,
hwndOwner
,
pidl
,
debugstr_w
(
lpName
),
dwFlags
,
pPidlOut
);
/* build source path */
...
...
@@ -1032,7 +1032,7 @@ ISFHelper_fnQueryInterface (ISFHelper * iface, REFIID riid, LPVOID * ppvObj)
{
IGenericSFImpl
*
This
=
impl_from_ISFHelper
(
iface
);
TRACE
(
"(%p)->(count=%
l
u)
\n
"
,
This
,
This
->
ref
);
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
This
->
ref
);
return
IUnknown_QueryInterface
(
This
->
pUnkOuter
,
riid
,
ppvObj
);
}
...
...
@@ -1041,7 +1041,7 @@ static ULONG WINAPI ISFHelper_fnAddRef (ISFHelper * iface)
{
IGenericSFImpl
*
This
=
impl_from_ISFHelper
(
iface
);
TRACE
(
"(%p)->(count=%
l
u)
\n
"
,
This
,
This
->
ref
);
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
This
->
ref
);
return
IUnknown_AddRef
(
This
->
pUnkOuter
);
}
...
...
@@ -1327,7 +1327,7 @@ IFSFldr_PersistFolder3_AddRef (IPersistFolder3 * iface)
{
IGenericSFImpl
*
This
=
impl_from_IPersistFolder3
(
iface
);
TRACE
(
"(%p)->(count=%
l
u)
\n
"
,
This
,
This
->
ref
);
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
This
->
ref
);
return
IUnknown_AddRef
(
This
->
pUnkOuter
);
}
...
...
@@ -1341,7 +1341,7 @@ IFSFldr_PersistFolder3_Release (IPersistFolder3 * iface)
{
IGenericSFImpl
*
This
=
impl_from_IPersistFolder3
(
iface
);
TRACE
(
"(%p)->(count=%
l
u)
\n
"
,
This
,
This
->
ref
);
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
This
->
ref
);
return
IUnknown_Release
(
This
->
pUnkOuter
);
}
...
...
@@ -1429,7 +1429,7 @@ IFSFldr_PersistFolder3_InitializeEx (IPersistFolder3 * iface,
TRACE
(
"(%p)->(%p,%p,%p)
\n
"
,
This
,
pbc
,
pidlRoot
,
ppfti
);
if
(
ppfti
)
TRACE
(
"--%p %s %s 0x%08
l
x 0x%08x
\n
"
,
TRACE
(
"--%p %s %s 0x%08x 0x%08x
\n
"
,
ppfti
->
pidlTargetFolder
,
debugstr_w
(
ppfti
->
szTargetParsingName
),
debugstr_w
(
ppfti
->
szNetworkProvider
),
ppfti
->
dwAttributes
,
ppfti
->
csidl
);
...
...
dlls/shell32/shfldr_mycomp.c
View file @
89e1d294
...
...
@@ -171,7 +171,7 @@ static ULONG WINAPI ISF_MyComputer_fnAddRef (IShellFolder2 * iface)
IGenericSFImpl
*
This
=
(
IGenericSFImpl
*
)
iface
;
ULONG
refCount
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(count=%
l
u)
\n
"
,
This
,
refCount
-
1
);
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
refCount
-
1
);
return
refCount
;
}
...
...
@@ -181,7 +181,7 @@ static ULONG WINAPI ISF_MyComputer_fnRelease (IShellFolder2 * iface)
IGenericSFImpl
*
This
=
(
IGenericSFImpl
*
)
iface
;
ULONG
refCount
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(count=%
l
u)
\n
"
,
This
,
refCount
+
1
);
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
refCount
+
1
);
if
(
!
refCount
)
{
...
...
@@ -247,7 +247,7 @@ static HRESULT WINAPI ISF_MyComputer_fnParseDisplayName (IShellFolder2 *iface,
*
ppidl
=
pidlTemp
;
TRACE
(
"(%p)->(-- ret=0x%08
l
x)
\n
"
,
This
,
hr
);
TRACE
(
"(%p)->(-- ret=0x%08x)
\n
"
,
This
,
hr
);
return
hr
;
}
...
...
@@ -265,7 +265,7 @@ static BOOL CreateMyCompEnumList(IEnumIDList *list, DWORD dwFlags)
{
BOOL
ret
=
TRUE
;
TRACE
(
"(%p)->(flags=0x%08
l
x)
\n
"
,
list
,
dwFlags
);
TRACE
(
"(%p)->(flags=0x%08x)
\n
"
,
list
,
dwFlags
);
/* enumerate the folders */
if
(
dwFlags
&
SHCONTF_FOLDERS
)
...
...
@@ -325,7 +325,7 @@ static HRESULT WINAPI ISF_MyComputer_fnEnumObjects (IShellFolder2 *iface,
{
IGenericSFImpl
*
This
=
(
IGenericSFImpl
*
)
iface
;
TRACE
(
"(%p)->(HWND=%p flags=0x%08
l
x pplist=%p)
\n
"
,
This
,
TRACE
(
"(%p)->(HWND=%p flags=0x%08x pplist=%p)
\n
"
,
This
,
hwndOwner
,
dwFlags
,
ppEnumIDList
);
*
ppEnumIDList
=
IEnumIDList_Constructor
();
...
...
@@ -432,7 +432,7 @@ static HRESULT WINAPI ISF_MyComputer_fnGetAttributesOf (IShellFolder2 * iface,
IGenericSFImpl
*
This
=
(
IGenericSFImpl
*
)
iface
;
HRESULT
hr
=
S_OK
;
TRACE
(
"(%p)->(cidl=%d apidl=%p mask=%p (0x%08
l
x))
\n
"
,
TRACE
(
"(%p)->(cidl=%d apidl=%p mask=%p (0x%08x))
\n
"
,
This
,
cidl
,
apidl
,
rgfInOut
,
rgfInOut
?
*
rgfInOut
:
0
);
if
(
!
rgfInOut
)
...
...
@@ -463,7 +463,7 @@ static HRESULT WINAPI ISF_MyComputer_fnGetAttributesOf (IShellFolder2 * iface,
/* make sure SFGAO_VALIDATE is cleared, some apps depend on that */
*
rgfInOut
&=
~
SFGAO_VALIDATE
;
TRACE
(
"-- result=0x%08
l
x
\n
"
,
*
rgfInOut
);
TRACE
(
"-- result=0x%08x
\n
"
,
*
rgfInOut
);
return
hr
;
}
...
...
@@ -542,7 +542,7 @@ static HRESULT WINAPI ISF_MyComputer_fnGetUIObjectOf (IShellFolder2 * iface,
hr
=
E_OUTOFMEMORY
;
*
ppvOut
=
pObj
;
TRACE
(
"(%p)->hr=0x%08
l
x
\n
"
,
This
,
hr
);
TRACE
(
"(%p)->hr=0x%08x
\n
"
,
This
,
hr
);
return
hr
;
}
...
...
@@ -557,7 +557,7 @@ static HRESULT WINAPI ISF_MyComputer_fnGetDisplayNameOf (IShellFolder2 *iface,
WCHAR
wszPath
[
MAX_PATH
];
HRESULT
hr
=
S_OK
;
TRACE
(
"(%p)->(pidl=%p,0x%08
l
x,%p)
\n
"
,
This
,
pidl
,
dwFlags
,
strRet
);
TRACE
(
"(%p)->(pidl=%p,0x%08x,%p)
\n
"
,
This
,
pidl
,
dwFlags
,
strRet
);
pdump
(
pidl
);
if
(
!
strRet
)
...
...
@@ -718,7 +718,7 @@ static HRESULT WINAPI ISF_MyComputer_fnSetNameOf (
LPCOLESTR
lpName
,
DWORD
dwFlags
,
LPITEMIDLIST
*
pPidlOut
)
{
IGenericSFImpl
*
This
=
(
IGenericSFImpl
*
)
iface
;
FIXME
(
"(%p)->(%p,pidl=%p,%s,%
l
u,%p)
\n
"
,
This
,
FIXME
(
"(%p)->(%p,pidl=%p,%s,%u,%p)
\n
"
,
This
,
hwndOwner
,
pidl
,
debugstr_w
(
lpName
),
dwFlags
,
pPidlOut
);
return
E_FAIL
;
}
...
...
@@ -884,7 +884,7 @@ static ULONG WINAPI IMCFldr_PersistFolder2_AddRef (IPersistFolder2 * iface)
{
IGenericSFImpl
*
This
=
impl_from_IPersistFolder2
(
iface
);
TRACE
(
"(%p)->(count=%
l
u)
\n
"
,
This
,
This
->
ref
);
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
This
->
ref
);
return
IUnknown_AddRef
(
_IUnknown_
(
This
));
}
...
...
@@ -896,7 +896,7 @@ static ULONG WINAPI IMCFldr_PersistFolder2_Release (IPersistFolder2 * iface)
{
IGenericSFImpl
*
This
=
impl_from_IPersistFolder2
(
iface
);
TRACE
(
"(%p)->(count=%
l
u)
\n
"
,
This
,
This
->
ref
);
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
This
->
ref
);
return
IUnknown_Release
(
_IUnknown_
(
This
));
}
...
...
dlls/shell32/shfldr_unixfs.c
View file @
89e1d294
...
...
@@ -866,7 +866,7 @@ static HRESULT WINAPI UnixFolder_IShellFolder2_ParseDisplayName(IShellFolder2* i
hr
=
SHBindToParent
(
pidlComplete
,
&
IID_IShellFolder
,
(
LPVOID
*
)
&
pParentSF
,
&
pidlLast
);
if
(
FAILED
(
hr
))
{
FIXME
(
"SHBindToParent failed! hr = %08
l
x
\n
"
,
hr
);
FIXME
(
"SHBindToParent failed! hr = %08x
\n
"
,
hr
);
ILFree
(
pidlComplete
);
return
E_FAIL
;
}
...
...
@@ -888,7 +888,7 @@ static HRESULT WINAPI UnixFolder_IShellFolder2_EnumObjects(IShellFolder2* iface,
IUnknown
*
newIterator
;
HRESULT
hr
;
TRACE
(
"(iface=%p, hwndOwner=%p, grfFlags=%08
l
x, ppEnumIDList=%p)
\n
"
,
TRACE
(
"(iface=%p, hwndOwner=%p, grfFlags=%08x, ppEnumIDList=%p)
\n
"
,
iface
,
hwndOwner
,
grfFlags
,
ppEnumIDList
);
if
(
!
This
->
m_pszPath
)
{
...
...
@@ -1121,7 +1121,7 @@ static HRESULT WINAPI UnixFolder_IShellFolder2_GetDisplayNameOf(IShellFolder2* i
UnixFolder
*
This
=
ADJUST_THIS
(
UnixFolder
,
IShellFolder2
,
iface
);
HRESULT
hr
=
S_OK
;
TRACE
(
"(iface=%p, pidl=%p, uFlags=%
l
x, lpName=%p)
\n
"
,
iface
,
pidl
,
uFlags
,
lpName
);
TRACE
(
"(iface=%p, pidl=%p, uFlags=%x, lpName=%p)
\n
"
,
iface
,
pidl
,
uFlags
,
lpName
);
if
((
GET_SHGDN_FOR
(
uFlags
)
&
SHGDN_FORPARSING
)
&&
(
GET_SHGDN_RELATION
(
uFlags
)
!=
SHGDN_INFOLDER
))
...
...
@@ -1185,7 +1185,7 @@ static HRESULT WINAPI UnixFolder_IShellFolder2_SetNameOf(IShellFolder2* iface, H
LPOLESTR
lpwszName
;
HRESULT
hr
;
TRACE
(
"(iface=%p, hwnd=%p, pidl=%p, lpcwszName=%s, uFlags=0x%08
l
x, ppidlOut=%p)
\n
"
,
TRACE
(
"(iface=%p, hwnd=%p, pidl=%p, lpcwszName=%s, uFlags=0x%08x, ppidlOut=%p)
\n
"
,
iface
,
hwnd
,
pidl
,
debugstr_w
(
lpcwszName
),
uFlags
,
ppidlOut
);
/* prepare to fail */
...
...
@@ -1972,7 +1972,7 @@ static HRESULT WINAPI UnixFolder_IDropTarget_DragEnter(IDropTarget *iface, IData
FORMATETC
format
;
STGMEDIUM
medium
;
TRACE
(
"(iface=%p, pDataObject=%p, dwKeyState=%08
lx, pt={.x=%ld, .y=%l
d}, pdwEffect=%p)
\n
"
,
TRACE
(
"(iface=%p, pDataObject=%p, dwKeyState=%08
x, pt={.x=%d, .y=%
d}, pdwEffect=%p)
\n
"
,
iface
,
pDataObject
,
dwKeyState
,
pt
.
x
,
pt
.
y
,
pdwEffect
);
if
(
!
pdwEffect
||
!
pDataObject
)
...
...
@@ -2008,7 +2008,7 @@ static HRESULT WINAPI UnixFolder_IDropTarget_DragOver(IDropTarget *iface, DWORD
{
UnixFolder
*
This
=
ADJUST_THIS
(
UnixFolder
,
IDropTarget
,
iface
);
TRACE
(
"(iface=%p, dwKeyState=%08
lx, pt={.x=%ld, .y=%l
d}, pdwEffect=%p)
\n
"
,
iface
,
dwKeyState
,
TRACE
(
"(iface=%p, dwKeyState=%08
x, pt={.x=%d, .y=%
d}, pdwEffect=%p)
\n
"
,
iface
,
dwKeyState
,
pt
.
x
,
pt
.
y
,
pdwEffect
);
if
(
!
pdwEffect
)
...
...
@@ -2037,7 +2037,7 @@ static HRESULT WINAPI UnixFolder_IDropTarget_Drop(IDropTarget *iface, IDataObjec
STGMEDIUM
medium
;
HRESULT
hr
;
TRACE
(
"(iface=%p, pDataObject=%p, dwKeyState=%
ld, pt={.x=%ld, .y=%l
d}, pdwEffect=%p) semi-stub
\n
"
,
TRACE
(
"(iface=%p, pDataObject=%p, dwKeyState=%
d, pt={.x=%d, .y=%
d}, pdwEffect=%p) semi-stub
\n
"
,
iface
,
pDataObject
,
dwKeyState
,
pt
.
x
,
pt
.
y
,
pdwEffect
);
InitFormatEtc
(
format
,
cfShellIDList
,
TYMED_HGLOBAL
);
...
...
@@ -2298,7 +2298,7 @@ static HRESULT WINAPI UnixSubFolderIterator_IEnumIDList_Skip(IEnumIDList* iface,
ULONG
cFetched
;
HRESULT
hr
;
TRACE
(
"(iface=%p, celt=%
l
d)
\n
"
,
iface
,
celt
);
TRACE
(
"(iface=%p, celt=%d)
\n
"
,
iface
,
celt
);
/* Call IEnumIDList::Next and delete the resulting pidls. */
apidl
=
(
LPITEMIDLIST
*
)
SHAlloc
(
celt
*
sizeof
(
LPITEMIDLIST
));
...
...
dlls/shell32/shlexec.c
View file @
89e1d294
...
...
@@ -298,7 +298,7 @@ static UINT_PTR SHELL_ExecuteW(const WCHAR *lpCmd, WCHAR *env, BOOL shWait,
when starting app immediately before making a DDE connection. */
if
(
shWait
)
if
(
WaitForInputIdle
(
info
.
hProcess
,
30000
)
==
WAIT_FAILED
)
WARN
(
"WaitForInputIdle failed: Error %
l
d
\n
"
,
GetLastError
()
);
WARN
(
"WaitForInputIdle failed: Error %d
\n
"
,
GetLastError
()
);
retval
=
33
;
if
(
psei
->
fMask
&
SEE_MASK_NOCLOSEPROCESS
)
psei_out
->
hProcess
=
info
.
hProcess
;
...
...
@@ -1070,7 +1070,7 @@ static HRESULT shellex_run_context_menu_default( IShellExtInit *obj,
r
=
IContextMenu_InvokeCommand
(
cm
,
(
LPCMINVOKECOMMANDINFO
)
&
ici
);
TRACE
(
"invoke command returned %08
l
x
\n
"
,
r
);
TRACE
(
"invoke command returned %08x
\n
"
,
r
);
end:
if
(
hmenu
)
...
...
@@ -1097,7 +1097,7 @@ static HRESULT shellex_load_object_and_run( HKEY hkey, LPCGUID guid, LPSHELLEXEC
&
IID_IShellExtInit
,
(
LPVOID
*
)
&
obj
);
if
(
FAILED
(
r
)
)
{
ERR
(
"failed %08
l
x
\n
"
,
r
);
ERR
(
"failed %08x
\n
"
,
r
);
goto
end
;
}
...
...
@@ -1211,7 +1211,7 @@ BOOL SHELL_execute( LPSHELLEXECUTEINFOW sei, SHELL_ExecuteW32 execfunc )
/* make a local copy of the LPSHELLEXECUTEINFO structure and work with this from now on */
memcpy
(
&
sei_tmp
,
sei
,
sizeof
(
sei_tmp
));
TRACE
(
"mask=0x%08
l
x hwnd=%p verb=%s file=%s parm=%s dir=%s show=0x%08x class=%s
\n
"
,
TRACE
(
"mask=0x%08x hwnd=%p verb=%s file=%s parm=%s dir=%s show=0x%08x class=%s
\n
"
,
sei_tmp
.
fMask
,
sei_tmp
.
hwnd
,
debugstr_w
(
sei_tmp
.
lpVerb
),
debugstr_w
(
sei_tmp
.
lpFile
),
debugstr_w
(
sei_tmp
.
lpParameters
),
debugstr_w
(
sei_tmp
.
lpDirectory
),
sei_tmp
.
nShow
,
...
...
@@ -1259,7 +1259,7 @@ BOOL SHELL_execute( LPSHELLEXECUTEINFOW sei, SHELL_ExecuteW32 execfunc )
if
(
sei_tmp
.
fMask
&
unsupportedFlags
)
{
FIXME
(
"flags ignored: 0x%08
l
x
\n
"
,
sei_tmp
.
fMask
&
unsupportedFlags
);
FIXME
(
"flags ignored: 0x%08x
\n
"
,
sei_tmp
.
fMask
&
unsupportedFlags
);
}
/* process the IDList */
...
...
dlls/shell32/shlfolder.c
View file @
89e1d294
...
...
@@ -125,7 +125,7 @@ LPCWSTR GetNextElementW (LPCWSTR pszNext, LPWSTR pszOut, DWORD dwOut)
LPCWSTR
pszTail
=
pszNext
;
DWORD
dwCopy
;
TRACE
(
"(%s %p 0x%08
l
x)
\n
"
,
debugstr_w
(
pszNext
),
pszOut
,
dwOut
);
TRACE
(
"(%s %p 0x%08x)
\n
"
,
debugstr_w
(
pszNext
),
pszOut
,
dwOut
);
*
pszOut
=
0x0000
;
...
...
@@ -143,7 +143,7 @@ LPCWSTR GetNextElementW (LPCWSTR pszNext, LPWSTR pszOut, DWORD dwOut)
else
pszTail
=
NULL
;
TRACE
(
"--(%s %s 0x%08
l
x %p)
\n
"
,
debugstr_w
(
pszNext
),
debugstr_w
(
pszOut
),
dwOut
,
pszTail
);
TRACE
(
"--(%s %s 0x%08x %p)
\n
"
,
debugstr_w
(
pszNext
),
debugstr_w
(
pszOut
),
dwOut
,
pszTail
);
return
pszTail
;
}
...
...
@@ -178,7 +178,7 @@ HRESULT SHELL32_ParseNextElement (IShellFolder2 * psf, HWND hwndOwner, LPBC pbc,
ILFree
(
*
pidlInOut
);
*
pidlInOut
=
pidlTemp
;
TRACE
(
"-- pidl=%p ret=0x%08
l
x
\n
"
,
pidlInOut
?
*
pidlInOut
:
NULL
,
hr
);
TRACE
(
"-- pidl=%p ret=0x%08x
\n
"
,
pidlInOut
?
*
pidlInOut
:
NULL
,
hr
);
return
hr
;
}
...
...
@@ -240,7 +240,7 @@ static HRESULT SHELL32_CoCreateInitSF (LPCITEMIDLIST pidlRoot, LPCWSTR pathRoot,
}
ILFree
(
pidlAbsolute
);
}
TRACE
(
"-- (%p) ret=0x%08
l
x
\n
"
,
*
ppvOut
,
hr
);
TRACE
(
"-- (%p) ret=0x%08x
\n
"
,
*
ppvOut
,
hr
);
return
hr
;
}
...
...
@@ -311,7 +311,7 @@ HRESULT SHELL32_BindToChild (LPCITEMIDLIST pidlRoot,
IShellFolder_Release
(
pSF
);
}
TRACE
(
"-- returning (%p) %08
l
x
\n
"
,
*
ppvOut
,
hr
);
TRACE
(
"-- returning (%p) %08x
\n
"
,
*
ppvOut
,
hr
);
return
hr
;
}
...
...
@@ -336,7 +336,7 @@ HRESULT SHELL32_GetDisplayNameOfChild (IShellFolder2 * psf,
LPITEMIDLIST
pidlFirst
;
HRESULT
hr
=
E_INVALIDARG
;
TRACE
(
"(%p)->(pidl=%p 0x%08
lx %p 0x%08l
x)
\n
"
,
psf
,
pidl
,
dwFlags
,
szOut
,
dwOutLen
);
TRACE
(
"(%p)->(pidl=%p 0x%08
x %p 0x%08
x)
\n
"
,
psf
,
pidl
,
dwFlags
,
szOut
,
dwOutLen
);
pdump
(
pidl
);
pidlFirst
=
ILCloneFirst
(
pidl
);
...
...
@@ -359,7 +359,7 @@ HRESULT SHELL32_GetDisplayNameOfChild (IShellFolder2 * psf,
}
else
hr
=
E_OUTOFMEMORY
;
TRACE
(
"-- ret=0x%08
l
x %s
\n
"
,
hr
,
debugstr_w
(
szOut
));
TRACE
(
"-- ret=0x%08x %s
\n
"
,
hr
,
debugstr_w
(
szOut
));
return
hr
;
}
...
...
@@ -403,11 +403,11 @@ HRESULT SHELL32_GetItemAttributes (IShellFolder * psf, LPCITEMIDLIST pidl, LPDWO
SFGAO_FILESYSTEM
|
/*0x40000000 */
SFGAO_HASSUBFOLDER
;
/*0x80000000 */
TRACE
(
"0x%08
l
x
\n
"
,
*
pdwAttributes
);
TRACE
(
"0x%08x
\n
"
,
*
pdwAttributes
);
if
(
*
pdwAttributes
&
~
dwSupportedAttr
)
{
WARN
(
"attributes 0x%08
l
x not implemented
\n
"
,
(
*
pdwAttributes
&
~
dwSupportedAttr
));
WARN
(
"attributes 0x%08x not implemented
\n
"
,
(
*
pdwAttributes
&
~
dwSupportedAttr
));
*
pdwAttributes
&=
dwSupportedAttr
;
}
...
...
@@ -484,7 +484,7 @@ HRESULT SHELL32_GetItemAttributes (IShellFolder * psf, LPCITEMIDLIST pidl, LPDWO
}
else
{
*
pdwAttributes
&=
SFGAO_HASSUBFOLDER
|
SFGAO_FOLDER
|
SFGAO_FILESYSANCESTOR
|
SFGAO_DROPTARGET
|
SFGAO_HASPROPSHEET
|
SFGAO_CANRENAME
|
SFGAO_CANLINK
;
}
TRACE
(
"-- 0x%08
l
x
\n
"
,
*
pdwAttributes
);
TRACE
(
"-- 0x%08x
\n
"
,
*
pdwAttributes
);
return
S_OK
;
}
...
...
dlls/shell32/shlfsbind.c
View file @
89e1d294
...
...
@@ -179,7 +179,7 @@ static ULONG WINAPI IFileSystemBindData_fnAddRef(IFileSystemBindData *iface)
IFileSystemBindDataImpl
*
This
=
(
IFileSystemBindDataImpl
*
)
iface
;
ULONG
refCount
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(count=%
l
i)
\n
"
,
This
,
refCount
-
1
);
TRACE
(
"(%p)->(count=%i)
\n
"
,
This
,
refCount
-
1
);
return
refCount
;
}
...
...
@@ -189,7 +189,7 @@ static ULONG WINAPI IFileSystemBindData_fnRelease(IFileSystemBindData *iface)
IFileSystemBindDataImpl
*
This
=
(
IFileSystemBindDataImpl
*
)
iface
;
ULONG
refCount
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(count=%
l
i)
\n
"
,
This
,
refCount
+
1
);
TRACE
(
"(%p)->(count=%i)
\n
"
,
This
,
refCount
+
1
);
if
(
!
refCount
)
{
...
...
dlls/shell32/shlmenu.c
View file @
89e1d294
...
...
@@ -90,7 +90,7 @@ static LPFMINFO FM_GetMenuInfo(HMENU hmenu)
if
((
menudata
==
0
)
||
(
MenuInfo
.
cbSize
!=
sizeof
(
MENUINFO
)))
{
ERR
(
"menudata corrupt: %p %
l
u
\n
"
,
menudata
,
MenuInfo
.
cbSize
);
ERR
(
"menudata corrupt: %p %u
\n
"
,
menudata
,
MenuInfo
.
cbSize
);
return
0
;
}
...
...
@@ -153,7 +153,7 @@ static int FM_InitMenuPopup(HMENU hmenu, LPCITEMIDLIST pAlternatePidl)
if
((
menudata
==
0
)
||
(
MenuInfo
.
cbSize
!=
sizeof
(
MENUINFO
)))
{
ERR
(
"menudata corrupt: %p %
l
u
\n
"
,
menudata
,
MenuInfo
.
cbSize
);
ERR
(
"menudata corrupt: %p %u
\n
"
,
menudata
,
MenuInfo
.
cbSize
);
return
0
;
}
...
...
@@ -265,7 +265,7 @@ HMENU WINAPI FileMenu_Create (
HMENU
hMenu
=
CreatePopupMenu
();
TRACE
(
"0x%08
l
x 0x%08x %p 0x%08x 0x%08x hMenu=%p
\n
"
,
TRACE
(
"0x%08x 0x%08x %p 0x%08x 0x%08x hMenu=%p
\n
"
,
crBorderColor
,
nBorderWidth
,
hBorderBmp
,
nSelHeight
,
uFlags
,
hMenu
);
menudata
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
FMINFO
));
...
...
@@ -371,7 +371,7 @@ static BOOL FileMenu_AppendItemW(
menudata
=
(
LPFMINFO
)
MenuInfo
.
dwMenuData
;
if
((
menudata
==
0
)
||
(
MenuInfo
.
cbSize
!=
sizeof
(
MENUINFO
)))
{
ERR
(
"menudata corrupt: %p %
l
u
\n
"
,
menudata
,
MenuInfo
.
cbSize
);
ERR
(
"menudata corrupt: %p %u
\n
"
,
menudata
,
MenuInfo
.
cbSize
);
return
0
;
}
...
...
@@ -633,7 +633,7 @@ LRESULT WINAPI FileMenu_DrawItem(
Shell_GetImageList
(
0
,
&
hImageList
);
ImageList_Draw
(
hImageList
,
pMyItem
->
iIconIndex
,
lpdis
->
hDC
,
xi
,
yi
,
ILD_NORMAL
);
TRACE
(
"-- 0x%04
lx 0x%04lx 0x%04lx 0x%04l
x
\n
"
,
TextRect
.
left
,
TextRect
.
top
,
TextRect
.
right
,
TextRect
.
bottom
);
TRACE
(
"-- 0x%04
x 0x%04x 0x%04x 0x%04
x
\n
"
,
TextRect
.
left
,
TextRect
.
top
,
TextRect
.
right
,
TextRect
.
bottom
);
SetTextColor
(
lpdis
->
hDC
,
clrPrevText
);
SetBkColor
(
lpdis
->
hDC
,
clrPrevBkgnd
);
...
...
@@ -794,7 +794,7 @@ DWORD WINAPI FileMenu_GetItemExtent (HMENU hMenu, UINT uPos)
FIXME
(
"%p 0x%08x
\n
"
,
hMenu
,
uPos
);
if
(
GetMenuItemRect
(
0
,
hMenu
,
uPos
,
&
rect
))
{
FIXME
(
"0x%04
lx 0x%04lx 0x%04lx 0x%04l
x
\n
"
,
{
FIXME
(
"0x%04
x 0x%04x 0x%04x 0x%04
x
\n
"
,
rect
.
right
,
rect
.
left
,
rect
.
top
,
rect
.
bottom
);
return
((
rect
.
right
-
rect
.
left
)
<<
16
)
+
(
rect
.
top
-
rect
.
bottom
);
}
...
...
@@ -828,7 +828,7 @@ void WINAPI FileMenu_AbortInitMenu (void)
*/
LPVOID
WINAPI
SHFind_InitMenuPopup
(
HMENU
hMenu
,
HWND
hWndParent
,
DWORD
w
,
DWORD
x
)
{
FIXME
(
"hmenu=%p hwnd=%p 0x%08
lx 0x%08l
x stub
\n
"
,
FIXME
(
"hmenu=%p hwnd=%p 0x%08
x 0x%08
x stub
\n
"
,
hMenu
,
hWndParent
,
w
,
x
);
return
NULL
;
/* this is supposed to be a pointer */
}
...
...
@@ -867,7 +867,7 @@ HRESULT WINAPI Shell_MergeMenus (HMENU hmDst, HMENU hmSrc, UINT uInsert, UINT uI
WCHAR
szName
[
256
];
UINT
uTemp
,
uIDMax
=
uIDAdjust
;
TRACE
(
"hmenu1=%p hmenu2=%p 0x%04x 0x%04x 0x%04x 0x%04
l
x
\n
"
,
TRACE
(
"hmenu1=%p hmenu2=%p 0x%04x 0x%04x 0x%04x 0x%04x
\n
"
,
hmDst
,
hmSrc
,
uInsert
,
uIDAdjust
,
uIDAdjustMax
,
uFlags
);
if
(
!
hmDst
||
!
hmSrc
)
...
...
dlls/shell32/shlview.c
View file @
89e1d294
...
...
@@ -222,7 +222,7 @@ static HRESULT IncludeObject(IShellViewImpl * This, LPCITEMIDLIST pidl)
{
TRACE
(
"ICommDlgBrowser::IncludeObject pidl=%p
\n
"
,
pidl
);
ret
=
ICommDlgBrowser_IncludeObject
(
This
->
pCommDlgBrowser
,
(
IShellView
*
)
This
,
pidl
);
TRACE
(
"--0x%08
l
x
\n
"
,
ret
);
TRACE
(
"--0x%08x
\n
"
,
ret
);
}
return
ret
;
}
...
...
@@ -235,7 +235,7 @@ static HRESULT OnDefaultCommand(IShellViewImpl * This)
{
TRACE
(
"ICommDlgBrowser::OnDefaultCommand
\n
"
);
ret
=
ICommDlgBrowser_OnDefaultCommand
(
This
->
pCommDlgBrowser
,
(
IShellView
*
)
This
);
TRACE
(
"-- returns %08
l
x
\n
"
,
ret
);
TRACE
(
"-- returns %08x
\n
"
,
ret
);
}
return
ret
;
}
...
...
@@ -1197,7 +1197,7 @@ static LRESULT ShellView_OnKillFocus(IShellViewImpl * This)
*/
static
LRESULT
ShellView_OnCommand
(
IShellViewImpl
*
This
,
DWORD
dwCmdID
,
DWORD
dwCmd
,
HWND
hwndCmd
)
{
TRACE
(
"(%p)->(0x%08
lx 0x%08l
x %p) stub
\n
"
,
This
,
dwCmdID
,
dwCmd
,
hwndCmd
);
TRACE
(
"(%p)->(0x%08
x 0x%08
x %p) stub
\n
"
,
This
,
dwCmdID
,
dwCmd
,
hwndCmd
);
switch
(
dwCmdID
)
{
...
...
@@ -1237,7 +1237,7 @@ static LRESULT ShellView_OnCommand(IShellViewImpl * This,DWORD dwCmdID, DWORD dw
break
;
default:
TRACE
(
"-- COMMAND 0x%04
l
x unhandled
\n
"
,
dwCmdID
);
TRACE
(
"-- COMMAND 0x%04x unhandled
\n
"
,
dwCmdID
);
}
return
0
;
}
...
...
@@ -1550,7 +1550,7 @@ static LRESULT ShellView_OnNotify(IShellViewImpl * This, UINT CtlID, LPNMHDR lpn
static
LRESULT
ShellView_OnChange
(
IShellViewImpl
*
This
,
LPITEMIDLIST
*
Pidls
,
LONG
wEventId
)
{
TRACE
(
"(%p)(%p,%p,0x%08
l
x)
\n
"
,
This
,
Pidls
[
0
],
Pidls
[
1
],
wEventId
);
TRACE
(
"(%p)(%p,%p,0x%08x)
\n
"
,
This
,
Pidls
[
0
],
Pidls
[
1
],
wEventId
);
switch
(
wEventId
)
{
case
SHCNE_MKDIR
:
...
...
@@ -1684,7 +1684,7 @@ static ULONG WINAPI IShellView_fnAddRef(IShellView * iface)
IShellViewImpl
*
This
=
(
IShellViewImpl
*
)
iface
;
ULONG
refCount
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(count=%
l
u)
\n
"
,
This
,
refCount
-
1
);
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
refCount
-
1
);
return
refCount
;
}
...
...
@@ -1696,7 +1696,7 @@ static ULONG WINAPI IShellView_fnRelease(IShellView * iface)
IShellViewImpl
*
This
=
(
IShellViewImpl
*
)
iface
;
ULONG
refCount
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(count=%
l
i)
\n
"
,
This
,
refCount
+
1
);
TRACE
(
"(%p)->(count=%i)
\n
"
,
This
,
refCount
+
1
);
if
(
!
refCount
)
{
...
...
@@ -1754,7 +1754,7 @@ static HRESULT WINAPI IShellView_fnTranslateAccelerator(IShellView * iface,LPMSG
#if 0
IShellViewImpl *This = (IShellViewImpl *)iface;
FIXME("(%p)->(%p: hwnd=%x msg=%x lp=%
l
x wp=%x) stub\n",This,lpmsg, lpmsg->hwnd, lpmsg->message, lpmsg->lParam, lpmsg->wParam);
FIXME("(%p)->(%p: hwnd=%x msg=%x lp=%x wp=%x) stub\n",This,lpmsg, lpmsg->hwnd, lpmsg->message, lpmsg->lParam, lpmsg->wParam);
#endif
if
((
lpmsg
->
message
>=
WM_KEYFIRST
)
&&
(
lpmsg
->
message
>=
WM_KEYLAST
))
...
...
@@ -1843,7 +1843,7 @@ static HRESULT WINAPI IShellView_fnCreateViewWindow(
TRACE
(
"(%p)->(shlview=%p set=%p shlbrs=%p rec=%p hwnd=%p) incomplete
\n
"
,
This
,
lpPrevView
,
lpfs
,
psb
,
prcView
,
phWnd
);
TRACE
(
"-- vmode=%x flags=%x left=%
li top=%li right=%li bottom=%l
i
\n
"
,
lpfs
->
ViewMode
,
lpfs
->
fFlags
,
prcView
->
left
,
prcView
->
top
,
prcView
->
right
,
prcView
->
bottom
);
TRACE
(
"-- vmode=%x flags=%x left=%
i top=%i right=%i bottom=%
i
\n
"
,
lpfs
->
ViewMode
,
lpfs
->
fFlags
,
prcView
->
left
,
prcView
->
top
,
prcView
->
right
,
prcView
->
bottom
);
/*set up the member variables*/
This
->
pShellBrowser
=
psb
;
...
...
@@ -2104,14 +2104,14 @@ static HRESULT WINAPI ISVOleCmdTarget_QueryStatus(
UINT
i
;
IShellViewImpl
*
This
=
impl_from_IOleCommandTarget
(
iface
);
FIXME
(
"(%p)->(%p(%s) 0x%08
l
x %p %p
\n
"
,
FIXME
(
"(%p)->(%p(%s) 0x%08x %p %p
\n
"
,
This
,
pguidCmdGroup
,
debugstr_guid
(
pguidCmdGroup
),
cCmds
,
prgCmds
,
pCmdText
);
if
(
!
prgCmds
)
return
E_POINTER
;
for
(
i
=
0
;
i
<
cCmds
;
i
++
)
{
FIXME
(
"
\t
prgCmds[%d].cmdID = %
l
d
\n
"
,
i
,
prgCmds
[
i
].
cmdID
);
FIXME
(
"
\t
prgCmds[%d].cmdID = %d
\n
"
,
i
,
prgCmds
[
i
].
cmdID
);
prgCmds
[
i
].
cmdf
=
0
;
}
return
OLECMDERR_E_UNKNOWNGROUP
;
...
...
@@ -2132,7 +2132,7 @@ static HRESULT WINAPI ISVOleCmdTarget_Exec(
{
IShellViewImpl
*
This
=
impl_from_IOleCommandTarget
(
iface
);
FIXME
(
"(%p)->(
\n\t
Target GUID:%s Command:0x%08
lx Opt:0x%08l
x %p %p)
\n
"
,
FIXME
(
"(%p)->(
\n\t
Target GUID:%s Command:0x%08
x Opt:0x%08
x %p %p)
\n
"
,
This
,
debugstr_guid
(
pguidCmdGroup
),
nCmdID
,
nCmdexecopt
,
pvaIn
,
pvaOut
);
if
(
IsEqualIID
(
pguidCmdGroup
,
&
CGID_Explorer
)
&&
...
...
@@ -2176,7 +2176,7 @@ static ULONG WINAPI ISVDropTarget_AddRef( IDropTarget *iface)
{
IShellViewImpl
*
This
=
impl_from_IDropTarget
(
iface
);
TRACE
(
"(%p)->(count=%
l
u)
\n
"
,
This
,
This
->
ref
);
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
This
->
ref
);
return
IShellFolder_AddRef
((
IShellFolder
*
)
This
);
}
...
...
@@ -2185,7 +2185,7 @@ static ULONG WINAPI ISVDropTarget_Release( IDropTarget *iface)
{
IShellViewImpl
*
This
=
impl_from_IDropTarget
(
iface
);
TRACE
(
"(%p)->(count=%
l
u)
\n
"
,
This
,
This
->
ref
);
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
This
->
ref
);
return
IShellFolder_Release
((
IShellFolder
*
)
This
);
}
...
...
@@ -2356,7 +2356,7 @@ static ULONG WINAPI ISVDropSource_AddRef( IDropSource *iface)
{
IShellViewImpl
*
This
=
impl_from_IDropSource
(
iface
);
TRACE
(
"(%p)->(count=%
l
u)
\n
"
,
This
,
This
->
ref
);
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
This
->
ref
);
return
IShellFolder_AddRef
((
IShellFolder
*
)
This
);
}
...
...
@@ -2365,7 +2365,7 @@ static ULONG WINAPI ISVDropSource_Release( IDropSource *iface)
{
IShellViewImpl
*
This
=
impl_from_IDropSource
(
iface
);
TRACE
(
"(%p)->(count=%
l
u)
\n
"
,
This
,
This
->
ref
);
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
This
->
ref
);
return
IShellFolder_Release
((
IShellFolder
*
)
This
);
}
...
...
@@ -2423,7 +2423,7 @@ static ULONG WINAPI ISVViewObject_AddRef( IViewObject *iface)
{
IShellViewImpl
*
This
=
impl_from_IViewObject
(
iface
);
TRACE
(
"(%p)->(count=%
l
u)
\n
"
,
This
,
This
->
ref
);
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
This
->
ref
);
return
IShellFolder_AddRef
((
IShellFolder
*
)
This
);
}
...
...
@@ -2432,7 +2432,7 @@ static ULONG WINAPI ISVViewObject_Release( IViewObject *iface)
{
IShellViewImpl
*
This
=
impl_from_IViewObject
(
iface
);
TRACE
(
"(%p)->(count=%
l
u)
\n
"
,
This
,
This
->
ref
);
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
This
->
ref
);
return
IShellFolder_Release
((
IShellFolder
*
)
This
);
}
...
...
@@ -2507,7 +2507,7 @@ static HRESULT WINAPI ISVViewObject_SetAdvise(
IShellViewImpl
*
This
=
impl_from_IViewObject
(
iface
);
FIXME
(
"partial stub: %p %08
lx %08l
x %p
\n
"
,
FIXME
(
"partial stub: %p %08
x %08
x %p
\n
"
,
This
,
aspects
,
advf
,
pAdvSink
);
/* FIXME: we set the AdviseSink, but never use it to send any advice */
...
...
dlls/shell32/shv_bg_cmenu.c
View file @
89e1d294
...
...
@@ -110,7 +110,7 @@ static ULONG WINAPI ISVBgCm_fnAddRef(IContextMenu2 *iface)
BgCmImpl
*
This
=
(
BgCmImpl
*
)
iface
;
ULONG
refCount
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(count=%
l
u)
\n
"
,
This
,
refCount
-
1
);
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
refCount
-
1
);
return
refCount
;
}
...
...
@@ -123,7 +123,7 @@ static ULONG WINAPI ISVBgCm_fnRelease(IContextMenu2 *iface)
BgCmImpl
*
This
=
(
BgCmImpl
*
)
iface
;
ULONG
refCount
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(count=%
l
i)
\n
"
,
This
,
refCount
+
1
);
TRACE
(
"(%p)->(count=%i)
\n
"
,
This
,
refCount
+
1
);
if
(
!
refCount
)
{
...
...
@@ -180,7 +180,7 @@ static HRESULT WINAPI ISVBgCm_fnQueryContextMenu(
}
DestroyMenu
(
hMyMenu
);
TRACE
(
"(%p)->returning 0x%
l
x
\n
"
,
This
,
hr
);
TRACE
(
"(%p)->returning 0x%x
\n
"
,
This
,
hr
);
return
hr
;
}
...
...
dlls/shell32/shv_item_cmenu.c
View file @
89e1d294
...
...
@@ -144,7 +144,7 @@ static ULONG WINAPI ISvItemCm_fnAddRef(IContextMenu2 *iface)
ItemCmImpl
*
This
=
(
ItemCmImpl
*
)
iface
;
ULONG
refCount
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(count=%
l
u)
\n
"
,
This
,
refCount
-
1
);
TRACE
(
"(%p)->(count=%u)
\n
"
,
This
,
refCount
-
1
);
return
refCount
;
}
...
...
@@ -157,7 +157,7 @@ static ULONG WINAPI ISvItemCm_fnRelease(IContextMenu2 *iface)
ItemCmImpl
*
This
=
(
ItemCmImpl
*
)
iface
;
ULONG
refCount
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(count=%
l
i)
\n
"
,
This
,
refCount
+
1
);
TRACE
(
"(%p)->(count=%i)
\n
"
,
This
,
refCount
+
1
);
if
(
!
refCount
)
{
...
...
dlls/shell32/systray.c
View file @
89e1d294
...
...
@@ -80,7 +80,7 @@ BOOL WINAPI Shell_NotifyIconW(DWORD dwMessage, PNOTIFYICONDATAW nid)
HWND
tray
;
COPYDATASTRUCT
cds
;
TRACE
(
"dwMessage = %
l
d
\n
"
,
dwMessage
);
TRACE
(
"dwMessage = %d
\n
"
,
dwMessage
);
tray
=
FindWindowExW
(
0
,
NULL
,
classname
,
NULL
);
if
(
!
tray
)
return
FALSE
;
...
...
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