shell32: Make SHILCreateFromPathA() static and remove WINAPI.

Francois Gouget fgouget at free.fr
Thu Feb 12 05:29:28 CST 2009


---
 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,
-- 
1.5.6.5




More information about the wine-patches mailing list