diff --git a/dlls/shell32/shell32.spec b/dlls/shell32/shell32.spec index cfb47e5c265..230a314d91a 100644 --- a/dlls/shell32/shell32.spec +++ b/dlls/shell32/shell32.spec @@ -68,7 +68,7 @@ 72 stdcall Shell_GetCachedImageIndex(ptr ptr long) Shell_GetCachedImageIndexAW 73 stdcall SHShellFolderView_Message(long long long) 74 stdcall SHCreateStdEnumFmtEtc(long ptr ptr) - 75 stdcall PathYetAnotherMakeUniqueName(ptr ptr ptr ptr) PathYetAnotherMakeUniqueNameA + 75 stdcall PathYetAnotherMakeUniqueName(ptr wstr wstr wstr) 76 stub DragQueryInfo 77 stdcall SHMapPIDLToSystemImageListIndex(ptr ptr ptr) 78 stdcall OleStrToStrN(str long wstr long) OleStrToStrNAW diff --git a/dlls/shell32/shellpath.c b/dlls/shell32/shellpath.c index 66d4829be0f..a0516633ca6 100644 --- a/dlls/shell32/shellpath.c +++ b/dlls/shell32/shellpath.c @@ -515,14 +515,14 @@ BOOL WINAPI PathMakeUniqueNameAW( * NOTES * exported by ordinal */ -BOOL WINAPI PathYetAnotherMakeUniqueNameA( - LPSTR lpszBuffer, - LPCSTR lpszPathName, - LPCSTR lpszShortName, - LPCSTR lpszLongName) +BOOL WINAPI PathYetAnotherMakeUniqueName( + LPWSTR lpszBuffer, + LPCWSTR lpszPathName, + LPCWSTR lpszShortName, + LPCWSTR lpszLongName) { - FIXME("(%p,%p, %p ,%p):stub.\n", - lpszBuffer, lpszPathName, lpszShortName, lpszLongName); + FIXME("(%p, %s, %s ,%s):stub.\n", + lpszBuffer, debugstr_w(lpszPathName), debugstr_w(lpszShortName), debugstr_w(lpszLongName)); return TRUE; } diff --git a/dlls/shell32/undocshell.h b/dlls/shell32/undocshell.h index b38ad83fda0..d1af69715f9 100644 --- a/dlls/shell32/undocshell.h +++ b/dlls/shell32/undocshell.h @@ -573,11 +573,11 @@ BOOL WINAPI PathMakeUniqueNameAW( LPCVOID lpszLongName, LPCVOID lpszPathName); -BOOL WINAPI PathYetAnotherMakeUniqueNameA( - LPSTR lpszBuffer, - LPCSTR lpszPathName, - LPCSTR lpszShortName, - LPCSTR lpszLongName); +BOOL WINAPI PathYetAnotherMakeUniqueName( + LPWSTR lpszBuffer, + LPCWSTR lpszPathName, + LPCWSTR lpszShortName, + LPCWSTR lpszLongName); /* PathCleanupSpec return values */ #define PCS_REPLACEDCHARS 0x00000001