Commit fcd7d440 authored by Vincent Povirk's avatar Vincent Povirk Committed by Alexandre Julliard

shell32: Stub SHOpenWithDialog.

parent 3bd1b570
......@@ -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]
*
......
......@@ -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)
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment