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
54b2984d
Commit
54b2984d
authored
Feb 09, 2009
by
Francois Gouget
Committed by
Alexandre Julliard
Feb 09, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Make ILGetDisplayNameExA() static, remove WINAPI and fix its documentation.
parent
a3f8fd71
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
pidl.c
dlls/shell32/pidl.c
+5
-2
pidl.h
dlls/shell32/pidl.h
+0
-1
No files found.
dlls/shell32/pidl.c
View file @
54b2984d
...
@@ -59,7 +59,7 @@ static LPSTR _ILGetSTextPointer(LPCITEMIDLIST pidl);
...
@@ -59,7 +59,7 @@ static LPSTR _ILGetSTextPointer(LPCITEMIDLIST pidl);
static
LPWSTR
_ILGetTextPointerW
(
LPCITEMIDLIST
pidl
);
static
LPWSTR
_ILGetTextPointerW
(
LPCITEMIDLIST
pidl
);
/*************************************************************************
/*************************************************************************
* ILGetDisplayNameEx
[SHELL32.186]
* ILGetDisplayNameEx
A
*
*
* Retrieves the display name of an ItemIDList
* Retrieves the display name of an ItemIDList
*
*
...
@@ -75,7 +75,7 @@ static LPWSTR _ILGetTextPointerW(LPCITEMIDLIST pidl);
...
@@ -75,7 +75,7 @@ static LPWSTR _ILGetTextPointerW(LPCITEMIDLIST pidl);
* RETURNS
* RETURNS
* True if the display name could be retrieved successfully, False otherwise
* True if the display name could be retrieved successfully, False otherwise
*/
*/
BOOL
WINAPI
ILGetDisplayNameExA
(
LPSHELLFOLDER
psf
,
LPCITEMIDLIST
pidl
,
LPSTR
path
,
DWORD
type
)
static
BOOL
ILGetDisplayNameExA
(
LPSHELLFOLDER
psf
,
LPCITEMIDLIST
pidl
,
LPSTR
path
,
DWORD
type
)
{
{
BOOL
ret
=
FALSE
;
BOOL
ret
=
FALSE
;
WCHAR
wPath
[
MAX_PATH
];
WCHAR
wPath
[
MAX_PATH
];
...
@@ -160,6 +160,9 @@ BOOL WINAPI ILGetDisplayNameExW(LPSHELLFOLDER psf, LPCITEMIDLIST pidl, LPWSTR pa
...
@@ -160,6 +160,9 @@ BOOL WINAPI ILGetDisplayNameExW(LPSHELLFOLDER psf, LPCITEMIDLIST pidl, LPWSTR pa
return
SUCCEEDED
(
ret
);
return
SUCCEEDED
(
ret
);
}
}
/*************************************************************************
* ILGetDisplayNameEx [SHELL32.186]
*/
BOOL
WINAPI
ILGetDisplayNameEx
(
LPSHELLFOLDER
psf
,
LPCITEMIDLIST
pidl
,
LPVOID
path
,
DWORD
type
)
BOOL
WINAPI
ILGetDisplayNameEx
(
LPSHELLFOLDER
psf
,
LPCITEMIDLIST
pidl
,
LPVOID
path
,
DWORD
type
)
{
{
TRACE_
(
shell
)(
"%p %p %p %d
\n
"
,
psf
,
pidl
,
path
,
type
);
TRACE_
(
shell
)(
"%p %p %p %d
\n
"
,
psf
,
pidl
,
path
,
type
);
...
...
dlls/shell32/pidl.h
View file @
54b2984d
...
@@ -270,7 +270,6 @@ void _ILFreeaPidl(LPITEMIDLIST * apidl, UINT cidl);
...
@@ -270,7 +270,6 @@ void _ILFreeaPidl(LPITEMIDLIST * apidl, UINT cidl);
LPITEMIDLIST
*
_ILCopyaPidl
(
const
LPCITEMIDLIST
*
apidlsrc
,
UINT
cidl
);
LPITEMIDLIST
*
_ILCopyaPidl
(
const
LPCITEMIDLIST
*
apidlsrc
,
UINT
cidl
);
LPITEMIDLIST
*
_ILCopyCidaToaPidl
(
LPITEMIDLIST
*
pidl
,
const
CIDA
*
cida
);
LPITEMIDLIST
*
_ILCopyCidaToaPidl
(
LPITEMIDLIST
*
pidl
,
const
CIDA
*
cida
);
BOOL
WINAPI
ILGetDisplayNameExA
(
LPSHELLFOLDER
psf
,
LPCITEMIDLIST
pidl
,
LPSTR
path
,
DWORD
type
);
BOOL
WINAPI
ILGetDisplayNameExW
(
LPSHELLFOLDER
psf
,
LPCITEMIDLIST
pidl
,
LPWSTR
path
,
DWORD
type
);
BOOL
WINAPI
ILGetDisplayNameExW
(
LPSHELLFOLDER
psf
,
LPCITEMIDLIST
pidl
,
LPWSTR
path
,
DWORD
type
);
#endif
#endif
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