shell32: Stub SHOpenWithDialog.

Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Vincent Povirk 2017-09-11 15:26:53 -05:00 committed by Alexandre Julliard
parent 3bd1b57039
commit fcd7d4404a
3 changed files with 31 additions and 0 deletions

View File

@ -71,6 +71,12 @@ INT WINAPI PickIconDlg(
return 0xffffffff;
}
HRESULT WINAPI SHOpenWithDialog(HWND parent, const OPENASINFO *info)
{
FIXME("stub\n");
return E_NOTIMPL;
}
/*************************************************************************
* RunFileDlgW [internal]
*

View File

@ -410,6 +410,7 @@
@ stdcall SHLoadInProc(ptr)
@ stdcall SHLoadNonloadedIconOverlayIdentifiers()
@ stdcall SHOpenFolderAndSelectItems(ptr long ptr long)
@ stdcall SHOpenWithDialog(long ptr)
@ stdcall SHParseDisplayName(wstr ptr ptr long ptr)
@ stdcall SHPathPrepareForWriteA(long ptr str long)
@ stdcall SHPathPrepareForWriteW(long ptr wstr long)

View File

@ -152,6 +152,30 @@ BOOL WINAPI SHObjectProperties(HWND,DWORD,LPCWSTR,LPCWSTR);
int WINAPI PathCleanupSpec(LPCWSTR,LPWSTR);
/* SHOpenWithDialog API */
typedef enum
{
OAIF_ALLOW_REGISTRATION = 0x00000001,
OAIF_REGISTER_EXT = 0x00000002,
OAIF_EXEC = 0x00000004,
OAIF_FORCE_REGISTRATION = 0x00000008,
OAIF_HIDE_REGISTRATION = 0x00000020,
OAIF_URL_PROTOCOL = 0x00000040,
OAIF_FILE_IS_URI = 0x00000080
} OPEN_AS_INFO_FLAGS;
#include <pshpack8.h>
typedef struct
{
LPCWSTR pcszFile;
LPCWSTR pcszClass;
OPEN_AS_INFO_FLAGS oaifInFlags;
} OPENASINFO;
#include <poppack.h>
HRESULT WINAPI SHOpenWithDialog(HWND,const OPENASINFO*);
/* Shell_MergeMenus flags */
#define MM_ADDSEPARATOR 0x00000001
#define MM_SUBMENUSHAVEIDS 0x00000002