From 3eab2ee52fb776b213713078f6befb0f28c169bf Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Thu, 12 Feb 2009 12:29:28 +0100 Subject: [PATCH] shell32: Make SHILCreateFromPathA() static and remove WINAPI. --- dlls/shell32/pidl.c | 2 +- dlls/shell32/undocshell.h | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/dlls/shell32/pidl.c b/dlls/shell32/pidl.c index a7a0771397b..01479fb5ce6 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 de7414ecec0..f8a1b70415b 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,