Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
18f4d651
Commit
18f4d651
authored
Jan 22, 2002
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed use of SET_DEBUGGING, it's broken anyway.
parent
e0ab2b7f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
33 deletions
+7
-33
pidl.c
dlls/shell32/pidl.c
+2
-20
shellord.c
dlls/shell32/shellord.c
+5
-13
No files found.
dlls/shell32/pidl.c
View file @
18f4d651
...
@@ -29,17 +29,10 @@ DECLARE_DEBUG_CHANNEL(shell);
...
@@ -29,17 +29,10 @@ DECLARE_DEBUG_CHANNEL(shell);
void
pdump
(
LPCITEMIDLIST
pidl
)
void
pdump
(
LPCITEMIDLIST
pidl
)
{
{
BOOL
bIsShellDebug
;
LPITEMIDLIST
pidltemp
=
pidl
;
LPITEMIDLIST
pidltemp
=
pidl
;
if
(
!
TRACE_ON
(
pidl
))
if
(
!
TRACE_ON
(
pidl
))
return
;
return
;
/* silence the sub-functions */
bIsShellDebug
=
TRACE_ON
(
shell
);
__WINE_SET_DEBUGGING
(
__WINE_DBCL_TRACE
,
__wine_dbch_shell
,
FALSE
);
__WINE_SET_DEBUGGING
(
__WINE_DBCL_TRACE
,
__wine_dbch_pidl
,
FALSE
);
if
(
!
pidltemp
)
if
(
!
pidltemp
)
{
{
MESSAGE
(
"-------- pidl=NULL (Desktop)
\n
"
);
MESSAGE
(
"-------- pidl=NULL (Desktop)
\n
"
);
...
@@ -77,21 +70,13 @@ void pdump (LPCITEMIDLIST pidl)
...
@@ -77,21 +70,13 @@ void pdump (LPCITEMIDLIST pidl)
}
}
pcheck
(
pidl
);
pcheck
(
pidl
);
}
}
__WINE_SET_DEBUGGING
(
__WINE_DBCL_TRACE
,
__wine_dbch_shell
,
bIsShellDebug
);
__WINE_SET_DEBUGGING
(
__WINE_DBCL_TRACE
,
__wine_dbch_pidl
,
TRUE
);
}
}
#define BYTES_PRINTED 32
#define BYTES_PRINTED 32
BOOL
pcheck
(
LPCITEMIDLIST
pidl
)
BOOL
pcheck
(
LPCITEMIDLIST
pidl
)
{
DWORD
type
,
ret
=
TRUE
;
{
BOOL
bIsPidlDebug
;
DWORD
type
,
ret
=
TRUE
;
LPITEMIDLIST
pidltemp
=
pidl
;
LPITEMIDLIST
pidltemp
=
pidl
;
bIsPidlDebug
=
TRACE_ON
(
shell
);
__WINE_SET_DEBUGGING
(
__WINE_DBCL_TRACE
,
__wine_dbch_pidl
,
FALSE
);
if
(
pidltemp
&&
pidltemp
->
mkid
.
cb
)
if
(
pidltemp
&&
pidltemp
->
mkid
.
cb
)
{
do
{
do
{
type
=
_ILGetDataPointer
(
pidltemp
)
->
type
;
{
type
=
_ILGetDataPointer
(
pidltemp
)
->
type
;
...
@@ -137,7 +122,6 @@ BOOL pcheck (LPCITEMIDLIST pidl)
...
@@ -137,7 +122,6 @@ BOOL pcheck (LPCITEMIDLIST pidl)
pidltemp
=
ILGetNext
(
pidltemp
);
pidltemp
=
ILGetNext
(
pidltemp
);
}
while
(
pidltemp
->
mkid
.
cb
);
}
while
(
pidltemp
->
mkid
.
cb
);
}
}
__WINE_SET_DEBUGGING
(
__WINE_DBCL_TRACE
,
__wine_dbch_pidl
,
bIsPidlDebug
);
return
ret
;
return
ret
;
}
}
...
@@ -660,8 +644,6 @@ DWORD WINAPI ILGetSize(LPITEMIDLIST pidl)
...
@@ -660,8 +644,6 @@ DWORD WINAPI ILGetSize(LPITEMIDLIST pidl)
LPITEMIDLIST
WINAPI
ILGetNext
(
LPITEMIDLIST
pidl
)
LPITEMIDLIST
WINAPI
ILGetNext
(
LPITEMIDLIST
pidl
)
{
{
WORD
len
;
WORD
len
;
TRACE
(
"(pidl=%p)
\n
"
,
pidl
);
if
(
pidl
)
if
(
pidl
)
{
{
...
...
dlls/shell32/shellord.c
View file @
18f4d651
...
@@ -1470,20 +1470,12 @@ HRESULT WINAPI CIDLData_CreateFromIDArray(
...
@@ -1470,20 +1470,12 @@ HRESULT WINAPI CIDLData_CreateFromIDArray(
{
{
INT
i
;
INT
i
;
HWND
hwnd
=
0
;
/*FIXME: who should be hwnd of owner? set to desktop */
HWND
hwnd
=
0
;
/*FIXME: who should be hwnd of owner? set to desktop */
BOOL
boldpidl
;
TRACE
(
"(%p, %ld, %p, %p)
\n
"
,
pidlFolder
,
cpidlFiles
,
lppidlFiles
,
ppdataObject
);
if
(
TRACE_ON
(
shell
))
{
if
(
TRACE_ON
(
pidl
))
TRACE
(
"(%p, %ld, %p, %p)
\n
"
,
pidlFolder
,
cpidlFiles
,
{
lppidlFiles
,
ppdataObject
);
boldpidl
=
TRACE_ON
(
pidl
);
__WINE_SET_DEBUGGING
(
__WINE_DBCL_TRACE
,
__wine_dbch_shell
,
FALSE
);
__WINE_SET_DEBUGGING
(
__WINE_DBCL_TRACE
,
__wine_dbch_pidl
,
TRUE
);
pdump
(
pidlFolder
);
pdump
(
pidlFolder
);
for
(
i
=
0
;
i
<
cpidlFiles
;
i
++
){
for
(
i
=
0
;
i
<
cpidlFiles
;
i
++
)
pdump
(
lppidlFiles
[
i
]);
pdump
(
lppidlFiles
[
i
]);
}
__WINE_SET_DEBUGGING
(
__WINE_DBCL_TRACE
,
__wine_dbch_shell
,
TRUE
);
__WINE_SET_DEBUGGING
(
__WINE_DBCL_TRACE
,
__wine_dbch_pidl
,
boldpidl
);
}
}
*
ppdataObject
=
IDataObject_Constructor
(
hwnd
,
pidlFolder
,
*
ppdataObject
=
IDataObject_Constructor
(
hwnd
,
pidlFolder
,
lppidlFiles
,
cpidlFiles
);
lppidlFiles
,
cpidlFiles
);
...
...
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