Module: wine Branch: master Commit: f86ff01d9b648230cf5e2b5d9a6e88155763f4ae URL: http://source.winehq.org/git/wine.git/?a=commit;h=f86ff01d9b648230cf5e2b5d9a...
Author: Hans Leidekker hans@it.vu.nl Date: Sat Mar 24 17:33:12 2007 +0100
shell32: Add a stub implementation for SHPathPrepareForWrite{A, W}.
---
dlls/shell32/shell32.spec | 4 ++-- dlls/shell32/shell32_main.c | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+), 2 deletions(-)
diff --git a/dlls/shell32/shell32.spec b/dlls/shell32/shell32.spec index c61d996..23004ce 100644 --- a/dlls/shell32/shell32.spec +++ b/dlls/shell32/shell32.spec @@ -362,8 +362,8 @@ @ stdcall SHIsFileAvailableOffline(wstr ptr) @ stdcall SHLoadInProc(long) @ stdcall SHLoadNonloadedIconOverlayIdentifiers() -@ stub SHPathPrepareForWriteA -@ stub SHPathPrepareForWriteW +@ stdcall SHPathPrepareForWriteA(long ptr str long) +@ stdcall SHPathPrepareForWriteW(long ptr wstr long) @ stdcall SHQueryRecycleBinA(str ptr) @ stdcall SHQueryRecycleBinW(wstr ptr) @ stdcall SHSetLocalizedName(wstr wstr long) diff --git a/dlls/shell32/shell32_main.c b/dlls/shell32/shell32_main.c index 565018f..70db342 100644 --- a/dlls/shell32/shell32_main.c +++ b/dlls/shell32/shell32_main.c @@ -1236,3 +1236,21 @@ HRESULT WINAPI DllCanUnloadNow(void) FIXME("stub\n"); return S_FALSE; } + +/*********************************************************************** + * SHPathPrepareForWriteA (SHELL32.@) + */ +HRESULT WINAPI SHPathPrepareForWriteA(HWND hwnd, IUnknown *modless, LPCSTR path, DWORD flags) +{ + FIXME("%p %p %s 0x%08x\n", hwnd, modless, debugstr_a(path), flags); + return S_OK; +} + +/*********************************************************************** + * SHPathPrepareForWriteA (SHELL32.@) + */ +HRESULT WINAPI SHPathPrepareForWriteW(HWND hwnd, IUnknown *modless, LPCWSTR path, DWORD flags) +{ + FIXME("%p %p %s 0x%08x\n", hwnd, modless, debugstr_w(path), flags); + return S_OK; +}