shell32: Remove unused function

Andrew Talbot Andrew.Talbot at talbotville.com
Mon Feb 5 15:20:06 CST 2007


Changelog:
    shell32: Remove unused function.

diff -urN a/dlls/shell32/shlexec.c b/dlls/shell32/shlexec.c
--- a/dlls/shell32/shlexec.c	2007-01-18 18:11:15.000000000 +0000
+++ b/dlls/shell32/shlexec.c	2007-02-05 20:22:14.000000000 +0000
@@ -295,25 +295,6 @@
     return found_p1;
 }
 
-HRESULT SHELL_GetPathFromIDListForExecuteA(LPCITEMIDLIST pidl, LPSTR pszPath, UINT uOutSize)
-{
-    STRRET strret;
-    IShellFolder* desktop;
-
-    HRESULT hr = SHGetDesktopFolder(&desktop);
-
-    if (SUCCEEDED(hr)) {
-	hr = IShellFolder_GetDisplayNameOf(desktop, pidl, SHGDN_FORPARSING, &strret);
-
-	if (SUCCEEDED(hr))
-	    StrRetToStrNA(pszPath, uOutSize, &strret, pidl);
-
-	IShellFolder_Release(desktop);
-    }
-
-    return hr;
-}
-
 HRESULT SHELL_GetPathFromIDListForExecuteW(LPCITEMIDLIST pidl, LPWSTR pszPath, UINT uOutSize)
 {
     STRRET strret;



More information about the wine-patches mailing list