Francois Gouget : shell32: Make SHILCreateFromPathA() static and remove WINAPI.

Alexandre Julliard julliard at winehq.org
Thu Feb 12 11:14:49 CST 2009


Module: wine
Branch: master
Commit: 3eab2ee52fb776b213713078f6befb0f28c169bf
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=3eab2ee52fb776b213713078f6befb0f28c169bf

Author: Francois Gouget <fgouget at free.fr>
Date:   Thu Feb 12 12:29:28 2009 +0100

shell32: Make SHILCreateFromPathA() static and remove WINAPI.

---

 dlls/shell32/pidl.c       |    2 +-
 dlls/shell32/undocshell.h |    5 -----
 2 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/dlls/shell32/pidl.c b/dlls/shell32/pidl.c
index a7a0771..01479fb 100644
--- a/dlls/shell32/pidl.c
+++ b/dlls/shell32/pidl.c
@@ -381,7 +381,7 @@ HRESULT WINAPI ILSaveToStream (IStream * pStream, LPCITEMIDLIST pPidl)
  * NOTES
  *  Wrapper for IShellFolder_ParseDisplayName().
  */
-HRESULT WINAPI SHILCreateFromPathA(LPCSTR path, LPITEMIDLIST * ppidl, DWORD * attributes)
+static HRESULT SHILCreateFromPathA(LPCSTR path, LPITEMIDLIST * ppidl, DWORD * attributes)
 {
     WCHAR lpszDisplayName[MAX_PATH];
 
diff --git a/dlls/shell32/undocshell.h b/dlls/shell32/undocshell.h
index de7414e..f8a1b70 100644
--- a/dlls/shell32/undocshell.h
+++ b/dlls/shell32/undocshell.h
@@ -55,11 +55,6 @@ void WINAPI ILGlobalFree(LPITEMIDLIST pidl);
 LPITEMIDLIST WINAPI SHSimpleIDListFromPathA (LPCSTR lpszPath);
 LPITEMIDLIST WINAPI SHSimpleIDListFromPathW (LPCWSTR lpszPath);
 
-HRESULT WINAPI SHILCreateFromPathA (
-	LPCSTR path,
-	LPITEMIDLIST * ppidl,
-	DWORD *attributes);
-
 HRESULT WINAPI SHILCreateFromPathW (
 	LPCWSTR path,
 	LPITEMIDLIST * ppidl,




More information about the wine-cvs mailing list