shdocvw: Add stub DoOrganizeFavDlg.

Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Vijay Kiran Kamuju 2018-01-14 21:53:06 +01:00 committed by Alexandre Julliard
parent 941d74a20a
commit b8901bfc76
2 changed files with 31 additions and 2 deletions

View File

@ -113,8 +113,8 @@
@ stub DoAddToFavDlgW
@ stdcall DoFileDownload(wstr)
@ stub DoFileDownloadEx
@ stub DoOrganizeFavDlg
@ stub DoOrganizeFavDlgW
@ stdcall DoOrganizeFavDlg(long str)
@ stdcall DoOrganizeFavDlgW(long wstr)
@ stub DoPrivacyDlg
@ stub HlinkFrameNavigate
@ stub HlinkFrameNavigateNHL

View File

@ -560,3 +560,32 @@ BOOL WINAPI DoFileDownload(LPWSTR filename)
FIXME("(%s) stub\n", debugstr_w(filename));
return FALSE;
}
/******************************************************************
* DoOrganizeFavDlgW (SHDOCVW.@)
*/
BOOL WINAPI DoOrganizeFavDlgW(HWND hwnd, LPCWSTR initDir)
{
FIXME("(%p %s) stub\n", hwnd, debugstr_w(initDir));
return FALSE;
}
/******************************************************************
* DoOrganizeFavDlg (SHDOCVW.@)
*/
BOOL WINAPI DoOrganizeFavDlg(HWND hwnd, LPCSTR initDir)
{
LPWSTR initDirW = NULL;
BOOL res;
TRACE("(%p %s)\n", hwnd, debugstr_a(initDir));
if (initDir) {
DWORD len = MultiByteToWideChar(CP_ACP, 0, initDir, -1, NULL, 0);
initDirW = heap_alloc(len * sizeof(WCHAR));
MultiByteToWideChar(CP_ACP, 0, initDir, -1, initDirW, len);
}
res = DoOrganizeFavDlgW(hwnd, initDirW);
heap_free(initDirW);
return res;
}