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
2e6e18bf
Commit
2e6e18bf
authored
Aug 09, 2004
by
Marcus Meissner
Committed by
Alexandre Julliard
Aug 09, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Marked some functions in debughlp as static.
Do not use REFIID as return, but IID*.
parent
7054a8de
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
5 deletions
+12
-5
debughlp.c
dlls/shell32/debughlp.c
+9
-2
pidl.c
dlls/shell32/pidl.c
+2
-2
pidl.h
dlls/shell32/pidl.h
+1
-1
No files found.
dlls/shell32/debughlp.c
View file @
2e6e18bf
...
...
@@ -35,6 +35,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
pidl
);
static
LPITEMIDLIST
_dbg_ILGetNext
(
LPCITEMIDLIST
pidl
)
{
WORD
len
;
...
...
@@ -50,11 +51,13 @@ LPITEMIDLIST _dbg_ILGetNext(LPCITEMIDLIST pidl)
return
NULL
;
}
static
BOOL
_dbg_ILIsDesktop
(
LPCITEMIDLIST
pidl
)
{
return
(
!
pidl
||
(
pidl
&&
pidl
->
mkid
.
cb
==
0x00
)
);
}
static
LPPIDLDATA
_dbg_ILGetDataPointer
(
LPCITEMIDLIST
pidl
)
{
if
(
pidl
&&
pidl
->
mkid
.
cb
!=
0x00
)
...
...
@@ -62,6 +65,7 @@ LPPIDLDATA _dbg_ILGetDataPointer(LPCITEMIDLIST pidl)
return
NULL
;
}
static
LPSTR
_dbg_ILGetTextPointer
(
LPCITEMIDLIST
pidl
)
{
LPPIDLDATA
pdata
=
_dbg_ILGetDataPointer
(
pidl
);
...
...
@@ -99,6 +103,7 @@ LPSTR _dbg_ILGetTextPointer(LPCITEMIDLIST pidl)
return
NULL
;
}
static
LPSTR
_dbg_ILGetSTextPointer
(
LPCITEMIDLIST
pidl
)
{
LPPIDLDATA
pdata
=
_dbg_ILGetDataPointer
(
pidl
);
...
...
@@ -121,7 +126,8 @@ LPSTR _dbg_ILGetSTextPointer(LPCITEMIDLIST pidl)
return
NULL
;
}
REFIID
_dbg_ILGetGUIDPointer
(
LPCITEMIDLIST
pidl
)
static
IID
*
_dbg_ILGetGUIDPointer
(
LPCITEMIDLIST
pidl
)
{
LPPIDLDATA
pdata
=
_ILGetDataPointer
(
pidl
);
...
...
@@ -131,12 +137,13 @@ REFIID _dbg_ILGetGUIDPointer(LPCITEMIDLIST pidl)
{
case
PT_SHELLEXT
:
case
PT_GUID
:
return
(
REFIID
)
&
(
pdata
->
u
.
guid
.
guid
);
return
&
(
pdata
->
u
.
guid
.
guid
);
}
}
return
NULL
;
}
static
DWORD
_dbg_ILSimpleGetText
(
LPCITEMIDLIST
pidl
,
LPSTR
szOut
,
UINT
uOutSize
)
{
DWORD
dwReturn
=
0
;
...
...
dlls/shell32/pidl.c
View file @
2e6e18bf
...
...
@@ -1940,7 +1940,7 @@ LPSTR _ILGetSTextPointer(LPCITEMIDLIST pidl)
*
* returns reference to guid stored in some pidls
*/
REFIID
_ILGetGUIDPointer
(
LPCITEMIDLIST
pidl
)
IID
*
_ILGetGUIDPointer
(
LPCITEMIDLIST
pidl
)
{
LPPIDLDATA
pdata
=
_ILGetDataPointer
(
pidl
);
...
...
@@ -1953,7 +1953,7 @@ REFIID _ILGetGUIDPointer(LPCITEMIDLIST pidl)
{
case
PT_SHELLEXT
:
case
PT_GUID
:
return
(
REFIID
)
&
(
pdata
->
u
.
guid
.
guid
);
return
&
(
pdata
->
u
.
guid
.
guid
);
default:
TRACE
(
"Unknown pidl type 0x%04x
\n
"
,
pdata
->
type
);
...
...
dlls/shell32/pidl.h
View file @
2e6e18bf
...
...
@@ -228,7 +228,7 @@ LPITEMIDLIST _ILCreateDrive (LPCWSTR);
LPPIDLDATA
_ILGetDataPointer
(
LPCITEMIDLIST
);
LPSTR
_ILGetTextPointer
(
LPCITEMIDLIST
);
LPSTR
_ILGetSTextPointer
(
LPCITEMIDLIST
);
REFIID
_ILGetGUIDPointer
(
LPCITEMIDLIST
pidl
);
IID
*
_ILGetGUIDPointer
(
LPCITEMIDLIST
pidl
);
/*
* debug helper
...
...
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