Commit 65f6ab7c authored by David Hedberg's avatar David Hedberg Committed by Alexandre Julliard

shell32: Shell_MergeMenus should be declared in shlobj.h and exported by name.

parent dbdedefe
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
64 stdcall -noname DriveType(long) 64 stdcall -noname DriveType(long)
65 stdcall -noname InvalidateDriveType(long) 65 stdcall -noname InvalidateDriveType(long)
66 stdcall -noname IsNetDrive(long) 66 stdcall -noname IsNetDrive(long)
67 stdcall -noname Shell_MergeMenus(long long long long long long) 67 stdcall -ordinal Shell_MergeMenus(long long long long long long)
68 stdcall -noname SHGetSetSettings(ptr long long) 68 stdcall -noname SHGetSetSettings(ptr long long)
69 stub -noname SHGetNetResource 69 stub -noname SHGetNetResource
70 stdcall -noname SHCreateDefClassObject(long long long long long) 70 stdcall -noname SHCreateDefClassObject(long long long long long)
......
...@@ -108,11 +108,6 @@ HRESULT WINAPI IAutoComplete_Constructor(IUnknown * pUnkOuter, REFIID riid, LPVO ...@@ -108,11 +108,6 @@ HRESULT WINAPI IAutoComplete_Constructor(IUnknown * pUnkOuter, REFIID riid, LPVO
LPEXTRACTICONA IExtractIconA_Constructor(LPCITEMIDLIST); LPEXTRACTICONA IExtractIconA_Constructor(LPCITEMIDLIST);
LPEXTRACTICONW IExtractIconW_Constructor(LPCITEMIDLIST); LPEXTRACTICONW IExtractIconW_Constructor(LPCITEMIDLIST);
/* menu merging */
#define MM_ADDSEPARATOR 0x00000001L
#define MM_SUBMENUSHAVEIDS 0x00000002L
HRESULT WINAPI Shell_MergeMenus (HMENU hmDst, HMENU hmSrc, UINT uInsert, UINT uIDAdjust, UINT uIDAdjustMax, ULONG uFlags);
/* initialisation for FORMATETC */ /* initialisation for FORMATETC */
#define InitFormatEtc(fe, cf, med) \ #define InitFormatEtc(fe, cf, med) \
{\ {\
......
...@@ -857,7 +857,7 @@ static BOOL _SHIsMenuSeparator(HMENU hm, int i) ...@@ -857,7 +857,7 @@ static BOOL _SHIsMenuSeparator(HMENU hm, int i)
/************************************************************************* /*************************************************************************
* Shell_MergeMenus [SHELL32.67] * Shell_MergeMenus [SHELL32.67]
*/ */
HRESULT WINAPI Shell_MergeMenus (HMENU hmDst, HMENU hmSrc, UINT uInsert, UINT uIDAdjust, UINT uIDAdjustMax, ULONG uFlags) UINT WINAPI Shell_MergeMenus (HMENU hmDst, HMENU hmSrc, UINT uInsert, UINT uIDAdjust, UINT uIDAdjustMax, ULONG uFlags)
{ int nItem; { int nItem;
HMENU hmSubMenu; HMENU hmSubMenu;
BOOL bAlreadySeparated; BOOL bAlreadySeparated;
......
...@@ -2309,8 +2309,6 @@ static void test_unicode(void) ...@@ -2309,8 +2309,6 @@ static void test_unicode(void)
ok(!file_existsW(UNICODE_PATH), "The directory should have been removed\n"); ok(!file_existsW(UNICODE_PATH), "The directory should have been removed\n");
} }
extern HRESULT WINAPI Shell_MergeMenus (HMENU hmDst, HMENU hmSrc, UINT uInsert, UINT uIDAdjust, UINT uIDAdjustMax, ULONG uFlags);
static void static void
test_shlmenu(void) { test_shlmenu(void) {
HRESULT hres; HRESULT hres;
......
...@@ -191,10 +191,6 @@ int WINAPI Shell_GetCachedImageIndex( ...@@ -191,10 +191,6 @@ int WINAPI Shell_GetCachedImageIndex(
UINT nIconIndex, UINT nIconIndex,
BOOL bSimulateDoc); BOOL bSimulateDoc);
BOOL WINAPI Shell_GetImageLists(
HIMAGELIST *lphimlLarge,
HIMAGELIST *lphimlSmall);
HICON WINAPI SHGetFileIcon( HICON WINAPI SHGetFileIcon(
DWORD dwReserved, DWORD dwReserved,
LPCSTR lpszPath, LPCSTR lpszPath,
......
...@@ -82,6 +82,7 @@ VOID WINAPI SHUpdateImageW(LPCWSTR,INT,UINT,INT); ...@@ -82,6 +82,7 @@ VOID WINAPI SHUpdateImageW(LPCWSTR,INT,UINT,INT);
int WINAPI RestartDialog(HWND,LPCWSTR,DWORD); int WINAPI RestartDialog(HWND,LPCWSTR,DWORD);
int WINAPI RestartDialogEx(HWND,LPCWSTR,DWORD,DWORD); int WINAPI RestartDialogEx(HWND,LPCWSTR,DWORD,DWORD);
BOOL WINAPI IsUserAnAdmin(void); BOOL WINAPI IsUserAnAdmin(void);
UINT WINAPI Shell_MergeMenus(HMENU,HMENU,UINT,UINT,UINT,ULONG);
#define SHFMT_ERROR 0xFFFFFFFFL /* Error on last format, drive may be formattable */ #define SHFMT_ERROR 0xFFFFFFFFL /* Error on last format, drive may be formattable */
#define SHFMT_CANCEL 0xFFFFFFFEL /* Last format was cancelled */ #define SHFMT_CANCEL 0xFFFFFFFEL /* Last format was cancelled */
...@@ -116,6 +117,11 @@ BOOL WINAPI SHObjectProperties(HWND,DWORD,LPCWSTR,LPCWSTR); ...@@ -116,6 +117,11 @@ BOOL WINAPI SHObjectProperties(HWND,DWORD,LPCWSTR,LPCWSTR);
int WINAPI PathCleanupSpec(LPCWSTR,LPWSTR); int WINAPI PathCleanupSpec(LPCWSTR,LPWSTR);
/* Shell_MergeMenus flags */
#define MM_ADDSEPARATOR 0x00000001
#define MM_SUBMENUSHAVEIDS 0x00000002
#define MM_DONTREMOVESEPS 0x00000004
/***************************************************************************** /*****************************************************************************
* IContextMenu interface * IContextMenu interface
*/ */
......
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