shell32: PickIconDlg() is documented now.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2017-09-28 11:58:28 +03:00 committed by Alexandre Julliard
parent c36e7d1ec7
commit 937ef12772
4 changed files with 6 additions and 15 deletions

View File

@ -60,15 +60,10 @@ static void FillList (HWND, char *, BOOL) ;
* PickIconDlg [SHELL32.62]
*
*/
INT WINAPI PickIconDlg(
HWND hwndOwner,
LPSTR lpstrFile,
DWORD nMaxFile,
LPDWORD lpdwIconIndex)
INT WINAPI PickIconDlg(HWND hwndOwner, WCHAR *path, UINT path_len, INT *index)
{
FIXME("(%p,%s,%08x,%p):stub.\n",
hwndOwner, lpstrFile, nMaxFile,lpdwIconIndex);
return 0xffffffff;
FIXME("(%p,%s,%u,%p):stub.\n", hwndOwner, debugstr_w(path), path_len, index);
return 0xffffffff;
}
HRESULT WINAPI SHOpenWithDialog(HWND parent, const OPENASINFO *info)

View File

@ -57,7 +57,7 @@
59 stdcall -ordinal RestartDialog(long wstr long)
60 stdcall -noname ExitWindowsDialog(long)
61 stdcall -noname RunFileDlg(long long str str str long) RunFileDlgAW
62 stdcall -ordinal PickIconDlg(long ptr long ptr)
62 stdcall -ordinal PickIconDlg(long wstr long ptr)
63 stdcall -ordinal GetFileNameFromBrowse(long ptr long str str str str) GetFileNameFromBrowseAW
64 stdcall -ordinal DriveType(long)
65 stdcall -noname InvalidateDriveType(long)

View File

@ -79,12 +79,6 @@ BOOL WINAPI StrRetToStrNW(LPWSTR,DWORD,LPSTRRET,const ITEMIDLIST*);
* Shell Common Dialogs
*/
BOOL WINAPI PickIconDlg(
HWND hwndOwner,
LPSTR lpstrFile,
DWORD nMaxFile,
LPDWORD lpdwIconIndex);
/* RunFileDlg flags */
#define RFF_NOBROWSE 0x01
#define RFF_NODEFAULT 0x02

View File

@ -1800,6 +1800,8 @@ HRESULT WINAPI CDefFolderMenu_Create2(LPCITEMIDLIST pidlFolder, HWND hwnd, UINT
LPFNDFMCALLBACK lpfn, UINT nKeys, const HKEY *ahkeys,
IContextMenu **ppcm);
int WINAPI PickIconDlg(HWND owner, WCHAR *path, UINT path_len, int *index);
#include <poppack.h>
#ifdef __cplusplus