Rebase against 9fea10cceb0fbc0cf3111f462c98f7b994d5c893.

This commit is contained in:
Alistair Leslie-Hughes
2022-02-01 09:52:01 +11:00
parent ec936167b3
commit ecf05ee19e
4 changed files with 17 additions and 20 deletions

View File

@ -1,4 +1,4 @@
From 9601c7ebe3adaef521073e4b5ab7728d9da3c8f7 Mon Sep 17 00:00:00 2001
From 229c08d829424f218cb09b0b6e9cc8c2d8489359 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
Date: Sun, 16 Aug 2015 17:34:22 +0200
Subject: [PATCH] shell32: Implement NewMenu with new folder item.
@ -21,10 +21,10 @@ Correct header issue when compiling i386 (var_arg)
create mode 100644 dlls/shell32/shellnew.c
diff --git a/dlls/shell32/Makefile.in b/dlls/shell32/Makefile.in
index 04dd196cfe8..072d98b5fba 100644
index bb03300f9c9..c52017a7490 100644
--- a/dlls/shell32/Makefile.in
+++ b/dlls/shell32/Makefile.in
@@ -33,6 +33,7 @@ C_SRCS = \
@@ -29,6 +29,7 @@ C_SRCS = \
shelldispatch.c \
shellitem.c \
shelllink.c \
@ -49,7 +49,7 @@ index 22ef49ae5c7..699ad1a2f03 100644
threading(apartment),
uuid(00bb2763-6a77-11d0-a535-00c04fd7d062)
diff --git a/dlls/shell32/shell32_main.h b/dlls/shell32/shell32_main.h
index b98629298aa..d684d8759a7 100644
index 388f6ace073..8a1bca0fa7c 100644
--- a/dlls/shell32/shell32_main.h
+++ b/dlls/shell32/shell32_main.h
@@ -102,6 +102,7 @@ HRESULT WINAPI RecycleBin_Constructor(IUnknown * pUnkOuter, REFIID riif, LPVOID
@ -564,7 +564,7 @@ index 00000000000..04d718f0f0d
+ return hr;
+}
diff --git a/dlls/shell32/shellole.c b/dlls/shell32/shellole.c
index d1f1afc3780..e521b7e8f70 100644
index 5b72fecf07e..fc29a73fbb7 100644
--- a/dlls/shell32/shellole.c
+++ b/dlls/shell32/shellole.c
@@ -73,6 +73,7 @@ static const struct {
@ -576,18 +576,18 @@ index d1f1afc3780..e521b7e8f70 100644
{&CLSID_QueryAssociations, QueryAssociations_Constructor},
{&CLSID_RecycleBin, RecycleBin_Constructor},
diff --git a/dlls/shell32/tests/shlview.c b/dlls/shell32/tests/shlview.c
index f5d96c8d441..dbb24d93564 100644
index 48ba72a4c0e..dbb24d93564 100644
--- a/dlls/shell32/tests/shlview.c
+++ b/dlls/shell32/tests/shlview.c
@@ -1479,7 +1479,6 @@ static void test_newmenu(void)
HRESULT hr;
hr = CoCreateInstance(&CLSID_NewMenu, NULL, CLSCTX_INPROC_SERVER, &IID_IUnknown, (void **)&unk);
-todo_wine
- todo_wine
ok(hr == S_OK, "Failed to create NewMenu object, hr %#x.\n", hr);
if (hr != S_OK)
{
@@ -1491,6 +1490,14 @@ todo_wine
@@ -1491,6 +1490,14 @@ static void test_newmenu(void)
ok(hr == S_OK, "Failed to get IShellExtInit, hr %#x.\n", hr);
IUnknown_Release(unk2);
@ -603,5 +603,5 @@ index f5d96c8d441..dbb24d93564 100644
ok(hr == S_OK, "Failed to get IContextMenu3, hr %#x.\n", hr);
IUnknown_Release(unk2);
--
2.33.0
2.34.1