Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
65f6ab7c
Commit
65f6ab7c
authored
Jul 20, 2010
by
David Hedberg
Committed by
Alexandre Julliard
Jul 20, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Shell_MergeMenus should be declared in shlobj.h and exported by name.
parent
dbdedefe
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
13 deletions
+8
-13
shell32.spec
dlls/shell32/shell32.spec
+1
-1
shell32_main.h
dlls/shell32/shell32_main.h
+0
-5
shlmenu.c
dlls/shell32/shlmenu.c
+1
-1
shlfileop.c
dlls/shell32/tests/shlfileop.c
+0
-2
undocshell.h
dlls/shell32/undocshell.h
+0
-4
shlobj.h
include/shlobj.h
+6
-0
No files found.
dlls/shell32/shell32.spec
View file @
65f6ab7c
...
@@ -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)
...
...
dlls/shell32/shell32_main.h
View file @
65f6ab7c
...
@@ -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) \
{\
{\
...
...
dlls/shell32/shlmenu.c
View file @
65f6ab7c
...
@@ -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]
*/
*/
HRESUL
T
WINAPI
Shell_MergeMenus
(
HMENU
hmDst
,
HMENU
hmSrc
,
UINT
uInsert
,
UINT
uIDAdjust
,
UINT
uIDAdjustMax
,
ULONG
uFlags
)
UIN
T
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
;
...
...
dlls/shell32/tests/shlfileop.c
View file @
65f6ab7c
...
@@ -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
;
...
...
dlls/shell32/undocshell.h
View file @
65f6ab7c
...
@@ -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
,
...
...
include/shlobj.h
View file @
65f6ab7c
...
@@ -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
*/
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment